Re: Converting a .90 raid superblock to version 1.0 and whether--size parameter is needed

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

 



On Wed, 18 Mar 2015 17:58:05 -0700 Sean Harris <sean@xxxxxxxxxxxxx> wrote:

> Thanks Neil,
> I'd like to try this but I'm having trouble installing it on Debian 5 (lenny).
> 
> When I try to make install, it complains:
> 
> ***** Parent of /run/mdadm does not exist.  Maybe set different RUN_DIR=
> *****  e.g. make RUN_DIR=/dev/.mdadm
> ***** or set CHECK_RUN_DIR=0
> make: *** [check_rundir] Error 1
> 
> cat /etc/debian_version 
> 5.0.10
> 
> The default run directory apparently is not there ie: /run/mdadm
> That directory exists on Debian 7 but not Debian 5.
> 
> I admittedly do not know what to set that variable to on Lenny. Can you point me to what to look for?

Does /dev/.mdadm exist?  If it does, try

  make RUN_DIR=/dev/.mdadm

If not, just use

  make CHECK_RUN_DIR=0

You don't need access to the rundir to assemble some devices.

And don't "make install".  Just "make", and then run

 ./mdadm ....

or copy mdadm to some where (e.g. /sbin/mdadm-new) and only use mdadm-new
when you particularly want the new features.

NeilBrown

Attachment: pgpDZFenbNhAB.pgp
Description: OpenPGP digital signature


[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