[opensuse] softraid on a 11.0 system
.... continuing story. I had one softreaid5 with five disks, each 300GB. I tried to add another disk to it, however, yast refuses to do so. So i tried to do it manually: mdadm --add /dev/md1 /dev/sdl1 mdadm --grow -n6 /dev/md1 Checking: # cat /proc/mdstat Personalities : [linear] [raid6] [raid5] [raid4] md1 : active raid5 sdl1[6] sdg1[0] sdk1[5] sdj1[3] sdi1[2] sdh1[1] 1171844608 blocks super 1.0 level 5, 128k chunk, algorithm 0 [6/6] [UUUUUU] [=>...................] reshape = 9.4% (27816448/292961152) finish=4272.2min speed=1032K/sec bitmap: 20/280 pages [80KB], 512KB chunk So the extra disk (/dev/sdl) is accepted, and not defined as spare. According to what google tells me, i should now have been able to do a resize, in my case a resize_reiserfs. However, resize_reiserfs says: # resize_reiserfs /dev/md1 /dev/md1 already is of the needed size. Nothing to be done However: # df -m /dev/md1 Filesystem 1M-blocks Used Available Use% Mounted on /dev/md1 1144345 1079278 65068 95% /srv/distro/repo Gives me the old size, the one before adding the disk.. Am i forgetting something obvious (besides too much coffee and too little sleep) ?? Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
So the extra disk (/dev/sdl) is accepted, and not defined as spare. According to what google tells me, i should now have been able to do a resize, in my case a resize_reiserfs.
However, resize_reiserfs says: # resize_reiserfs /dev/md1 /dev/md1 already is of the needed size. Nothing to be done
Am i forgetting something obvious (besides too much coffee and too little sleep) ??
do you perhaps need to reboot in order to recognize the new parameters of the device? (or, if you can umount your filesystem, use mdadmin to stop the device and remove it, and then start it again?) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Hans Witvliet
-
Philip Dowie