Tagged Questions
2
votes
2answers
72 views
Option “user” work for mount, not for umount
I am experimenting mounting options for a program I am writing. I am running Linux Mageia 2.
I added the following line to /etc/fstab
/dev/sr0 /mem auto user,noauto, 0 0
and I removed all other ...
5
votes
0answers
58 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 ...
1
vote
2answers
26 views
mount defaults and various filesystems
I read on the man page
defaults
Use default options: rw, suid, dev, exec, auto, nouser, async, and relatime.
Do the options set depend on a mounted filesystem or not?
2
votes
1answer
62 views
group option in fstab not working
I'm trying to take advantage of the "group" option for fstab entries and not having any success. From the mount man page:
Normally, only the superuser can mount filesystems. However, when fstab ...
3
votes
1answer
123 views
Debian: Mounting NFS Volume at boot with fstab not working, How to change when this is attempted on boot
So there are a bunch of NICs and vlans on the server and after adding the last ones the auto mount of a network volume is not working. I can do it all right if i SSH in and use mount however it doesnt ...
3
votes
2answers
61 views
Error mounting drives
I am not able to mount the disk. It is showing error.
Error mounting system-managed device /dev/sda3: Command-line `mount "/media/tusharmakkar08/Local"' exited with non-zero exit status 1: [mntent]: ...
0
votes
1answer
168 views
fstab not mounting VirtualBox shared folder?
I have a virtual machine here which I use for development, so as not to mess anything up in my existing environment.
I've made a share named "web" available to the guest OS (Ubuntu 12.10 Server) ...
1
vote
2answers
141 views
Mount a folder without noexec
Is it possible to mount a single folder without the noexec option. I have a situation in which a web app in the users home folder on the server has to be mounted without noexec to run correctly, ...
4
votes
1answer
62 views
how to prevent reboot being stopped by nfsmount?
I can't imagine there isn't a simple strategy to solve this issue of stale nfs handles preventing a machine from shutting down normally, but I'm not sure what that would be. It's pretty annoying to ...
0
votes
0answers
113 views
Not mounting after restart?
I am mounting a drive via SSH, and then editing the fstab to reflect the changes, however after I reboot, the drive doesnt mount?
I dont understand what I'm doing wrong?
This is my fstab and its ...
1
vote
2answers
124 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:
# ...
1
vote
1answer
235 views
UUID Of A drive that won't show up in /dev/disk/by-uuid or blkid
I have a USB drive that is not receiving a UUID. When I look at the contents of the /dev/disk/by-uuid it doesn't exist there. The dev point that the partition lives in is on /dev/sdb. I am able to ...
3
votes
1answer
117 views
How to mount some folders on a different partition
I recently got an SSD for my computer. Therefore I reinstalled my system and mounted / on /dev/sda1 (which is a partition on the SSD).
To protect the SSD, I managed to mount /tmp on the RAMdisk. ...
3
votes
2answers
236 views
mounting local network folder in Ubuntu
I add a folder in /etc/fstab:
//172.30.12.37/test/ /home/my/test cifs user=afs,pass=123456,auto,exec,umask=002,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
Now test link can be seen in ...
3
votes
1answer
135 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 ...
2
votes
1answer
212 views
Error mounting drive with fstab
I have an small server in my house with an external usb 2TB hard drive:
/dev/sdb1: LABEL="Data" UUID="eedc3098-221d-4800-b8b4-efa4fef23f5f" TYPE="ext4"
I have the next line in /etc/fstab:
...
2
votes
1answer
396 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 ...
2
votes
0answers
206 views
Mounting USB camera on Ubuntu
I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck.
From the instructions:
Modify the usbdevfs ...
6
votes
1answer
384 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 ...
1
vote
1answer
4k views
Mount USB drive (FAT32) so all users can write to it
I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user.
When I run mount I can see ...
4
votes
1answer
551 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 ...
3
votes
2answers
1k views
Mount a folder on a drive in fstab. Move?
I'd like to make a temporary change to my fstab file so that my /home is on another drive. However, I don't want the whole partition to be mounted, but just a folder ("home") on that partition. I'm OK ...
1
vote
2answers
1k views
Fix fstab to prevent boot failure
How can I fix fstab to prevent boot failure?
It seems that I have added incorrect record to /etc/fstab:
//servername/share /mnt/share cifs defaults,username=myuser 0 0
When I did ...
3
votes
1answer
1k views
Why rootfs is mounted multiple times?
Here you can see two devices are mounted as root:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs ...
5
votes
1answer
409 views
Partition not mounting from fstab
I have mounted a partition and add it to fstab file and then rebooted but I see that the partition is not mounted although it was added to fstab.
What is wrong, and how can I solve it?
fstab line:
...
2
votes
5answers
988 views
sda and sdb block specials point to same device and get mixed up (hardware RAID doesn't work after new installation of 12.04)
I just installed the latest Ubuntu 12.04 and obviously it screws something up. I'm not sure if this has anything to do with the fact that I have a Raid 1 but at the moment, I have sda and sdb which ...
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 ...
1
vote
4answers
1k views
When to mount /tmp (and other temporary directories)
When is the right time to mount /tmp (on Debian)? For /home I would not feel bad just to echo "/dev/foo /home type defaults 0 0" >>/etc/fstab - but can I be sure that /tmp is not used by any ...
3
votes
1answer
943 views
What is the difference between a symlink and binding with fstab?
In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there.
/sdh gets mounted as /vol by ...
1
vote
0answers
789 views
/etc/fstab is mounting rw filesystem as read-only
A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
2
votes
1answer
229 views
pmount - omit rules in fstab
How use pmount that it omit fstab rules? For example
# fstab:
/dev/sr0 /media/cdrom ... (etc.)
# in terminal
pmount /dev/sr0 /media/xxx
# it will omit /media/xxx mount point and it will mount in ...
3
votes
4answers
1k views
mount ramfs as user
My fstab entry:
none /home/jreinhart/ramdisk ramfs defaults,user 0 0
The directory before mounting:
drwxrwxr-x 2 jreinhart jreinhart 4096 Oct 17 11:31 ramdisk
The directory after ...
1
vote
1answer
1k views
Why is my fstab entry for an external USB drive not working?
I have an external USB drive which my system recognizes as /dev/sdb1. I want to have it automounted with 755 permissions on boot and shared over the network with samba. I created the mount point ...
5
votes
2answers
3k views
How do I add an entry in /etc/fstab for a windows share?
I want to be able to mount our file server's file share (on a Mac OS X server, shared via AFP and Windows File Sharing) on my Ubuntu 10.10 linux laptop. I want to be able to mount it as my normal ...
