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?
On 8/27/07, Les Mikesell lesmikesell@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@gmail.com
Looks correct to me. How about adding a --verbose to get more info?
Akemi
At Mon, 27 Aug 2007 it looks like Akemi Yagi composed:
On 8/27/07, Les Mikesell lesmikesell@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
Hmm, is that a typo? You have /dev/sdc1 twice in the above command.
Bill-Schoolcraft wrote:
At Mon, 27 Aug 2007 it looks like Akemi Yagi composed:
On 8/27/07, Les Mikesell lesmikesell@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
Hmm, is that a typo? You have /dev/sdc1 twice in the above command.
Yes but the typo happened when I retyped the line the 2nd time. The first time had /dev/sdd1 as the 2nd entry and had the same result. It turns out --auto=yes is the magic option to make it work as Ross Walker pointed out in another reply.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Les Mikesell Sent: Monday, August 27, 2007 6:57 PM To: centos@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?
Scott Silva wrote:
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?
Yes, this was answered in a previous response. It was a typo and the solution is to add --auto=yes for systems that don't already have the device nodes.
or you can create de device: mknod /dev/md3 b 9 3
Les Mikesell escreveu:
Scott Silva wrote:
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?
Yes, this was answered in a previous response. It was a typo and the solution is to add --auto=yes for systems that don't already have the device nodes.
-- Marcelo Renan Becher
Bugnhole Corporation S/A http://www.bunghole.com.br
Uptime: 13:48:27 up 13 days, 19:47, 3 users, load average: 0.00, 0.00, 0.00
Les Mikesell spake the following on 8/29/2007 9:48 AM:
Scott Silva wrote:
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?
Yes, this was answered in a previous response. It was a typo and the solution is to add --auto=yes for systems that don't already have the device nodes.
Oh yeah... Udev broke a lot of my previous knowledge ( or maybe my foolish reliance on devices already "being there"). I guess when I get my first "live" systems running on CentOS 5 next month I will get to relearn stuff again.