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
20
votes
5 answers

Is execution of sync(8) still required before shutting down linux?

I still see people recommend use of sync; sync; sync; sleep 30; halt incantations when talking about shutting down or rebooting Linux. I've been running Linux since its inception and although this was the recommended procedure in the BSD 4.2/4.3 and…
Capt. Crunch
  • 839
  • 2
  • 12
  • 25
19
votes
9 answers

Is it possible to hide lost+found?

Given a partition intended solely for storing music, video and so-on, is it possible to hide the lost+found directory?
jldugger
  • 14,342
  • 20
  • 77
  • 129
19
votes
4 answers

"No space left on device" error despite having plenty of space, on btrfs

Almost everywhere I'm getting failures in logs complaining about No space left on device Gitlab logs: ==> /var/log/gitlab/nginx/current <== 2016-11-29_20:26:51.61394 2016/11/29 20:26:51 [emerg] 4871#0: open() "/var/opt/gitlab/nginx/nginx.pid" failed…
Austin
  • 295
  • 1
  • 2
  • 7
19
votes
13 answers

Error 0x80070570: How to delete corrupted and unreadable file?

On my system partition I have a folder which cannot be deleted. This folder has been created by restoring files from an Acronis TrueImage backup. The error message says: Error 0x80070570: The file or directory is corrupted and unreadable. I…
0xA3
  • 243
  • 1
  • 2
  • 10
19
votes
2 answers

Is there any way to fix a corrupted LDM database?

TL;DR: Are there any tools/approaches to diagnosing and fixing LDM (Logical Disk Manager) metadata structures without recreating from scratch? Full description: I have two SSD drives set up with GPT + LDM (dynamic disk) in a state that seems…
Karol J. Piczak
  • 2,358
  • 1
  • 20
  • 22
19
votes
4 answers

Ensuring a repeatable directory ordering in linux

I run a hosted continuous integration company, and we run our customers' code on Linux. Each time we run the code, we run it in a separate virtual machine. A frequent problem that arises is that a customer's tests will sometimes fail because of the…
Paul Biggar
  • 338
  • 3
  • 10
19
votes
2 answers

ext4 file-system max inode limit - can anyone please explain?

Recently we had a problem where one of the ext4 file-systems seemed unable to handle very large number of files, more than 6mln in this case, in spite of having enough space. Is it 6mln the max number, an ext4 file-system can have when formatted…
MacUsers
  • 469
  • 2
  • 7
  • 13
19
votes
2 answers

Is there a quick way to see what filesystem filter drivers are loaded on Windows 2008?

The question says it all, I think. I vaguely remember there was an easy way to do this, but don't remember what it was.
James Lupolt
  • 644
  • 1
  • 7
  • 18
18
votes
6 answers

Which is faster, and why: transferring several small files or few large files?

I soon will have a folder with thousands of files, each file on the order of a few KB. I will need to transfer these across a Windows network from one UNC share to another. In general, is it faster to simply copy the files over en masse, or would…
kestes
  • 183
  • 1
  • 2
  • 5
18
votes
4 answers

File locks on an NFS?

My server uses NFS (Network File System), and I'm unable to use PHP's flock() -function. Is there a way to lock files on an NFS or is there a need to do so?
rFactor
  • 367
  • 1
  • 3
  • 13
18
votes
2 answers

Why does chmod(1) on the group affect the ACL mask?

I am trying to understand this Unix behavior (which I happen to be testing on Ubuntu 11.10): $ touch foo $ setfacl -m u:nobody:rwx foo $ getfacl foo # file: foo # owner: michael # group:…
Michael Kropat
  • 859
  • 2
  • 8
  • 16
18
votes
2 answers

How to remove bad disk from LVM2 with the less data loss on other PVs?

I had a LVM2 volume with two disks. The larger disk became corrupt, so I cant pvmove. What is the best way to remove it from the group to save the most data from the other disk? Here is my pvdisplay output: Couldn't find device with uuid…
kissgyorgy
  • 302
  • 1
  • 5
  • 16
18
votes
8 answers

Is btrfs production ready?

I've seen a lot of information on btrfs lately. I have been considering ext4 for my next filesystem, but am tempted by btrfs instead. How widely used is btrfs? What are the pro's and con's?
mdpc
  • 11,856
  • 28
  • 53
  • 67
18
votes
8 answers

Find files in one directory not in another

Are there any Linux/Unix tools which find all the files in one directory not present in another? Basically I'm looking for diff which works on the output of ls. Short and sweet scripts are also appreciated.
Willi Ballenthin
  • 365
  • 1
  • 2
  • 11
18
votes
13 answers

How can I visualize hard disk space with millions of files?

We have a hard disk that is 600 Gigs and nearly full. It's been filled up with 18,501,765 files (mostly small 19k images) and 7,142,132 folders. It's very difficult to find out where exactly all the space has gone too. Our regular cleanup…