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.

learn more… | top users | synonyms (1)

1
vote
1answer
16 views

Dir size increases after rsyncing to a different machine with same configuration

Have a MySQL (percona, 14.14 Distrib 5.6.28-76.1) machine with a 1TB SSD hosting around 712Gb of mysql data. MySQL has 4 databases, with, say database1, taking major space, 656Gb. Lets call this ...
14
votes
2answers
3k views

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 ...
0
votes
1answer
1k views

What cause high CPU usage on the server during file upload

When I try to upload a huge file size (approx 2GB), the server cpu usage goes really high. What should I do to fix this? I just use standard html form and php, for file upload. I'm sorry if I post ...
5
votes
3answers
3k views

Centos 6.3 install reiserFS support

I'm trying to change an existing ext4 partition to reiserFS in Centos 6.3 64bit. I've updated the kernel to Centos Plus: First, I've updated /etc/yum.repos.d/CentOS-Base.repo: In the [centosplus] ...
0
votes
0answers
15 views

Samba/CIFS Ubuntu 14.04 mount error(112)

I'm trying to mount a samba network share on an Ubuntu 14.04 using cifs. On the server, I've got the share running. I can already map it as a drive in Windows. The share has a username and password. ...
0
votes
1answer
18 views

CentOS: How to group two partitions to one document root?

i have 2 partitions in my cloud server. And i want to group two of these become one as Apache document root. Because i have some websites and data is around 80GB. Does it possible? /dev/vda1 ...
14
votes
2answers
9k views

See what files are being written to (like iotop but for files, not processes)

I have a Linux server, and it's doing a lot of disk io. There is one process that is doing most of the disk writes. I found this out with iotop, which shows the processes that are doing disk I/O. Is ...
-1
votes
0answers
23 views

Risks of using AWS EFS for production systems while its still in Preview [closed]

AWS EFS (Elastic File System) is exactly what I need for setting up an auto scaling group of EC2 instances which share some files. The only problem is that EFS is not generally available yet. I have ...
0
votes
5answers
47 views

How do I increase a partition size (that doesn't use LVM) without removing and re-adding it

I have /usr on a separate partition. At the moment, this is how the server is set up: [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 329M 4.6G 7% ...
3
votes
2answers
266 views

Optimizing storage of 10-20 million files on RAID5 (currently using LVM+XFS)

Although I've browsed some of the questions here, I think every situation is different and maybe requires a totally different solution. What I have now: Linux software RAID5 on 4x4TB enterprise HDD ...
1
vote
2answers
48 views

ext4 mount flags for 10+ mill files storage

I've initialised one large primary partition with the -T small flag to mke2fs, small on the system is configured as follows: small = { blocksize = 1024 inode_size = 128 ...
-1
votes
0answers
8 views

Pool remote file shares into single volume

I have multiple file shares available to use as backup storage. Each one can be mounted over CIFS/NFS. Instead of mounting them all individually and trying to manage what files are stored on each one, ...
0
votes
0answers
32 views

Estimate when a filesystem will be full

Background I'm managing about 50 CentOS 5.6 Linux servers in my workplace with some critical filesystems that store weekly backups of applications, databases and user workplace files. Problem Last ...
0
votes
1answer
32 views

What is the best way to isolate vhosts on a linux server?

Firstly, I'm wondering what is the best way to isolate Apache's vhosts from each other. I suppose this has something todo with the Linux filesystem as well, since it's not a good practise to have ...
0
votes
0answers
7 views

Can you create a virtual filesystem on available space of existing filesystems? [migrated]

I currently have 4 ext4 disks in my PC. Together they have about 4TB of space available. I want to store a 3 TB image just for a day. Is it possible to create a temporary virtual fs across the ...
0
votes
2answers
34 views

Granting FTP users access to multiple folders on CentOS

I'm have a web server running CentOS Linux 7.2.1511. I do most of the mundane management tasks through Plesk 12.5.30 Update #29 but I also SSH in and get dirty with the command line when I need to. ...
0
votes
1answer
1k views

s3fs “could not determine how to establish security credentials”

I'm trying to use s3fs to mount an S3 bucket on to a standard AWS Amazon Linux AMI (with all the necessary dependencies installed). However when following this tutorial when I run: s3fs mybucketname ...
1
vote
1answer
1k views

Create variable sized RAM-backed file systems (Ext4 and Btrfs)

For benchmarking purposes I need to format and mount variable sized ram-backed block devices with Ext4 and Btrfs. Unfortunately the only solution I have come across uses ramdisks which seem to be ...
1
vote
3answers
6k views

ext3/ext4 physical block size view

I'm using a suse 11 server with xfs and using "xfs_info /srv" command i seen this. xfs_info /srv/ meta-data=/dev/mapper/vg01-srvvol isize=256 agcount=38, agsize=1964032 blks = ...
149
votes
4answers
49k views

LVM dangers and caveats

I have recently started using LVM on some servers for hard drives larger than 1 TB. They're useful, expandable and quite easy to install. However, I could not find any data about the dangers and ...
1
vote
1answer
20 views

Overmount existing directory contents at runtime

I have the following scenario: users run software installed in /path/to/software I create a file-backed FS image with exactly the same contents as in /path/to/software I mount the image using ...
0
votes
0answers
27 views

Branch office replicated file system

I'm looking for something that can replicate file systems between multiple branch locations. Our file servers currently run CentOS 7. I feel like there has to be a better solution that what we're ...
2
votes
0answers
25 views

How to interpret the contents of /lost+found after serious filesystem corruption?

I am trying to work out whether some serious filesystem corruption is recoverable or not - however, I am struggling to find a definitive description of what i am seeing in /lost+found anywhere on the ...
7
votes
1answer
111 views

Sluggish performance on NTFS drive with large number of files

I am looking at this setup: Windows Server 2012 1 TB NTFS drive, 4 KB clusters, ~90% full ~10M files stored in 10,000 folders = ~1,000 files/folder Files mostly quite small < 50 KB Virtual drive ...
3
votes
1answer
72 views

Rsync takes 8+ hours to backup 15M+ files

I have ~700GB storage where I store ~15M files, hence average file size is ~50KB. To back it up, over night I run a simple rsync script with the following set of flags: --archive --update --compress ...
0
votes
3answers
1k views

How many subdirectories does the XFS filesystem support within a given directory?

EXT3 supports 32,000 subdirectories. EXT4 supports 64,000... I've read about people having millions of subdirectories on the XFS filesystem, but can't find an exact value referenced anywhere. How ...
0
votes
2answers
3k views

Some users unable to see files that others can see

I have a file server running on Windows Server 2008 R2 in our domain that houses files created by an application and then moved to a folder available as a share to some users here. Users who use this ...
1
vote
0answers
29 views

Can't find used inodes on server

I have a Xen VPS with Debian Linux installed. Once I found that all inodes are used. I checked this: ~# df -i Filesystem Inodes IUsed IFree IUse% Mounted on rootfs 3932160 3932160 ...
0
votes
0answers
23 views

Windows Server: file system limitation

We are developing an app for tablet which uploads and saves photos taken by the user. The problem we are suddenly meeting is that photos are not saved anymore in our directory in our Windows server ...
1
vote
1answer
40 views

How to avoid loosing changes on the root filesystem when kernel upgrading?

On Solaris and variants, it makes a zfs clone of the current / filesystem and installs the new kernel there. When rebooting you get the new /. In my case I have a /scripts directory, so if I ever ...
18
votes
7answers
4k views

Which filesystem for large LVM of disks (8 TB)?

I have a Linux server with many 2 TB disks, all currently in a LVM resulting in about 10 TB of space. I use all this space on an ext4 partition, and currently have about 8,8 TB of data. Problem is, I ...
7
votes
3answers
2k views

Which filesystems offer snapshot functionality for users to recover data?

I'm working on a project that will teach linux to youth. Knowing they will have a tendency to delete or corrupt items in their home directories we are looking for a good snapshot option. We will not ...
-2
votes
2answers
101 views

How to correctly create a filesystem on disks that are connected to a RAID disk?

I want to create a ext4 filesystem on sda, sdb, and sdc and mount them to use them but I don't know how to handle all the raid stuff. lsblk output: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
3
votes
1answer
284 views

After emptying a directory with 60,000 small files, ls -l still shows large directory size?

Here is the ls -l after I did rm -f inside the cur and new directories. I expected the directory "sizes" to shrink back to the default "4096". [root@example Maildir]# pwd ...
3
votes
0answers
42 views

Can Btrfs use SSD for metadata and leave bulk data on HDD?

is it possible for Btrfs to use SSD for metadata only & leave bulk data on less costly storage such as HDD? I refered to this page Using_Btrfs_with_Multiple_Devices and can not find a solution. ...
3
votes
2answers
64 views

how do I check if a bind mount on linux is private or shared?

The mount command allows us to make a bind mount shared, slave, shared+slave, private or unbindable, however, I was unable to figure for a given mount point what is type of subtree rooted at the ...
0
votes
1answer
15 views

Can't find logical volume when booting imported disk images in Xen guest

I've got a couple of drives I copied over using ddrescue to image files for booting under Xen. They contain an LVM volume group with a couple of volumes in it, which was originally split across two ...
12
votes
4answers
8k views

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 ...
1
vote
1answer
35 views

df -h shows 100% usage but sizes don't add up [duplicate]

I have a situation where my root filesystem is supposed to have plenty of free space, but Debian behaves as if it had no free space left. Non-root users even refute to write anything complaining about ...
4
votes
3answers
4k views

AUFS missing in Redhat Fedora, is there an alternative way of stacking directories?

I can't find Aufs in Redhat's Fedora, or any other stackable filesystem for that matter. It seems this is due to relabelling limitations of SELinux. Is there a way to achieve similar without ...
1
vote
0answers
58 views

XFS On VMware VM Fails With Bad Magic Number

I have almost exactly the same problem as described here. I am on RHEL7. 3.10.0-229.4.2.el7.x86_6 Inside vmware VM. file -s /dev/sdb /dev/sdb: LVM2 PV (Linux Logical Volume Manager), UUID: ...
0
votes
1answer
35 views

Error trying to enable LDAP with kerberos authentication with GPFS

I have 3 RHEL7 nodes with GPFS / Spectrum Scale 4.2.0.0 installed. The 3 nodes have been setup with GPFS as a cluster with a GPFS filesystem created. I am trying enable LDAP based authentication ...
1
vote
1answer
75 views

Unable to enable LDAP authentication on GPFS / Spectrum Scale file system

I have setup a GPFS / Spectrum Scale cluster on 2 RHEL7 nodes. On that cluster I have created a filesystem. I want to enable LDAP based authentication with kerberos so that I can NFSv4 ACLs to ...
14
votes
8answers
23k views

Question marks showing in ls of directory. IO errors too

Has anyone seen this before? I've got a raid 5 mounted on my server and for whatever reason it started showing this: jason@box2:/mnt/raid1/cra$ ls -alh ls: cannot access ...
4
votes
4answers
2k views

Best remote mounted filesystem based on S3 [closed]

I need to know what the best (read: highly performant and fault tolerant) filesystem solution based on Amazon's S3 is. I have looked a s3fs, but I notice that it has not been worked on for a while ...
0
votes
0answers
9 views

Create two users with different privileges for the same folder

I've the following scenario: I need to create two users that will access in FTP the same folder with different privileges by using vsftpd. What do you recommend me? Is it a good idea to create ...
0
votes
1answer
21 views

Can a folder on Linux be belonged to multiple users?

I have one folder on Ubuntu that can be read and written by user A and can be only read by user B. The solution I came up with is the following: create a group which have read permission on this ...
0
votes
0answers
24 views

Linux File Permission CVSD

I have a CVSD server on debian. which has few user who can access all the files and folder under cvs repository. but now i want to remove permission for one user only for one specific folder. That ...
0
votes
1answer
25 views

Filesystem block size confusion

I know that block size is, generally speaking, the minimal operation unit of a filesystem, but I was confused by fio, the I/O performance benchmark tool, which has a bs parameter to set the "block ...
1
vote
3answers
44 views

File permissions are being changed after gunzip of .gz file; how do I prevent that?

I have an NFS4 filesystem that has AD based authentication setup and ACLS to match. I am controlling access to the machines that mount the filesystem so the ACLs are very basic. One prevents users ...