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

Is ext4 ready for a production usage?

What do you think about ext4 filesystem in the production enviroment ? We are very close to launching our project that will use tens of millions quite often updated not very big files and we need to decide which FS to use. For a while our…
Konstantin
  • 139
  • 3
  • 6
10
votes
8 answers

Is this a recommended/valid approach for file server permissions?

File servers are a fact of life in IT and I'm curious if there are any generally accepted practices (I hesitate to use the word "best" here) for how you create groups and apply permissions for managing client access to a shared folder on a file…
David Archer
  • 599
  • 1
  • 6
  • 16
10
votes
3 answers

Directory that a user can read, but root can't?

There's a directory underneath my homedir called ".gvfs". As my regular user account, I can read it just fine: ~ $ ls -lart ~raldi/.gvfs total 4 dr-x------ 2 raldi raldi 0 2009-05-25 22:17 . drwxr-xr-x 60 raldi raldi 4096 2009-05-25 23:08 .. ~ $…
raldi
  • 987
  • 4
  • 11
  • 13
10
votes
2 answers

How can I make Linux reboot instead of remounting the filesystem as read-only?

Linux systems sometimes remount the root file system as read-only, e.g. if there's an I/O error. I have a machine that becomes useless when this happens, and I end up rebooting it manually. Is there a way to make Linux just automatically reboot when…
user541686
  • 437
  • 1
  • 6
  • 14
10
votes
4 answers

RAID level and filesystem for a large storage server

This has been asked a million times but every time the answer is subject to "it depends on your requirements" condition, so I cannot extract a general guideline to apply to my case. So I ask again. I have a 24 bays disk server (dual Xeon Silver…
Nicola Mori
  • 281
  • 1
  • 7
9
votes
3 answers

Database accidentally deleted with a bash script

Edit: a follow-up question: Restore mongoDB by --repair and WiredTiger. My developer committed a huge mistake and we cannot find our Mongo database anywhere in the server. He logged into the server, and saved the following shell under…
9
votes
4 answers

Using SSD as disk cache

Is there software for Linux to use an SSD as disk cache? I believe that Sun does something like this with ZFS, though not sure. A quick search provides nothing suitable. The goal would be to put frequently requested files on the SSD on-the-fly. …
casualcoder
  • 380
  • 1
  • 4
  • 13
9
votes
2 answers

ext4: Running out of inodes

I am running out of inodes. Only 11% available: the-foo:~ # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/system-home 9830400 8702297 1128103 89% /home Is there a way to solve this without creating and…
guettli
  • 3,591
  • 17
  • 72
  • 123
9
votes
2 answers

OverlayFS: How Can I Delete Files, Not Hide Them

I am trying to aggregate two mount points in to a single directory so that it will combine the files from both in to a single mountpoint. I am doing some tests with overlayfs and have been able to create the merged mountpoint, but the issue comes…
Ken S.
  • 479
  • 5
  • 14
9
votes
3 answers

Why there shouldn't be too many files in one directory that serves just static web requests?

This might be a very general question but I really like to find some detailed answers or clues. I am discussing this with a friend, trying to convince him to put more than 300,000 files from one single folder to more than one (like 1000 per…
AGamePlayer
  • 685
  • 1
  • 7
  • 14
9
votes
2 answers

Filesystem Hierarchy Standard - Where to put sourceable functions?

I have a few bash scripts running system checks. These scripts source configuration options from a file /etc/healthchecks/config. Along with the config file, I have a shared functions file. The scripts should be able to source that file and run the…
9
votes
4 answers

Write once, read many (WORM) using Linux file system

I have a requirement to write files to a Linux file system that can not be subsequently overwritten, appended to, updated in any way, or deleted. Not by a sudo-er, root, or anybody. I am attempting to meet the requirements of the financial services…
phil_ayres
  • 191
  • 1
  • 3
  • 12
9
votes
2 answers

Choosing file system block size

Considering unix/linux/bsdunix specific file systems: How can I choose/know which block size to use while creating file system? Is there any specific block size value for a particular file system that is considered most efficient for that particular…
Drt
  • 404
  • 2
  • 6
  • 18
9
votes
2 answers

Linux Filesystem options for iSCSI shared storage

I am trying to determine my 'best choice' for a filesystem to use for a shared storage device that will be mounted via iSCSI across an indeterminate number of servers. Setup: 27TB Synology RS2212+ array, iSCSI LUN/target that allows multiple…
user2012899
  • 91
  • 1
  • 3
9
votes
5 answers

How to recover XFS file system with "superblock read failed"

I have a disk from a Buffalo LinkStation that has an XFS partition on it that I cannot mount. Plugging the disk into an SATA->USB caddy on an Ubuntu box. I get the following: $ sudo fdisk -l /dev/sdb Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255…
Kieran
  • 193
  • 1
  • 1
  • 6