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

learn more… | top users | synonyms

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
12 views

Is it possible to control the size lastlog pre allocates?

This question is in relation to the lastlog file size explained in this article http://www.noah.org/wiki/Lastlog_is_gigantic I understand it is being created as a sparse file hence the size. Here's ...
0
votes
4answers
32 views

ext3: permissions of the mountpoint change when I mount

I need ordinary users to be able to mount /dev/loop0p1 and /dev/loop0p2 on my machine. /dev/loop0p1 is always going to be a FAT32 partition and loop0p2 - a ext3. To that end, I have: 1) created ...
-2
votes
2answers
26 views

Not able to ssh login to my aws ubuntu server [on hold]

I did something stupid today and I'm left wondering what to do! I have an ubuntu ec2 machine and I wanted to mount an ebs volume to the /home directory of the instance. I did that and provided an ...
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/...
0
votes
0answers
16 views

mounted network disk with cifs doesn't allow to move created folders

I can create, delete and rename folder (as long, as it is stays on the same level) on an cifs connected network disk, but I cannot move them. When I try to move one dir inside of another dir, it gives ...
6
votes
6answers
16k views

How can I check whether a volume is mounted where it is supposed to be using Python?

I've got a backup script written in Python which creates the destination directory before copying the source directory to it. I've configured it to use /external-backup as the destination, which is ...
0
votes
1answer
102 views

Mount Block Device in LXD

I have been experimenting with LXD on Ubuntu Server 16.04 and i'm trying to figure out how to mount a linux block device from the host in the container. I was able to successfully add the device using ...
13
votes
5answers
24k views

How can I map iostat device names to LVM /dev/mapper/XXX names?

mount shows mount devices like: /dev/mapper/VolGroup01-LogVol00 on /var type ext3 (rw) or /dev/mapper/VolGrp_backups-backups on /mnt/backups type ext3 (rw) but iostat uses dm- notation. like dm-...
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 ...
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. ...
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
2answers
59 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, ...
2
votes
2answers
311 views

mount a root disk in mnt

How can I mount a root virtual disk from another VM on my CentOS ? In order to change some files on it, not to use it as a real root disk. there are 2 partitions on my virtual disk : /boot (Linux ...
0
votes
0answers
27 views

DISM: Can't mount an install image error 1812

I am trying to mount a windows 7 install image exported from Windows deployment services (from win2k8). The progress bar reaches 100% then returns: error 1812 - The specified image file does not ...
1
vote
1answer
15 views

Fuse SSHFS mount gets stuck with Sophos Antivirus

I have a problem with fuse sshfs and the running Sophos Antivirus Scanner for Linux Systems v9.11.0. I am running as OS RHEL7.1 with fuse-sshfs-2.5. The mounting via sshfs works fine when Sophos is ...
0
votes
1answer
17 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/ ...
27
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
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
34 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
21 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
47 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
39 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 ...
11
votes
2answers
483 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
97 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
43 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-...
0
votes
2answers
54 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 ...
0
votes
1answer
19 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
46 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
54k 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
191 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
54 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
41 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
34 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
8k 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
votes
1answer
39 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
28 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
28 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
37 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
20 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
40 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
49 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 ...