|
|
mdadm -C -v /dev/md0 -l5 -n8 /dev/sd[abcdefgh]
mdadm: layout defaults to left-symmetric
mdadm: chunk size defaults to 64K
mdadm: /dev/sda appears to be part of a raid array:
level=raid5 devices=8 ctime=Sun Sep 23 18:42:55 2007
mdadm: /dev/sdb appears to be part of a raid array:
level=raid5 devices=8 ctime=Sun Sep 23 18:42:55 2007
mdadm: /dev/sdc appears to be part of a raid array:
level=raid5 devices=8 ctime=Sun Sep 23 18:42:55 2007
mdadm: /dev/sdd appears to be part of a raid array:
level=raid5 devices=8 ctime=Sun Sep 23 18:42:55 2007
mdadm: /dev/sde appears to be part of a raid array:
level=raid5 devices=8 ctime=Sun Sep 23 18:42:55 2007
mdadm: /dev/sdf appears to be part of a raid array:
level=raid5 devices=8 ctime=Sun Sep 23 18:42:55 2007
mdadm: /dev/sdg appears to be part of a raid array:
level=raid5 devices=8 ctime=Sun Sep 23 18:42:55 2007
mdadm: /dev/sdh appears to be part of a raid array:
level=raid5 devices=8 ctime=Sun Sep 23 18:42:55 2007
mdadm: size set to 488386496K
Continue creating array? y
mdadm: array /dev/md0 started.
movie ~ # mdadm -Ds
ARRAY /dev/md0 level=raid5 num-devices=8 spares=1 UUID=7d9bc579:80c3bd77:a286911e:262f3e99
movie ~ # mdadm -Ds /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Sun Sep 23 18:56:03 2007
Raid Level : raid5
Array Size : 3418705472 (3260.33 GiB 3500.75 GB)
Used Dev Size : 488386496 (465.76 GiB 500.11 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sun Sep 23 18:56:03 2007
State : clean, degraded, recovering
Active Devices : 7
Working Devices : 8
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 64K
Rebuild Status : 0% complete
UUID : 7d9bc579:80c3bd77:a286911e:262f3e99
Events : 0.1
Number Major Minor RaidDevice State
0 8 0 0 active sync /dev/sda
1 8 16 1 active sync /dev/sdb
2 8 32 2 active sync /dev/sdc
3 8 48 3 active sync /dev/sdd
4 8 64 4 active sync /dev/sde
5 8 80 5 active sync /dev/sdf
6 8 96 6 active sync /dev/sdg
8 8 112 7 spare rebuilding /dev/sdh
movie ~ # fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 138 1004062+ 82 Linux swap / Solaris
/dev/hda3 139 9729 77039707+ 83 Linux
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sde: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdf: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdg: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdh: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
You must set cylinders.
You can do this from the extra functions menu.
Disk /dev/md0: 0 MB, 0 bytes
2 heads, 4 sectors/track, 0 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Device Boot Start End Blocks Id System |
|