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
2answers
74 views

Program complains not enough disk space even if the disk space exists

I have an EXT3 partition mounted in ordered data mode. If a power failure occurs when a program is creating files on that partition, I see that space usage reported is normal and I don't see any ...
0
votes
2answers
1k views

Fedora, fsck fails at boot

I'm facing a problem in my server during the startup. This is my actual configuration: 320GB each. Raid1 -> /dev/md127. Working. /dev/sda /dev/sdc 1000GB each. Raid1 -> Use to be /dev/md126, ...
0
votes
1answer
38 views

Determine filesystem type without partition table

I have an old 16GB SCSI hard drive with some important files I'd like to backup. The problem is cfdisk doesn't recognize the hard drive, it says the partition table is zero. Another problem is, I ...
1
vote
3answers
295 views

Distributed filesystem for storing temporary files

We have a cluster of web servers that currently stores temporary files (that have been uploaded by users) on a central shared filesystem. The limitation being that anytime the server containing the ...
0
votes
0answers
627 views

Direct I/O on Linux

I'm trying to enable Direct I/O on /opt (/dev/sda6, ext4) on Linux Mint 13. What I'm trying is: mount -o dio,rw /dev/sda6 /opt as root. The system responds with: mount: wrong fs type, bad ...
2
votes
3answers
121 views

zfs on a single device: what happens when a file is corrupted?

It is written everywhere that ZFS is helpful even if you only have one physical device, because it will tell you about data corruption due to bit decay and such. However, can it actually address such ...
0
votes
0answers
36 views

How to rearange disks with a new SSD

Here is the problem: I have a Debian server with only 4 disk bays. At the moment there are 4 x 1GB SATA disks in software RAID 10. I'd like to swap one of the SATAs with a 1GB SSD disk and move the OS ...
1
vote
1answer
42 views

What allows a mail server to operate faster or handle more mail? [closed]

I realize that this may be better suited for StackOverflow.com instead, however as I'm not much of a developer, I worry those answers may be way too developer-centric. Although, I would like some ...
6
votes
1answer
1k views

In NTFS, what's the difference between sector size, block size and cluster size?

For example, I have a volume with the following info extracted from ntfsinfo: $ sudo ntfsinfo -m /dev/sdb1 Volume Information Name of device: /dev/sdb1 Device state: 11 Volume ...
2
votes
1answer
295 views

Linux: File is not shown in ls but cannot be touched with message “File exists”

I can remember creating this file but it disapeard. But not completely: root@XXX:/etc/vz/conf# ls -al total 0 drwxr-x--- 2 root www-data 0 Okt 1 16:04 . drwxr-x--- 2 root www-data 0 Okt 1 16:04 .. ...
0
votes
1answer
33 views

Photo storage / sort [closed]

I'm wondering what the best practice is for photo storage. I'm in the business of storing photos with a user. Each user can have up to 35 photos and we currently have around a 100k users. I currently ...
4
votes
3answers
244 views

How to allow SSH logins even when filesystem forced check fails

Intro I'm having a problem with a few servers (CentOS 6.4) in a production environment, the problem is making the servers crash from time to time and we need to actually reboot those server in order ...
3
votes
1answer
142 views

Does having too many files on a filesystem significantly impact io performance?

My sysadmin is telling me that we should remove old static files from a server and store them in a database instead because having too many files on a filesystem impacts the general performance of the ...
-2
votes
1answer
53 views

What tool/application (free or not) should I use to generate and write lots (TBs) of data, fast [closed]

I am testing a storage appliance and need to write TeraBytes of data to it. Using fio or dd takes days to write that much amount of data. Are there any (free or not-free) tools/applications, that I ...
4
votes
3answers
276 views

Store multiple versions of large binary file with minimal data duplication (preferably Linux)

I need to store multiple versions of a ~ 150 GB binary file (qcow2) on Linux servers with local storage, and was hoping there is some solution that involves just keeping diffs that can be merged as ...
6
votes
1answer
209 views

Correct usage of /srv on debian systems

I'm a bit confused about what goes inside /srv and looking for good practices about its usage on Debian. Acording to the FHS: "/srv contains site-specific data which is served by this system". ...
12
votes
1answer
498 views

ext4 listing of files very slow in one specific directory that contained lots of files before

Background I had a small logrotate misshap... Logrotate would rotate the archived logs by misstake causing a quadratic growth of files in my /var/log/. And by the time I caught wind that something ...
8
votes
2answers
530 views

Why “lsmod | wc -l” not equal “ls /sys/module | wc -l”

Why do these two commands return different results? lsmod | wc -l 100 ls /sys/module | wc -l 138
4
votes
1answer
462 views

“No space left on device” error when writing certain session filenames

I have some filenames (session files) that can't be written ("No space left on device"). Other filenames (same directory) are fine. Disk is not full. The filesystem is ext3 PHP is giving an error ...
7
votes
2answers
363 views

How can you find the parent snapshot of a zfs clone?

I made a clone of zfs filesystem that has a number of snapshots. I also have several replicated copies of the filesystem. How can I find which filesystem/snapshot a clone is attached to? (Seems ...
4
votes
2answers
402 views

inconsistency between du -sh and df -h

I know this is a common occurrence when the result of du -sh is smaller than that returned by the file system with df -h. (Because some files are still open in processes etc..) But in my case I have ...
2
votes
1answer
110 views

IIS 7 - Windows Server 2008 combine to make file locked, causing IIS to overload

I have this issue where approximately once a year, one of my images in my asp.net web app becomes locked. By locked I mean you can't read/write/delete it, and if you try to, your remote machine ...
0
votes
1answer
91 views

Fedora install in Virtualbox expands to fill drive

I recently completed a Fedora 19 install on an 8GB virtual drive in VirtualBox. For some reason though, it appears as though I have run out of space! Surely my 951MB Fedora .iso can't have expanded ...
3
votes
2answers
79 views

Next-gen filesystems: disk space usage log?

From time to time I run into problems when server hard disks (Linux) fill up quickly with lots of small files. When this happens I have to try to figure out how much space is being taken up and where ...
-1
votes
1answer
71 views

any tool/script to import a file listing / directory structure into a relational database? [closed]

...along with some basic metadata like dates and sizes Should work on windows, otherwise DB and platform/language does not matter much. Although I can and earlier have scripted stuff like this, I do ...
2
votes
1answer
200 views

How long does Linux (by default) cache information about files in the disk?

I'm testing whether some changes I made to some code are effective or not. For this, I need to know how the file system cache normally works. I'm assuming the default is what we're getting, since we ...
1
vote
1answer
99 views

Is there downtime by remount /tmp

Just want to know, Is there any downtime by remounting /tmp filesystem. step 1. mount -o remount defaults,exec /tmp step 2. mount -o remount defaults,noexec,nosuid,nodev /tmp
1
vote
2answers
66 views

Fetching all PHP files and store their size

I like to monitor every php file with their size (and if a new file has been added). On my server are more than 200 000 of em so find takes very long. This is what I do: ls -1 --size $(find -P . ...
1
vote
1answer
72 views

cvs accidentaly breaks rcs file

I have an cvs server with pretty big binray file (about 50Mb) and its rcs file is about 2G Today I discovered that file update returns an error: cvs [update aborted]: unexpected EOF reading ...
0
votes
1answer
143 views

Accessing iSCSI LUN from OS X and Debian simultaneously

My setup is the following: Synology Disk Station as iSCSI target OS X 10.8 as client Debian as client I don't like to know that I should use WebDAV or similar file sharing protocols. I'd like to ...
3
votes
3answers
293 views

Cleaning up junk and logs on unix/linux

I manage some unix systems, and users on my system are creating a lot of junk and littering their work areas. I am running into filesystem full every day. There are many terabytes locked up and is ...
2
votes
2answers
1k views

How to determine POSIX advisory file locks are working in simfs in the VM I'm using?

I'm looking for a command-line utility or some other way to test effectiveness of file locks, specifically POSIX advisory locks (which aren't only for POSIX, btw) in a Linux filesystem. Specifically, ...
1
vote
0answers
113 views

How do I speed up “ls -l” on a network file system (NFS)?

I have a NFS volume mounted in the following way: theHostname.com:/path/on/theHostname on /local/path type nfs (rw,nosuid,addr=10.0.0.54) The /local/path directory has 30_000 files. When I do a ls ...
0
votes
0answers
28 views

Can quotas be turned on automatically when file system is mounted?

I was not clear on this point-- I have quotas enabled in /etc/fstab for several file systems on a file server. However, I have noticed that if I unmount the file system and then remount it (ext4), ...
2
votes
1answer
104 views

Why do some files in dir list appear in red & have '?' instead of the file properties?

I've just found that in at least one user's Maildir some of the files in the cur directory appear 'flashing'(!) in red in my terminal and the same files have their properties/attributes replaced with ...
1
vote
0answers
136 views

Can't mount ecrytpfs as a non-root user on Red Hat

I'm trying to mount a ecryptfs volume on Red Hat as a regular user. ecryptfs-utils is installed from source (repos only contain old versions). Mounting as root works normally, but trying with a ...
2
votes
1answer
49 views

File system permissions lost or unseen

Ok, I have an apparent WTF question here. I log as root, I run: # ls /var/lib/gitolite3/.gitolite/logs/ -l -rw-rw-rw-. 1 gitolite3 gitolite3 5570 Aug 2 21:00 gitolite-2013-08.log No problem? I ...
3
votes
4answers
3k views

Cannot install centos 6.4 with XFS

I would like install centos 6.4 and use XFS as filesystem for some partitions in my configuration. But Anaconda don't propose XFS in the filesystem choice. Then I try to install in text mode but in ...
1
vote
1answer
88 views

Is there an issue with too many entries in a directory?

We have a system that uses Jira, and Jira stores attachments to tickets in /opt/jira/jiraattachments. Under that directory is the project name RRT, and under that is a directory of tickets. Thus, ...
0
votes
2answers
69 views

LVM system space is not consistent

I have found some problem in my server, here it is: df -H | columt -t Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_test-lv_home 212G 177G 25G 88% ...
1
vote
1answer
76 views

Mount a iscsi target volume natively

I have a LVM logic volumn exported though iscsi and formatted by the client to ext4. Now that machine serving the iscsi target went down and I'm wondering if I can just take the hard disk out to ...
2
votes
1answer
847 views

What are the side effects of a full root partition?

I have a mission critical server running that I cannot take down (or at least, I'm told I can't right now). It unfortunately filled it's root partition up. It's running a custom process that's ...
2
votes
2answers
315 views

How to rename junction without breaking link

If I rename a folder which is the target of a (or multiple) junction, is there any way to update all the junctions to point to the renammed folder instead of just breaking?
0
votes
0answers
69 views

Prevent mountpoint from being remounted read-write

Is it possible to force a filesystem to be read-only, unable to be remounted (even by root) as RW? It is not necessary that the mounted volume be recoverable after reboot. One way I have experimented ...
0
votes
2answers
545 views

Why don't linux distributions default to mounting tmpfs with infinite inodes?

According to this answer it is possible to mount at least tmpfs with "infinite" inodes. Consider this specific (numbers chosen for example purposes, I know that they're not realistic) situation: ...
-1
votes
1answer
469 views

Impossible to read / delete some files

How can I fix a message like this (read after a dmesg command)? EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197 EXT4-fs error (device hdb1): ext4_free_inode: bit already ...
2
votes
1answer
276 views

How to grant somebody “Take ownership” privilege?

I have a Windows 2008 R2 machine. My machine itself is not a domain controller but is joined to a domain. In Local Security Policy, under Security Settings > Local Policies > User Rights ...
1
vote
0answers
369 views

Slow network file access on windows 2008

We have a really poor business application that uses access databases (I know, fail!) as its back end. There are lots of access db files it uses, all about 4mb in size. If I copy the files locally ...
0
votes
1answer
124 views

Add new partition to Centos hard drive

My hard drive currently has (I believe) 2 partition; boot (sda1) and everything else (sda2?). Some of the hard drive is also being used as swap memory, but I don't really understand how that effects ...
3
votes
1answer
544 views

rsync copying entire files instead of difference

I have 2 remote folder containing few files. I am using rsync to sync the 2. The thing is that on the first server files are strictly just APPENDED with new data every day. When I call rsync it seems ...