0
votes
1answer
52 views

CIFS mount in fstab succeeds on IP, fails on hostname written in /etc/hosts

I wonder why my Ubuntu Server 14.04 LTS has problems resolving a hostname from fstab. I tried to mount the following entry: //NAS-5h2-20/backuppc/ /mnt/backuppc cifs ...
3
votes
1answer
51 views

How to prevent a service from starting until a volume is mounted?

Using Ubuntu 12.04 or 14.04, how can I prevent an upstart service from starting until a couple of network volumes (GlusterFS) get successfully mounted?
0
votes
0answers
39 views

Directory mounted with ecryptfs shows up as r/w in mount but shows a “read-only” error

I just mounted postgres home(/var/lib/postgresql) with ecryptfs. After rebooting the machine, it is mounted for me automatically, but if I try to do any writes it tells me that it's a read-only ...
1
vote
1answer
393 views

Can't mount samba share, but can access using smbclient

I have a network share on Windows server in my local network. I can access this share using smbclient on my Ubuntu 13.10 (with installed cifs-utils package) desktop like this: smbclient ...
0
votes
1answer
36 views

Ubuntu server mount device issue [closed]

i have ubuntu server and can not figure out with my space Filesystem Size Used Avail Use% Mounted on /dev/xvda1 8.0G 7.8G 0 100% / udev 3.7G 8.0K 3.7G 1% /dev tmpfs ...
-2
votes
3answers
44 views

Put another hdd in ubuntu server 10 [closed]

I am using Ubuntu server 10 for LAMP and hosting sites. I installed the server without a GUI, and what I want to do is to add a second HDD for some backup. I attached the HDD but the problem is I ...
2
votes
2answers
182 views

Prevent the possiblity of writing data to an unmounted mount point directory [duplicate]

I have an Ubuntu server where I'm automounting an external hard drive each boot. To do this, I've created an empty folder on the root partition, and the drive gets mounted "inside" this folder. ...
0
votes
1answer
207 views

Why is Ubuntu/Linux /proc/mounts lying to me?

I've got a broken HDD for the rootfs - this probably caused the filesystem to be mounted read-only... however /proc/mounts still says it's mounted rw: $ cat /proc/mounts rootfs / rootfs rw 0 0 ...
0
votes
3answers
2k views

mount.nfs: access denied by server while mounting in Ubuntu Machine?

I have three machines - machineA 10.108.24.132 machineB 10.108.24.133 machineC 10.108.24.134 and all those machines have Ubuntu 12.04 installed in it and I have root access to all those ...
-1
votes
2answers
89 views

Is a bad NFS mount preventing a clean boot?

I'm on Ubuntu server (I think it's 12.04, but not positive) and I basically ran into this problem here Unmount a nfs mount where the nfs server has disappeared The umount command didn't work, so I ...
0
votes
0answers
56 views

mount lxc containers in different partition

I have created two containers(say TestOneContainer and TestTwoContainer) in ubuntu server using LXC. Now the lxc filesystem is in /home folder and two containers also use /home folder. I have created ...
0
votes
0answers
64 views

NFS client mounts pointing to the same host directory

So we have a single host instance on EC2 with two EBS volumes attached. When we mount the shares on the clients both shares are pointing to the same host directory even though they are defined and ...
1
vote
2answers
245 views

How to update-grub on a system running overlayroot?

We ship boxes configured with overlayroot, using the following overlayroot.conf: overlayroot=device:dev=/dev/sda6,timeout=20,recurse=0 Which produces the following mount configuration: $ mount ...
0
votes
1answer
67 views

Allowing apache to access multiple volumes under AWS

I've added another volume to my EC2 instance (mounted as /dev/xvdf), and I need to be able to place files on that volume and be able to retrieve them via the /var/www/ directory. How can I accomplish ...
3
votes
1answer
171 views

Creating two nfs shares from same server, but when mounted, both point to same directory

I've got a group of server that need two nfs shares, a few servers need access to one of the shares and all of the servers need access to another. The NFS server is ubuntu 12.04 and the others are ...
0
votes
0answers
28 views

Mounting a Windows 7 pro directory in Ubuntu 12.04 VM

My goal, To run one Ubuntu VM with multiple virtual hosts of the projects I am running but whilst not keeping the files for each project inside the VM. So, I have managed to mount the windows ...
1
vote
1answer
2k views

Why is an nfs server mounted as rw returning read only filesystem errors

I am working on a Ubuntu Server 64bit. I have mounted an nfs as rw, but whenever I try to edit anything on the mountpoint in question, I get a read-only filesystem error my etc/fstab reads: # ...
0
votes
0answers
83 views

Can't access Windows folder mounted in Ubuntu server from Windows PC, with SAMBA

I have Windows server that I mount in Ubuntu server on /mnt/ with follow command. mount -t smbfs -o credentials=/root/.smbcredentials,rw,uid="USER",gid="GROUP",dir_mode=0770,file_mode=0770 ...
0
votes
1answer
93 views

How can I use a temporary file descriptor with ecryptfs?

I'd like to be able to run a script, have it prompt me for my password, and then mount an ecryptfs directory. I do not want the password to sit around on the file system, or show up in logs, ps, etc. ...
0
votes
1answer
174 views

Error while mounting partition with Live CD

While booting my system, It is going into initramfs prompt and it is giving some error. Before taking any further steps, I planned to take a backup my data from hard disk. So, I bootted the system ...
1
vote
0answers
129 views

Mounting /var/www for File recovery

I'm in the process of recovering my server's files in a "Rescue" mode. Its a Ubuntu 12.04 with 2x3TB in RAID1. The instructions were to SSH into the server in "Rescue" mode, mount the partitions, ...
0
votes
1answer
54 views

Attaching many volumes to an EC2 instance

I've got an EC2 instance running Ubuntu and want to attach some 50-60 EBS volumes to it. However, the EC2 console says I can use only /dev/sdf through /dev/sdp, so I'm limited to 11 volumes. Is there ...
1
vote
0answers
198 views

Backup Server using Greyhole and BackupPC

I'm setting up an Ubuntu box to backup one of our servers using BackupPC. I've got 2x 2tb hard drives and I've set up Greyhole to duplicate the data from the samba share /mnt/samba/backups across both ...
1
vote
2answers
851 views

Unable to mount a 18TB raid 6

i receive the following error when i try to mount my raid 6 on Ubuntu Linux mount /dev/md3 /mnt/md3 mount: File too large i have another raid 1 existing (2TB only) and working fine .. any ideas? ...
4
votes
3answers
384 views

Move /var directories to to /mnt on an EC2 instance

I am trying to work on a standard configuration for a set of EC2 instances running ubuntu 12.04. These servers are going to be primarily web servers for a Ruby on Rails application. When you configure ...
1
vote
0answers
69 views

Permit any user to mount any CIFS share

Essentially, I want the Ubuntu pre-10.10 behaviour back. The setuid method (see notes) does not work anymore. I search a lot on the Internet, but I haven't found a satisfying solution. I have read a ...
-1
votes
3answers
144 views

Ubuntu webserver is out of space

Apparently, I was using xvda1 disk which is out of space. How do I change the /etc/fstab so that I can make my xvda2 for top level, and xvda1 as additional resource? It's an EC2 instance: root@~# ...
0
votes
1answer
2k views

Mounting NAS drive with cifs using credentials file through fstab does not work

I can mount the drive in the following way, no problem there: mount -t cifs //nas/home /mnt/nas -o username=username,password=pass\!word,uid=1000,gid=100,rw,suid However if I try to mount it via ...
0
votes
2answers
440 views

How to make s3fs work with IAM roles?

We are using IAM roles to maintain the machines. We now planning to mount the s3 to our ec2 instances and do the processing as per our need. We been using s3fs tool for mounting. But that doesn't ...
1
vote
1answer
2k views

Ubuntu 12.04 glusterfs volume failed to mount at boot time

I have just setup 7 KVM guests, all running Ubuntu 12.04 LTS 64bit Minimal server to test out glusterfs 3.2.5 from the Ubuntu official repo. Two of them form a mirrored pair (i.e. replica 2), and five ...
2
votes
1answer
1k views

What's the difference between mountall and mount -a? (Ubuntu, perhaps others)

The mountall man page says "this is a temporary tool until init(8) itself" can do it, basically. Why not just use mount -a? Is there a difference between the two, and if so, which should I use for ...
-1
votes
1answer
53 views

EBS full device confusion

I have a 500GB EBS device (/dev/xvdf) mounted to /vol and all data on the box seems to be writing to /vol correctly (see du output below). For some reason /dev/xvda1 is totally full. Any idea what's ...
1
vote
1answer
261 views

CIFS Mount Error 12.04

I'm trying to CIFS mount a directory on a Windows server to a Ubuntu Apache server to act as a graphics server for a development test server for images. Im running into two separate errors, while ...
1
vote
2answers
508 views

chmod not working on vbox shared folder

The folder /var/www was mounted during init, using: mount -t vboxsf cuckoo_shared /var/www/ -o uid=1000,gid=1000,rw,dmode=755 Now, all the files belong to my user jdrummond as default. And also have ...
1
vote
1answer
830 views

“mount error(13): Permission denied” only in LXC container for CIFS/Samba share

I have a samba share that mounts just fine under the Ubuntu 12.04 host: root:~# mount -t cifs -o credentials=/var/lib/lxc/vpn/rootfs/etc/samba/desktop.credentials //desktop/Media /media/Media But ...
0
votes
1answer
629 views

Can't mount after EBS snapshot and restore on Ubuntu 12.04

I'm trying to backup and restore an EBS volume on EC2. So this is what I'm doing: ec2-create-snapshot <ebs volume> -d <snapshot name> ec2-create-volume --snapshot <snapshot code> -z ...
0
votes
2answers
64 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 ...
-3
votes
3answers
238 views

ubuntu server disk space usage [closed]

I have an Ubuntu server.my Mysql service stopped and it did not start. I found out that my free disk space is very low. Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p1 ...
0
votes
1answer
410 views

Can't re-mount existing RAID10 on Ubuntu

I saw similar questions, but didn't find what solution to my problem. After power-cut, one of RAID10 (4 disks were) appears to be malfunctioning. I make tha array active one, but can not mount it. ...
2
votes
1answer
131 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 ...
4
votes
1answer
628 views

why does and EBS volumes mounted in an Ubuntu 12.04 EC2 instance as /dev/sdh1 appear as /dev/xvdh1?

When mounting an EBS volume on ubuntu specified as /dev/sdh1 it actually mounts it at /dev/xvdh1. The aws console still thinks it's mounted at /dev/sdh1 so it took a while to realize that it was ...
3
votes
1answer
2k views

Mount shared folder (vbox) as another user

I'm trying to mount my vbox shared folder every time my ubuntu starts. So, I added an entry on /etc/init with this: description "mount vboxsf Desktop" start on startup task exec mount -t ...
4
votes
1answer
601 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 ...
0
votes
1answer
361 views

file copy error from system to cifs mount

When coping a file greater than 64kB from an Ubuntu server to a CIFS mounted windows share, most of the data is copied, but it seems the last chunk doesn't get copied. The size doesn't match, and the ...
2
votes
1answer
2k views

Improving SSHFS performance when reflecting changes in host directory

I have an SSHFS mount from a Ubuntu Server VM guest, mounting a host Mac OS X directory. Changes made directly in the Mac OS X host directory take approx 5 - 10 seconds to reflect in the Ubuntu Server ...
2
votes
1answer
553 views

encryptfs auto-mounting script

I'm trying to make a script, that creates and mounts encrypted directory using ecryptfs(on ssh logons(with passphrase sent via pipe) and by some other scripts). I know about ecryptfs-setup-private ...
0
votes
3answers
89 views

Bind 2 FTP drives into one

Mounting an FTP drive can be easily be done with curlftpfs in Ubuntu 10. Also, there would be no problem to mount two or more drives. e.g. /var/ftpdrive1/ /var/ftpdrive2/ Question: is there a way ...
2
votes
2answers
3k views

mkfs refuses to format device in the claim it's mounted when actually it is not

This is the problem: root@ip-10-126-247-82:~# mkfs.ext4 /dev/xvda3 mke2fs 1.41.14 (22-Dec-2010) /dev/xvda3 is mounted; will not make a filesystem here! And this is the debugging: ...
0
votes
0answers
438 views

Shared Folder on Ubuntu has all ?? question marks for permissions and user

I am running Mac OSX leopard, I have an Ubuntu virtual machine. On the Ubuntu virtual machine I have my development environment setup. However I used a shared folder on My Mac to hold all of the ...
0
votes
2answers
4k views

Issue with mount.cifs in Ubuntu [while accessing Windows samba share using a localServerUser]

I am having a hard time figuring out an issue while trying to mount a windows share in Ubuntu 10.04. Issue: The problem is I am not able to mount a windows share using a serverLocalUser present in ...