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)

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 ...
0
votes
2answers
23 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. ...
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 = ...
0
votes
0answers
36 views

Delay after file adjustment on FreeBSD [on hold]

The files that we adjust need up to a minute for the adjustments to become visible. This has become a true annoyance when we need the adjustments to apply instantaneously. The method of adjusting does ...
148
votes
4answers
48k 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
18 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
22 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 ...
-1
votes
1answer
20 views

Windows Server File Encryption [closed]

We currently use Windows built in File encryption as described in this hyperlink but its not very user friendly for our users. Does any one use this or third party software that they recommend that ...
2
votes
0answers
23 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
106 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
64 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
21 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 ...
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 ...
1
vote
1answer
37 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 ...
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 ...
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
1k 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
87 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
283 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
29 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
56 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
11 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
30 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
40 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
34 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
65 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 ...
13
votes
8answers
22k 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
8 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
23 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
23 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
41 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 ...
-2
votes
1answer
20 views

Cannot Create A Directory Called 'partition' On msdos Flashdrive

Really strange issue that I've encountered. I have fedora 23 and a flash drive that I play with writing some scripts for mount/unmount operations: /dev/sdb1 on /run/media/mymounts/kol type msdos ...
2
votes
0answers
34 views

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

VM filesystem in read-only mode

I have a VirtualBox Ubuntu VM with a virtual disk that is mounting as a read-only filesystem. I'm not sure why that is, and my attempts to remount as read/write haven't worked. One of the last things ...
1
vote
2answers
3k views

Can't delete corrupt files on Linux

So I got hit by a script kitte... Fortunately the box is Ubuntu and was able to replace w/ binaries from a comparable system, however, Some of the files I couldn't delete, and am still stumped on ...
14
votes
3answers
26k views

.nfsXXXX files appearing, what are those?

We have an application running (on RHEL5), streaming data onto an NFS share. Recently we saw a lot of .nfsXXXX... (xxx being a hexadecimal number) appearing in its working directory, where the ...
0
votes
0answers
24 views

Shrinking an img file that contains linux partitions

I've got an img file (4,02GB) containing a Linux OS. My goal is to shrink this img filed down to < 4GB. The img contains a linux partition that only holds about 2,5GB of data. I need to be able to ...
2
votes
2answers
824 views

PHP can't save sessions due to permission error

I know that this question must have been asked (and answered) before, but I can't find a solution for my problem in any of those questions. It's a bit odd... The problem is that my PHP scripts (and my ...
0
votes
3answers
78 views

How do you securely shred a file from a RAID 6?

I'm looking for a way to delete a file from a RAID 6 implementation in a secure fashion (shredding). Do I need to delete the file from the RAID, disassemble the RAID, wipe the free space of each ...
0
votes
1answer
22 views

Get free capacity of an ocfs2 volume

I want to get free capacity of an ocfs2 volume (ocfs2-tools version 1.6), which is not mounted any where. Is there way to do that. Thanks
0
votes
1answer
104 views

Resizing CentOS partition using parted

I am using CentOS 6.x. I would like to resize the LVM partiion, but I am little confused when I use parted to see the partition information. I have a few questions. Please look at the partition ...
46
votes
8answers
89k views

df in linux not showing correct free space after file removal

I have file servers which are used to store files. Files might reside there for a week, or for a year. Unfortunately, when I remove files from the server, df command doesn't reflect the freed up ...