[CentOS] mdadm syntax
Art Baldini
rootajb at gmail.comFri Nov 2 19:14:42 UTC 2007
- Previous message: [CentOS] atmail & centos
- Next message: [CentOS] mdadm syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi All, I am trying to create an MD device. I am using the command: /sbin/mdadm --create --a /dev/md12 --level=1 --run --raid-devices=2 /dev/sda12 /dev/sdb12 to create the device, and to dynamically create the device file if needed. What I want is the device file to be created as /dev/md12, but with the -a flag it creates it as /dev/md<first unwsed minor number>. I have tried various options to the -a or --auto, but cannot seem to find the correct syntax. From the man page it says: -a, --auto{=no,yes,md,mdp,part,p}{NN} Instruct mdadm to create the device file if needed, and to allocate an unused minor number. "yes" or "md" causes a non-partitionable array to be used. "mdp", "part" or "p" causes a partitionable array (2.6 and later) to be used. The argumentment can also come immediately after "-a". e.g. "-ap". Am I doing something wrong, or is there no way to get mdadm to automatically create a specific device file. Thanks... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20071102/62a93c96/attachment.html>
- Previous message: [CentOS] atmail & centos
- Next message: [CentOS] mdadm syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list