The configuration file /etc/fstab contains the necessary information to automate the process of mounting partitions.
0
votes
1answer
37 views
GFS2 over DRBD automount
I have 2 nodes Proxmox cluster.
For KVM images I use DRBD device with GFS2 on it.
Everything works fine except GFS2 automounting after server restart.
I put in fstab:
/dev/drbd0 /cluster/drbd0 gfs2 ...
1
vote
2answers
47 views
How to mount ceph-fuse automatically with fstab?
# ceph -v
ceph version 0.56.3 (6eb7e15a4783b122e9b0c85ea9ba064145958aa5)
# repoquery -i ceph
Name : ceph
Version : 0.56.3
Release : 1.el6
Architecture: x86_64
Size : 26734691
...
0
votes
0answers
17 views
How do clients “recognize” network servers for automount purposes?
Say I have two media servers on a single subnet. They have the same name, hardware, setup.. etc. Except for any UUIDs/MACs, they are the identical.
How does my client tell them apart, especially ...
0
votes
0answers
64 views
Ubuntu 12.04, after reboot, ping but don't have any service up ( ssh / apache )
I need a little help, I just reboot a ubuntu server 12.04 without any special modification, it doesn't start anymore, I have a ping return but connection refused on SSH and apache is not started
Here ...
1
vote
0answers
27 views
Mounting main partition read-only and temporary folders as tmpfs
I have a small embedded board PC which uses flash card to boot and I'm running Ubuntu server 12.04. But since flash cards have limited lifetime I would like to mount it as read only and have only some ...
0
votes
0answers
28 views
How can I manage the /etc/glusterd directory on Ubuntu diskless booting nodes?
I've setup several cluster nodes that boots from a main server (Ubuntu 12.04 diskless boot). Thus they share the same /etc/ folder.
Now I want to configure gluster to combine the physical disks of ...
0
votes
2answers
35 views
nfs, execution denied
I have server (debian 6) machine (say, ip = 10.13.13.100) with nfs exports
/etc/exports
/path/to/my/shared/folder 10.13.13.0/24(rw,async,no_sub_tree_check,no_root_squash)
There are two users on ...
2
votes
1answer
83 views
automount with curlftpfs
i would like to automount my backuftp with curlftpfs, i added
curlftpfs#<serverip> /backup/backupftp fuse allow_other,uid=0,gid=0,umask=0022 0 0
in /etc/fstab
and put the login details in ...
1
vote
4answers
134 views
How to move the MySQL datadir with minimal downtime?
Let's say I have partition sda2 mounted on /var and it's almost full. I have a second disk sdb whose partition sdb1 I want to mount as /var.
Now since a running service (mysql) is using /var all the ...
0
votes
0answers
46 views
how to automount glusterfs file system on ubuntu
I'm I created a fstab entry for glusterfs volume like below:
glusterserver1:gluster_vol_0 /var/www/sites/default/files glusterfs defaults,_netdev 0 0
when run this command
mount -a
i can see ...
1
vote
1answer
96 views
ec2 instance cant mount glusterfs server
My EC2 instance tries to mount glusterfs volume whic located on another EC2 instance .
client instance's /etc/fstab file contains:
glusterserver1:/export/brick1 /mnt/glusterfs glusterfs defaults 0 ...
0
votes
2answers
106 views
EC2 instance ssh connection not working
I tried to connect to my EC2 Ubuntu LTS instance but I failed.
The error message I got like below:
ssh: connect to host ec2-79-125-83-13.eu-west-1.compute.amazonaws.com port 22: Connection ...
0
votes
0answers
59 views
openvz mounting
Is there a correct way to do this?
One way I've seen is
tmpfs /dev/shm tmpfs noexec,nosuid 0 0
tmpfs /tmp tmpfs noexec,nosuid 0 0
tmpfs /var/tmp tmpfs noexec,nosuid 0 0
another is
mkdir /root/tmp
...
0
votes
0answers
209 views
S3FS FSTAB auto mount on boot Centos 6.3
I've successfully installed s3fs on my Centos 6.3 Ec2 instance. I believe i've got the fuse module to load successfully on boot (it appears in my Ec2 log and further more if I try mount the bucket as ...
0
votes
1answer
61 views
Network filesystem won't mount at boot
We are running a lab network with a centralized file server. I recently installed Linux Mint on a new client computer and set up LDAP for user management and network folders through the fstab. When ...
2
votes
2answers
62 views
fstab filesystem editing
UUID=f5be9b96-da41-49fd-a8e2-dbbf37f5cd7d / ext4 defaults,usrquota 1 1
UUID=31a1c8d1-18ee-4c97-a0b9-b92599247112 /boot ext4 defaults 1 2
...
2
votes
3answers
117 views
/etc/fstab skip on error
Can I set an /etc/fstab with options=auto to be skipped if mounting fails?
The manual says, it will break the boot process if an entry with options=auto fails.
Without auto, it does not ...
0
votes
2answers
95 views
how to mount additional space to existing partition?
This is the original output of fdisk -l:
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot ...
1
vote
0answers
36 views
Dedicated TMP and AMAVIS
I perfectly configured my server and now I made 2 stupid mistakes, I updated perl along with it's dependencies and I made a dedicated TMP dir and included it in fstab to prevent code execution with a ...
2
votes
1answer
120 views
Is this the right way to add 3 additional hard disk to /etc/fstab?
I got 4 hard disk. I simply create a single partition in all of them. I format them all with ext 3. And then I rewrite fstab
All right, I'll just add a few line to fstab
#
# /etc/fstab
# Created by ...
-1
votes
2answers
33 views
mouting partition on own drive [closed]
i have the os and everything on its own ssd but i would like to mount /home under a software raid 1 setup. is that possible? never mounted cross drives before. is this the same as any other mmounting.
...
2
votes
1answer
68 views
URGENT: help recovering lost data
I have made a directory: sudo mkdir /ssd, the directory was supposed to be mounted to a raid array called md3. This was done by adding /dev/md3 /ssd auto defaults 0 0 to fstab. Then after a while ...
0
votes
0answers
83 views
mounting on openvz [closed]
Is this the correct way to secure /tmp on an OpenVZ system?
nano /etc/fstab
and insert below lines,
mount /dev/loop0 -o noexec,nosuid,rw /dev/tmpFS /tmp
mount /dev/loop0 /dev/tmpFS -o ...
1
vote
1answer
215 views
Compiling passenger-install-nginx-module; “C compiler gcc is not found”
I am in the middle of a process of installing Redmine served with passenger and nginx with this tutorial. With the passenger-install-nginx-module, it works fine and during compiling it outputs an ...
0
votes
1answer
104 views
Mounting device in fstab using labels
I'm trying to mount a device using a label in my fstab but it never actually mounts on boot.
#
LABEL=/ / ext4 defaults,noatime 1 1
tmpfs /dev/shm tmpfs defaults ...
4
votes
2answers
290 views
Converting Debian fstab to use UUIDs via linux-base?
We have a few Debian 5 systems that are still using /dev/hda in the fstab. We'd like to covert them to using UUIDs. This is supposed to be done automatically via the "linux-base" package (postinst), ...
4
votes
2answers
932 views
How to mount /tmp in /mnt on EC2?
I was wondering what is the best way to mount the /tmp endpoint in the ephemeral storage /mnt on an EC2 instance and give the ubuntu user default write permissions.
Some suggest editing /etc/rc.local ...
2
votes
1answer
178 views
Reconnect Attempts for CIFS share
I have a CIFS share mounted in the FSTAB on Ubuntu server, which connects to our NAS and works without issue. Last night we had an issue with the SAN for about 12 hours. We corrected the problem and ...
2
votes
3answers
650 views
Mount /etc/fstab at startup
I already added the remote directories I want mounted at startup in /etc/fstab, but when I reboot, they don't get mounted.
If I run mount -a it all works, but it appears that mount -a doesn't get ...
5
votes
5answers
1k views
Auto mounting samba windows share in Fedora Core 15
I have a server that runs centos 6.2 with a samba share.
What i am trying to achieve is to have the samba share automatically mounted on my PC running Fedora 15.
In /etc/fstab I have
...
0
votes
2answers
57 views
Mount a volume within a mounted volume
I am setting up a new Linux Ubuntu server on Amazon EC2 and wanted to create a few extra volumes, to be mounted without execute permissions.
/tmp for temporary files
/var so that log files and mysql ...
0
votes
3answers
722 views
How to disable barriers?
It seems impossible to disable barriers. I have tried loading the kernel with "mount -o barrier=off", "mount -o barrier=0", "barrier=off" and "barrier=0". The kernel is Atomic Secure Linux 2.6.32 with ...
0
votes
1answer
204 views
tmpfs changes size on restart
I have a tmpfs mount defined in my /etc/fstab with a size of 1024m, but when I restart the server it sizes itself to 5.9G. If I run mount -o remount /dev/shm, the size will correct itself to 1G. But ...
0
votes
1answer
105 views
Read-only filesystem after adding userquota,groupquota to fstab
When I add option userquota,groupquota to the main (/) partition of my Debian 6 DirectAdmin server, it mounts that partition in read-only mode.
Wat I did:
nano /etc/fstab
add userquota,groupquota ...
2
votes
1answer
90 views
Find out the type of an automounted device
I'm working on a system (Ubuntu Precise) with a mount defined in /etc/fstab as follows:
/dev/vdb /mnt auto defaults,nobootwait,comment=cloudconfig 0 2
Originally I just wanted to ...
1
vote
1answer
392 views
NFS4 (TCP) over openvpn (UDP) - mount can be browsed, but D/L kills it
Setup works (client can browse nfs over openvpn and do some work and file transfers), but something is wrong because the NFS/OpenVPN mount will fail/freeze mid-transfer and (among other things) ...
4
votes
1answer
419 views
Centos - fstab - mount keeps changing
I've had this linux machine running for a few years now, no problems etc. Very happy.
Last night I did some updates and when I booted up this morning my dual screens were screwy so I updated the ...
4
votes
1answer
347 views
Create directory before binding via /etc/fstab
I have this line in my /etc/fstab:
/mnt/tmp /tmp none bind,nobootwait
On EC2 however, /mnt may be lost during restarts causing the mount to fail due to non existent /mnt/tmp. So is there a ...
1
vote
1answer
289 views
osx fstab mounting windows share with wrong osx user
My fstab on the osx server is as follows:
192.168.9.99:/TST /Users/HMTS01/BACKUP cifs automated,username=TEST,password=TEST,uid=hmts01,gid=staff,file_mode=0700,dir_mode=0700 0 0
The windows share ...
2
votes
2answers
122 views
Consolidate separate /var and swap drives back to / drive in CentOS
The genius that originally set up the web server at my company put the swap, /var, and / directories on different drive pairs. I need to some how consolidate all three into one drive for migration ...
1
vote
0answers
77 views
Ubuntu 11.04: FW400 drive won't remount on reboot
Ok, still a *nix n00b, and the answer is likely staring me in the face. Please be patient.
Problem
FW400 external drive will not mount on system reboot. FW cable needs to be disconnected and ...
1
vote
0answers
189 views
Cygwin and /etc/fstab.d/$USER
I'm unable to see mounts defined in /etc/fstab.d/$USER without running a mount --all command. I'd like to see them whenever I open the bash shell.
Here's what I'm doing:
echo ...
1
vote
1answer
379 views
Debugging fstab problems on reboot
After a reboot, some partitions which were mentioned in fstab were not mounted as expected. The format of the line for the partitions which were mounted correctly and those which were not mounted ...
1
vote
2answers
238 views
What's wrong with my mount? I am trying to mount and allow read-write
/etc/fstab
/srv/www/test.com /home/user/test.com auto nouser,auto,rw,sync 0 0
I am getting the following error: mount: you must specify the filesystem type. Could someone please give me some ...
2
votes
1answer
1k views
How can I change a partition mount to var and still boot up?
My first question here on server fault. In my haste, I set up a local server with Centos 6.2 and let the Centos installer handle the partitions.
Big mistake, I know.
Anyway, the only problem I have ...
0
votes
1answer
158 views
XEN vm disk quota / fstab commented out
In order to enable user quota on a debian system I must edit the /etc/fstab (http://tldp.org/HOWTO/Quota-3.html).
But in my case the whole /etc/fstab on the vm is commented out:
# /etc/fstab: static ...
0
votes
0answers
227 views
Ubuntu, error 'cound't resolve host' when from curlftpfs fstab
I have problem with curlftpfs. When i mount it manualy everything works, but when I try to autmount via /etc/fstab, after reboot system stops on error 'Couldn't resolve host [my host name].
Line I ...
1
vote
2answers
471 views
Mount an NFS share as non-root in fstab
A tomcat server that is run as root (i.e. web app using port 80) needs access to an NFS share to store uploaded files, which the root account does not have access to. Unsurprisingly, when the web ...
2
votes
3answers
596 views
How can I add the “noatime” flag to my / filesystem without a reboot
Would the remount command do it if I add the option in /etc/fstab?
Is this this a good idea?
1
vote
2answers
637 views
error when mounting nfs network-share in linux
I'm trying to mount a nfs network share in various OSs (ubuntu 10.10/10.10 server/11.10) but continually get the same error:
mount.nfs: access denied by server while mounting 128.251.xxx.xxx:/Systems
...