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

ZFS import unable to find any pools

I had a ZFS pool -- a mirror containing 2 vdevs -- running on a FreeBSD server. I now have only one of the disks from the mirror, and I am trying to recover files from it. The ZFS data sits in a GPT partition on the disk. When I try to import the…
squidpickles
  • 791
  • 1
  • 8
  • 12
14
votes
6 answers

How to find cause of main file system going to read only mode

Ubuntu 12.04 File system goes to readonly mode frequently. First of all I have read this question file system is going into read only mode frequently already. But I have to know if it's not caused by something else than dying hard drive. This is…
user606521
  • 251
  • 1
  • 2
  • 8
14
votes
2 answers

Safety of write cache on SATA drives with barriers

I've been reading lately about write caching, NCQ, firmware bugs, barriers, etc regarding SATA drives, and I'm not sure what's the best setting that would make my data safe in case of a power failure. From what I understand, NCQ allows the drive to…
julianjm
  • 270
  • 2
  • 5
14
votes
3 answers

In Linux, is there a way of seeing which user updated a file?

Does Linux record who last changed a file (rather than created it)? If so, how do I find this out? If not, is there some way of monitoring file(s)?
Umber Ferrule
  • 481
  • 2
  • 6
  • 12
14
votes
3 answers

Proper way to create a zfs off an existing directory?

Lets say I have an rpool with etc/ as a regular directory within it and now I want to create a separate zfs rpool/etc, obviously inheriting all the data I had in original /etc. What would be the most proper and safe way to do so?
Yurii Rashkovskii
  • 253
  • 1
  • 2
  • 5
14
votes
6 answers

Is the F.U.D. about ext4 justified? Or would it be safe to use in some production systems?

I am wondering if ext4 is safe to use on my servers. But I've heard so much FUD about it that I am concerned. Our system could lose some data, and it would not be too big a deal. Even a full days worth of data would not ruffle too many feathers.…
Stu Thompson
  • 3,349
  • 7
  • 31
  • 47
13
votes
6 answers

AWS ElasticBeanstalk docker-thin-pool getting full and causing re-mount of filesystem as read-only?

I can't figure out how AWS sets up their Docker 'thin pool' on ElasticBeanstalk and how it is getting filled. My docker thin pool is filling up somehow and causing my apps to crash when they try to write to disk. This is from inside the…
std''OrgnlDave
  • 359
  • 1
  • 3
  • 8
13
votes
4 answers

How to delete millions of files without disturbing the server

I'd like to delete an nginx cache directory, which I quickly purged by: mv cache cache.bak mkdir cache service nginx restart Now I have a cache.bak folder which has 2 million files. I'd like to delete it, without disturbing the server. A simple rm…
hyperknot
  • 701
  • 2
  • 9
  • 16
13
votes
3 answers

How can you find the parent snapshot of a zfs clone?

I made a clone of zfs filesystem that has a number of snapshots. I also have several replicated copies of the filesystem. How can I find which filesystem/snapshot a clone is attached to? (Seems like something that should be in the docs/googlable…
JamesRyan
  • 8,166
  • 2
  • 25
  • 36
13
votes
7 answers

Can't mount nfs volume - time out

I have an NFSv3 export from a Linux fileserver which used to mount fine. The fileserver had to go down for hardware maintenance. After bringing the server back up, the Linux client can no longer mount the nfs export. No configuration has changed on…
Nathan
  • 253
  • 1
  • 2
  • 9
13
votes
2 answers

Rotate a file that's open and being written at all times

I have an linux application that continually writes logging information into a log file, eg. /var/log/application.log. As the application does not rotate the file automatically, this log file can reach a size of gigabytes in some weeks, so I want to…
Bruno Polaco
  • 345
  • 2
  • 9
13
votes
2 answers

Performance impact of running different filesystems on a single Linux server

The book "HBase: The definitive guide" states that Installing different filesystems on a single server is not recommended. This can have adverse effects on performance as the kernel may have to split buffer caches to support the different…
Alex
  • 7,939
  • 6
  • 38
  • 52
13
votes
2 answers

Is post-sudden-power-loss filesystem corruption on an SSD drive's ext3 partition "expected behavior"?

My company makes an embedded Debian Linux device that boots from an ext3 partition on an internal SSD drive. Because the device is an embedded "black box", it is usually shut down the rude way, by simply cutting power to the device via an external…
Jeremy Friesner
  • 1,323
  • 1
  • 14
  • 25
13
votes
4 answers

How to store data on a machine whose power gets cut at random

I have a virtual machine (Debian) running on a physical machine host. The virtual machine acts as a buffer for data that it frequently receives over the local network (the period for this data is 0.5s, so a fairly high throughput). Any data received…
Sevas
  • 249
  • 1
  • 6
13
votes
5 answers

Mounting a file system over the internet

I built a web application that runs on a virtual server for one of my customers. It includes the facility for them to upload files, but they now want to store those files on a server in their office. The easiest way to do this would be to mount…
Ben Holness
  • 944
  • 2
  • 10
  • 28