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)

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 ...
5
votes
4answers
983 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
9 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
17 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 ...
7
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 ...
1
vote
0answers
22 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 ...
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 ...
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 ...
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
40 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
16 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 ...
34
votes
7answers
60k 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
20 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 ...
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 = ...
7
votes
4answers
3k 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
73 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
153 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 ...
1
vote
1answer
38 views

Why is my loop device size 0?

Why is my loop device not 600G in size? $ fallocate --length 600G sysvol $ sudo losetup --find sysvol $ sudo losetup --all /dev/loop0: [0831]:13 (/.../sysvol) $ sudo losetup --set-capacity ...
8
votes
6answers
18k views

Is there any other reason for “no space left on device”?

I am using Dirvish on a Ubuntu server system for backing up a hd to an external usb 3.0 drive. Until a few days ago, everything worked fine, but now every backup fails with "no space left on device ...
1
vote
5answers
825 views

Does Linux have some tools like mtree in *BSD?

I want to check all system files change every week. So I want to get a tool like mtree in BSD.
5
votes
1answer
76 views

Getting Error: “No space left on device” for a particular filename

I have a ext4 volume with lot of files inside a particular directory. Whenever I am trying to create a file inside it of a particular name, I am getting "No space left on device" error. $ touch ...
4
votes
1answer
2k views

Does increasing the journal size improve performance for ext4 filesystems?

There is an article on linux-mag which says that increasing the size of the journal on ext4 filesystems actually improves filesystem performance for very large partitions. I'm wondering if anyone ...
10
votes
10answers
969 views

How does the number of subdirectories impact drive read / write performance on Linux?

I've got an EXT3 formatted drive on a Linux CentOS server. This is a web app data drive and contains a directory for every user account ( there are 25,000 users ). Each folder contains files that ...
7
votes
2answers
17k views

In unix/linux, what is the proc directory for? why does it exists? [closed]

In unix/linux, what is the proc directory for? why does it exists? What can I use it for (if not just for the system)?
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
2answers
10k views

Setup symbolic link where users can access it with FTP

I have a folder on a server where a client of mine has a bunch of folders that they upload images and what not for a site, I do a symbolic link to those folders to the root of the website. This way I ...
0
votes
1answer
118 views

Debian 8 Systemd fstab can't mount file system

Just upgraded to Debian 8. And system can't be booted because of this two lines in /etc/fstab: /dev/data/server/ /data ext4 defaults 0 2 /data/vmail /var/vmail none ...
126
votes
4answers
39k 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 ...
0
votes
0answers
26 views

Cross-platform filesystem watcher, running in VM watching host?

Can anybody suggest a way to copy data from a VM's host to the VM[0] in way that is cross-platform across hosts (i.e. Windows, Mac or Linux)? Right now, I'm achieving this by running rsync in the VM ...
5
votes
2answers
2k views

Re/Installing an MSI, getting 'not a valid short file name' error

We are running windows 2008. We have a windows service called ImportService, that is installed via an MSI package. A previous version was installed about 3 months ago without problems. When have ...
11
votes
1answer
4k views

Read/write access for passthrough (9p) filesystems with libvirt/qemu?

I have recently started experimenting with the support for passthrough filesystems in recent versions of KVM/QEMU/libvirt. Making the filesystems available for read access has "just worked", but I'm ...
0
votes
3answers
200 views

Copy/Paste for large file crashing Windows

I have a new Dell PowerEdge T320 server with 1 SSD non-RAID and 3 HDDs in RAID 5 all on one Perc H310 controller. RAM is 48 GB and I have Windows Server 2012 R2 Data Center installed on the SSD. I ...
-1
votes
1answer
28 views

Can OpenAFS be used as NFS?

I have an application that only runs on Linux, which will generate ~500TB of data over the next year, which all must be kept and backed up each day. It would be temping to go with ZFSonLinux or ...
0
votes
1answer
40 views

Server ran out of HD room

A rogue script brought my centOS-based server to its knees and resulted in 0 bytes of HD room left. I since fixed the issue and everything seems to be running normally. So my question is, what ...
0
votes
1answer
32 views

Ubuntu - mounting partitions as read only

I have a server which has probably been shut down one time too many as a result of power cuts. Now when I log in, it's mounted every partition I can see as read only. I've looked up the solution, ...
0
votes
1answer
109 views

CentOS 6.6 Doesn't Boot. Stucks at Enabling local filesystem quotas [ok] [closed]

I am running radius server on my CentOS 6.6, yesterday I tried to reboot my machine with sudo reboot with using Putty. It didn't restarted for some reason and I had to go to my DataCenter. When I shut ...
0
votes
1answer
42 views

File system preventing execution of files

So I have a particular ext4 drive that doesn't allow me to execute files. I have the following example in bash where even with sudo and with the file having execute permissions for all users, the file ...
15
votes
8answers
13k views

What is the best filesystem for insert performance on PostgreSQL?

I'm curious if anyone out there has done any experimentation or comparisons between file systems and database performance. On Linux, I'm wondering what is the optimal file system for a postgres ...
2
votes
1answer
69 views

VXFS (veritas) File system filling up - except it's not

I have a Solaris 10 server which is reporting that a file system is filling up: # df -h /opt/CSCObac/var Filesystem size used avail capacity Mounted on ...
0
votes
1answer
177 views

XFS as default filesystem in the enterprise

After reading up on the whole data=ordered fiasco that EXT4 went through and how much support there was on it accommodating "broken" applications, I was surprised that a filesystem that is not ...
0
votes
2answers
19 views

Controlling file naming pattern conventions on a file share

We have a shared folder on a server, where sales managers ought to save incoming requests, invoices and other documents. Different types of documents separated by folders. Before now managers name ...
0
votes
0answers
19 views

JPG file and other of higher size not downloading

We have a SAP application for official use wherein all the documents are uploaded and saved in a server and from where it can be downloaded by anyone after logging in the server with his/her user ID. ...
13
votes
3answers
4k views

max files per directory in ext4

I manage an application that contains a filestore in which all the files are stored with the filenames equal to their md5 sums. All files are stored in one directory. Currently there are thousands, ...
3
votes
2answers
874 views

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

Put “.nfs” files created by NFS client in another location?

The setup is a Linux machine that mounts a filesystem over NFS. There is a process that needs to recursively remove directories on the NFS filesystem and ensure the directories are successfully ...
0
votes
1answer
23 views

Empty file shrinks after creating FS

I have a problem with my Server which freaks me out. I want to create a empty file and mount the file afterwards as a loop device. So I try this: dd if=/dev/zero of=/tmp/loop.img bs=1024k count=10 ...
1
vote
1answer
110 views

MHDDFS randomly breaks

I am using MHDDFS to pool a bunch of large disks together into a single filesystem that I can easily share across a network. For some reason every now and then the virtual filesystem seems to fall ...
9
votes
2answers
16k views

How long should resize2fs take on a 1TB partition?

I've got a new computer at the university and almost set up everything for myself on it when I've noticed that the previous user of the machine used a huge 1TB ext3 partition only. I usually keep ...