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
8
votes
1 answer

Error: No space left on device when starting/stopping services only

I know there are multiple questions like this already, but none of their answers applies to my problem. So I tried to upgrade from Debian 7.7 to Debian 8.1. Every works fine, but certain operations reports Error: No space left on device. df…
OptimusCrime
  • 385
  • 1
  • 3
  • 10
8
votes
1 answer

What is dd if=/dev/zero of=/EMPTY bs=1M

Often times I see this command for use when creating a Vagrant box sudo dd if=/dev/zero of=/EMPTY bs=1M To me it seams that it is copying a lot of NULL characters into a file named EMPTY at the FS root 1MB at a time. My question is how does doing…
Heath N
  • 183
  • 1
  • 3
8
votes
2 answers

Storing duplicate files efficiently on linux

I host a lot of websites and our system makes it easy to duplicate items in these sites which is handy, but leads to lots of duplicated (and potentially quite large) files. I was wondering if these is any mechanism in linux (specifically Ubuntu)…
Brendon Muir
  • 243
  • 1
  • 6
8
votes
3 answers

Root filesystem filling up, no big files

So im a very new sysadmin, just got out of school and doing my internship. Only problem is that im the only sysadmin in the place and no one to show me the job. Anyway, it's a very small company, one CentOs server with that configuration…
littleadmin
  • 177
  • 1
  • 1
  • 11
8
votes
1 answer

How do NTFS permissions become improperly ordered?

I have some files on a network share and they were read-only accessible to users. I had set the permissions to provide full rights to all domain users - when I checked the main folder, this was still set, but at deeper levels it was sent to…
David Mackey
  • 697
  • 2
  • 15
  • 30
8
votes
5 answers

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 plan to convert this computer as well. And for…
Johan
  • 805
  • 2
  • 8
  • 13
8
votes
7 answers

Keeping track of filesystem changes on Linux

After installing an update/a new package there seems to be no standarized way to explore the changes made to the file system. A simple utililty creating a filelist of the whole system before and after installing something would help a lot, since…
idontregsorry
8
votes
5 answers

Practical uses of the immutable flag in Linux

Does anyone have real world scenarios where they've used the immutable flag in Linux? chattr +i file.txt Since root can unset the attribute, it seems like you're protecting the file against users who have root access but aren't aware of the…
kernelpanic
  • 1,276
  • 1
  • 10
  • 30
8
votes
1 answer

How do you create large, growable, shared filesystems on Linux at AWS?

What are acceptable/reasonable/best ways to provide large, growable, shared storage at AWS, exposed as a single filesystem? We're currently making 1TB EBS volumes ~biweekly and NFS exporting with no_subtree_check and nohide. In this setup, distinct…
Reece
  • 181
  • 2
8
votes
7 answers

Which file system to use for portable hard drive shared among different operating systems?

Something similar has been asked already but my criteria is a little different. I need to share a portable hard drive (USB/Firewire) between Mac OSX, Linux and Windows XP systems where the files being shared are sometimes >4GB. Is there a file…
Jonathon Watney
  • 621
  • 1
  • 10
  • 17
8
votes
3 answers

Why won't tcpdump write a pcap file?

In the process of debugging a python irc bot that can't seem to connect, I thought "I know, I'll just tcpdump it and see what it's doing." So I ran tcpdump like I usually do and it says it's captured packets, but doesn't actually write the cap…
akraut
  • 311
  • 1
  • 3
  • 17
8
votes
6 answers

Deleting everything except newest files

Lets say I have a directory ḟoo/ which contains a lot of files in some sort of directory structure. I need to keep some of them, but not all of it. Is there a way to (in place) delete all of them except (say) 500 newest?
8
votes
2 answers

Linux: Syncronize two directories permissions, users and groups and leave file contents untouched

In my Linux box I have two directories: work files with wrong permissions older versions of the same files with the right permissions (permissions and users and groups) I need to syncronize the permissions only without changing the file contents.…
Massimog
  • 83
  • 1
  • 7
8
votes
1 answer

ext3_dx_add_entry: Directory index full

Background: I'm running lighttpd 1.4.28-1 on CentOS 5.3 to serve the static assets. Signal: recently, it gets slow sometimes. I'm getting the below errors in the kernel log and /var/log/messages: proftpd[5145]: (::ffff:xx[::ffff:xx]) - FTP session…
quanta
  • 51,413
  • 19
  • 159
  • 217
8
votes
2 answers

Is it safe to replicate from Solaris ZFS to FreeBSD ZFS?

Is it safe to replicate from a Solaris 10 ZFS v22 to a FreeBSD 8.3 ZFS v28? Are there someone that have done this with specific versions of ZFS, where it worked perfectly?
Louise Hoffman
  • 476
  • 2
  • 6
  • 12