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
9
votes
3 answers

How to corrupt a file system

I am going to be testing 'xfs_repair' on some large file systems ( around 50 TB ) as in the past the memory usage is high. While I could test the program only on file systems which were correct it would be good to test them on a corrupt system. So…
James
  • 2,232
  • 1
  • 13
  • 19
9
votes
1 answer

Is there a command that produces a diff of the permissions of target files?

Just as it sounds, I'm trying to find out if there is a (standard) command that will produce a diff of the permissions between two files and/or directory trees. Ideally it would put out a patch file that could be used to change permissions to match…
Catskul
  • 1,929
  • 4
  • 20
  • 23
9
votes
1 answer

fsck a filesystem in a file

I created a filesystem like this: dd if=/dev/zero of=disk-image count=40960 filesystem is created with this: /sbin/mkfs -t ext3 -q disk-image I then mounted and copied some test files and unmounted like this: mount -o loop disk.image foo cp…
user124464
  • 101
  • 1
  • 1
  • 3
9
votes
2 answers

How can I split a drive image created with 'dd' into separate files for each partition?

I created an image of a failing drive with: dd if=/dev/sde of=/mnt/image001.dd The drive had only two partitions: Device Boot Start End Blocks Id System /dev/sde1 * 1 13 102400 7 …
Joe A
  • 300
  • 2
  • 9
9
votes
6 answers

Track, save and revert file system modifications made by a program under Linux

I'd like to be able to, when a program such as an installer is ran, track the list of the modifications made to my filesystem so that I can revert them afterwards. EDIT: This concerns a non-packaged program. I use apt-get as far as I can. Ideally…
Ywen
  • 193
  • 4
9
votes
2 answers

How to allow multiple people to change mtime -timestamp of a file through sftp?

I have a directory that multiple users have access to. They change, upload, and delete files in the directory. They all belong to the same user group. The files in the directory have access rights of 660. The problem is that the users cannot set…
jous
  • 189
  • 1
  • 5
9
votes
1 answer

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 problem is that there are images of several…
dtoubelis
  • 4,677
  • 1
  • 29
  • 32
9
votes
6 answers

How do you know who or what is locking a remote file?

I can tell what process is holding a lock using Unlocker. But the problem is that, when there is a lock on a file on a remote machine, Unlocker doesn't show who or what process is locking. Is there anyway what is holding a lock on a remote file (my…
dance2die
  • 2,011
  • 7
  • 32
  • 41
9
votes
9 answers

To what extent has ReiserFS's popularity been lessened by Hans Reiser?

How does the future look for ReiserFS? Did the trial affect its popularity much? This is a pretty subjective question, so referring to a published statistic/article would be nice.
username
  • 4,755
  • 19
  • 55
  • 78
9
votes
2 answers

QEMU - incorrect real disk size of a virtual drive

df and ls report different sizes on my host machine because of the difference between the allocated size and the amount of space that's actually used in the EXT4 filesystem. The problem is that both report the wrong size. qemu-img also doesn't…
8
votes
4 answers

Any transparent filesystem for SunOS

Back before Solaris SunOS had a cool feature called transparent file system. The basic concept allowed disk files systems to be stacked like transparencies on an overhead projector. And allowed the presenter to draw on the top transparency. What…
peter cooke
  • 223
  • 1
  • 8
8
votes
5 answers

Thoughts on Linux server file system layout

I'm wondering and I'm sure that many out there are wondering also, on which would be the best or at least the optimal file system layout for a GNU/Linux based server. I'm aware that there is no general layout, because layouts vary based on what the…
crazybyte
  • 337
  • 1
  • 3
  • 10
8
votes
2 answers

what is the relation between block size and IO?

I have been reading about disk recently which led me to 3 different doubts. And I am not able to link them together. Three different terms I am confused with are block size, IO and Performance. I was reading about superblock at slashroot when I…
Ankit Kulkarni
  • 233
  • 1
  • 3
  • 7
8
votes
4 answers

Stop users from saving files with specific extension in specific directories

Background Users who cannot be stripped from server administrator rights tend to forget that hell will break lose when they save database backups (.bak) on C: and fill the drive. Question Is it possible to stop users who are server administrators…
QWE
  • 261
  • 1
  • 3
  • 6
8
votes
2 answers

Can Btrfs use SSD for metadata and leave bulk data on HDD?

is it possible for Btrfs to use SSD for metadata only & leave bulk data on less costly storage such as HDD? I refered to this page Using_Btrfs_with_Multiple_Devices and can not find a solution. Thanks!
zJay
  • 181
  • 3