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)

-2
votes
1answer
40 views

Challenges of dealing with large disks/partitions

Currently doing research on creating a new file server. Server will be Linux based (CentOS 7) and will need to have around 8 TB of available space. Samba will be used to share the files. I am trying ...
0
votes
1answer
18 views

Linux: Mount a remote disk stored on a custom storage

We have a non-standard storage (FS) on which we have flat disk images stored. We need to extract data from this raw image on a different host. The word "extraction" here means that I want to copy ...
3
votes
3answers
210 views

Choice of distributed filesystem for intensive reads and writes

I have a series of servers (HP ProLiant, 34 servers) each of which with 500 G of hard drive space. These servers are part of a computational cluster which runs processes that roughly fall into two ...
1
vote
1answer
28 views

How can I directly read data from a file in Linux without using the filesystem cache?

I have shared storage which is mounted (read-only) on SERVER1, and mounted (read-write) on SERVER2. SERVER2 is writing data to a file. SERVER1 is reading data from that file. The file poling is ...
1
vote
2answers
627 views

Clustering filesystem for small files

I'm looking for a distributed filesystem which I could use for storing lots of small files (<1MB usually). What I want to get is: 2 servers which have the fs mounted themselves and mirror the ...
0
votes
0answers
17 views

How to repair multiply-claimed blocks?

I get a lot of the following logs in dmesg: [26159.277230] EXT4-fs error (device sdb1): ext4_iget:3875: inode #394497188: comm mv: bad extended attribute block 22794025699896 [26219.914802] EXT4-fs ...
1
vote
2answers
76 views

Optimize Linux file system for reading ~500M small files

We're seeing performance problems on a file system that contains ~500 M files that are relatively small (typically tens of kb) and ~150 K directories. Files access is predominantly reads and writes ...
2
votes
1answer
22 views

Look through folder capability on Windows and Linux [on hold]

I want to create a user playpen solution that is comprised of a look through pattern. Each user would have his own folder that he can see and write to. This folder will contain his/her personal files ...
6
votes
1answer
2k views

Mount Docker container contents in host file system

I want to be able to inspect the contents of a Docker container (read-only). An elegant way of doing this would be to mount the container's contents in a directory. I'm talking about mounting the ...
0
votes
1answer
35 views

How to list all files of a partition on linux?

I am running out of disk on my rhel box. I am trying to find all files in /dev/sda2. Do we have a command which can give all files (ideally, with size) in filesystem /dev/sda2? /dev/sda2 31297508 ...
5
votes
5answers
15k views

Debian, How to convert filesystem from ISO-8859-1 into UTF-8?

I have a old pc that is running Debian stable, that is in need of a upgrade. The problem is that it is using latin1 (ISO-8859-1) for everything, and since the rest of the world has moved to UTF-8 I ...
1
vote
0answers
22 views

How much usable space will a 2TB+2TB+3TB+3TB btrfs filesystem have with data in RAID-1 mode?

I have a pair of 3TB drives in a btrfs filesystem, and I wish to expand this filesystem by adding two more 2TB drives, using the btrfs device add command. Data in the current filesystem is mirrored in ...
0
votes
1answer
78 views

OpenZFS on OSX filesystem dataset performance issue

tl;dr - My ZFS RAIDZ2 array reads at 7.5+ GB/s and writes at 2.0+ GB/s when I specify a bs=128K or greater with dd. OS X is assuming 1K (as per stat -f %k .) and all my is ~300MB/s; dd gives the same ...
17
votes
2answers
14k views

SSL Certificate Location on UNIX/Linux

Is there any standard or convention for where SSL certificates and associated private keys should go on the UNIX/Linux filesystem? Thanks.
0
votes
0answers
23 views

what happens if a file is modified while it is being copied over the network?

A bit of background... We run Redis on several EC2 machines running the Amazon Linux distro (seems to be based on Centos to me) and currently utilize both the RDB and AOF backups. These files are ...
2
votes
5answers
3k views

Re-sizing disk partition linux/vm

I VM Player running a linux guest and I was wanting to know how do I expand the disk? In the VM player I gave more disk space but I am not sure how to mount/expand/connect the new disk space to the ...
1
vote
1answer
18 views

CorrectFilePaths (or alternative) for Server 2008

I have a server with Windows Server 2008 R2 installed, and a third party application that handles all our business transactions. The problem is, we're running out of space, and the root folder for the ...
4
votes
3answers
1k views

Unable to list contents/remove directory (linux ext3)

System is CentOS5 x86_64, completely up to date. I've got a folder that can't be listed (ls just hangs, eating memory until it is killed). The directory size is nearly 500k: root@server ...
1
vote
1answer
41 views

Recovering data from a drive

I have a server that was running Centos 6. It's been humming along for a few years and I have been backing up data off it on regular basis. All of sudden, and after a reboot, it came up in read-only ...
1
vote
0answers
26 views

What distributed FS, with small files read / write workload perform better?

I have 2 machines sharing storage via iscsi (multipath), soon we add another one, this machines are Web app servers that read small files on shared storage ( < 256kB), and write them back. so we ...
0
votes
3answers
2k 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 = ...
1
vote
2answers
886 views

What are the maximum number of files/directories allowed per directory in common Linux FS?

It is known that ext2/ext3 FS have a rather low limit of about 32k files/directories per directory. It looks like ReiserFS is limited in practice by the r5 hash function which allows about 1 200 000 ...
3
votes
4answers
2k views

Any reason not to use 512-bytes clusters for NTFS?

When creating a new NTFS partition one is asked to choose a cluster size. The default size is 4k but one can choose a smaller sizes, too. 512 bytes is the smallest. The smaller size leads to wasted ...
2
votes
1answer
39 views

How can I warn users about their quotas only once?

I have a number of accounts on a Linux server that have filesystem quotas. I would like to email people only once for each of the following circumstances: The person goes over quota. The person's ...
128
votes
4answers
40k 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
22 views

Is it ok to mkfs and mount the whole disk without partitionate

[root@VM_xxx_centos ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/vda1 8255928 7068948 767604 91% / /dev/vdb 516061624 5966928 483880296 2% /data2 As you ...
2
votes
1answer
76 views

Strange filename encoding

I have a strange issue regarding a filename. Summary of the situation is: [username@xxx tmp]$ ll -rw-r--r--. 1 xxx xxx 42694 8. Jun 19:56 12287_KKL_Messegerät_EF_30.1.pdf -rw-r--r--. 1 xxx xxx 42694 ...
0
votes
1answer
16 views

Make folder writable by multiple users via ACL

Is it possible to set the rights of a folder and all its files in such a way that multiple defined users can add, modify and remove files within? I was hoping to be able to do that via ACLs and I got ...
11
votes
1answer
2k 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 ...
1
vote
0answers
25 views

Recursively lowercase, replace space and remove invalid characters on linux FS [migrated]

I want to recursively run the following commands on a directory as part of a cron. The first line changes everything to lowercase, the second replaces spaces with _ and the third removes all invalid ...
0
votes
1answer
26 views

Mounting Single San Drive on Multiple Hosts

I'm not sure exactly how to ask this, but here goes. We have a san. Within the san, we have the ability to connect a single volume to multiple systems as a raw disk. The Servers themselves would see ...
4
votes
5answers
14k views

How can I get CentOS 5 to recognize an increase in drive space on my VM?

VMWare / CentOS 5.x My CentOS VM system was running low on space so a VMWare admin increased the storage space allocated to the VM. After powering off the system and restarting it, the OS is still ...
-2
votes
2answers
35 views

All the dates and time for files in a folder in windows [closed]

In windows file explorer, I would like to go through all the subfolders in a folder and identify all the files in those folders and sort them by latest date and time. I am trying to figure out when ...
-2
votes
1answer
31 views

BackupPC set blackout on alternate days [closed]

At the moment my schedule settings look like this. How can I only backup to only run on Mondays(1) and Wednesdays(3)? What I want to do is alternate between two BackupPC instances so one would ...
1
vote
1answer
35 views

Why does /sys/fs/ext4/vda1 exist when /dev/vda1 is ext3?

I'm trying to tune my filesystem for some operations I have to do involving huge numbers of files. Then I got confused about what FS I'm even using. tune2fs -l /dev/vda1 contains: Filesystem magic ...
2
votes
1answer
113 views

Creating the exact size FS on xfs

I got a few hundred folders that I need to migrate to a new server. I've been asked to create a xfs FS for each individual folder. Ran a du so I know the exact size of each folder and specified block ...
5
votes
4answers
1k views

Effectively handling 2+ million files

I have a file based DB that has about 2M files stored in 3 levels of subdirectories. 2/2/6253 2/2/6252 ... File a vary from 30 bytes to 60 KB. Whole DB is Read Only. DB is about 125 Gigabytes big. ...
0
votes
0answers
14 views

VZFS partition UUID

On a virtual system I have VZFS file system. It is /dev/vzfs. I need to find partition UUID but commands does not work (blkid); also /dev/disk device does not exist. How can I find this partition ...
1
vote
0answers
69 views

Circular directory structure

I'm having an issue with a circular directory structure warning produced by du and find on my CentOS servers. I have two FreeNAS servers exporting several datasets via NFS which are mounted on the ...
8
votes
7answers
4k views

In *nix, how to determine which filesystem a particular file is on?

In a generic, modern unix environment (say, GNU/Linux, GNU/Solaris, or Mac OS X), is there a good way to determine which mountpoint and filesystem-type a particular absolute file path is on? I ...
2
votes
1answer
2k views

File system full - except it's not

I've a Solaris 8 box which is reporting that a file system is full: db% tail -2 /var/adm/messages Nov 22 08:32:27 db ufs: [ID 845546 kern.notice] NOTICE: alloc: /u03: file system full Nov 22 08:34:51 ...
0
votes
2answers
4k views

Is there a tool to browse a VMWare VMFS datastore hard drive on a PC?

I would like my VMWare ESXi 5 server to have a USB-attached HDD datastore which I'd be able to detach, attach to my laptop and browse files on it. As far as I understand, the hard drive is to be ...
2
votes
5answers
5k views

Performance gains of putting Windows pagefile on separate partition (same disk)?

I am making a drive image that will be deployed to several computers, and I'm tweaking it for performance. It is a Windows XP image. Considering there is only one hard drive, will the machine gain ...
1
vote
1answer
78 views

File Lock on Windows Server

I have a shared excel file stored on a server that continually results in "This file is locked by "another user". Do you want to open as read-only?". This is on a Windows 2003 R2 Server and has had ...
0
votes
2answers
20 views

Posix map fs path to syspath

Is there a safe way to map a filesystem path to a /sys/block/ node. For instance on my system (Ubuntu) my / path is mounted from /dev/disk/by-uuid/7f6a93a7-1e63-48a3-a7e3-b336a2f9dbf7 which is a ...
35
votes
7answers
64k 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 doesnt reflect the freed up space, ...
1
vote
0answers
38 views

Alternative to ReiserFS for storing many small files in one block?

I know that ReiserFS is able to store multiple small files in a single block, and at one time was recommended for use with s3backer because of that feature, as fewer blocks to store on S3 mean lower ...
7
votes
4answers
4k views

Performance difference between ramfs and tmpfs

I need to setup an in memory storage system for around 10 GB of data, consisting of many 100 kb single files(images). There will be lots of reads and fairly periodic writes(adding new files, deleting ...
1
vote
1answer
201 views

How to script parted to resize partition on running root filesystem?

I have a VM template that I use for building other VMs using virt-clone / KVM. The VM template is 4GB to save space. The storage for VMs that I build from this are on iSCSI targets or LVM volumes ...
0
votes
1answer
174 views

OpenBSD automatic filesystem check at reboot

I want my openbsd server to boot, no matter what and dont break with waiting for manual FSCKing. It's easy to do in linux, but in obsd it just doesnt want to be "auto". Last time I set the 6th,7th ...