On Wed, 21 Apr 2010 16:34:46 +0200, Per Jessen
Assuming we're talking about software RAID, I don't know of any way to grow a RAID5.
Sorry, that's not correct. Look up the --grow option for mdadm. The process would be something like this:
backup data mdadm --grow /dev/mdx -n 5 /dev/sda1 /dev/sdb1 .....
Thanks for your comments and ideas, which has brought me closer to a solution. Think I have tried every possible command I can come of but I keep having issues. Using your feedback I come across this step-by-step guide: http://ubuntuforums.org/showthread.php?t=517282 Beside using this guide I've changed my setup so my root is on a single disk as it was the only way I good get started with the guide. My problem is I can't do a e2fsck on the raid - I get: buffy:~ # e2fsck -f /dev/md0 e2fsck 1.41.9 (22-Aug-2009) e2fsck: Device or resource busy while trying to open /dev/md0 Filesystem mounted or opened exclusively by another program? System details: --- buffy:~ # cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid5 sdb4[0] sde1[4] sdd1[3] sdc1[1] 5825594112 blocks super 1.0 level 5, 128k chunk, algorithm 0 [4/4] [UUUU] unused devices: <none> --- buffy:~ # mdadm --detail /dev/md0 /dev/md0: Version : 1.00 Creation Time : Tue Apr 20 04:10:24 2010 Raid Level : raid5 Array Size : 5825594112 (5555.72 GiB 5965.41 GB) Used Dev Size : 1941864704 (1851.91 GiB 1988.47 GB) Raid Devices : 4 Total Devices : 4 Persistence : Superblock is persistent Update Time : Mon Apr 26 18:54:19 2010 State : clean Active Devices : 4 Working Devices : 4 Failed Devices : 0 Spare Devices : 0 Layout : left-asymmetric Chunk Size : 128K Name : linux:0 UUID : cf81fff7:872a647e:74943f95:dd45bb7d Events : 314319 Number Major Minor RaidDevice State 0 8 20 0 active sync /dev/sdb4 1 8 33 1 active sync /dev/sdc1 3 8 49 2 active sync /dev/sdd1 4 8 65 3 active sync /dev/sde1 Any idea what I have overlooked since my array keep being busy. I can find a PID with md0 but have no idea what are causing this. This disks or raid is not mounted or exist (yet) in fstab. buffy:~ # ps auxf|grep md0 root 801 0.0 0.0 0 0 ? S< 18:09 0:00 \_ [md0_raid5] -- Venlig hilsen / Best regards Allan Dreyer Andersen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org