Is there some new trick to making raid devices on Centos5? # mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdc1 mdadm: error opening /dev/md3: No such file or directory I thought that worked on earlier versions. Do I have to do something udev related first? -- Les Mikesell lesmikesell at gmail.com
On 8/27/07, Les Mikesell <lesmikesell at gmail.com> wrote:> Is there some new trick to making raid devices on Centos5? > > # mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdc1 > mdadm: error opening /dev/md3: No such file or directory > > I thought that worked on earlier versions. Do I have to do something > udev related first? > > -- > Les Mikesell > lesmikesell at gmail.comLooks correct to me. How about adding a --verbose to get more info? Akemi
> -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of Les Mikesell > Sent: Monday, August 27, 2007 6:57 PM > To: centos at centos.org > Subject: [CentOS] mdadm --create on Centos5? > > Is there some new trick to making raid devices on Centos5? > > # mdadm --create /dev/md3 --level=1 --raid-devices=2 > /dev/sdc1 /dev/sdc1 > mdadm: error opening /dev/md3: No such file or directory > > I thought that worked on earlier versions. Do I have to do something > udev related first?Try the --auto=yes, otherwise if the device node doesn't already exist it will complain and die. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
Les Mikesell spake the following on 8/27/2007 3:56 PM:> Is there some new trick to making raid devices on Centos5? > > # mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdc1 > mdadm: error opening /dev/md3: No such file or directory > > I thought that worked on earlier versions. Do I have to do something > udev related first? >The above command tries to define the same device twice /dev/sdc1. Is it a typo in message or original command? -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!