Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
43 views

CIFS mount issues

I am trying to mount a network drive to my AlmaLinux box, and are running out of ideas. I want to mount the folder "project" with: sudo mount -t cifs --verbose -o username=$USER,uid=$USER //...
Alex's user avatar
  • 23
0 votes
0 answers
13 views

Chromebook RW_Legacy enabled Jammy 22.04 install

With Development enabled and enabling Legacy settings for RW_Legacy, I installed a minimal from a live Ubuntu Jammy X86_64 image installed from usb. I get a clean boot and have updated with libraries ...
Aaron Sullivan's user avatar
0 votes
1 answer
104 views

Automatically mount a per-user drive on login with systemd

I have a NAS which provides SMB/CIFS shares and I've also just set up a new PC (running EndeavourOS/Arch) and want to automatically mount those shares. In the past I've always handled this by simply ...
Grzzlwmpf's user avatar
0 votes
0 answers
43 views

Mount SFTP directory in NFS Share

Here's my issue : I have setup an SFTP with chroot directory is /sftp/usersftp In this chroot directory i have two subdirectory IN/OUT On the same serveur i had created a user with $HOME=/data/...
Kain Taozia's user avatar
0 votes
0 answers
25 views

Are there alternatives to bind mounts, that don't require the target already exists?

RootFS is read-only and I'm working around that by bind mounting files and directories to specific locations. Bind mounts seem to require, that the target exists already, so I can't use them to create ...
CodeSpoof's user avatar
0 votes
1 answer
19 views

Disk usage wrong after incorrect fstab mount and rsync to the mount

tl,dr; Something is using disk space after failed mount and rsync but I can't find out what it is and how to cleanup/free the space. Context: I was trying to add second disk to my RPi and given that ...
Wojtek's user avatar
  • 407
0 votes
0 answers
19 views

Mounting drive with mount command and fstab do not work as intended

I have two external USB drives which I would like to be mounted to specific directories which are owned by my user. A script runs on startup which mounts all my drives in their specific locations ...
Nisarg Desai's user avatar
1 vote
0 answers
34 views

How to mount Luks disk with specific user?

Have a external disk with Lucks and EXT4 partition, the OS mount the disk using the first user by default but can not mount as secondary user: The first user is uid=1000 and gid=1000, but the ...
e-info128's user avatar
  • 181
0 votes
1 answer
40 views

Unable to mount disk image after creating in Arch

I have quite the problem right now. I have created a disk image of my Arch install by using this command sudo dd if=/dev/sdX bs=8M | pv -cN source | zstd | pv -cN zstd > out.img.zst, then ...
fyredragon69's user avatar
0 votes
0 answers
52 views

My USB flash drive is corrupt and I can't format or mount it [duplicate]

The USB flash drive is a DataTraveler 104 32GB. I used to use it, but it has stopped working. If you plug it in on Windows, it freezes the disk management and the file explorer. On Debian, disks show ...
Fachita's user avatar
1 vote
1 answer
205 views

Cannot mount CIFS althought kinit return me a ticket

I'm using Ubuntu 22.04 to mount a remote SMB share : $ kinit [email protected] Password for [email protected]: $ sudo mount.cifs "//x.y.z.t1/Extension_2" /mnt/remoteShare/ --verbose -...
SebMa's user avatar
  • 1,863
0 votes
1 answer
509 views

Linux to Windows - smbclient works fine but mount.cifs does not

I am using a Ubuntu 22.04 guest in Hyper-V in Windows 11. I have created a file share and shared it for a local user ("shareuser"). I am trying to automatically mount it with cifs and ...
kaidentity's user avatar
1 vote
0 answers
215 views

How to Safely Copy Entire Ubuntu Root Directory to Different Drive and use it as system drive via SSH?

I'm currently maintaining a remote Ubuntu server with two drives: one SSD and one HDD. The HDD is currently mounted at /, serving as the system drive, while the SSD is empty and mounted at /mnt/nvme. ...
dzwiedzn7's user avatar
0 votes
1 answer
148 views

How can I split from /dev/nvme0n1p3 to /dev/nvme0n1p2

I only have one disk, an SSD on my laptop. My disk status is as shown above. The /dev/nvme0n1p2 disk part (mounted at /) is too small. I plan to move 42GB from /dev/nvme0n1p3 to /dev/nvme0n1p2, but /...
monstar's user avatar
  • 133
1 vote
1 answer
41 views

Why is an incorrect size reported on multi-partition USB flash drive?

I'm creating a custom Linux installer which uses two partitions on a 4GB USB flash drive: an EFI partition for booting and a data partition for installer files. The size reported by df is unexpected. ...
Danny's user avatar
  • 191
0 votes
2 answers
260 views

How can fstab direct linux to mount the root directory if /etc/fstab is in the same partition as the the root directory?

How can fstab direct linux to mount the root directory if /etc/fstab is in the same partition as the the root directory? Does the operating system partition (typically mounted at /boot) have some sort ...
John's user avatar
  • 21
0 votes
0 answers
24 views

Streamlining Bind Mounting for User Folders between Windows 10 and MX Linux 23.2

I've successfully configured a shared partition between Windows 10 and MX Linux 23.2, ensuring strict mapping of user accounts in both operating systems. Steps such as creating the ntfs-formatted ...
roymustang's user avatar
0 votes
0 answers
244 views

Speed up btrfs check --init-extent-tree

I recently accidentally mounted a btrfs filesystem read-write without knowing a different kernel that also had it mounted read-write was hibernated. When I resumed the hibernated kernel, it mounted ...
wallefan's user avatar
  • 137
1 vote
1 answer
282 views

External USB SSD disk fails to mount at boot

I have two external drives attached to my Ubuntu Server 22.04.3. My /etc/fstab includes, among other things, the following two lines for the two drives: /dev/disk/by-uuid/d7dbea69-0332-4d12-b905-...
bagratte's user avatar
0 votes
0 answers
201 views

Bcachefs remove device without mounting, or mount with device offline

Using bcachefs (Arch Linux 6.7.2), how can I remove a non-existent device without the device being present? The X-problem is: I've added a test drive to my daily drive using bcachefs device add I ...
Hykilpikonna's user avatar
1 vote
0 answers
45 views

Why is my LVM volume showing as being mounted multiple times?

Just noticed a weird thing in the output of lsblk: It shows that it’s mounted multiple times for each physical volume. It doesn’t seem to be causing any issues. But I’m very curious why it’s doing ...
Dani's user avatar
  • 11
0 votes
0 answers
137 views

EndeavourOS/Arch Linux broken after power off. NVMe drive not detected by any method

After a forced power off, my system looks broken. The OS was installed in a BTRFS system. Booting EndeavourOS normally will hang with: “A start job is running for /dev/disk/by-uuid/…” (forever) cat /...
GuedesBF's user avatar
  • 123
2 votes
1 answer
618 views

How to mount BTRFS partition multiple times both using the same space allocation?

I’m new to BTRFS and am wondering if it’s possible to share the space of a single partition but mount it under multiple mount points? For example, I have a 1 TiB partition and want to share the same ...
Joe J's user avatar
  • 518
0 votes
0 answers
372 views

How to properly unmount a bind mount?

In order to create a chroot, I often do something like: mount --bind /dev ./dev But when I try to unmount ./dev, it sometimes attempts to unmount/redirect to /dev instead. How to tell I want to ...
user2284570's user avatar
  • 1,873
0 votes
1 answer
202 views

Recover a USB mount from disconnect - reconnect

I'm using an m2 SSD in a USB C enclosure as a root partition on Linux. Despite trying different enclosure brand, there are always some rare disconnection (when moving the cable for example). A quick ...
Congelli501's user avatar
1 vote
1 answer
430 views

USB drive detected as a char device (not block device) on Linux?

I have a Kingston's DataTraveler SE9 (8G, SerialNumber: 0014785448B4BCA13728002A), and I myself am running Pop!_OS, and I can't seem to figure out why it's not being detected. Not in a Windows system ...
zombiesauce's user avatar
1 vote
1 answer
227 views

Linux: how to suppress listing loop devices when using mount command?

Is there a way to prevent including loop devices when using mount command on its own in order to list existing mounts? When there are dozens of loopback devices it's tedious having to sift through the ...
ccpizza's user avatar
  • 7,853
0 votes
0 answers
424 views

USB Flash Drive Mounting and Unmounting Issues in linux

I'm seeking assistance as I delve into learning the Linux file system, and I've encountered a specific issue regarding the mounting and unmounting of a pendrive. Upon initially inserting the pendrive ...
Subham Rai's user avatar
0 votes
0 answers
162 views

Mount but exclude one subfolder?

I have a Synology NAS in which I use the following command at NAS startup to create a symlink, which works fine: mount --bind "/volume1/SourceFolder" "/volume1/SymlinkFolder" Now I ...
Ahmad's user avatar
  • 797
0 votes
0 answers
203 views

Debian: mounting cifs shares starts to early or timeouts at boot

I am on debian bookworm and have the following entries in my /etc/fstab; at random, one of these SMB / CIFS shares are not mounted with an error of -112. I think this has to do with the fact that the ...
tkhobbes's user avatar
  • 101
0 votes
0 answers
49 views

How can I mount the Hololens 2 filesystem via WiFi to access its files?

I have some files I need to extract from the Hololens 2. I can individually download them from the Developer Portal, but I would like to be able to access the internal storage using Linux so that I ...
icedwater's user avatar
  • 157
0 votes
0 answers
145 views

Can't mount, open or list external HDD

I can't format my hard drive. I think I have formatted it with EXT4 some months ago and secured it with LUKS. dmesg gives me this: [ 105.101317] usb 2-1: new SuperSpeed Gen 1 USB device number 4 ...
otto's user avatar
  • 111
2 votes
0 answers
94 views

broken bind mount: files not present and "Please use `keyctl unlink`"

I have a bind mount in fstab which makes certain files visible within the filesystem of a snap application (MuseScore) /path/to/real/files /home/me/MuseScore3Development/Scores none defaults,bind,...
spraff's user avatar
  • 2,198
0 votes
0 answers
313 views

Mount a 2nd SMB Share Drive from Local Windows PC to Ubuntu 22.04.03

Today is the first day of my 38 years on this planet that I am using Linux. So please be patient with me. I have successfully followed a series of steps to mount a share folder from my Windows Desktop,...
MartyCH85's user avatar
0 votes
1 answer
90 views

Ubuntu Server keep logging me as root after mount

I keep logging in as root@mymachinename and not as my user mmg@mymachinename I'm not sure why. Backstory: I tried to mount a shared folder following [this guide] (https://gist.github.com/estorgio/...
vmk's user avatar
  • 1
1 vote
2 answers
406 views

Install a new HDD in the same file directory as the old HDD

I have a 1TB computer on Unix that is full mounted at /. I have installed a new 10TB HDD and mounted it at /hdd . I would like to know if I could still write in /home/usr and have the storage used ...
tristanguerand's user avatar
0 votes
1 answer
122 views

How to make NFS server start if a disk mountpoint export fails to mount?

Consider the following /etc/exports: /verbatim 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check) /sandisk 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check) /verbatim and /sandisk are mountpoints ...
bagratte's user avatar
0 votes
1 answer
84 views

How does Linux hide file for duration of mount?

In Linux, internally, all files have a file path, which are represented by a chain of dentries and inodes. When a file system is mounted, its mount point is given by a file path, and the original file ...
Tomek Dobrzynski's user avatar
5 votes
1 answer
2k views

Optimizing NFS share for many small files

I'm attempting to setup a file share system for a system where users are given access to ephemeral virtual machines to work on projects that read/write a large amount of small files. For example, a ...
Patrick Bell's user avatar
1 vote
0 answers
4k views

mount -t cifs + mount error(13): Permission denied

we have windows server with IP address - 98.12.23.34 and with folder max_stage from windows browser its looks like: This PC > max_stage(K) and we want to mount the WIN folder max_stage to /mnt/...
King David's user avatar
0 votes
1 answer
1k views

Auto-mount USB drive when plugged in on Alpine Linux

I know that Alpine Linux doesn't enable the auto-mounting of USB drives when they are plugged in but I have an application where I would like this to work without the user needing to mount the drive ...
H0ckeyfr33k99's user avatar
1 vote
0 answers
113 views

How to mount large disk image on small hardware to recover files

I have a raw disk backup of a 4TB external drive /dev/sda split into 1GiB chunks, within is a single used partition /dev/sda1 and some other junk. The chunks are being stored on multiple physical ...
gibb's user avatar
  • 19
0 votes
0 answers
159 views

WRITE_ZEROES is not supported on loop device

I have an NTFS partition and an ext4 image on it. When I mount the ext4 image, I get the following error: operation not supported error, dev loop1, sector [sector number] op 0x9:(WRITE_ZEROES) flags ...
Null Pointer Exception's user avatar
1 vote
0 answers
459 views

When mounting luks-encrypted disk-containers remotely, how to recover from loss of connection?

I keep sensitive data encrypted via luks, in container files. Those files are usually stored remotely (SMB, sshfs etc). So my current workflow is as follows: sudo mount $remoteshare /mnt sudo ...
tomboy64's user avatar
1 vote
1 answer
9k views

Explain _ Information: You may need to update /etc/fstab

with neofetch --stdout |grep 'OS:' OS: Kubuntu 22.04.3 LTS x86_64 To re-purpose a drive ... this drive was made raw by: deleting all files deleting all partitions by using badblocks command ...
joseph22's user avatar
  • 367
0 votes
1 answer
1k views

Using overlayfs on ext4 with casefold enabled?

My dockerd service was not working anymore and failed because it could not initialize the overlay2 storage driver. I have a primary partition formatted with ext4 that has the casefold option enabled. ...
seyfahni's user avatar
2 votes
1 answer
524 views

Linux partition mountpoint

I checked the partitions on my linux system this morning and lsblk shows a strange mountpoint for the main partition mvne0n1p6: $ lsblk /dev/nvme0n1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS ...
tipikae's user avatar
  • 23
1 vote
3 answers
222 views

Newly created home in a secondary hard drive keeps unmounting after restart, fstab does not work

I have bought a new hard drive and moved my home there. I have followed this link: https://www.howtogeek.com/442101/how-to-move-your-linux-home-directory-to-another-hard-drive/. But the new hard drive ...
Eftal Gezer's user avatar
0 votes
0 answers
91 views

Why do permissions change randomly when mounting via 9p method?

The mounting is working perfectly fine. I mount the external share by using fstab with the following config: data /home/data 9p trans=virtio,version=9p2000.L,_netdev,rw,uid=...
carlchen's user avatar
2 votes
3 answers
347 views

Race condition for mounting multi-unit volume with iSCSI and systemd

I have configured a Linux system to mount a volume provided through iSCSI, from a systemd mount unit that gives the Open-iSCSI service as a required and previous unit (i.e. Requires=iscsi.service and ...
brainchild's user avatar

1
2 3 4 5
25