Questions tagged [mount]

Attaches a file system to a specified point in an existing filesystem hierarchy

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

how to mount partitions from an external ssd in qemu?

I'm really unfamiliar with qemu, and seem to have a hard time phrasing the question in a way to find the relevant info. I have a 64bit server on a pi that isn't booting properly, where the partition ...
1
vote
1answer
21 views

Unable create ext4 filesystem under LUKS

I've successfully created a LUKS drive from a 32Mb USB flash drive. However when I write an ext4 filesystem to it I am unable to mount the result, or even run fsck or dumpe2fs etc. The drive shows up ...
1
vote
1answer
23 views

How to check if mount is ready (not busy) (opensuse)?

If I create the following mount: mount -o user=root,pass=test123 //samba1/testshare /mnt/d928a47b-9ee0-40cd-a356-fa382a7ea8e5 I can view it by running mount: mount ... //samba1/testshare on /mnt/...
0
votes
1answer
39 views

virtual machine doesn't use allocated disk space

I am running manjaro in an Oracle VirtualBox to test a virgin install of a set of softwares. I am getting an error that there is no more disk space on a particular download, however, when I set up the ...
0
votes
0answers
23 views

Read password from variable when executing a command

I have a network share I mount on a Linux-computer using the following command: sudo mount -t cifs -o credentials=/path/to/credentials,uid=1000,gid=1000,file_mode=0600,dir_mode=0700 //192.168.6.9/...
1
vote
1answer
33 views

How to verify that my tmpfs/ramdisk is working?

I am setting up a RAM disk in CentOS 7, and by all tutorials, I am able to see the speed increase of writing to the disk. However I never see RAM usage increase either from free -h or from the System ...
0
votes
0answers
22 views

Use a virtualbox shared folder as mysql data storage

I am trying to use a vbox mysql server's (host: Debian 11, guest: Debian 11) shared folder to host its mysql data. Basically the guest machine runs mysql server and I would like to store its data in a ...
1
vote
1answer
31 views

mount: proc/: mount point does not exist

I recently messed up my Linux system. So then I made an Arch Linux Live USB to chroot into my distro (parition: /dev/nvme0n1p4) I typed the following commands: sudo mkdir /mnt/mydisc sudo mount -o ...
1
vote
0answers
20 views

How to mount filesystems on OL8

I cannot mount the filesystems below on my Oracle Linux 8: /dev/mysql_vg/mysql_lv /dev/mysql_bck_vg/mysql_bck_lv How I created the volume groups: vgcreate mysql_vg /dev/sdb vgcreate mysql_bck_vg /dev/...
0
votes
1answer
36 views

what does "internal-only" means in mount command and why wouldn't you call the /sbin/mount filesystem?

the followed command, it's used to make executables at the user's home directory mount -i -o remount,exec /home/chronos/user I know that -o argument is for options, in this case remount and make ...
0
votes
1answer
21 views

Cannot change the ownership mounting ntfs drive

Why I cannot change the ownership on mounting ntfs drive? I give uid=1000,gid=1000, etc in my /etc/fstab file, but found it is not working. So I'm testing it out on command line: root@host:~# mount | ...
0
votes
1answer
51 views

mount: unknown filesystem type 'btrfs'

I have a Raspberry Pi running Raspbian with a btrfs partition on an external drive. The system is configured to install security updates automatically, but not other updates. All of a sudden, upon ...
1
vote
0answers
28 views

inconsistency between fuser and /proc/$PID/fd

I wanted to find out what prevents the root filesystem on a certain from being remounted read-only. fuser -vm / found a few files which are supposed to be opened for writing. For example: root ...
2
votes
0answers
63 views

How to mount this disk? (EBS)

I restored an EBS volume and attached it to a new EC2 instance. When I lsblk I can see it under the name /dev/nvme1n1. More specifically the output of lsblk is: NAME MAJ:MIN RM SIZE RO TYPE ...
0
votes
0answers
61 views

"failed to setup loop device" when mounting an Ubuntu iso image on Ubuntu

I downloaded an iso image of Ubuntu server, ubuntu-20.04.3-live-server-amd64.iso. Then I tried to mount this iso as a folder, using the usual command mount ubuntu-20.04.3-live-server-amd64.iso ./iso ,...
-3
votes
0answers
52 views

How do I auto-mount RAID5?

I am trying to automount md127 which is a Raid5 mdadm assembled. In /etc/fstab I have UUID=4ca9118c-3a55-7d0f-db72-3ff2e8b9a521 /tmp/DATACABINET however this makes OS boot into Emergency mode. When I ...
0
votes
2answers
33 views

Bash commands using smb:// -> No such file or directory

I have an smb share that I see in the Files explorer as smb://whitebox.local/photos/ If I try to use commands on this smb share using the smb:// syntax, I get a "No such file or directory" ...
0
votes
2answers
51 views

Mounting NTFS hard drive on boot

I am trying to mount a hard drive with an NTFS filesystem on it on boot. It doesn't need a special location. /mnt/ or something similar should be enough. I had already done that with a drive but it is ...
0
votes
1answer
83 views

How to auto-mount a prerequisite mountpoint for the one I'm mounting?

I'm running Arch Linux and systemd. In /etc/fstab I have something like this: LABEL=XYZ /mypath vfat noauto,[...] /mypath/main /newplace none bind,noauto 0 0 I currently ...
5
votes
2answers
434 views

System unresponsive after mounting /dev/sdc2 on /

So, I tried to mount a hard disk /dev/sdc2 on / directory in my Ubuntu workstation, and upon mounting, I am not able to remote into the Ubuntu workstation anymore. The exact command I run to mount is ...
0
votes
0answers
37 views

mount device and md5sum is changed

If mount sdc2 partition using mount -t ext4 -o ro /dev/sdc2 /mnt/bob2 then try to write file tihi 1.txt with command (of course unsuccessfully): touch /mnt/bob2/ tihi 1.txt When I do md5sum /dev/sdc2/...
0
votes
0answers
35 views

Mounting exFAT on Debian and use as Samba share - no write permissions

I'm currently trying to mount an external exFAT drive on Debian 10 and use that as a Samba drive. Everything works and I can access the drive from my macOS machine. However, I'm unable to write ...
0
votes
1answer
16 views

mount with cifs: parameter to replace uid and gid by their names instead

About Samba in Ubuntu, if in the server exists an user created for example with the omicron name with uid=1003 gid=1003 and executed: sudo smbpasswd -a omicron Then, if in the client is tried (...
0
votes
0answers
31 views

Unmount without sudo

I know that I can declare in /etc/fstab that a user can mount and unmount a partition without root permission using user(s). But I seem to be unable to achieve the same in a mount command without ...
0
votes
0answers
42 views

Drive not connecting after power outage

I have a raspberry pi with two external hard drives. the electricity went off today and after that i couldn't enter the rpi. what i ended up doing was to remove the flash card and enter it in another ...
1
vote
0answers
54 views

Mounting NTFS partition by fstab at boot still works correctly, but process never dies

Why would a mount.ntfs operation never finish (continue to burn CPU) if the partition seems to be correctly mounted? How could this be debugged? On Linux Mint 19.3, I've had an fstab (below) operating ...
0
votes
0answers
26 views

Mount CIFs on Linux and have users to create dir/files

We have Linux admin mounted CIFs on Linux rhel7 like options, //abc-01/my_data /usersdata cifs user,username=xyz,password=xyz,domain=usax.ad.root,setuids,uid=abc,gid=abc,dir_mode=0777,file_mode=0777,...
2
votes
2answers
55 views

Mounting devices to mountpoints stored in variables

Im doing this script and I cant see to find a way to accordingly mount the devices stored in the "devs" variable into the mount points listed in "mntpnt". Hope Im being clear ...
0
votes
1answer
19 views

VirtualBox Ubuntu32 v14.04 sudo command not found

This is a weird problem, "sudo su" can run but "sudo mount..." cannot run. My environment is VirtualBox Ubuntu 32-bit 14.04 installed in Windows 10, and I want to share a folder ...
0
votes
1answer
32 views

Is it possible to mount a single LVM partition on a different machine?

I had an LVM volume group ubuntu-vg created backed by three physical disk partitions, e.g., sda1, sdb1, and sdc1. One of these (sda) three disks failed, leaving me with a broken volume group. The ...
0
votes
0answers
16 views

How to enable parent directory modification timestamp update for exFAT mounted drive?

I'm using Ubuntu 20.04 Focal Fossa On my normal ext4 filesystem, adding/changing a file in a directory will automatically update that directory's modified date eg. touch ~/py/test.txt , and then ...
1
vote
0answers
34 views

Difficulty mounting broken android phone

My wife has/had a Sony Xperia which the screen smashed. It had a few months worth of photos of the kids on it, which I would very much like to recover, but I can't spend several hundred dollars ...
0
votes
2answers
30 views

How can different devices represented by the same device file be automatically mounted to different mounting points?

In Ubuntu, even if different block devices (e.g. an external hard drive and a flash drive) are represented by the same device file (e.g. /dev/sdb1) one after another, they are automatically mounted ...
0
votes
0answers
48 views

Recover disk space lost by ZFS and Syncoid / Sanoid -- please help

Long-time reader, first-time poster here. Being new to Linux I've perhaps stupidly (given my level of expertise) allowed it to install with the ZFS file system. This seemed nice initially because it ...
2
votes
1answer
95 views

How can I change the permission of an external hard drive and access it?

I try to access an external hard drive with an ntfs filesystem from NixOS. Is it correct that I have to create a mounting point? Where do you usually create a mounting point? sudo mkdir -p /media/b/...
1
vote
2answers
167 views

How do I create a raw (no filesystem) loopback device that passes as a legitimate blockdevice?

The question How do I create and mount a fake block device (using a large file/disk image) that passes as a legitimate unformatted disk? Backstory I am trying to set up rook with ceph (a distributed ...
1
vote
1answer
52 views

vi doesn't see a file on an over-mounted file system, while ls does

I have been editing and trouble shooting a script. When I tried to edit it now, it shows an empty file and says[New File]. The file exists both ls and cat see it. And, I had edited about 10 minutes ...
0
votes
0answers
39 views

Auto-mount and auto-remount with /etc/fstab

With this in /etc/fstab: /dev/sda1 /media auto nofail 0 0 any USB flash drive will be automatically mounted on /media/ when it is plugged. This works fine. Then let's say the user unplugs it, waits a ...
1
vote
1answer
54 views

Can't see mounted drive under lsblk, blkid or mount

I have mounted an external hard drive via /etc/fstab with the following entry: UUID=a8286fc9-5b08-41d9-8c4e-cb993a8976d1 /home/bu/safe-heaven-2/ ext4 defaults 0 I can read/write from this disk but I ...
2
votes
1answer
65 views

Unable to mount HDD and concerns over the partition setup

Final Edit A quick note to say thanks for the comments, I certainly learned a lot. Unfortunately, having decided to return the HDD they tested it themselves and concluded that the device was faulty. I ...
0
votes
0answers
8 views

How to mount a disk in pre-init environment

I'm working on a test that starts a VM (in OpenStack) by mounting a disk with pre-provisioned operating system (let's call it vda, with a single partition vda1). Then the test adds a bunch more disks, ...
2
votes
1answer
53 views

Is there a way to unmount a "parent" mount point?

A colleague of mine mounted an incorrect volume onto the directory, and then mounted the correct volume onto the same directory. Is there a way to unmount this "incorrect" volume without ...
1
vote
1answer
41 views

How to read contents of a hard disk image file that seems to be part of a RAID

I received a hard disk image file from a friend. I decompressed it with xz. Afterwards, I ran fdisk -l the-decompressed-hard-disk-image-file. Output: Disk the-decompressed-hard-disk-image-file: 64 MiB,...
1
vote
2answers
42 views

Increment mountpoint name with awk

I am currently writing a script that makes mounting of LUKS devices easier. In the script I do have a default mountpoint name (data_1), - however, if a mountpoint like that already exists, I want to ...
0
votes
1answer
66 views

Booting 2 Emergency Mode: Failed to Mount /Var

CentOS7 booting into emergency mode. Here are the errors found in journalctl -xb sd 0:0:0:0: [sda] Asking for cache data failed sd 0:0:0:0: [sda] Assuming drive cache: write through gspca_vc032x: ...
2
votes
0answers
87 views

Can't cd into created directory

I am trying to mount an external drive to /mnt/stuff and make it so all users can read, write and cd into all folders and subfolders of it. I can currently cd into /mtn/stuff but if I run mkdir /mnt/...
0
votes
0answers
29 views

Cannot recognize an old external usb harddrive

I want to check the content of an old external harddrive and probably delete it all (and maybe overwrite it) before throwing it away. Maybe it's not even worth checking the content and just straight ...
0
votes
0answers
18 views

Mounting another partition doesn't show up

I'm trying to mount another partition on Oracle Linux, when I try to mount, the partition doesn't show in the mount point other than some generic EFI & xfs folders. fdisk -l shows something like ...
0
votes
1answer
201 views

LVM Volume Group not found

After rebooting my server i get the following error message: Begin: Running /scripts/init-premount … done. Begin: Mounting root file system … Begin: Running /scripts/local-top … Volume group “ubuntu-...
0
votes
0answers
43 views

When using apfs-fuse on ubuntu to recover data from a Mac SSD, my Mac user directory doesn't load. Could this be a permissions issue?

I started using apfs-fuse similar to instructions found here. I am running into a peculiar issue where I can mount the drive successfully and navigate around the drive (information on linux distro and ...

1
2 3 4 5
62