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

learn more… | top users | synonyms

4
votes
1answer
1k views

Mounting windows shares with Active Directory permissions

I've managed to get my Ubuntu (server 10.04 beta 2) box to accept logins from users with Active Directory credentials, now I'd like those users to access their permissible windows shares on a W2003 R2 ...
2
votes
2answers
4k views

Linux (Ubuntu) run script upon USB mount

I have a Ubuntu server with a external USB hard drive. I basically just want to run a script whenever the hard drive is plugged in. What would be the optimal way to achieve this ?
6
votes
3answers
5k views

How to mount a .bin image file in linux

I used the AWS import service to import a large (2TB) drive, and they dropped two .bin files in my S3 account. Their instructions say to stripe together to EBS volumes to make a drive large enough to ...
1
vote
4answers
7k views

Mapping UIDs for NFS

I have a Mac OS X file server that serves via SMB/CIFS and AFP. The server is a domain client via the golden triangle approach, but this results in a very large UID for the users. This is fine for ...
5
votes
2answers
3k views

How to use “Instance Store Volumes” storage in Amazon EC2?

According to AWS I got 850 GB storage with the Medium EC2 server. But when i create an Amazon Linux AMI, I am unable to use the 850 GB provided. While creating it does show in Storage Device ...
4
votes
1answer
2k 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 ...
1
vote
2answers
259 views

Remounting MySQL under a new mount point

/var/lib/mysql is mounted on partition / which is now full. Is there a way to mount this under /home/mysql for more disk space?
0
votes
3answers
725 views

can't mount /dev/vg00/var

I'm trying to access data on a hard drive using a rescue system. I've mounted the root partition as so: mount /dev/md1 /mnt If I do cat /mnt/etc/fstab I see /dev/vg00/var /var xfs So ...
4
votes
5answers
2k views

Quick way to restore or reload /etc/fstab settings?

I'm working with a complex /etc/fstab on a RHEL 6.x-based server. The system has a variety of mount options in use across eight partitions, including several bind mounts. I'm testing options and their ...
0
votes
1answer
1k views

Can NFS be forced to refresh stale files/directories when not using noac on the mount?

We mount without using noac. I have a file that I append to once every 20 minutes. Then it will be read with mmap about 5,000 times a minute. We only mmap a couple blocks for each read. Needless to ...
0
votes
2answers
370 views

How to mount a second hard drive? Debian

hey, well I mounted my hard drive to var/www/disk2/ but obviously since the first hard drive is on / all the files on var/www/disk2/ are going to count towards the space on the the first hard drive ...
15
votes
6answers
10k views

Re-mount USB device after removal on Windows

From time to time I eject a USB device, generally a memory stick or external HDD, when I think I have finished transferring data only to realise there's something else I need to do with it. Normally ...
10
votes
3answers
29k views

What's the best way to get info about currently unmounted drives?

First, the situation: I've got a Linux computer with two eSATA drive bays that accept removable SSD drives. I'm trying to write a little GUI application that makes it easier for the user to ...
5
votes
2answers
3k 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 ...
10
votes
4answers
861 views

Best way to prevent the root system filling up when a mount fails?

We have an internal web server (virtualized, hosting ReviewBoard, but not super relevant) and we have a relatively consistent failure mode with failed NFS mounts causing / to fill up. Distro is Ubuntu ...
6
votes
3answers
3k views

Mounting Linux user home directories on CIFS server

I was wondering about peoples experiences with mounting users home directories from an Active Directory authenticated CIFS server under Linux. Preferably the mount would be accomplished upon login ...
10
votes
3answers
7k views

What are the advantages/disadvantages of hard versus soft mounts in UNIX?

This question may vary between distros but, in general, what are the advantages/disadvantages of using a hard or soft mount in the UNIX world? Are there certain situations where one is more ...
8
votes
5answers
22k 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.
6
votes
3answers
216 views

Mounting location of non-standard file systems

I've always found it confusing on where to mount permanent non-standard filesystems in Linux. Such as a filesystem that contains company files which is shared out via Samba or NFS. It's not ...
4
votes
7answers
2k views

Linux tool/command to check file system performance

What is the simplest way to check read/write performance to a specific location (e.g. a mounted iSCSI device). I suspect I can't use hdparm because that's lower level. Am I right?
4
votes
2answers
2k views

‘noexec’ option on NTFS under Windows?

Is there equivalent filesystem option on Windows like 'noexec' mount option on Linux? Is it the same if I set "Read" permission, but unset "Read & Execute" permisson on root directory (whole ...
3
votes
3answers
2k views

Tell ubuntu to ignore dead hard drive during booting?

How can I tell Ubuntu to ignore my dead hard drive during booting? I know my secondary hard drive is bad, but I cannot take it out. Every Reboot takes forever because Ubuntu tries to read from it for ...
2
votes
3answers
1k 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 ...
2
votes
4answers
512 views

Is it possible to view the contents of an underlying NFS mount without unmounting the NFS content?

I have a shared directory on a server - let's call it /home/shared - which is mounted with content from another server via nfs. When it is unmounted /home/shared is supposed to be empty - however, ...
1
vote
1answer
2k views

How do I mount a raid disk

So I screwed up my grub.conf file on a CentOS system and I'm in recovery right now (it's only a test dedicated server). My disks are /dev/sda1 and /dev/sdb1 (RAID 1). Now I need to mount /dev/sda1 and ...
1
vote
1answer
1k views

Unable to mount fat drive in linux

This is sort of a continuation from How to mount a .bin image file in linux but it morphed into a different problem altogether, so I figured I'd ask a new question with the relevant info rather than ...
1
vote
4answers
8k views

How to understand /etc/mtab?

/dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 /dev/sda1 /boot ext3 rw 0 0 tmpfs /dev/shm tmpfs rw 0 0 none ...
5
votes
4answers
2k views

DRDB and NFS: is there any efficient way to make failover transparent for NFS

We are implementing DRDB + heartbeat with two servers to have a file system with failover. These servers exposes a NFS service for other servers Currently DRDB is working just fine, but when testing ...
5
votes
2answers
1k views

Auto mount network share

Hello i am trying to get my slave media center to mount a network drive at startup automatic. I have written this to my /etc/fstab/ \\192.168.1.2\root /media/data cifs ...
3
votes
2answers
925 views

Grant Samba share permission to AD computer accounts

I'm running Samba 3.4.7 with Likewise Open 6.0.0.8388 on Ubuntu 10.04 Server x64. This server is joined to a domain (functional level 2003) run by 2008R2 domain controllers. In a Windows server, I can ...
3
votes
3answers
741 views

Access files located on the underlying filesystem of an NFS mountpoint

Perhaps this is an odd request, but it's the opposite of the question detailed at: Is it possible to view the contents of an underlying NFS mount without unmounting the NFS content? I have an ...
2
votes
2answers
204 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. ...
2
votes
1answer
360 views

Mount a partition to two mount points

I have a partition called sda4. And I want to store the mysql data and xml files on that partition because the partition which mysql and domain are installed has little space. So I'm planning to ...
2
votes
1answer
560 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 ...
2
votes
5answers
3k views

Mount CIFS Credentials File has Special Character

I'm having trouble mounting a share on my XenServer (5.6 FP1). From the command line I try: mount.cifs //server/share /mnt/share -o credentials=credfile The contents of credfile is: ...
2
votes
1answer
5k views

How to mount external vfat drive as user?

I have a mountpoint /mnt/v1 and a user bak in group bak. I did this: sudo chown bak:bak /mnt/v1 sudo chmod 775 /mnt/v1 Now I want to mount an external fat32 drive with partition /dev/sdb1 to this ...
1
vote
1answer
89 views

Mount --bind versus symlinks

Linux server /www/website directory is my html directory Want users to ftp to /user/website/public_html directory which is chrooted and limited to ftp only access I currently accomplish this via ...
1
vote
1answer
403 views

How to Mount remote disc as local in Windows 7 and Windows 2003?

Is it possible to mount remote file system (on Windows 2003 server) as local disk in Windows 7? I have Windows 2003 server with software RAID and some shares. On another computer with Windows 7 I have ...
1
vote
1answer
280 views

mdadm superblock hiding/shadowing partition

Short version: Is it safe to do mdadm --zero-superblock /dev/sdd on a disk with a partition (dev/sdd1), filesystem and data? Will the partition be mountable and the data still there? Longer ...
0
votes
1answer
69 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 ...
0
votes
1answer
178 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 ...
0
votes
1answer
435 views

How to set up sshfs to use www-data

I have 2 Debian systems, prod1 and prod2, with their respective users, prod1 and prod2 as well. I want to setup an sshfs with autofs to have a directory on prod1 in the /home/prod1/ that the user ...
0
votes
3answers
194 views

Avoid write on a mounted loopback device to be propagated

I have a device that mounts its root file system using NFS. On my NFS server I have a file representing the device's file system, namely target.ext2, which I mount on the appropriate /export ...
-1
votes
2answers
90 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 ...