Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@bottenskrap:~# fdisk -l
- Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
- 255 heads, 63 sectors/track, 243201 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00000000
- Device Boot Start End Blocks Id System
- /dev/sdb1 * 1 243201 1953512001 83 Linux
- Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
- 255 heads, 63 sectors/track, 243201 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00000000
- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 243201 1953512001 83 Linux
- Disk /dev/sdc: 250.1 GB, 250059350016 bytes
- 255 heads, 63 sectors/track, 30401 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x0001cac2
- Device Boot Start End Blocks Id System
- /dev/sdc1 * 1 1216 9764864 83 Linux
- /dev/sdc2 1216 30402 234431489 5 Extended
- /dev/sdc5 1216 2379 9337856 82 Linux swap / Solaris
- /dev/sdc6 2379 30402 225092608 83 Linux
- Disk /dev/md0: 2000.4 GB, 2000397746176 bytes
- 2 heads, 4 sectors/track, 488378356 cylinders
- Units = cylinders of 8 * 512 = 4096 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00000000
- Disk /dev/md0 doesn't contain a valid partition table
- ---------------------------------------------------------------------------------------------------------
- root@bottenskrap:~# cat /etc/fstab
- # /etc/fstab: static file system information.
- #
- # Use 'blkid' to print the universally unique identifier for a
- # device; this may be used with UUID= as a more robust way to name devices
- # that works even if disks are added and removed. See fstab(5).
- #
- # <file system> <mount point> <type> <options> <dump> <pass>
- proc /proc proc defaults 0 0
- # / was on /dev/sdc1 during installation
- UUID=f1e14313-2ca9-4212-887e-6830696a7c16 / ext3 errors=remount-ro 0 1
- # /home was on /dev/sdc6 during installation
- #UUID=0aafecfb-ee13-4de4-b68e-6614aaafa97a /home ext3 defaults 0 2
- /dev/md0 /home ext4 defaults 0 2
- # swap was on /dev/sdc5 during installation
- UUID=c2c4dbeb-2cbc-4a18-ba94-18948d240a9a none swap sw 0 0
- /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
- ---------------------------------------------------------------------------------------------------------
- root@bottenskrap:~# mdadm --detail /dev/md0
- /dev/md0:
- Version : 1.2
- Creation Time : Thu May 19 22:03:54 2011
- Raid Level : raid1
- Array Size : 1953513424 (1863.02 GiB 2000.40 GB)
- Used Dev Size : 1953513424 (1863.02 GiB 2000.40 GB)
- Raid Devices : 2
- Total Devices : 1
- Persistence : Superblock is persistent
- Update Time : Wed Aug 3 20:51:11 2011
- State : clean, degraded
- Active Devices : 1
- Working Devices : 1
- Failed Devices : 0
- Spare Devices : 0
- Name : bottenskrap:0 (local to host bottenskrap)
- UUID : 1c2b1635:553e7753:48a4b884:7da7e8e6
- Events : 10
- Number Major Minor RaidDevice State
- 0 0 0 0 removed
- 1 8 16 1 active sync /dev/sdb
- ---------------------------------------------------------------------------------------------------------
- root@bottenskrap:~# cat /etc/mdadm/mdadm.conf
- # mdadm.conf
- #
- # Please refer to mdadm.conf(5) for information about this file.
- #
- # by default, scan all partitions (/proc/partitions) for MD superblocks.
- # alternatively, specify devices to scan, using wildcards if desired.
- DEVICE partitions
- # auto-create devices with Debian standard permissions
- CREATE owner=root group=disk mode=0660 auto=yes
- # automatically tag new arrays as belonging to the local system
- HOMEHOST <system>
- # instruct the monitoring daemon where to send mail alerts
- MAILADDR root
- # definitions of existing MD arrays
- # This file was auto-generated on Thu, 19 May 2011 22:03:00 +0200
- # by mkconf 3.1.4-1+8efb9d1
- ARRAY /dev/md/0 metadata=1.2 UUID=1c2b1635:553e7753:48a4b884:7da7e8e6 name=bottenskrap:0
- ARRAY /dev/md/0 metadata=1.2 UUID=ffe3fb11:ff5d5a9f:39fae198:64a1481a name=bottenskrap:0
- ---------------------------------------------------------------------------------------------------------
- Random från dmesg:
- [ 5.889502] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
- [ 5.889516] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
- [ 5.889537] sd 0:0:0:0: [sda] Write Protect is off
- [ 5.889539] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
- [ 5.889542] sd 1:0:0:0: [sdb] Write Protect is off
- [ 5.889544] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
- [ 5.889555] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
- [ 5.889563] sd 2:0:0:0: [sdc] 488397168 512-byte logical blocks: (250 GB/232 GiB)
- [ 5.889586] sd 2:0:0:0: [sdc] Write Protect is off
- [ 5.889588] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
- [ 5.889594] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
- [ 5.889604] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
- [ 8.931153] md: md0 stopped.
- [ 8.931636] md: bind<sdb>
- [ 8.977771] md: raid1 personality registered for level 1
- [ 8.978098] raid1: raid set md0 active with 1 out of 2 mirrors
- [ 8.978121] md0: detected capacity change from 0 to 2000397746176
- [ 8.978800] md0: unknown partition table
- [ 35.412691] EXT4-fs (md0): VFS: Can't find ext4 filesystem
- ---------------------------------------------------------------------------------------------------------
- root@bottenskrap:~# mount -t ext4 /dev/md0 /home/
- mount: wrong fs type, bad option, bad superblock on /dev/md0,
- missing codepage or helper program, or other error
- In some cases useful info is found in syslog - try
- dmesg | tail or so
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement