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
2 answers

Will noatime on a tmpfs volume improve performance?

I am using /run/shm/myfolder for nginx micro caching, also keeping ngx_pagespeed files there. I am wondering if there will be a speed increase if I go from relatime to noatime? It's for HDD, but on a tmpfs what will it change? tmpfs on /run/shm type…
cenk
  • 173
  • 1
  • 7
7
votes
3 answers

Install application/HTTP services to "/srv"?

I have been working with a team who used to install all the application and HTTP services like Apache or Tomcat to the '/srv' directory. I suspect mostly in order to keep the installed services separated from the OS as much as possible. For my own…
st-h
  • 257
  • 2
  • 8
7
votes
5 answers

Bash: mv directory one at a time

I am trying to move all subdirectories of a folder to another share on the same server. If I do a mv *, I will run out of space since the folders are not removed until all folders get transferred. So I'd like to create a short script that loops…
NinjaCat
  • 576
  • 1
  • 9
  • 21
7
votes
3 answers

What does zfs receive -F do?

When I read man zfs for zfs receive I see -F Force a rollback of the file system to the most recent snap- shot before performing the receive operation. If receiving an incremental replication stream (for example,…
Sandra
  • 10,303
  • 38
  • 112
  • 165
7
votes
4 answers

How to find out who is deleting files on a Linux server?

We have a Linux server which is Ext4 and another Linux Server which has an ISCSI where Windows clients have shared folders.I need to Allow users to modify files and not delete them. A user has permission to modify content, but cannot delete the…
ramdaz
  • 685
  • 1
  • 10
  • 26
7
votes
2 answers

Filesystem passthrough functionality in Centos 6.2?

I have a CentOS 6.3 machine currently running 2 virtualized CentOS 6.2 machines via KVM/QEMU/Libvirt. I'm trying to setup filesystem passthrough between the guests and the host. However the option is grayed out in the Virtualization Manager with the…
mm118
  • 73
  • 1
  • 4
7
votes
4 answers

Linux disk usage analyser that acts like symlinks are real files

I am using git-annex, an extension to the DVCS git, which is designed for handling large files. It makes heavy use of symlinks. The actual large files are moved to the .git/annex directory and the original files are symlinked to there. I am running…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
7
votes
3 answers

CentOS disable filesystem check: superblock last mount time is in the future

I'm persistently getting the "Superblock last mount time is in the future" error when booting CentOS 6. I've seen other questions which ask how to resolve this error, but I know exactly why it's occurring: our development/testing VMs regularly have…
Zac B
  • 841
  • 1
  • 15
  • 27
7
votes
2 answers

tune2fs: Bad magic number in super-block while trying to open /dev/sdb1

I am experiencing the above problem and I have no idea what caused this. Can someone help me figure this out? 1) I have already had my first disk /dev/sda working properly, now I am trying to create another FS on the 2nd disk: $fdisk /dev/sdb [I…
chen
  • 329
  • 1
  • 5
  • 13
7
votes
3 answers

How do I debug this FS error on a flash device?

I have console access to an embedded linux device. This device has flash memory part of which is partitioned as a FAT filesystem. Its running linux-2.6.31. However I am seeing these errors on the console these days and the FAT file system becomes…
Ankur Agarwal
  • 457
  • 1
  • 6
  • 15
7
votes
3 answers

samba stuck at maximum of 1024 open files

I'm running a Ubuntu 10.04 (lucid) samba fileserver. I have a Windows 7 client which opens a large number of files while doing a copy of thousands of tiny files at once. It receives the error "Too many open files" at which point waiting a few…
cecilkorik
  • 455
  • 1
  • 4
  • 13
7
votes
1 answer

NFS - Detecting remotely created files programmatically?

I'm trying to monitor an NFS share and detect the creation of a file by a process running on a remote system. The problem is that the detection isn't working after the file has been created, my script still thinks there's no file. If someone…
Daniel DeVoe
  • 88
  • 1
  • 4
7
votes
3 answers

Filesystem performance tuning options for ext3

I have a brand new server w/48G RAM which I am going to use as a DB server. I don't expect problems with disk reads, but I definitely would like to optimize for write intensive load patterns. The OS is RHEL 5.6 and the FS is ext3, I've added…
Alex
  • 7,939
  • 6
  • 38
  • 52
7
votes
3 answers

How to cause file system corruption for test purposes?

AFAIK the reasons for file system corruption are as follows: improper shutdown (hard reset); hardware failures (bad block on disk, bad disk controller); improper startup (mounting damaged file system); kernel errors (really like to test this…
grs
  • 2,235
  • 6
  • 28
  • 36
7
votes
1 answer

What is the best file system (used by an Amazon EBS volume) for a lucene index?

I want to create an ebs volume (Amazon EC2 cloud computing) to store my lucene index. What is the best file system to use (when using the command mkfs -t ?) ? I know xfs is often used for mysql but is it the case for lucene index ? thanks.
Jerome C.
  • 173
  • 1
  • 6