Tagged Questions
0
votes
0answers
15 views
Option “user” work for mount, not for umount
I am experimenting mounting options for a program I am writing.
I added the following line to /etc/fstab
/dev/sr0 /mem auto user,noauto, 0 0
and I removed all other entries regarding /dev/sr0 ...
4
votes
0answers
40 views
btrfs and the discard mount option on an ssd
I can't seem to find an answer to this so I thought I would ask here:
In /etc/fstab and when using the mount command in ext4 you would add the option discard to activate TRIM on an SSD. Similarly ...
0
votes
1answer
27 views
Installing a secondary drive in CentOS 6
I am new to Linux and CentOS so I may not be sure of the exact question to ask. It may be best for me to tell you what I have done. I installed a secondary 500gb HD to use for file share storage. I ...
9
votes
2answers
348 views
What are these commands for?
Yesterday I had to install a Windows with its Grub override.
Well, it's not the first time I had to fix Grub, so I used LiveCD, mounted the root partition (I don't have boot, just / and home) and ran ...
0
votes
2answers
68 views
Why could mount.cifs mount an empty folder?
gentoo, kernel 3.7.10
samba 3.6.12
SMB/CIFS server: Windows Server 2003 3790 Service Pack 2
I've encountered the situation when mount.cifs behaves differently from smbclient program.
The following ...
0
votes
2answers
59 views
Linux, how to change HDD state from ReadOnly after temporarly crash?
At this time no ansver for this problem.
Usually after some problems with readings or writings to block device, kernel decides to switch flag for WHOLE DEVICE as read-only. After this any writings to ...
1
vote
2answers
97 views
cannot mount .img file - “not a directory” error
I try to execute the following command on an ubuntu 12.04 system:
sudo mount minix203.img -o loop -t minix /mnt/myminix/
in order to mount an .img file with minix partition; and get the following ...
5
votes
4answers
142 views
Check if folder is a mounted remote filesystem
What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script?
I am looking for a command that would look like:
...
2
votes
2answers
89 views
Correct way to mount a hard drive
I have a 2nd hard drive SDB but not sure how to mount it under linux.
mount -a did not seem to mount all.
Also would like to mount this RO for recovery.
12
votes
2answers
295 views
Can the same ext4 disk be mounted from two hosts, one readonly?
I know that mounting the same disk with an ext4 filesystem from two different servers (it's an iSCSI vloume) will likely corrupt data on the disk. My question is will it make any difference if one of ...
1
vote
1answer
160 views
Why is my unmounted USB disk still seen by `fdisk`?
I've mounted my USB disk to /mnt/kingston/ dir, and umounted it from there by typing in umount /mnt/kingston/.
But I can still see my USB disk after issuing the fdisk -l command. Why?
If I type ...
0
votes
0answers
50 views
Span a directory on an SD card and an attached USB stick
Can I span a folder on the SD card on my Raspberry Pi with a folder on an attached USB device?
I'd like to basically extend the size of a directory by using an attached USB memory stick.
I'm running ...
2
votes
0answers
135 views
remount chrooted read-only subdirectory (non-mountpoint) to read-write from within jail?
I'm trying to do the same of this question (multiple linux installation on same filesystem) but I get this result (root filesystem mounted as read-only) .
I'm using debian/sid, have successfully ...
2
votes
1answer
503 views
Mount cifs Network Drive: write permissions and chown
I have access to a cifs network drive. When I mount it under my OSX machine, I can read and write from and to it.
When I mount the drive in ubuntu, using:
sudo mount -t cifs -o ...
1
vote
0answers
57 views
/dev/shm/ecryptfs-$USER-Private keeps climbing in Kubuntu 12.10 Install
I'm having a problem with an installation of Kubuntu 12.10 with an encrypted home directory. I've been trying to figure it out for several weeks. For transparency, I'll note here that I posted this ...
1
vote
2answers
121 views
[mntent]: line 15 in /etc/fstab is bad
it works fine mounting manually from the cli
but when running
sudo mount -a
after editing the fstab im getting errors. It seems right to me, any one have a suggestion.
my fstab is:
# ...
0
votes
0answers
106 views
file_mode and dir_mode do not work when sharing ext3 drive via cifs
I have a ext3 drive connected to my router and shared via CIFS protocol. I wan't to mount it with certain permissions for each file/directory. Permissions are 2770 for both.
Here's my /etc/fstab ...
1
vote
1answer
70 views
Having owner access on files upon mounted NFS directory
I have a Linux RedHat server and a Solaris 10 client. I have mounted a directory which locates on the RedHat server, in the Solaris system with RW(read/write) option. I already have some directories ...
26
votes
7answers
1k views
Why does mount require root privileges?
Why does Linux require that a user be root/using sudo/specifically authorized per mount in order to mount something? It seems like the decision as to whether to allow a user to mount something should ...
1
vote
1answer
57 views
Really umount external drive
I had a USB drive mounted on /dev/sdb1 and I want to reformat from NTFS to ext3. I did umount -l which unmounted the disk. I deleted the old partition using cfdisk. I ran mkfs.ext3, but got the error:
...
2
votes
2answers
140 views
dynamic file system with hooks
Is there anyway in linux (I don't care which distribution or flavor) to have a dynamic file system with read/write hooks? For example I would like to mount a dynamic file system at /dynamic and ...
2
votes
1answer
216 views
How to mount a virtual disk in Linux (on VMWare)
I am running Ubuntu 10.04.4 thru VMWare Workstation. I added a second virtual hard disk drive, which is found under /dev/sdb , as shown below
How do you mount this to anywhere? (e.g. /mnt/sdb).
...
0
votes
2answers
146 views
Mount a USB disk in Linux which was not properly unmounted in Windows
I would like to know if there is a software solution in Linux for the following situation:
Connect a USB disk to a Windows host (could be XP, Vista,7 , etc).
Copy a big file to the USB disk.
...
1
vote
2answers
198 views
Mounting Directory - Connection Refused
I am trying to mount a Directory from my server to my local machine. This is because I want to edit the directory and execute the files without having the manually push the files to the server after ...
3
votes
1answer
133 views
Does the (source) device in a tmpfs type mount mean anything?
I just went into /etc/fstab (Linux) and changed my line for /tmp (on which a specific ext4 partition was previously mounted) to tmpfs. This was clearly a bit silly, but I wasn't thinking. Anyway, I ...
0
votes
2answers
190 views
Any temporary fix for / being remounted as read-only?
My disk has a few bad sectors and has already failed the SMART tests. It obviously is going down.
It gets remounted to read only and I have to fsck and reboot all over again. Is it safe for me to ...
2
votes
1answer
374 views
Do not halt the boot if an fstab mounting fails
I have this line in my fstab:
sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0
For whatever reason it didn't work -- that's fine. How do I make ...
1
vote
1answer
324 views
Fedora 17 : Nautilus, after mount manually, device will not see again in Device section
In Nautilus, I see left pane is useful. It contains shortcut to another place. Such as :
At device : I can see Windows Partition (although I does not mount yet) or at my computer, some shortcut to ...
2
votes
1answer
116 views
Order of mounting USB devices in Linux
I'm running a Ubuntu system where USB drives are mounted automatically.
I'm curious to what happens when a USB device plugs in a port. Which part of the linux senses that a new device has been plugged ...
6
votes
1answer
381 views
HDD allocation fstab
In my PC running Ubuntu 12.04 LTS I have installed three SATA hard drives. Two of them are installed near a cooler. I want to physically switch two drives (one that is not near the fan should be moved ...
6
votes
1answer
228 views
Run shell script when new volume mounted
I'm interested in running an rsync script whenever any new volume is mounted on my Debian box. What are some potential triggers / strategies for listening for a new volume mount?
4
votes
1answer
539 views
Umount device after bind mounting directories: is it safe?
I have a home partition which is shared by mulitple distros on the same box. I'm using bind mounts from fstab. Each Linux install has something like this:
UUID=[...] /mnt/data ext4 ...
5
votes
3answers
553 views
Mounting and modifying a loopback file without sudo/root, is it possible?
I'm trying to adapt a tutorial into an easy to use script
http://qt-project.org/wiki/RaspberryPi_Beginners_guide.
I'm trying to reduce the need for sudo/root as much as possible (preferably, only ...
2
votes
2answers
635 views
What is /dev/xvde1?
I'm having to do with an OpenShift RHEL Linux installation running on Amazon EC2. In the filesystem, there is a device file named /dev/xvde1 mounted to / ... and a device file named /dev/xvde2 mounted ...
2
votes
1answer
373 views
single bind mounted file gets out of sync in linux
I am bind mounting a single file on top of another one and after making changes with an editor, I don't see the modifications in both files. However, if I make the changes with the shell using ...
5
votes
1answer
380 views
Umount all attached usb disks with a single command
Is there a (safe) way to umount all partitions on all attached usb devices (usb-hdds, usb-sticks) with a single commandline command, including several encrypted luks partitions?
Only the partitions ...
3
votes
4answers
1k views
How can I mount partitons in a full disk image (i.e. image with partition table) with fuse?
It's a bit indirect, but it's possible mount a partition with a disk image using mount or losetup's "offset" parameter.
I'm looking to be able to use fuse to do the same thing in user space
Use ...
2
votes
1answer
252 views
Error mounting dir from ext4 file system
I am trying to mount a directory on a ext4 type file system onto another linux box. Both boxes are on the same network
[root@localhost]# mount -o rw x.y.z.w:/home/lab /devbox
mount: wrong fs type, ...
1
vote
2answers
2k views
Linux, fat32 and etc/fstab
I mounted a FAT32 drive onto my Linux computer using the following terminal command:
> sudo mount /dev/sdb1 /media/exampleFolderName -o dmask=000, fmask=111
I did this so I could share / edit ...
3
votes
3answers
1k views
Mounting multiple devices at a single mount point on Linux
Is there a way to mount multiple hard drives to a single mount point? Let's say I run out of space on /home and decide to add an extra hard drive to the computer. How do I scale the space on a mount ...
3
votes
3answers
306 views
Problem with mount namespaces under Fedora
I've run into an odd problem regarding mount namespaces on Linux. I have two systems, both X86_64 running kernel 3.2.3-2 under Fedora 16. I am attempting to mount a tmpfs filesystem in a child ...
4
votes
4answers
709 views
Where in “/” should extra disks be mounted?
According to Wikipedia
http://en.wikipedia.org/wiki/Unix_directory_structure
http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
extra disks should not be mounted in /mnt/ according to the ...
3
votes
1answer
259 views
Modify list of devices mounted at boot on Linux
Where do you configure or what command do I use to mount device at boot?
Is it in the file /etc/fstab ?
4
votes
3answers
1k views
What do first column in /proc/mounts really mean in Linux?
Run cat /proc/mounts and I get this (simplified):
rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
/dev/sda1 / ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
io /etc/blkio cgroup ...
8
votes
2answers
8k views
How to get the complete and exact list of mounted filesystems in Linux?
I usually use mount to check which filesystems are mounted. I also know there is some connection between mount and /etc/mtab but I'm not sure about the details. After reading How to check if /proc/ is ...
1
vote
1answer
2k views
Mount a Windows network drive
I want to mount a netword drive on the server (SBS2008). I have two options: Either using a fedora which already mounts on a CentOS server or directly on the CentOS server. Here is the command I tried ...
0
votes
5answers
2k views
Script to check for read only filesystem
How can I check a bunch of systems to find any filesystem that are mounted read-only? Possibly via a script?
7
votes
2answers
1k views
How can I determine the fs type of my current working directory?
I need a platform-independent and lightweight way of detecting the mount type of my CWD. Specifically, I need to determine if my CWD is in an SSHFS, NFS, CIFS, SMB, or local block store mount.
I need ...
3
votes
1answer
191 views
advantages and disadvantages of manually un/mounting drives.
What are the advantages or disadvantages of manually un/mounting internal drives?
I've never really bothered un-mounting internal HDDs after mounting them the first time around but would like to know ...
2
votes
2answers
429 views
Mount points in a chroot
I have some device (say /dev/sda1) mounted at /home/user1. I also have a full Linux system under /tmp/chroot, and the directory /tmp/chroot/home contains only one directory named user2.
If I chroot ...

