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

Diagnosing cause of orphaned inodes on Linux, busy MySQL?

One of our servers recently experienced some file system corruption and our root file system was automatically remounted as read only. The steps I took to recover were: attempted to remount > mount -n -o remount / this failed rebooted the…
BenM
  • 748
  • 1
  • 8
  • 13
6
votes
2 answers

xfs: difference between block size and sector size

mkfs.xfs has two following options among others: -b block_size_options This option specifies the fundamental block size of the filesystem. The valid block_size_options are: log=value or size=value and only one can be…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
6
votes
7 answers

Is it possible and how to mount an AIX disk into Linux?

I have a disk from a AIX server that I need to explore in order to recover some data (the server is down). Is it possible to mount AIX partitions on Linux? How?
Ghislain Leveque
  • 161
  • 1
  • 1
  • 2
6
votes
6 answers

Which is the best file system to run a web server and a database on debian?

Which is the best file system to run a web server and a database on debian ? Example : On debian ext2 or ext3 take too long to manage huge folder with huge subfolder my administration task take to much time, i cant delete huge subfolders without…
belaz
  • 595
  • 1
  • 5
  • 7
6
votes
3 answers

How do I exclude a folder when performing file operations i.e. cp, mv, rm and chown etc. in Linux

How do you exclude a folder when performing file operations i.e. cp etc. I would currently use the wild card * to apply file operation to all, but I need to exclude one single folder. The command I'm actually wanting to use is chown to change the…
Camsoft
  • 961
  • 4
  • 12
  • 21
6
votes
1 answer

Why does df -h still show 100% full even after deleting files?

The disk space on my Ubuntu web server, running on DigitalOcean, seems to be full. I have already found and deleted the large log file and restarted Nginx. However, it still seems like there is a problem. df shows that it's still full: $ df -h…
Andrew
  • 3,453
  • 9
  • 33
  • 36
5
votes
6 answers

"Mount" cloudfiles on a Linux server?

Is it possible to 'mount', for ignorance of a better term, a cloud service like as Cloud Files or S3 to a linux / ubuntu server? Ideally I'd like to be able to browse the remote location as if it were a local directory. How is this done, if…
mO_odRing
  • 183
  • 2
  • 6
5
votes
1 answer

File locked only for Developer that tries to deploy

Our Developers work with VisualStudio 2017 They use a Post-Build PowerShell function that I wrote, to publish the application to the correct destination. Sometimes (1 out of 100 times) they get the following error: Copy-Item : The process cannot…
SimonS
  • 785
  • 4
  • 14
  • 29
5
votes
0 answers

Is my NFS mount actually using async? Diagnosing very slow response time

I have the following NFS mount: server:path /mnt/path nfs rw,hard,intr,nfsvers=4,async 0 0 Pings to the server are ~60ms, which is quite reasonable, yet any access to the mount is very slow. Copying a small image takes 10-30 seconds, and even ls in…
5
votes
2 answers

How do filesystem commit interval options interact with vm.dirty_expire_centisecs?

Question How do filesystem "commit interval" options interact with vm.dirty_expire_centisecs? What happens when one is shorter than the other? Does it ever make sense to set these differently? My understanding is that filesystem commit interval…
pauldoo
  • 359
  • 2
  • 4
  • 14
5
votes
1 answer

Master-Master File Sync between DataCenters

My problem is regarding a master-master (3 master nodes) file synchronization setup, where each node is in a different DataCenter. I have three application servers where users can create/modify/delete files and I need to keep them in sync, hopefully…
Jimmy
  • 221
  • 2
  • 6
5
votes
6 answers

Linux truncate file

Here's a simple one. How do I truncate an existing file in linux? That is, how do I empty the contents of the file but keep the file. I can always delete the file then touch it but I was wondering if there's a single command that'll get the job…
pygorex1
  • 1,181
  • 2
  • 9
  • 10
5
votes
5 answers

How to find out what files an installer (rpm, deb) created?

I need to find out all the file system modifications an installer did. Most likely the installed package is an rpm or deb, but an app could of course be simply copied over or compiled and installed with the configure;make;make install way. Even…
Auditor Newbie
5
votes
1 answer

File System Corruption in AWS Storage Gateway Volume

Has anyone had to deal with a corrupt file system on a storage gateway volume? One of my volumes is now telling me that it's corrupted or unreadable. I've tried running a chkdsk /r on it and it took days (10TB volume). Once completed I got the same…
blsub6
  • 1,131
  • 6
  • 25
  • 45
5
votes
1 answer

Growing zpool in zfsonlinux

I have 2x3TB disks with GPT and a zpool with uses a 2.7TB partition on the first disk (sda4) and 1TB on the second disk (sdb4). Reason is that initially both disks were just 1TB and I sequentially replaced both of them with 3TB. But during the time…
divB
  • 568
  • 1
  • 7
  • 23