- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Ubuntu "varrun" and /var on separate partition problem
- From: Jeff Waugh <jdub@xxxxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 13:04:43 +1000
- User-agent: Mutt/1.5.12-2006-07-14
<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