Здравствуйте. По сути это продолжение этой темы.
Есть RAID6, возникла необходимость добавить в него 2 hd. Диски добавил, но застопорился на этапе расширения файловой системы.
mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Mon Nov 14 10:50:56 2011
Raid Level : raid6
Array Size : 9767552000 (9315.06 GiB 10001.97 GB)
Used Dev Size : 1953510400 (1863.01 GiB 2000.39 GB)
Raid Devices : 7
Total Devices : 7
Persistence : Superblock is persistent
Update Time : Thu Feb 21 10:05:30 2013
State : clean
Active Devices : 7
Working Devices : 7
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : tonas:0 (local to host tonas)
UUID : 287f64dd:11d67ba0:6387d98a:671871f1
Events : 9173658
Number Major Minor RaidDevice State
0 8 81 0 active sync /dev/sdf1
1 8 65 1 active sync /dev/sde1
2 8 97 2 active sync /dev/sdg1
3 8 17 3 active sync /dev/sdb1
4 8 33 4 active sync /dev/sdc1
8 8 113 5 active sync /dev/sdh1
7 8 49 6 active sync /dev/sdd1
mdadm -D /dev/md0p1
/dev/md0p1:
Version : 1.2
Creation Time : Mon Nov 14 10:50:56 2011
Raid Level : raid6
Array Size : 5860531166 (5589.04 GiB 6001.18 GB)
Used Dev Size : 1953510400 (1863.01 GiB 2000.39 GB)
Raid Devices : 7
Total Devices : 7
Persistence : Superblock is persistent
Update Time : Thu Feb 21 10:07:16 2013
State : active
Active Devices : 7
Working Devices : 7
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : tonas:0 (local to host tonas)
UUID : 287f64dd:11d67ba0:6387d98a:671871f1
Events : 9173659
Number Major Minor RaidDevice State
0 8 81 0 active sync /dev/sdf1
1 8 65 1 active sync /dev/sde1
2 8 97 2 active sync /dev/sdg1
3 8 17 3 active sync /dev/sdb1
4 8 33 4 active sync /dev/sdc1
8 8 113 5 active sync /dev/sdh1
7 8 49 6 active sync /dev/sdd1
cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 sdd1[7] sdh1[8] sdf1[0] sdc1[4] sdb1[3] sdg1[2] sde1[1]
9767552000 blocks super 1.2 level 6, 512k chunk, algorithm 2 [7/7] [UUUUUUU]
unused devices: <none>cat mdadm.conf
ARRAY /dev/md/md0 level=raid6 num-devices=7 metadata=1.2 name=tonas:0 UUID=287f64dd:11d67ba0:6387d98a:671871f1fdisk -l
Disk /dev/sda: 40.0 GB, 40019582464 bytes
255 heads, 63 sectors/track, 4865 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: 0x0002a323
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4663 37446656 83 Linux
/dev/sda2 4663 4866 1632257 5 Extended
/dev/sda5 4663 4866 1632256 82 Linux swap / Solaris
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: 0x000498f3
Device Boot Start End Blocks Id System
/dev/sdb1 1 243201 1953512001 fd Linux raid autodetect
Disk /dev/sdc: 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: 0x00038618
Device Boot Start End Blocks Id System
/dev/sdc1 1 243201 1953512001 fd Linux raid autodetect
Disk /dev/sdd: 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x80c604ad
Device Boot Start End Blocks Id System
/dev/sdd1 1 243201 1953512001 fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
Disk /dev/sde: 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: 0x000ec176
Device Boot Start End Blocks Id System
/dev/sde1 1 243201 1953512001 fd Linux raid autodetect
Disk /dev/sdf: 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: 0x0002a726
Device Boot Start End Blocks Id System
/dev/sdf1 1 243201 1953512001 fd Linux raid autodetect
Disk /dev/sdh: 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x52c348b1
Device Boot Start End Blocks Id System
/dev/sdh1 1 243201 1953512001 fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
Disk /dev/sdg: 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: 0xae2ddf69
Device Boot Start End Blocks Id System
/dev/sdg1 1 243201 1953512001 fd Linux raid autodetect
WARNING: GPT (GUID Partition Table) detected on '/dev/md0'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/md0: 10002.0 GB, 10001973248000 bytes
255 heads, 63 sectors/track, 1216003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 2621440 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/md0p1 1 267350 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Очень большая просьба помочь. Можно с самого начала, ибо не совсем въезжаю. Чем лучше расширить раздел? Нужно ли размонтирование раздела или нет и т.д..