Re: error opening /dev/md2: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 02, 2004 at 06:03:45PM +0000, Robin Bowes wrote:
# mdadm --create /dev/md2 --level=1 --raid-devices=2 /dev/sdc1 missing
mdadm: error opening /dev/md2: No such file or directory

I've used "missing" since the other spare partition is on /dev/sdf which is being RMA'd at the moment - guess what make it is :)

The new FC3 system is running udev with which I'm not familiar.

How can I create the /dev/md2 device?

ah, udev, what a great pile of shit it is.

you could use the --auto= option of mdadm to have it create the device
for you, the only issue with that is that mdadm will use the first free
minor numbr it finds instead of using the minor implied by the device
name. (i was planning on changing that behaviour sooner or later).


-- Luca Berra -- bluca@xxxxxxxxxx Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \ - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux