0
votes
2answers
111 views

Change partition and / or mounting CentOS 6.5

I never did it before, please keep that in mind if I ask a beginner question now, but the info I've found on the internet weren't really useful for my case. df -h Filesystem ...
3
votes
1answer
37 views

Why would a bind mount unmount unexpectedly?

I have configured some bind mounts on all users's home directories to access a shared directory (or parts of it) that is somewhere else in the file system, so I have entries like these on my fstab ...
1
vote
1answer
150 views

Remount root RW without reboot

Today I did something stupid on production xen vm server. I mounted the external device mapper as read only to make a copy of the filesystem. This process went well but then the rootfs / become ...
-2
votes
2answers
37 views

Deleting file in tar mounted with archivemount?

archivemount allows rw-mounting tar archives. What happens when I delete a file? Is it actually removed from the tar archive? Is a delete flag set? If the file is actually removed, then I assume the ...
1
vote
1answer
510 views

Loss of data when trying to fix ext4 “group descriptors corrupted!”

When I try to mount an existing disk, I get the message sudo mount -t ext4 /dev/sdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, ...
3
votes
4answers
1k views

Performance difference between ramfs and tmpfs

I need to setup an in memory storage system for around 10 GB of data, consisting of many 100 kb single files(images). There will be lots of reads and fairly periodic writes(adding new files, deleting ...
0
votes
2answers
90 views

Which remote file system can be used on Linux without occupying local space? [closed]

I want to extend my server's local disk on Debian 6.0 by mounting a remote file system. But I don't want to have this remote file system to occupy (too much) local disk space, for instance with ...
-1
votes
1answer
35 views

mount hd as a different filesystem [closed]

I guess this question is already answered but could not find the solution. I have a USB hard disk connected to a remote linux machine and I want to mount that hard disk. What would happen if I mount ...
0
votes
1answer
535 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 ...
2
votes
1answer
40 views

Filesystem on a block device that now has another name?

Here's the scenario: I'm attaching a disk to a KVM guest VM, lets say 'vdb' Now I create a partition on 'vdb' and format it as ext4 (vdb1) I mount 'vdb1' and write some data I unmount the 'vdb1' I ...
6
votes
3answers
435 views

Root filesystem filling up, no big files

So im a very new sysadmin, just got out of school and doing my internship. Only problem is that im the only sysadmin in the place and no one to show me the job. Anyway, it's a very small company, ...
0
votes
0answers
97 views

Why does xfs_db show ifree=0 but I can still create files?

Recently we ran into a problem with an xfs file system reporting that it had run out of space, even though there was lots of free space left. Because it is a backup volume, we ran into the 5% of space ...
1
vote
2answers
76 views

How to allow an arbitrary group to mount a file system?

As far as I understood from the mount man page, by default only root is allowed to mount a filesystem. Filesystems with either the user or the users option can be mounted by any user. The owner and ...
4
votes
2answers
291 views

inconsistency between du -sh and df -h

I know this is a common occurrence when the result of du -sh is smaller than that returned by the file system with df -h. (Because some files are still open in processes etc..) But in my case I have ...
1
vote
0answers
96 views

Can't mount ecrytpfs as a non-root user on Red Hat

I'm trying to mount a ecryptfs volume on Red Hat as a regular user. ecryptfs-utils is installed from source (repos only contain old versions). Mounting as root works normally, but trying with a ...
0
votes
1answer
376 views

mount tmpfs automatically on linux start up

# mkdir -p /mnt/tmpfs # mount -t tmpfs -o size=6400M tmpfs /mnt/tmpfs I ran that but if I was to reboot will I need to run that again because it is tmpfs? How do I get that mount point to come ...
1
vote
4answers
177 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 ...
1
vote
4answers
5k views

Can't mount nfs volume - time out

I have an NFSv3 export from a Linux fileserver which used to mount fine. The fileserver had to go down for hardware maintenance. After bringing the server back up, the Linux client can no longer mount ...
0
votes
4answers
778 views

Mounting a USB Mass Storage Device in Debian [closed]

How do I mount a USB Mass Storage Device in Debian? The USB Stick is working on other computers. I have used dmesg which returned useful information about the USB Stick. It is attached to /dev/sdc. ...
0
votes
1answer
177 views

How to properly mount the extra hard disk space?

I am asking for help on how to properly mount the extra hard disk space. Here is my situation. Running fdisk -l, give this result root@ ~]# fdisk -l Disk /dev/sda: 2000.3 GB, 2000398934016 bytes ...
1
vote
1answer
80 views

I need to mount directory from one hdd to public_html folder [duplicate]

Possible Duplicate: Hard drive on server which hosts public_html folder is full. What to do? i have a hard drive (1TB) which has a folder named "flvideo2" i need to mount into ...
0
votes
2answers
517 views

Linux: don't use file system cache under a directory

For a PHP website I'm monitoring, I need to see what files are being used each time the browser makes a request. I thought of using find . -type f -amin 1. With that I get all files which were read ...
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 ...
-8
votes
3answers
284 views

Mounting of few tens of thousands of FS [closed]

I need to provide the ability to create/read/write/delete files and set quotas for a large number of users of a web-service. These users do not exist as Linux users so I can't apply quotas. The ...
1
vote
1answer
531 views

Error while mounting reiser4 filesystem

I'm using Debian 6.03 (2.6.32-5-amd64) with LVM configured. For testing I created testfs logical volume and formatted it in reiser4 filesystem. But when I try: # mount /dev/lv-group/testfs /mnt it ...
1
vote
2answers
838 views

Why do mounted file systems without ACL options still respect POSIX ACLs?

According to mount, the file system does not have the ACL option: $ mount /dev/mapper/sys_vg-root_lv on / type ext3 (rw) However, I could still setfacl and getfacl on this file system. Perhaps I'm ...
2
votes
1answer
140 views

double mount check with ext3

I have two nodes connected to a SAN, and I want to be able to mount an ext3 partition on node B when node A goes down. I know I could use a shared filesystem, but for simplicity and performance I ...
4
votes
1answer
2k views

VirtualBox: vboxsf filesystem wrongly detected as readonly?

I have VirtualBox (Windows XP host) running a CentOS 6.0 virtual machine, with one shared folder. Here is the list of mounted devices: [root@localhost ~]# mount -l ... www on /media/sf_www type ...
10
votes
4answers
998 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 ...
0
votes
2answers
576 views

mount --bind and moving 2 files between mounts

My application architecture requires me to mount 2 folders at the same partition and move 2 files between them. I have the following mounts: /drive2/folder1 on /var/www/myapp/folder1 type none ...
0
votes
1answer
541 views

ext2 file system and Solaris 10

I have Solaris 10 installed on computer and I have USB flash drive with ext2fs partition. I want to mount flash drive and do this: 1) Download FSWpart and FSWfsmisc packages 2) Install: root~#gzcat ...
2
votes
1answer
84 views

Force a process to update cwd after mount?

Redis is dumping snapshots to device that is rapidly running out of space. I've tried mounting a larger device to the snapshot directory, but Redis continues to dump snapshots to the smaller device. ...
3
votes
2answers
779 views

How can Linux mount an NFS directory, and the filesystems mounted inside it?

I have an NFS server with a directory which contains a dozen other local filesystems. I'd like to mount the top-level directory on the server, and have the Linux client automatically mount the right ...
4
votes
2answers
169 views

Security implications of filesystem ownership

Does giving a non-root user ownership of a filesytem have any security implications? For example, the directory /var/lib/pgsql/9.0/data and its contents needs to be owned by the postgres user. If I ...
0
votes
1answer
213 views

Linux Filesystem Cache using mounts

I have two servers s1 and s2 and two apps a1 and a2. a1 and a2 are installed on s1 and share some files that are accessible via a mount on s2. If a1 writes a file onto the s2 server and a2 the ...
4
votes
2answers
248 views

Workaround for mounting a filesystem to a local directory without elevated privileges on Linux

I've got an ext3 filesystem sitting in a file, and I'd like to mount it to a local directory without sudo or any elevated permissions. Why? I'm creating a small filesystem for automated testing ...
0
votes
2answers
364 views

Recommended technique for a custom filesystem mount script

In my situation I need to ensure one particular filesystem is mounted before a few subsequent filesystems should be. In this case, for example, I want to mount a USB disk before bind mounting some ...
2
votes
4answers
4k views

How to clean up an unprocessed orphan inode list?

I tried to mount a formerly readonly mounted filesystem read-writeable: mount -o remount,rw /mountpoint Unfortunately it did not work: mount: /mountpoint not mounted already, or bad option dmesg ...
0
votes
2answers
297 views

How to install Tomcat to a nonstandard directory in Linux

Hey all -- apologies if this is a n00b question, I am a super n00b at Linux administration. So, I'm on Amazon EC2, using Amazon Linux, which I believe is Redhat-derived. I have an EBS volume mounted ...
1
vote
2answers
313 views

What file system to choose and mount options to use for serving a datastore to remote ESX server via NFS and ISCSI

I'm creating a shared storage server for ESX servers. The storage server is 2U Supermicro 24-bay rackmount server with 12x32GB Intel X25-e SSDs and 12x600GB Toshiba 10k SAS drives. Both SSDs and SAS ...
2
votes
1answer
464 views

NFS share: no space left on device

My setup consists of a server, running Ubuntu 10.10, and a device, running a customized Linux. The device gets its kernel and mounts its root filesystem from the server using TFTP and NFS, ...
0
votes
3answers
210 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 ...
6
votes
1answer
3k views

Is remounting same file system with different options disruptive for current operations?

I want to remount a file system with optimized options (noatime,nobarrier,etc.) on SLES11. I was going to do it by updating /etc/fstab first and then do something like mount -o remount /srv/share. The ...
5
votes
1answer
2k views

Mount XFS partition with < 4k block size

I have an XFS partition with a 64k blocksize. But I can only mount it in Ubuntu 10.10 when the blocksize is the default of 4k. How can I mount a partition with the larger blocksize? This works: ...
0
votes
2answers
208 views

filesystem on shared host mounted read-only

Lately on a shared host, the filesystem containing my home folder was mounted read-only for 45 minutes to 1 hour. The technical support did not know about the outage, evaded direct questions. After a ...
1
vote
2answers
128 views

Is there a problem with having massive amounts of self-mounts?

I have a configuration in which I want to use a huge amount (1000-10000) of self mounts (mount --bind). My filesystem is ext4 in RAID 1 with two 400GB HDDs. Basically, what I am trying to do is ...
3
votes
1answer
284 views

How to determine how many times an ext3 file system has been mounted

A few months ago I created an ext3 file system on one of my partitions. I received the following message: "mkfs.ext3 /dev/sddx; system will be checked every 20 mounts or 180 days; use tune2fs -c or ...
2
votes
3answers
1k views

Optimal file system type and mount options for an rsnapshot dedicated drive

We have an external USB 2 drive that we are using as a backup drive for our configuration. We use rsnapshot for the backups. It uses a few standard commands for managing snapshots: rm -rf: deletes ...
1
vote
4answers
222 views

Access filesystem underneath another mounted filesystem

The case I have is a directory that stores phone call recordings throughout the day. The root filesystem is running out of space so we added an external hard drive. This server may not be taken out ...
2
votes
5answers
356 views

Ask filesystem if it is mounted

How can I see if a (ext3) filesystem is mounted by asking the filesystem directly (i.e. the same way that the system does when it boots and sees that it was not unmounted cleanly)? Checking the ...