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

ZFS alternative for Linux?

I'm running OpenSolaris with ZFS for my main fileserver. I originally went with ZFS because I heard so many awesome things about it: Automatic disk spanning (zpools) Software RAID (RAID-Z) Automatic pool resizing by replacing RAIDZ'd…
Maelstrom
  • 233
  • 1
  • 2
  • 5
13
votes
5 answers

Which "features" of ext4 existing ext4 partition uses?

When I create ext4 filesystem, there are many "features", which I can enable and disable - like has_journal, extent, huge_file and so on. Is there any way to know, which options were used while creating ext4 filesystem (after it been created, I…
Alexey Chernikov
  • 315
  • 1
  • 4
  • 7
12
votes
2 answers

Is there any difference between "file" and "./file" paths?

As title says, is there any difference for *NIX filesystems? e.g ls file and ls ./file
Sergey Alaev
  • 263
  • 1
  • 8
12
votes
2 answers

Ext4 usage and performance

I've got a cluster of machines running Carbon and Graphite that I need to scale for more storage, but I'm not sure if I need to scale up or out. The cluster is currently comprised of: 1 Relay Node: Receives all metrics and forwards to the relevant…
Sammitch
  • 2,111
  • 1
  • 21
  • 35
12
votes
3 answers

how do I check if a bind mount on linux is private or shared?

The mount command allows us to make a bind mount shared, slave, shared+slave, private or unbindable, however, I was unable to figure for a given mount point what is type of subtree rooted at the bind-mount (shared, slave, private, shared+slave or…
anaken78
  • 221
  • 2
  • 3
12
votes
1 answer

Sluggish performance on NTFS drive with large number of files

I am looking at this setup: Windows Server 2012 1 TB NTFS drive, 4 KB clusters, ~90% full ~10M files stored in 10,000 folders = ~1,000 files/folder Files mostly quite small < 50 KB Virtual drive hosted on disk array When an application accesses…
Paul B.
  • 293
  • 1
  • 2
  • 9
12
votes
2 answers

How to use a file as a zpool?

If I do dd if=/dev/zero of=/tank/test/zpool bs=1M count=100 how can I treat the file /tank/test/zpool as a vdev, so I can use it as a zpool? It is for zfs testing purposes only.
Jasmine Lognnes
  • 2,520
  • 8
  • 33
  • 51
12
votes
2 answers

How does Linux handle concurrent disk IO?

When a Linux server is serving many concurrent requests to read many different files, does it: Seek to File_1, read the entire file, then seek to File_2, read the entire file, then seek to File_3, etc etc Seek to File_1, read part of it (up to the…
Continuation
  • 3,080
  • 5
  • 30
  • 38
12
votes
4 answers

What Windows ext3 driver should I use?

I understand that there are several alternatives for using/accessing ext2/ext3 in Windows, such as those described in a HOWTO Forge article and in a another article from a year ago. However, none of the listed items provide full read-write access…
Eddie
  • 11,432
  • 8
  • 37
  • 48
12
votes
6 answers

What's the fastest filesystem for developer builds?

I'm putting together a Linux box that will act as a continuous integration build server; we'll mostly build Java stuff, but I think this question applies to any compiled language. What filesystem and configuration settings should I use? (For…
12
votes
2 answers

Performance of Loopback Filesystems

Has anyone done any performance/benchmarking tests on Linux loopback file systems? What has your experience been so far. Is there any serious degradation in performance? How about…
psaccounts
  • 261
  • 3
  • 4
11
votes
7 answers

Is there a way to delete/truncate a file while a process is writing to it?

We have an apache server running on linux writing to a log file that is getting really large (access_log). Our server will begin running out of space. Is there a way to delete or truncate the file without restarting the server (we don't want any…
erotsppa
  • 2,113
  • 6
  • 23
  • 24
11
votes
2 answers

Do I need to defrag MacOSX filesystems?

The equivalent linux question reminded me of the bad performance of my MacBookPro. I'm not even sure what the default FS nowadays is. I read somewhere that there is a cron job which runs on friday or saturday which does such stuff. So do I need to…
Mauli
  • 401
  • 6
  • 13
11
votes
2 answers

How to mount new logical volume (adding to fstab and mtab)?

I created a new LV for the first time using this command: lvcreate -L 20G -n iew-vm-lv /dev/ubuntu-vg #create the new LV When I try running mount /dev/ubuntu-vg/iew-vm-lv, I get the following error: mount: can't find /dev/ubuntu-vg/iew-vm-lv in…
Nate
  • 449
  • 6
  • 11
  • 24
11
votes
4 answers

How can I audit a file to see who deleted it?

On one of our servers we have a file that keeps mysteriously getting deleted. What I'd like to do is have a program watch this file and let me know when/how/by whom it gets deleted. We have a backup of the file in question, so it's not much…
dubRun
  • 1,061
  • 2
  • 12
  • 22