[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

"Failed unmounting /var/cache" error message when shutting down



Hi.  This problem is some months old, and I have sent a similar message
on 20 Jan 2022 11:57:35 (UTC).  Since then I have slightly simplified my
Btrfs subvolume layout but the problem remains.

When I shutdown or halt my laptop, I get error messages like:

    [FAILED] Failed unmounting /var/cache.
    [⋮]
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Reached target Final Step.
	     Starting halt...

My Nextcloud public folder has a screenshot from January:
https://cloud.disroot.org/s/MFaEoozaHHJjtbs

I suppose these Btrfs subvolumes do still get unmounted cleanly before
shutdown, because:
1. The success message "[  OK  ] Reached target Unmount All Filesystems."
2. When the laptop turns back on, I don't see any message about unclean
   filesystem.
3. In the output of ~smartctl -a /dev/nvme0n1~, the field "Unsafe
   Shutdowns" dos not increase.

Am I thinking correctly, and can I safely disregard those error messages?

For reference, I have attached the relevant excerpt from /etc/fstab

Kind regards
LABEL=SSD /		  btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@rootfs   0       0
LABEL=SSD /var/backups    btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-bkp  0       0
LABEL=SSD /var/cache      btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-cch  0       0
LABEL=SSD /var/spool      btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-spl  0       0
LABEL=SSD /var/tmp        btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-tmp  0       0
LABEL=HDD /var/log	  btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-log  0       0
LABEL=HDD /var/cache/apt/archives btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@apt-arch 0 0
LABEL=HDD /root	          btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@~root    0       0
LABEL=SSD /home		  btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@home     0       0
LABEL=SSD /home/cache     btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@home-cch 0       0
LABEL=HDD /home-HDD       btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@home     0       0
LABEL=HDD /home-HDD/cache btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@home-cch 0       0
LABEL=SSD /gnu		  btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@guix-gnu 0       0
LABEL=SSD /var/guix	  btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@guix-var 0       0
LABEL=SSD /usr/local	     btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@usr-local   0       0
UUID=9550-C451  /boot/efi       vfat    umask=0077      0       1
LABEL=HDD-swap none	     swap  sw								0       0
-- 
- Many people hate injustice but few check the facts; this causes more
  injustice.  Ask me about <https://stallmansupport.org>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Free Software Supporter: https://www.fsf.org/free-software-supporter
- If an email of mine arrives at your spam box, please notify me.

Reply to: