You are not logged in.

#1 2013-01-02 22:52:19

B0b
Member
Registered: 2009-05-09
Posts: 9

/var on iscsi volume - journalctl empty

Hi All,

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?

Thanks

Offline

#2 2013-01-05 14:39:19

B0b
Member
Registered: 2009-05-09
Posts: 9

Re: /var on iscsi volume - journalctl empty

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?

Offline

Board footer

Powered by FluxBB