Questions tagged [filesystems]

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.

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. A file system organizes data in an efficient manner and is tuned to the specific characteristics of the device. A tight coupling usually exists between the operating system and the file system. Some file systems provide mechanisms to control access to the data and metadata. Ensuring reliability is a major responsibility of a file system. Some file systems allow multiple programs to update the same file at nearly the same time.

1986 questions
16
votes
8 answers

'Permission denied' to a file I own?

My user, bob, can't access files that he (theoretically owns). I'm running Fedora Core 8. It probably easier to shown than tell: > ls -al . total 32 drwxrwxr-x 7 bob bob 4096 May 18 14:33 . drwxrwxr-x 4 bob bob 4096 May 12 15:44 .. drwxr-xr-x 2 bob…
Gordon Wilson
  • 263
  • 1
  • 3
  • 6
16
votes
8 answers

Optimal UNIX File System Partition + Setup Strategy

When partitioning a new system disk(s) for UNIX, what is your prefered strategy for both desktop and/or servers? Please include disk partition layout, file system format(s) and options, mount points, RAID level(s), LVM groups and volumes,…
cmcginty
  • 1,303
  • 15
  • 24
16
votes
5 answers

Is there a way to create a copy-on-write copy of a directory?

I'm thinking of a situation where I would have something that creates a copy of a directory, tweaks a few files, and then does some processing on the result. This wold be done fairly often, maybe a few dozen times a day. (The exact use case is…
BCS
  • 1,065
  • 2
  • 15
  • 24
15
votes
1 answer

How can you shrink an XFS filesystem?

I have an xfs filesystem that has some free space. Can I shrink it? I know of xfs_growfs. And there is resize2fs and resize_reiserfs. Side question: is xfs not a good filesystem choice for bulk longterm file storage?
Paul Tarjan
  • 569
  • 3
  • 8
  • 17
15
votes
4 answers

Command line recursive/deep directory copy in Linux?

What is a good, general way to make a recursive/deep directory copy in Linux that works in most cases? I've used simple things like cp -R as well as fairly elaborate cpio incantations. Are there any significant strengths or weaknesses that cause you…
Greg Mattes
  • 324
  • 1
  • 4
  • 11
15
votes
7 answers

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 (28)" and "file system full". Unfortunately it is…
dummzeuch
  • 607
  • 1
  • 9
  • 20
15
votes
1 answer

Resizing a LUKS encrypted volume

I have a 500GiB ext4 filesystem on top of LUKS on top of an LVM LV. I want to resize the LV to 100GiB. I know how to resize ext4 on top of an LVM LV, but how do I deal with the LUKS volume? mgorven@moab:~% sudo lvdisplay /dev/moab/backup ---…
mgorven
  • 30,615
  • 7
  • 79
  • 122
15
votes
3 answers

How can I mount a partition on every reboot?

I have a partition mounted with mount -t ext3 /dev/sda3 /foo. Each time I reboot, I need to remount. How can I keep this mounted after every reboot?
coffee
  • 239
  • 2
  • 4
  • 6
15
votes
5 answers

How do I list a file's data blocks on Linux?

As I understand it, each file on a Unix-like operating system has an inode number (which can be viewed with "ls -i"), and each inode is a list of disk blocks that contain the actual data of a file. Is there a Linux command which takes a filename as…
mike
  • 3,963
  • 11
  • 30
  • 27
15
votes
5 answers

mirrored filesystem across a few servers

I'm looking for a solution to mirror or replicate one directory (or one filesystem) across a few Linux servers. Ideal solution would be one, which permits all servers read-write access. I also want it to me resilient, if one of the servers goes…
vartec
  • 6,217
  • 2
  • 33
  • 49
15
votes
4 answers

kjournald reasons for high usage

I'm trying to figure out why is kjournald going crazy on my machine. It's an 8-core box with loads of memory. It's got ~50% cpu load. The iotop doesn't seem to point at any specific processes - some bursts of writes here and there (mostly cron…
viraptor
  • 1,296
  • 6
  • 21
  • 41
15
votes
3 answers

How to remove "._" files in a directory? Ubuntu

Is there a command line to remove all "._foo.html" files in a directory on Unbuntu?
Christopher Altman
  • 769
  • 4
  • 12
  • 20
15
votes
6 answers

Linux: Case-INSENSITIVE Filesystem

What methods are there to make the Linux filesystem case-INSENSITIVE ? I have asp.net applications developed on Windows, but there are always issues with capitalization/spelling on mono when putting it on Linux. One way is to mount a localhost SMB…
Quandary
  • 1,024
  • 4
  • 19
  • 36
15
votes
6 answers

What are the differences between ext3, ext4 , ReiserFS?

And why should I pick one instead of the other?
Andrea Ambu
  • 480
  • 1
  • 8
  • 13
14
votes
9 answers

Listing the largest files on disk in Windows

I'm after a list of the largest files on a windows box, i.e. Not just in one folder, but anywhere on the disk. Is there any easy way of getting this?
Codebeef
  • 1,449
  • 4
  • 19
  • 20