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