Questions tagged [filesystems]

A file system (or filesystem) is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data, as well as manage the available space on the device(s) which contain it.

A file system (or filesystem) is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data, as well as manage the available space on the device(s) which contain it. A file system organizes data in an efficient manner and is tuned to the specific characteristics of the device. A tight coupling usually exists between the operating system and the file system. Some file systems provide mechanisms to control access to the data and metadata. Ensuring reliability is a major responsibility of a file system. Some file systems allow multiple programs to update the same file at nearly the same time.

1986 questions
5
votes
3 answers

How to allow SSH logins even when filesystem forced check fails

Intro I'm having a problem with a few servers (CentOS 6.4) in a production environment, the problem is making the servers crash from time to time and we need to actually reboot those server in order to be able to use them again. The problem The…
5
votes
3 answers

Store multiple versions of large binary file with minimal data duplication (preferably Linux)

I need to store multiple versions of a ~ 150 GB binary file (qcow2) on Linux servers with local storage, and was hoping there is some solution that involves just keeping diffs that can be merged as needed, so that I dont have to create another copy…
user160910
5
votes
2 answers

Next-gen filesystems: disk space usage log?

From time to time I run into problems when server hard disks (Linux) fill up quickly with lots of small files. When this happens I have to try to figure out how much space is being taken up and where the files are that are taking up the space. This…
Tom Scrace
  • 163
  • 4
5
votes
1 answer

How can I list all accessed files on process startup

I have a process that fails on startup due to some permission issues. I want to check what files it tries to open on startup but with lsof I can list only opened files for a running process but what can I do when it fails to start?
martin
  • 355
  • 1
  • 7
  • 15
5
votes
3 answers

AUFS missing in Redhat Fedora, is there an alternative way of stacking directories?

I can't find Aufs in Redhat's Fedora, or any other stackable filesystem for that matter. It seems this is due to relabelling limitations of SELinux. Is there a way to achieve similar without resorting to file/dir copy. I have the following list of…
irishjava
  • 153
  • 1
  • 4
5
votes
3 answers

How do I discover which process is making my hard drive go crazy? (need disk io equivalent of task manager's cpu % column)

When I notice my system getting sluggish, the first thing I do is open up Task Manager to see if some process or another is using up 100% of the cpu. What do I do when I hear my hard drive churning away like crazy, but the cpu is 99% idle? How do…
Peter
  • 406
  • 1
  • 5
  • 13
5
votes
3 answers

Why doesn't ls -la show that current directory is symlink?

This is more of a curiosity, but I noticed /etc/httpd/logs is symlinked to /var/log/httpd, but when I am inside of /etc/httpd/logs and I do ls -la I see: drwx------ 2 root root 4096 Mar 21 14:58 . drwxr-xr-x 9 root root 4096 Mar 17 03:10…
user160910
5
votes
6 answers

Does defragmenting your hard drive before resizing the partition have any benefits?

Whenever I install Linux on a box that has Windows, and I want to dual boot, I always defragment the hard drive as much as possible before resizing the partition. Is this just superstition, or is it actually a good idea?
andrewrk
  • 243
  • 1
  • 3
  • 9
5
votes
3 answers

What is the ZFS ACL limit?

Does anyone know how many user ACL's ZFS can handle? With other words: for how many users can I set ACL's like this one for the same directory? setfacl -m user:test1:rwxpDdaARWcCos:fd----:allow /mnt/project1 Or an estimate would also be good. E.g.…
Sandra
  • 10,303
  • 38
  • 112
  • 165
5
votes
3 answers

How do I set up a shared directory on Linux?

I have a linux server I want to use to share files between users in my company. Users will access the machine with sftp or secure shell. Here is what I have: cd /home ls -l drwxrwsr-x 5 userA staff 4096 Jul 22 15:00 shared (other…
JR Lawhorne
  • 1,221
  • 2
  • 11
  • 12
5
votes
2 answers

e2fsck extremely slow, although enough memory exists

I've got this external USB-Disk: kaefert@blechmobil:~$ lsusb -s 2:3 Bus 002 Device 003: ID 0bc2:3320 Seagate RSS LLC As can be seen in this dmesg output, there is some problem that prevents that disk from beeing mounted: kaefert@blechmobil:~$…
kaefert
  • 121
  • 1
  • 5
5
votes
3 answers

Unable to list contents/remove directory (linux ext3)

System is CentOS5 x86_64, completely up to date. I've got a folder that can't be listed (ls just hangs, eating memory until it is killed). The directory size is nearly 500k: root@server…
RedKrieg
  • 151
  • 1
  • 2
5
votes
2 answers

/var/lib for holding served data, why?

Acording to the FHS, the directories /lib and /usr/lib are both for libraries (libraries used in /sbin and user libraries, respectively). But what about the /var/lib folder? Following the same logic this folder should have something like "variable…
Bruno Polaco
  • 345
  • 2
  • 9
5
votes
1 answer

Loopback to directory

How do I create a loopback mount which exposes a given directory as a read-only filesystem? As contrasted with a loopback mount which exposes a file as a filesystem?
Avdi
  • 353
  • 1
  • 3
  • 7
5
votes
2 answers

Requiring mulitple group membership in order to access folder

How would I go about creating a file or folder that requires a user to be a member of two or more different groups in order to read/write to the folder? For example, say I run an auto repair shop, and I have a folder called "Repair History" and I…
David
  • 439
  • 1
  • 5
  • 17