I have a following setup - NAS exporting two partitions mounted on my Archlinux box one mounted on /home another on /var. Here is fstab piece:
UUID=bdbc3fe4-7205-496f-9ef3-95c9b5ed97f8 /home ext4 defaults,nofail,_netdev 0 0
UUID=ffde5a51-b160-4657-9d67-ce170542b5a8 /var ext4 defaults,nofail,_netdev 0 0
Problem is that it seems that some services (journal for example) - are still using /var located on root partition, so if for example I run "journal -b" after everything is booted I get empty output:
# journalctl -b
-- Logs begin at Thu, 1970-01-01 03:00:03 MSK, end at Thu, 2013-01-03 02:21:22 MSK. --
logger and syslog though seem to be doing it the right way - I can see new messaged coming to /var/log/everything.log
Any idea if I should restart some service for journal to be in right place?
Ok, so looking more into this - seems like the only process using "new" /var is named, which is started after network is set up - which makes a lot of sense, since network needs to be set up, then open-iscsi pops in and only then new /var is mounted - so now question is - what is the right way to do what I want - have an iscsi mounted /var?