Re: /dev/md* Device Files

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

 



On Wednesday 26 January 2005 07:28, Gordon Henderson wrote:
> On Tue, 25 Jan 2005, Steve Witt wrote:
> > I'm installing a software raid system on a new server that I've just
> > installed Debian 3.1 (sarge) on. It will be a raid5 on 5 IDE disks using
> > mdadm. I'm trying to create the array with 'mdadm --create /dev/md0 ...'
> > and am getting an error: 'mdadm: error opening /dev/md0: No such file or
> > directory'. There are no /dev/md* devices in /dev at the present time. I
> > do have the md and raid5 kernel modules loaded. My question is: how do
> > the /dev/md* files get created? Are they normal device file that are
> > created with MAKEDEV?
>
> It's odd that they aren't there - they are with Debian 3.0, and have
> remained there when I've upgraded a few test servers to testing/Sarge.
>
>  # cd /dev
>  # ./MAKEDEV md
>
> should do the business.
>

A useful trick I discovered yesterday: Add --auto to your mdadm commandline 
and it will create the device for you if it is missing :)

Andrew Walrond
-
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