Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Ubuntu "varrun" and /var on separate partition problem


Hi,

I recently installed Ubuntu on a single / partition, then I tried to move /usr, /home, /var to other partitions after setting up software raid and LVM2. The problem I'm getting is that ubuntu seems to mount these:

$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
varrun                 1687956        84   1687872   1% /var/run
varlock                1687956         4   1687952   1% /var/lock

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

  /var/run/network/ifstate not found

errors when it tries to bring up the network.

Can anyone who is familiar with ubuntu give me some advice how to fix this problem?

Thanks heaps,
Ian.