Mounting is the concept of attaching a file system to a computer for access.

learn more… | top users | synonyms

0
votes
1answer
12 views

SSHFS mount remote directory which subfolder are mounted locally

I have two servers FTPa and FTPb Each server is running PHP web file transfer app that sits in /var/www/html/files/ On both servers some of the app subfolders are mounted with folders inside /sftp/ ...
24
votes
2answers
4k views

When is fsck dangerous?

Recently I've seen the root filesystem of a machine in a remote datacenter get remounted read-only, as a result of consistency issues. On reboot, this error was shown: UNEXPECTED INCONSISTENCY: RUN ...
1
vote
1answer
1k views

Unattended installation of Ubuntu from USB drive — Not mounted correctly

I'm doing an unattended installation of Ubuntu-14.04-server with a USB drive on different type of servers (HP Proliant ML110, ML310, ML350). In some cases, the USB drive is incorrectly mounted on /...
0
votes
0answers
7 views

Is it possible to change ownership of root directory for NFS mountpoint? [duplicate]

I have an NFS share and OpenSSH server. What I'm trying to achieve is to jail SSH users in the mountpoint for the share. The problem is that OpenSSH server requires all directories within a path of ...
1
vote
1answer
2k views

Mounted NFS directory not writable by Apache / PHP

Need some help here with NFS. Here's what I have (all servers running CentOS 5.6 with SELinux): 172.17.20.1 - Primary server with static IP. Varnish redirects requests to the web servers. 172.17.20.2 ...
1
vote
0answers
32 views

Incorrectly mounted partition [closed]

I'm having a few mishaps with a friend's VPS from OVH hosting and Ubuntu Server 14.04. Basically the guys decided to reboot it into a so-called rescue mode which loads some Debian and mounts the old ...
0
votes
3answers
240 views

creating and mounting a logical volume

I don't know if my question makes any sense. I have never tried this sort of thing before. What I would like to do is create one logical volume spanning multiple physical partitions like /dev/sdb1, /...
2
votes
1answer
28 views

zfs mountpoint not using the dataset

I am currently building a media server based on Linux Mint. The OS is installed on a small SSD and the intention is to store the media files on two HDDs (2TB + 4TB). To this end I have created a zfs ...
0
votes
1answer
20 views

How to set up LVM in this situation?

http://prntscr.com/bhyu4k I have a set up that looks like this, and I need to have sda3 and sdb under /home folder, all as one. I dont care about the contents of the current /home directory, ...
0
votes
1answer
43 views

How to combine an sdb disk with /home directory on sdb1?

I have two physical hard drives and the set up looks like this: http://prntscr.com/bhyu4k I need to partition the sdb1 (fdisk), create ext4 filesystem based on the type that is used on sda (mkfs ...
0
votes
1answer
27 views

Error mounting ebs in amazon ec2

I have accidently changed permissions for my /etc/sudoers and /etc folders and thereby I am unable to access anything through sudo. After that I detached my ebs volume from the instance and attached ...
0
votes
1answer
2k views

NFS fails to mount through openvpn tunnel

I am trying to establish an nfs connection through an openvpn tunnel. It really anoying and i dont know what to try next. The connectein test has been made on several platforms now. used debian/centos/...
11
votes
2answers
441 views

VM Inaccessible

So I had to remotely shut down my servers last night as the air conditioner crapped out on us. I shut down the VMs and then the hosts. Fired up the 2 hosts today which auto start the VMs. Datastores ...
10
votes
4answers
20k views

Differences between /dev/sda and /dev/sda1

I know that /dev/sda is the raw device, and that /dev/sda1 is the partition or virtual device. But I'm a little confused as to why the sda# only comes up some of the time, or only on certain systems. ...
1
vote
2answers
92 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
2answers
62 views

ext4 mount flags for 10+ mill files storage

I've initialised one large primary partition with the -T small flag to mke2fs, small on the system is configured as follows: small = { blocksize = 1024 inode_size = 128 ...
1
vote
2answers
38 views

How to prevent Linux quota from counting bind-mounts twice

If you are on a Linux machine and have a file system with activated user-quota, you can check via the following commands that quotacheck counts files multiple times if they can be reached via bind-...
3
votes
1answer
3k views

How to mount vfat drive on Linux with ownership other than root?

I'm running into trouble mounting an iPod on a newly upgraded Debian Squeeze. I suspect either a protocol has changed or I've tickled a bug, which I don't know where to report. I'm trying to mount ...
0
votes
2answers
52 views

Mounting a device filesystem readonly with a shadowfile

Is it possible on Mac OS X to mount a /dev disk device readonly with a shadowfile, so the filesystem still operates readwrite? I know how to do it for a disk image file, with hdiutil, but the same ...
3
votes
1answer
1k views

Filename encoding switched to UTF-8 by tar when untaring to Windows share

We have different Magento installations (webshop) that allows images to be added to a product freely. When an image is added to a product, the file is named in a specific way that sometimes ...
1
vote
1answer
1k views

AUFS: How to create a read/write branch of only part of a directory tree?

AuFS (another union file system) allows us to merge two trees into one, even when those trees overlap. We can then direct writes to the merged tree towards one of the branches and reads to another. ...
0
votes
1answer
13 views

mount a kvm qcow2 file

so i have a kvm image that i'm trying to mount: [0c79dafb-abb7-4714-9a0a-4e16f0b305e7]# tree . ├── console.log ├── disk ├── disk.info └── libvirt.xml [0c79dafb-abb7-4714-9a0a-4e16f0b305e7]# qemu-img ...
0
votes
0answers
31 views

Troubleshoot NFS mount not working after reboot

I created a mountpoint and an entry in the fstab nas:/server1 /nas/server1 nfs rw,_netdev 0 0 This should try to mount the nfs during startup; but it might fail. That is ...
16
votes
6answers
53k views

Determine if filesystem or partition is mounted RO or RW via Bash Script?

Is there an easy way to determine if a mounted filesystem is mounted as Read-Only or Read-Write? I was thinking just to pipe mount but I thought there might be an easier way.
2
votes
1answer
174 views

Want to understand XFS strangeness

have a XFS partition that I find to act very strangely. It mounts fine under a system but won't mount under others --of which my main system. As I'm new at XFS, I'd love to hear from users more ...
2
votes
1answer
2k views

NFS mounts not visible for other users in system

Recently I faced an issue of limited visibility of mounted NFS shares on windows 2008 server. Situation is like this: as user A I have mounted NFS share (from linux server) as User A I'm executing ...
1
vote
1answer
48 views

Failing to mount SCSI from HP Modular Smart Array (MSA20)

I have acquired a HP dl360 g4p with a MSA20 Modular Smart Array. Currently I have Arch Linux installed on it since I had some issues with the graphics. But that is not why I am asking a question. ...
0
votes
0answers
33 views

Permission issue in Riofs and Fuse with non root users

I am using fuse with riofs to mount local directory to s3 bucket. Below is the command I am running on the server. sudo /usr/local/bin/riofs -v -c /root/.config/riofs/riofs.conf.xml -l /var/log/...
6
votes
2answers
4k views

Denied root access to user mounted FUSE file system

Let me start with giving you the details of my setup: I am running Fedora 13 on an x86_64 arch. I have mounted a remote directory using sshfs: jim@localsite $ sshfs jim@remotesite:/home/jim /home/...
1
vote
2answers
29 views

Mount block device on boot using systemd in coreos

I am mounting /dev/vdb1 to /media/esdata using the following systemd unit: The unit is located at /etc/systemd/system/media-esdata.mount: [Unit] Description=Mount cinder volume Before=docker.service ...
0
votes
1answer
7k views

How to set permissions for a CIFS mount with autofs?

I've set up a CIFS mount on my CentOS 6.4 server with autofs : File /etc/auto.mnt : Photos -fstype=cifs,perm,rw,uid=505,forceuid,gid=505,forcegid,file_mode=0770,dir_mode=0770,credentials=/root/...
1
vote
2answers
44 views

Unable to do a PXE boot, “no filesystem could mount root” error

I'm trying to do a PXE boot with an image I created, but after loading the image and the kernel, I get the following error message: The main error message is this: No filesystem could mount root, ...
-1
votes
1answer
27 views

error on ec2 volume mount

Am getting the following error while trying to mount a ec2 volume [ec2-user@ip-172-XX-XX-XX-XX ~]$ sudo mount /dev/xvdf /mnt mount: /dev/xvdf is write-protected, mounting read-only mount: unknown ...
0
votes
0answers
27 views

Am I wasting half my disk space by not mounting a volume?

I inherited a Debian server from the previous sysadmin who left, without much documentation. I'm not a sysadmin, but I guess for now I'll have to be, and I'm trying to understand what disks and ...
0
votes
1answer
24 views

NFS mount internal error

I have a server that I use for NFS share. 4 servers use it without a problem. I configured a new server and that can't mount. I get this error mount.nfs: internal error In the logfile of the ...
0
votes
1answer
36 views

Can I Mount an ISO Image Served over FTP / HTTP During the Kickstart %post Process of a RHEL 7 / CentOS 7?

I'm attempting to customize a RHEL 7 / CentOS 7 kickstart (ks.cfg) file, which is loaded via PXE booting to mount an ISO file that is accessible via FTP / HTTP. I understand Busybox tools are ...
0
votes
0answers
16 views

mount logical volume fails

I have a shared storage I made on a fresh OS installation (CentOS 6.7), now I'm getting the following error when I try to mount the volume. List of logical volumes. lvdisplay gives the following this ...
-1
votes
1answer
17 views

autofs mounting without passwords

I have an existing autofs Centos-Centos mount. I forgot how I set those up without having to require a password. # /etc/auto.folder folder -fstype=nfs,rw 10.10.10.1:/folder Now, I'm trying to setup ...
0
votes
2answers
37 views

Mounting an SSD

I have recently got a 'dedicated GAME server' from OVH and I've been promised 2x480GB SOFT SSDs. However, df -h shows this output: root@dedi:/home/shavit# df -h Filesystem Size Used Avail Use% ...
0
votes
1answer
43 views

How can I allow all users to run mount as root?

How can I allow all users to run mount as root? I know there's a lot of solutions out there recommending the following edit, but it's not working for me. I've edited /etc/sudoers to include: ALL ...
0
votes
1answer
18 views

CentOS: How to group two partitions to one document root?

i have 2 partitions in my cloud server. And i want to group two of these become one as Apache document root. Because i have some websites and data is around 80GB. Does it possible? /dev/vda1 ...
12
votes
2answers
35k views

“Stale NFS file handle” after reboot

On the server node, it is possible to access an exported folder. However, after reboots (both server and client), the folder is no longer accessible from the clients. On server # ls /data Folder1 ...
1
vote
2answers
53 views

postgresql on iscsi that refuses to start … on server's boot - Redhat 7.1

I installed a postgresql database on Redhat 7.1 and I decided to move the database on an ISCSI device (LUN) inside a logical volume, mounted at starting of the machine (xfs formatted). The mounting ...
1
vote
0answers
70 views

How to name systemd mount unit properly?

I'm trying to automount CephFS after boot via systemd I've got the next unit: [Unit] SourcePath=/etc/fstab DefaultDependencies=no After=remote-fs-pre.target After=network.target Wants=network.target ...
7
votes
4answers
3k views

Read only bind-mount?

I use mount -o bind to mount directories inside chroots, which works really well. The problem is that I'd like some of these bind-mounted directories to be read only in chroot. Is it possible? If not ...
0
votes
0answers
26 views

Cannot access nfs share

On my Debian 8.4 system, I would like to run a postgres database. The data should reside on an NFS mounted folder. # cat /etc/fstab xxx.xxx.xxx.xxx:/volume1/srvPostgres on /var/lib/postgresql type ...
1
vote
1answer
25 views

Overmount existing directory contents at runtime

I have the following scenario: users run software installed in /path/to/software I create a file-backed FS image with exactly the same contents as in /path/to/software I mount the image using ...
1
vote
1answer
79 views

Auto-mount SFTP share in fstab

I have a SFTP share on my server wich use standard authentication. On my client, I have edited the /etc/fstab file and added : user1@192.168.1.50:/ /mnt/share fuse.sshfs port=22,defaults,_netdev 0 ...
0
votes
1answer
2k views

Mount remote share via VPN connection (Windows to Windows)

I have a remote Windows 2008 Server (hosted on Rackspace Cloud). I would like to have multiple VPN clients to connect and mount a shared drive. I was able to set up the VPN, but I can't seem to ...
11
votes
2answers
7k views

Mount --bind persistence over reboot

I'm having trouble finding an answer for this question Does mount --bind persist over reboot? On my CentOS it looks like it doesn't, so I've placed apropriate mount --bind calls in rc.local. How ...