New answers tagged

2 votes

systemd twice mounts entry in fstab during boot, first attempt fails with bad option, second one works fine

First of all, kudos to Tom Yan, who suggested in a comment to the question: Maybe there's some kind of race. As a workaround, try adding x-systemd.automount (as an option) to the fstab entry. While ...
user avatar
  • 678
0 votes

Is automount in linux dangerous as in windows

Automount is usually not dangerous, but there are some risks and attack surface involved: Once your device is mounted, your Desktop Environment will start mining the filesystem for media files, the ...
user avatar
0 votes

NFS Permission Denied when mounting from WSL

I have the same issue, but have a few possible solutions. My nfs logs look like this (I'm guessing yours do, too): cat /var/log/syslog: refused mount request from 192.168.123.123 for /mnt/poolio/data (...
user avatar
0 votes

Finding the drive letter of the most recently mounted xvhd or vhd file in batch?

One line command that detects the disk letter the VHD is mounted to and assigns it to an environment variable: FOR /f usebackq %a in (`powershell -c "GET-DISKIMAGE 'D:\VirtualHardDisk.vhd' | GET-...
user avatar
0 votes

How do you determine the root device if /dev/root is missing?

In my case I have LVM and LUKS setup which looks like the following. $ lsblk -oNAME,MOUNTPOINT -J { "blockdevices": [ {"name":"sda", "mountpoint":null, ...
user avatar
  • 121
0 votes

OSXFuse mounted directory ownership error with automount SSHFS

I know it's a bit late, but you just need to add an option to sshfs defer_permissions. Mine worked straight out.
user avatar
  • 101
0 votes
Accepted

Is there a way to preserve persistent device mappings (not drive letters) for USB removable drives in Windows?

The path to a volume/partition like \Device\Harrdisk1\Partition1 is not the only way to address a partition. This is just the short version that simply allows to enumerate through all disks and ...
user avatar
  • 7,307
1 vote
Accepted

How to mount a zfs clone

The behavior is caused by mismatch between ZFS tools and Kernel module. ZFS 2.x application is not compatible with Kernels older than 5.11. Since in Ubuntu kernel version is tied to Release, the ...
user avatar
  • 321
0 votes

Why does mount refuse to make a directory?

As @Larssend answer, note that the lowercase option is deprecated, it should be X-mount.mkdir Documentation says: The option is also supported as x-mount.mkdir, notation is deprecated since v2.30. ...
user avatar
1 vote

How to mount a zfs clone

Your assumption that mounted:no is the culprit is not correct. The mounted attribute, in conformance with its name, is read only and tells you whether a dataset is currently mounted. Therefore, you ...
user avatar
  • 1,455

Top 50 recent answers are included