2
votes
0answers
20 views

Advantages/disadvantages of increasing “commit” in fstab

I have done many obscure system optimizations in the past, but I got rid of most of them after powertop told me I should set my USB ports to autosuspend, which forced them to an eternal sleep, and ...
3
votes
1answer
25 views

USB hard drive won't remount after power outage

My home server has a USB hard drive plugged to it. Once in a while, the breakers jump or there are power outages. Since my server is a laptop, it keeps chugging along, but the rest of the hardware ...
1
vote
0answers
33 views

changing /var in running system

I have the challenge that I cannot start a CentOS Linux server in single-user-mode, but I need to change the /var (currently part of /) to a new disk. My way would be: mount the new disk on a ...
3
votes
0answers
118 views

“PTY allocation request failed on channel 0 stdin: is not a tty” when SSH'ing into a Debian server

My hosting space (Debian Wheezy) serves two websites (one WordPress and one Rails). Today I saw both were down and I rebooted the server. The Rails site works again and the WordPress one now says that ...
5
votes
1answer
43 views

bind mount /var with fstab

I'm messing around with having both /home and /var on a seperate partition which will be mounted in /myhdd. Next, I use mount --bind to mount /var on /myhdd/var and /home on /myhdd/home. With this ...
0
votes
1answer
50 views

Wrong mount point for internal SSD

I am having a problem with mounting an internal SSD. For some reason The mounting point is chosen as /media/user/Data instead of, as specified in /etc/fstab, /mnt/Data. The according line in ...
3
votes
3answers
44 views

Why is the exec option not listed in /proc/mounts?

My understanding is /proc/mounts should list all mount options for a filesystem, including kernel defaults, so I was surprised to see that exec (among others) is not listed here? For example, my root ...
0
votes
1answer
34 views

puppet mount a loopback device

I was taking truability test to assess my skills. I got the below question. Create a puppet manifest in /root/puppet/lad.pp to mount the filesystem located in /root/files/LAD/disk.ext2 that: will ...
0
votes
1answer
44 views

Storing a keyfile in an encrypted LVM

I'm using RHEL 6.5 and I want to encrypt some of my logical volumes (LVM). In order to not have to enter the passphrase multiple times, I want to store a keyfile in an encrypted LV. Example: ...
0
votes
2answers
41 views

Will mount search fstab for a best match?

I have several external harddrives that I want to mount to the same point: /media/ext_hd So I have this in my fstab: # EXTERNAL HDS LABEL=Elements /media/ext_hd ntfs-3g ...
6
votes
1answer
209 views

Difference between 'sync' and 'async' mount options

What is the difference between sync and async mount options from the end-user point of view? Is file system mounted with one of these options works faster than if mounted with another one? Which ...
0
votes
0answers
51 views

Map a network share folder in Debian with read-write permission

I want to mapped a folder on samba server at Debian Squeeze startup. I found a guidance by google as following: Open file /etc/fstab and add line //server/share /mnt/dir smbfs ...
1
vote
0answers
60 views

How to set permissions for user to smb mount with fstab?

Here is the line in my fstab file (with the names of the server and username changed): //server/user /mnt/share cifs ...
1
vote
0answers
117 views

mount: / not mounted or bad option

I'm running a custom Raspbmc build on my raspberry pi. On startup, I always see the message mount: / not mounted or bad option The filesystem is still mounted, but still want to know whats causing ...
8
votes
3answers
422 views

Why does fstab use UUID instead of the actual file system name?

For example, this is the first line of my /etc/fstab: UUID=050e1e34-39e6-4072-a03e-ae0bf90ba13a / ext4 errors=remount-ro 0 1 And here's the output of df -h command (reporting free ...
0
votes
0answers
164 views

How to mount NFS shares via /etc/fstab - Access denied by server while mounting

I am trying to mount a NFS share to my OpenSUSE 13.1 Server on startup using /etc/fstab file with the following entry: l00nim10:/export/werk/ /home/smbshares/nimshare_03/ nfs vers=3 0 ...
3
votes
1answer
344 views

ACL is NOT enabled but it's working [duplicate]

How this is possible? ACL is not enabled in /etc/fstab, and I can verify it via manually opening fstab or running sudo mount | grep -i acl. But getfacl & setfacl Commands would work without any ...
2
votes
2answers
552 views

How to automatically mount an USB device on plugin-time on an already running system?

I know how to use /etc/fstab to automatically mount devices on boot or when doing sudo mount -a, which works perfectly fine. For example, here is my current line for my device UUID=B864-497A ...
3
votes
2answers
642 views

Make part of read-only filesystem writable

I have a filesystem on flash using jffs2. I would like to mount this filesystem read-only, except for a single folder that I would like to be writable. Is this possible without resorting to something ...
1
vote
0answers
111 views

Device in fstab not mounting at boot

The following is in my /etc/fstab file: UUID=596ac80a-5571-41dc-a00e-b3270ecfe7c4 / ext3 errors=remount-ro 0 1 /dev/sdb1 /home/teamspeak/ts3/files/virtualserver_1/channel_527 ext3 ...
1
vote
0answers
500 views

Ubuntu hangs on boot [closed]

After installation mount manger software, upon restarting ubuntu won't boot up . It hangs on boot splash screen and doesn't move further. I have duel boot running in this computer so, I can boot and ...
0
votes
0answers
58 views

Can not mount internal driver in Archbang 2014

I have just installed archbang 2014 on my laptop Asus K53SV. I followed the instruction on Archbang wiki. I have already installed ntfs-3g, but I can not access to the internal (ntfs-formatted) ...
2
votes
2answers
837 views

Allow NonRoot User to Mount a Particular NTFS External Hard Drive

I have a 4TB external hard drive connected to an Linux server. The fstab permissions on this drive are set so that only one particular non-root user has access to it: ...
2
votes
1answer
416 views

How to rename /dev/sdax(partitions) in Linux

I made a partition like /part on my machine with some important data... But I can't stand the name of it... I want a clear solution to resolve it and change the name of it to for example /test... ...
3
votes
0answers
178 views

mount --bind other user as myself

I'm using fstab to bind a folder that belongs to another user in one of my own directories. I know that I can map users when I mount an SSHFS, I've been doing some research and I can't find a mount ...
3
votes
1answer
236 views

How do I mount a shared VMWare folder on startup?

So I'm following this article on how to mount a shared vmware folder. I can successfully mount with the following command: mount -t vmhgfs .host:/foo /home/user/Documents/foo However, I can't seem ...
0
votes
2answers
1k views

How do I mount an XFS partition via /etc/fstab and non-root users can r/w to it?

I have 2 XFS partitions I want to mount via /etc/fstab: /dev/sdb1 /media/data xfs defaults 0 2 /dev/sdc1 /media/backup xfs defaults 0 ...
0
votes
1answer
103 views

How to set automatically permission at automount without mask

I store my data on a NTFS parition to share it with my Windows. I use the dmask,fmask option in my fstab entry to avoid rwx default permissions to everyone, for coherence, security, and also because ...
1
vote
1answer
78 views

fstab bind inconsistency - Is a link a better option?

When binding two folders together as configured in /etc/fstab; #folder-with-old-data new-empty-folder fs option flags /home/user1/Mydata/Pictures /home/user1/Pictures none bind 0 0 ...
1
vote
1answer
261 views

special device tmpfs does not exist

I'm trying to speed up a project which uses a folder for cache by mounting the cache folder on tmpfs. But whenever I mount it I get this error message: mount: special device tmpfs does not exist ...
1
vote
0answers
129 views

NFS File Sync on Mount

I have an ext4 hard drive mounted and working correctly except, if I add a file/folder to the mount on the server side, I can't see the changes on the client side unless I reboot the client. i.e. The ...
7
votes
1answer
283 views

How is /etc/fstab accessed before root is mounted?

I was making some changes to /etc/fstab, when this chicken and egg question occurred to me - if /etc/fstab contains the instructions for mounting the file systems, including the root partition, then ...
1
vote
2answers
203 views

Is a bad NFS mount preventing a clean boot?

I'm on Ubuntu server 11.10 (x86) and I basically ran into this problem as this: http://serverfault.com/questions/56588/unmount-a-nfs-mount-where-the-nfs-server-has-disappeared The umount command ...
0
votes
2answers
76 views

mount -a locks up my script if any of many remote drives are offline

I've written a backup script which backs up multiple windows servers by mapping those server's hard drives to the linux file system at a particular mount points. At the beginning of the script, I ...
4
votes
2answers
198 views

UUID in /etc/mtab

In some versions of Ubuntu. Disks are mounted by UUID. in My machine, /proc/mounts /dev/disk/by-uuid/UUID / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0 /etc/fstab UUID=U-U-I-D ...
2
votes
0answers
360 views

Resize / remount /dev/shm not working

I've got a linux box dedicated to playing host to an Oracle server installation. It's got 4Gb RAM and by default, 50% (2Gb) has been allocated to /dev/shm. I want to change this to 3Gb, but I am ...
3
votes
1answer
182 views

External ext4 drive unmounted after some time (Raspbian)

I am using BitTorrent Sync on my Raspberry Pi (Raspbian) which syncs files on the external hard drive (ext4). I wrote a small script that spins down the drive after 5 minutes of inactivity. As soon as ...
0
votes
1answer
2k views

how do I mount a CIFS share so I can fully control the mounted volume on the client

It's a simple question: but I am in much pain over this situation, so here is the question: How can I "mount" a share so that a) the share is run on boot b) that I can control things like chown/chmod ...
3
votes
1answer
269 views

Mount NTFS drive with 777 permissions

I need to mount a NTFS drive with permissions set to 777. The code i have in fstab now is: /dev/sdb2 /disk ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 0 But ...
0
votes
0answers
117 views

fstab doesn't mount after boot of a virtual machine

I created virtual machine out of WordPress turnkey appliance (I believe it's based on Ubuntu) inside Virtual Box. I am able to mount a folder on turnkey from the host (Windows7) manually. So I added ...
0
votes
2answers
594 views

fstab mount drive as my /home

I am trying to: mount my 2TB external USB hard drive as my home directory at /home/peter ensure that the home directory is owned by me (not root) do all this automatically at bootup Currently: ...
5
votes
1answer
120 views

mount options for bindmount

Due to some complex requirements, I had to put the following two lines in /etc/fstab: /dev/xvdg1 /srv/storage ext4 $OPTIONS1 0 2 /srv/storage/dir /var/opt/dir none bind,$OPTIONS2 0 0 ...
1
vote
1answer
2k views

Can fstab options uid and gid be the user-group name or must they be numeric?

I'm learning how to set up a tmpfs in fstab for my www-data user and I was wondering if I can use the actual user/group name instead if the numeric ids (personal preference)? I'm on Debian with ext4, ...
2
votes
2answers
2k views

understanding /dev/disk/by- folders

Question: What does /dev/disk/by-pathdescribe? And where is this documented? Going through the meaning of what is displayed in the folders /dev/disk/by- I've got that far, and I wonder is this ...
1
vote
1answer
1k views

Finding correct information to update mtab and fstab?

Is there an automated way to update my mtab and fstab? Or a command I can run so that I can copy the output into these files? I'm just nervous about tampering with these files because I know they are ...
2
votes
1answer
373 views

EBS Volumes Mounted On Wrong Directory After Reboot

I have three EBS RAID 10 volumes in my /etc/fstab on an Amazon AMI hosted with AWS/EC2... Everytime I reboot the instance, the volumes get mounted to the wrong mount points. Any ideas on how I can ...
3
votes
1answer
854 views

How to mount two windows shared folders in linux?

I'm using OpenSuse 12.2 x64. I have tried this in /etc/fstab: //192.168.6.80/shared/folder1 /mnt/folder1 cifs rw,user=guest,password=,uid=1000 0 0 //192.168.6.80/shared/folder2 /mnt/folder2 cifs ...
3
votes
1answer
159 views

I need an fstab example for archivemount (want to umount without my password)

I am using archivemount to mount one of several tar.bz files in Ubuntu. It works very nicely for me. I mount and umount frequently (I'm in a testing phase). I want a solution that will allow me to ...
0
votes
2answers
556 views

Mounting a drive and accessing it

I have created a partition on /dev/sdb I want to be able to go to this drive when I type: cd /name What I did, which did not work. mkdir name in /mnt mounted the /dev/sdb on /mnt/name updated ...
1
vote
3answers
663 views

NFS server dropped connection momentarily, now df, ls, and umount all hang

I have this fstab entry: machine.local:/srv/files /res/files nfs defaults 0 0 It was working great until machine.local dropped the connection momentarily. Now, the share isn't accessible. df, ...