[mythtv-users] Totally OT - but need help wit RAID5 array
jafa
hdtv at silicondust.com
Fri Nov 17 17:11:21 UTC 2006
> [root at storage ~]# mdadm --create --verbose /dev/md0 --assume-clean --force --level=5 --raid-devices=3 /dev/hdb /dev/hdc dev/hdd
> mdadm: layout defaults to left-symmetric
> mdadm: chunk size defaults to 64K
> mdadm: /dev/hdb appears to contain an ext2fs file system
> size=312581632K mtime=Wed Nov 15 09:54:22 2006
> mdadm: /dev/hdb appears to be part of a raid array:
> level=raid5 devices=3 ctime=Wed Nov 15 09:42:22 2006
> mdadm: /dev/hdc appears to be part of a raid array:
> level=raid5 devices=3 ctime=Wed Nov 15 09:42:22 2006
> mdadm: Cannot open dev/hdd: No such file or directory
> mdadm: create aborted
> [root at storage ~]#
>
Hi,
I think you want to "assemble" rather than "create" - create will
initialize it as a new RAID array. Assemble will pick up the pieces of
an old array.
I assume "dev/hdd" isn't real - a typo when you first created the array?
If /dev/hdb and /dev/hdc exist then you can use "missing" for the third
drive.
Try something like:
mdadm --assemble --verbose /dev/md0 /dev/hdb /dev/hdc missing
Nick
More information about the mythtv-users
mailing list