16
votes
How to clearly indicate a device is not mounted
You kind of have it backwards.
If I saw an empty directory that was usually a mount point, I would assume it wasn't mounted.
If anything, you should put a file in your mounted filesystem to show that ...
10
votes
How to clearly indicate a device is not mounted
Is it a good idea to add an empty file, say a file called NOT_MOUNTED, into mountpoint directory when the backup storage device is not mounted? Or will this be confusing?
No. Leave that directory ...
7
votes
Accepted
How to automatically reload daemons after `/etc/fstab` was changed?
What are the consequences if this is not done?
systemd won’t be aware of the changes; whether that’s important or not depends on the nature of the changes. systemd provides a number of generators ...
5
votes
How to automatically reload daemons after `/etc/fstab` was changed?
What are the consequences if this is not done?
That depends a bit on what's in there. But, for example, if you added (or changed) an entry that would lead to a directory being automatically mounted ...
4
votes
How to clearly indicate a device is not mounted
Is a symlink better, that becomes broken when the device is unmounted?
You don't need a symlink for this, you can use chattr with the i attribute:
A file with the 'i' attribute cannot be modified: ...
3
votes
Problem mounting btrfs Luks-encrypted Fedora 42 system on Live-USB
Try this:
unmount the home subvolume
remount it as /mnt/sysroot/root/home
bind-mount some essential directories under /mnt/sysroot/root:
for i in proc dev sys sys/firmware/efi/efivars dev/pts ; do
...
1
vote
Accepted
NTFS disk is visible in windows but wont mount in Linux
There are 2 solutions that both worked for me.
Always backup any important data first before you do anything, especially before trying any weird filesystem voodoo!
The safe way.
Copy all the data to ...
1
vote
XFS mount takes too long at boot
Here are some news after a few tests.
# time mount /dev/mapper/mainvg-server--backup /backup/server
real 4m47.342s
user 0m0.011s
sys 0m1.827s
First, there is a pretty strange behavior when ...
1
vote
XFS mount takes too long at boot
I have XFS volumes, mounting in RHEL-8.10 and RHEL-9.6 {which is under XFS-5 vs XFS4 that was in RHEL-7} and I have volumes greater than 50TB with no delay issues or problems of any type when mounting....
1
vote
How to clearly indicate a device is not mounted
One option could be to use permissions to your advantage. If your backup program doesn't run as root, you could:
set the ownership and permissions of the mountpoint to be accessible only by root, and
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mount × 3573linux × 768
filesystems × 456
fstab × 392
ubuntu × 254
debian × 198
partition × 197
permissions × 188
nfs × 176
automounting × 171
cifs × 158
centos × 130
usb × 129
systemd × 109
hard-disk × 108
samba × 100
usb-drive × 94
ntfs × 91
bind-mount × 87
arch-linux × 83
rhel × 80
lvm × 79
boot × 77
windows × 74
disk × 74