<quote who="Ian Su">

> And only *afterwards* does it mount /dev/mapper/vg0-var on to /var, and
> the effect is some stuff is missing in /var/run, like

You need to create directories for /var/run and /var/lock in the filesystem
underneath /var (ie. your / filesystem). You could manually unmount /var and
create them, or you could do this:

  mount --bind / /mnt && mkdir /mnt/var/run /mnt/var/lock && umount /mnt

(That will mount / again under /mnt and let you create those directories in
the bound mount instead of having to go through all the unmounting of /var
mess.)

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia           http://lca2007.linux.org.au/
 
    "Mr Hunt also admits he does not like the expression 'diddly squat',
     though he will not be ruling it to be unparliamentary." - ABC News
                                   Online
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to