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

Native SMB/CIFS through ZFS or Samba Instead

I was totally unaware of native SMB/CIFS on ZFS. This wiki doc does not mention performance differences. What kind of performance differences exist between the two?
songei2f
  • 1,934
  • 1
  • 20
  • 30
7
votes
9 answers

Which UNIX filesystem do you use and recommend for servers?

On Windows World NTFS is the king, but in the UNIX World there are many choices today: HFS+, ext3, ext4, zfs (maybe), reiserfs, reiser4, etc. What do you recommend, why and which are your remarks about this?
Alex. S.
  • 915
  • 2
  • 13
  • 21
7
votes
12 answers

Determine the free file space in Linux

Apologies if this a dumb question, but i have not found an answer yet. How do you find out how much free disk/file space for a given folder or partition. Basically i need to know how much free space there is before i carry out a tasks on the server…
OilyRag
  • 368
  • 12
  • 19
7
votes
2 answers

It is XFS reliable? In case of a power gone off is xfs riskier that ext3 in data corruption/safey?

I have been having some electrical issues,mostly power going out suddenly for a few months,and although ups solve the thing mostly. But still i am worried about filesystem corruption,and data lost. It is xfs worse than ext3 or less reliable when the…
Abel Coto
  • 81
  • 1
  • 3
7
votes
4 answers

Huge directory, not files inside, but directory itself

I have been trying to delete a directory from a centos server using rm -Rf /root/FFDC for the past 15 hours and am having great difficulty. I can't do a directory listing because it hangs the system (too many files?) but what I can see is that the…
James
  • 325
  • 2
  • 11
  • 22
7
votes
2 answers

running automated fsck on remote server

I had another question about df, and now i came to conclusion i need to run fsck my partition, i've been reading about it and would like some advice, if possible. The situation is like this, no physical access to the server and i want to run…
GriffinHeart
  • 411
  • 6
  • 14
7
votes
2 answers

How to generate an ASCII representation of a Unix file hierarchy?

all. I'm looking for a quick and dirty way to generate some diagrams of some directories that have almost, but not exactly, the same hierarchy, so I can show them around at a meeting and we can decide which flavor we like best. I'm not interested in…
Jenn D.
  • 181
  • 1
  • 5
7
votes
7 answers

how to merge two ext3 partitions on ubuntu from command line?

I have a partition /dev/sdb1 and a partition /dev/sdb2 They are both in /etc/fstab with proper UUIDs and mounted as /opt and /home I'd like to merge them without losing any files Can this be done from the command line without having to move all the…
sal
  • 827
  • 3
  • 12
  • 18
7
votes
3 answers

Fast linux file creation

I want to create an empty (may not be zeroed) file in ext4 file system. I can do this with: dd if=/dev/zero of=file count=xxxx But it takes a while if x is around 0.5T. I suppose there is a way to to create such file fast. It may contain gibberish…
silk
  • 918
  • 5
  • 13
7
votes
2 answers

Restrict Directory Size

I'm installing a program on my Linux server and it stores data locally for a week. However, there is an error that can occur sometimes that will keep it from deleting the data. To safeguard against this when I installed it on a Unix server I just…
Buzkie
  • 195
  • 4
  • 11
6
votes
2 answers

Used truncate to create huge file - df is not showing decrease in available space

I am trying to test a disk space monitor we have setup. For that purpose, I ran truncate -s 125G /publish/data/bigFile which should claim enough space for the alert to be triggered. However, df -h shows for that partition: /dev/vdb1 196G 66G…
Carmageddon
  • 172
  • 1
  • 9
6
votes
4 answers

MogileFS/GlusterFS/etc + Amazon EBS + Amazon EC2

I have a web application that serves binary files (images, etc). Our application runs on Amazon EC2. We were originally going to use Amazon S3 to store and serve these files, this is no longer an option. We need to transfer these files over HTTPS…
William
  • 367
  • 4
  • 11
6
votes
3 answers

mkfs -O ^64bit,^metadata_csum -t ext4 in 2019

Thomas Krenn recommends creating ext4 partitions like: https://www.thomas-krenn.com/de/wiki/FSCK_Best_Practices mkfs -O ^64bit,^metadata_csum -t ext4 what does this mean? does this have anything to do with the y2038…
canoodle
  • 193
  • 1
  • 4
6
votes
3 answers

Disabling ext4 write barriers when using an external journal

I'm currently experimenting with different ways of improving write speeds to a fairly large, rotating disk-based, software-raid (mdadm) array on Debian using fast NVMe devices. I found that using a pair of such devices (raid1, mirrored) to store the…
jcharaoui
  • 322
  • 2
  • 12
6
votes
5 answers

Distributed, Parallel, Fault-tolerant File System

There are so many choices that it's hard to know where to start. My requirements are these: Runs on Linux Most of the files will be between 5-9 MB in size. There will also be a significant number of small-ish jpgs (100px x 100px). All of the files…
Eddified
  • 213
  • 3
  • 7