A filesystem is a way to organize and store computer files with their data.

learn more… | top users | synonyms (2)

4
votes
3answers
399 views

What would be a good choice for an elastic file system (for adding storage at a later date)?

I'm currently running a Debian 6.0 server with EXT3, but I'd like to move over to Arch. It's being used as a file server right now with a 1TB drive in it (of which 650GB in it is used). What I'd like ...
2
votes
2answers
846 views

How to run e2image to backup a remote CentOS server?

Our server is hosted out of the country, I just have SSH access. I want to take an image backup of my server. I found the e2image utility to take an online backup of that server, but when I run ...
5
votes
1answer
296 views

Why do I need ntfs-3g when I have already enabled NTFS support in the kernel?

When configuring the kernel I see an option to add read-write support for NTFS. Then when mounting my NTFS partition I still have to install ntfs-3g and pass ntfs-3g as the type. I thought if I add ...
1
vote
2answers
334 views

How are directories managed in the filesystem?

On behalf of this particular question I would like to know how directories are managed in the file system. What does the author of the above question mean by telling each directory has n+2 ...
55
votes
3answers
2k views

Why does '/' have an '..' entry?

This just baffles me. Why does the root directory contain a reference to a parent directory? bob@bob:/$ ls -a . build home lib32 mnt .rpmdb sys vmlinuz .. cdrom ...
14
votes
3answers
2k views

Is there a limit of hardlinks for one file?

Is there a limit of number of hardlinks for one file? Is it specified anywhere? What are safe limits for Linux? And what for other POSIX systems?
2
votes
2answers
5k views

Formatting external drive in CentOS previously used on OS X

I have a USB key they I want to use on a CentOS box. The USB key was previously used on OS X so I want to erase it to make it writable by CentOS. Can someone help me with the commands I need to run? ...
1
vote
1answer
2k views

Compared to other filesystems why is ZFS so slow, with incoming data?

Ok. I get about 1/3 of the speed on the same drives when using ZFS. Now, I understand that ZFS is self-healing and that everything is also stored with its hashes. This makes it safer to use. I ...
6
votes
4answers
2k views

How to setup a “data” partition shared by multiple Linux OS'es?

Currently I have a NTFS partition that contains shared data. My rationale is, NTFS doesn't have any idea about file permissions, so I won't have any trouble using them in a multi-boot system ...
8
votes
2answers
1k views

How to repair an ext3 partition after broken resize operation?

I was using gparted to resize a near-terabyte ext3 partition, adding about 40 GB to the left. After nearly 12 hours of moving data (and with 23 more hours estimated to remain) the system hung. Now ...
6
votes
2answers
12k views

How do you make samba follow symlink outside the shared path

This is Ubuntu server 10.04 64 and samba 3.4.7. I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one: ln -s /home/temp /home/mit/share/temp But on ...
3
votes
1answer
7k views

Mount samba filesystem into RHEL 5.5

I have a trial RHEL version for a proof of concept where I was asked to mount a windows filesystem into linux. I tried mount -t smbfs -o username=samba,password=samba //Desktop/Public /mnt/public ...
3
votes
1answer
6k views

What is an inode? [duplicate]

Possible Duplicate: What is a Superblock, Inode, Dentry and a File? Documentation of Unix-file-systems contains often the term 'inode'. What is that and what does that? Why have ...
34
votes
3answers
9k views

What is the difference between procfs and sysfs?

What is the difference between procfs and sysfs? Why are they made as file systems? As I understand it, proc is just something to store the immediate info regarding the processes running in the ...
1
vote
1answer
1k views

What is the significance of Linux's Disk caching Mechanisms?

I would like to know the exact meaning and significance of Linux's Disk caching Mechanisms. In one of the articles I have read, page cache and dentry cache are two forms of them. Could somebody ...
4
votes
1answer
7k views

e2fsck: unable to set superblock flags on LogicalVolume

When I boot my machine either in normal mode or runlevel 1 it throws following error and I'm unable to boot the machine: checking filesystems /dev/MyGroup/LogVol00: UNEXPECTED INCONSISTENCY; RUN ...
53
votes
5answers
39k views

What is a Superblock, Inode, Dentry and a File?

From the article Anatomy of Linux File Systems by Tim Jones, I read that Linux views all the file systems from the perspective of a common set of objects and these objects are superblock, inode, ...
5
votes
1answer
366 views

What is the typical file limit of a folder on *nix file systems?

Obviously, if you stick a lot of files in one folder, the efficiency of various file operations is going to go down (e.g. ls takes a lot longer). However, what's the limit for how many files you can ...
9
votes
3answers
2k views

What are the benefits and downsides to use FuseFS filesystems?

I know some filesystems present themselves through Fuse and I was wondering about the pros and cons to this approach.
8
votes
2answers
342 views

How is file ownership affected across different systems?

As I understand Unix file systems, any file on a unix system must belong to a group and a user of the said system. A file cannot belong to a group or user that does not exist on the system. From that ...
3
votes
1answer
405 views

Are there any differences between mounting a /proc filesystem inside a chroot compared to mounting it from the outside?

Compare the following: mount -t proc none ./my_chroot/proc and: chroot ./mychroot mount -t proc none /proc
2
votes
2answers
156 views

Why does truncate fail for sizes above 2043G in ext3?

Why does this work: truncate -s 2043G foo ...while this fails: truncate -s 2044G foo Why 2043 gigabytes, of all values?
14
votes
1answer
7k views

Number of files per directory

I have a directory with about 100000 small files (each file is from 1-3 lines, each file is a text file). In size the directory isn't very big (< 2GB). This data lives in a professionally ...
2
votes
1answer
671 views

immutable-like flag for perms

Is there any chattr flag that would allow me to lock a file's unix permissons, and not change them without resetting the flag? The file itself should still be modifiable, I just want to prevent ... ...
1
vote
4answers
143 views

Linux compability file system

I need to develop a file system for Linux for my diploma work. Where can I find infomation about this theme? How can I test it and other?
3
votes
1answer
3k views

what does the “a” in chattr +ia do?

what does the a in chattr +ia <filename> do? and why would you add the a in combination with the i? note: I know the i is for immutable
4
votes
2answers
798 views

Mount windows Users directory as /home in linux virtual machine

I'm setting up a laptop for a friend and I'm going to put linux on it in a virtual machine and I want to make it as seamless as possible. I've mounted the \Users\Username directory in a VM before and ...
6
votes
2answers
4k views

root user denied access to .gvfs in rsnapshot?

I was running rsnapshot as root and I got the following error. Why would this happen? what is .gvfs? rsnapshot weekly slave-iv ...
6
votes
2answers
880 views

I/O-overhead of dm-encrypted device?

What would be the Read-/Write-overhead when using dm-crypt (LUKS) as full disk-encryption (including root partition) on a Linux-Desktop (Ubuntu)? I plan to stack it like so: LUKS > LVM > ext4 The CPU ...
14
votes
1answer
8k views

How do you use badblocks?

I need to do a destructive (rw) test on a new drive, and a read-only on a drive that fell out of my RAID array. I want to see if it finds problems and how far along it is.
2
votes
2answers
845 views

NTFS Junctions and Unix Hard Links

I'm building an IO abstraction library for CIL code, and I have a very hard time understanding the differences between a junction between two folders in NTFS and hard links. Are they equivalent? Are ...
5
votes
6answers
260 views

What's the best tool chain or single tool to transform a NTFS to ext[n] filesystem?

I've decided to go Linux only, finally! This also means that I have a bunch of disks still under NTFS. I don't have spare space anywhere to transfer the files to and then just re-format the drive so ...
21
votes
2answers
3k views

understanding “mount” as a concept in the OS

I want to understand what mounting is. It is used in different contexts and situations and I can't find resources which: Describe the mount concept Explain the actions taken by the ...
4
votes
6answers
8k views

What is the use/meaning of 'swap area' while linux installation?

When i installed ubuntu in my x86 machine, I had to configure some memory as 'swap area'. What is the use of this memory and what is the importance of this memory in linux file systems? How can I ...
1
vote
1answer
366 views

error using “du” command

I am on the university machine trying to estimate the disk usage I have on my space I do du -csh ./ from the begining of my account, but an error is given that ./Yesterday/Yesterday is not a ...
9
votes
1answer
144 views

Strategies for maintaining a reference to a file after it was moved or renamed?

I've had a mac at work lately, and was amazed to see that Xcode would still find my latest project after I renamed its folder and moved it someplace else. Now I understand that this is the result of ...
6
votes
2answers
887 views

linux: How to determine the best filesystem format?

About a year ago I changed from running Windows as dual boot to very rarely running Windows as a VM. As a result most of my partitions are in ntfs ( so I had access on both sides of the boot ). I have ...
8
votes
5answers
5k views

Can I determine the number of sub-directories in a directory using `ls -l`?

When displaying directories using ls -l, their number of links (the second field in the output) is at least two: one for the dir name and one for . $ mkdir foo $ ls -l total 2 drwxr-xr-x 2 user ...
11
votes
4answers
4k views

Serve files over USB

I would like to be able to serve a section of my box's file system over USB to another computer. For example, if the files are on box A and I am reading from box B, then B would mount A, see those ...
8
votes
1answer
529 views

Can I convert an ext3 partition into ext4 without formatting?

my home directory is on a separate partition which still uses ext3. Is there a way to convert this partition into ext4 in a non-destructive way?
9
votes
4answers
627 views

filesystem for archiving

I have some complex read-only data in my file system. It contains thousands of snapshots of certain revisions of a svn repository, and the output of regression tests. Identical files between snapshots ...
33
votes
2answers
48k views

timestamp, modification time, and created time of a file

I just know that ls -t and ls -f give different sorting of files and subdirectories under a directory. What are the differences between timestamp, modification time, and created time of a file? How ...
3
votes
5answers
938 views

Using a differencing, aka overlay, aka union, file-system with commit capability

I work in two PCs and I sync all my files from my primary PC to a USB flash memory. In my second PC, I mount the USB flash memory to the same path to work on my files as I were on my primary PC. Now ...
12
votes
2answers
3k views

games directory?

On a standard filesystem, we have: /usr/games /usr/lib/games /usr/local/games /usr/share/games /var/games /var/lib/games Is this a joke, or is there some history behind this? What is it for? Why do ...
6
votes
2answers
401 views

Defragging an ext partition?

Why don't ext2/3/4 need to be defragmented? Is there no fragmentation at all?
4
votes
2answers
2k views

Remove a corrupted file in a Linux system

How to remove a file that is corrupted? In Linux (Fedora based), when I type: ls -l I get drwxr-xr-x. 2 dmiller3 dmiller3 4096 Jul 26 13:57 SomeFile ?????????? ? ? ? 4096 ...
4
votes
2answers
2k views

what is commit=0 for ext4? does mdadm not support it?

I see this in my dmesg log EXT4-fs (md1): re-mounted. Opts: commit=0 EXT4-fs (md2): re-mounted. Opts: commit=0 EXT4-fs (md3): re-mounted. Opts: commit=0 I think that means that dealloc is disabled? ...
13
votes
4answers
3k views

Rock-stable filesystem for large files (backups) for linux

What filesystem would be best for backups? I'm interested primary in stability (especially uncorruptability of files during hard reboots etc.) but how efficiently it handles large (>5GB) files is also ...
4
votes
2answers
446 views

Is a journaling filesystem a good idea with a dm-crypt encrypted drive?

I was looking at dm-crypt and have seen that you can use whatever filesystem you like on top of the encrypted drive. So I was wondering if a journaled filesystem is a good idea as opposed to a ...
10
votes
4answers
5k views

What directories do I need to back up?

What are the directories one should back up, in order to have a backup of all user-generated files? From a vanilla debian install, I can do enough apt to get the packages that I want. So if I don't ...