I have ubuntu distro which lives on one hard drive: /boot on one partition, / on another and swap aslo on another.
Then I've moved all data from one hard drive to another. I've carefully re-created partition layout and also made separate partition for /var directory.
I've also tuned /etc/fstab; it was:
-/dev/sda5 / ext3 defaults,errors=remount-ro 0 1
-/dev/sda6 /home ext3 defaults,user_xattr 0 2
+/dev/sda7 / ext3 defaults,errors=remount-ro 0 1
+/dev/sda8 /var ext3 defaults 0 0
+/dev/sda9 /home ext3 defaults,errors=remount-ro,user_xattr
Then I've moved contents of /var to /dev/sda8 and leave /var on / empty.
Problem is during boot process I get error messages /var/lock and /var/run mountpoints doesn't exist.
This causes network facilities to fail to start.
I have lock and run in /var on /dev/ sda8. Why it asks for them on sda7?