You are not logged in.
Pages: 1
Hi,
I'm on a fully updated Linux_X86-64/KDE with a separate /var partition.
The boot journal complaints that /var directory is not empty (below), although I believe that's a normal state.
Please advise!
Thnaks
-------relevant part of journalctl-----------
Sep 04 12:14:23 miki_desk systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.
Sep 04 12:14:24 miki_desk systemd-journal[190]: Time spent on flushing to /var is 126.236ms for 1025 entries.
and the relevant line in my fstab is
# /dev/sdb3 LABEL=Var
UUID=f3d0d861-1faf-4f69-8aae-81c2974b15c1 /var ext4 rw,relatime,data=ordered 0 2
Last edited by mibadt (2014-09-06 02:34:34)
Best regards,
Michael Badt
Offline
It means the /var directory on your / filesystem is not empty.
This silver ladybug at line 28...
Offline
Mount your root (/) partition somewhere else (e.g. /mnt) and look in it's /var directory from there (e.g. /mnt/var). What do you see?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I'll live boot and look at /mnt/var later.
Once there should I delete all /mnt/var contents?
Thanks
Best regards,
Michael Badt
Offline
No need for a liveCD (though it won't hurt).
Whether or not you should delete it depends on what is in there. If you messed up during the installation process, the bulk of your pacman database may be stored there, and you should compare the files and folders there, with the files and folders on your var partition, and safely merge the two.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The fact that your system is running fine means you probably don't need to merge anything in. But of course, take a look what is in there.
This silver ladybug at line 28...
Offline
Thnaks all
Best regards,
Michael Badt
Offline
Hi all,
I've found that (within my Arch):
Besides the expected /var (on my separate partition), there is no /mnt/var on my system, yet there is a /usr/var.
This folder contains a single 109b "grandson" (into second level directory inside above) file dated May 27th name "interpreter". No other files there.
Below you can see that var location, contents and structure.
Can I delete it altogether?
Thanks
------------/usr/var/----------
/usr/var/lib/iscan $ ls -al
total 12
drwxr-xr-x 2 root root 4096 May 27 11:50 .
drwxr-xr-x 3 root root 4096 May 27 11:50 ..
-rw-r--r-- 1 root root 109 May 27 11:50 interpreter
miki /usr/var/lib/iscan $ cd ..
miki /usr/var/lib $ cd ..
miki /usr/var $ tree
.
└── lib
└── iscan
└── interpreter
Best regards,
Michael Badt
Offline
No idea why you have a /usr/var, presumably it's something that you created at some point?
In any case, you misunderstood my post. What I meant for you to do was (while booted into your system proper, not a liveCD):
Mount the root partition to /mnt (so that you can see everything on the filesystem without having to un-mount anything)
Look in the /mnt/var folder, and if it has things in it that look important (e.g. /mnt/var/lib/pacman/local), and if so...
Compare the /mnt/var folder with the /var folder (which should be your mounted var partition)
Merge any differences into the var partition
Clean out anything remaining in the /mnt/var folder, to get rid of the "not empty" mount warning you encounter at boot
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thanks all,
Following your guidelines I've successfully removed my /usr/var .
Best regards,
Michael Badt
Offline
Pages: 1