"Failed unmounting "/{root,var/cache} error messages when shutting down
Hi. When I shutdown or halt my laptop, I see error messages like:
[FAILED] Failed unmounting /root.
[⋮]
[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:
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, here is the relevant excerpt from /etc/fstab
--8<---------------cut here---------------start------------->8---
LABEL=SSD / btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@rootfs 0 0
LABEL=SSD /var/cache btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-cache 0 0
LABEL=SSD /var/backups btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-backups 0 0
LABEL=SSD /var/mail btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-mail 0 0
LABEL=SSD /var/spool btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@var-spool 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=SSD /var/lib/libvirt/images btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@libvirt-images 0 0
LABEL=HDD /var/cache/apt/archives btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@apt-archives 0 0
LABEL=SSD /root btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@~root 0 0
LABEL=SSD /home/jorge btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@~jorge 0 0
LABEL=SSD /home/jorge/.cache btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@~jorge-.cache 0 0
LABEL=HDD /home/jorge/HDD btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@~jorge 0 0
LABEL=SSD /home/wanessa btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@~wanessa 0 0
LABEL=HDD /home/wanessa/HDD btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@~wanessa 0 0
LABEL=SSD /gnu btrfs noatime,space_cache=v2,compress=zstd:12,subvol=@guix-store 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
--8<---------------cut here---------------end--------------->8---
Kind regards
--
- Many people hate injustice but few check the facts; this causes more
injustice. Ask me about <https://stallmansupport.org>
- Please adopt free/libre formats like PDF, Org, LaTeX, ODF, Opus, WebM and 7z.
- Libre apps for AOSP (Replicant, LineageOS, etc.) and Android: F-Droid
- https://www.gnu.org/philosophy/free-sw.html "What is free software?"
Reply to: