User talk:Svamberg/Software RAID

From FAIWiki
Jump to navigation Jump to search

XFS support and mdadm --auto

Can i suggest 2 changes to the hook script.

1) The addition of xfs through mkfs.xfs and 2) The addition of --auto to mdadm so that if the /dev/md0 or such device does not exist, it will create it for you.

- Mrjazzman

XFS support added in version 0.0.2, but not tested!

--Svamberg 23:28, 6 Jun 2006 (CEST)

I noticed that the hook creates raid sets using the obsolete --raid-devices option. I recommend changing this to -n, since that's in both versions, or using --raid-disks which is the option name in newer versions of mdadm.

Also, when stopping all RAID sets, it might be a good idea to use the --zero-superblock option on all the partitions, just to be sure mdadm doesn't accidently recognize an old array UUID.

--Lussier 16:07:02, 23 Jun (EDT)