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

learn more… | top users | synonyms (2)

2
votes
1answer
157 views

Why is some filesystem space used even though the filesystem is empty? [duplicate]

Possible Duplicate: ext4: How to account for the filesystem space? After googleing a little I find that ext4 reserve 5% for root: Reserved space for root on a filesystem - why?, ext2/3/4 ...
1
vote
0answers
256 views

Negative hdd usage. Available is larger than fullsize

Having issues with space accounting of lvm volume. 23G is available. But the full size of the partition is 20G. (So, it shows "-4.1G used" 0_O) > df -h Filesystem Size Used Avail Use% ...
6
votes
1answer
283 views

What filesystems preferentially reuse blocks from deleted files?

Related to this earlier question I asked, I'd like to know what filesystems will preferentially reuse blocks that are freed when files are deleted (if any exist)? I am only interested in stable, ...
2
votes
2answers
1k views

Is there an excellent tutorial on how to resize a rootfs partition (and shrink another) on a drive that is 100% allocated?

I'm experiencing the all-too-common "root partition full" situation. 100% of my hard drive is allocated. My home (ext4) partition has plenty of space to give up for my full root partition (rootfs). ...
3
votes
1answer
198 views

How do I choose between ext 3 and 4?

I tried looking at the difference, the main ones seem to be 4 supports more subdirectories in a file, supports larger files, has delayed write which I don't prefer as I don't want data loss. I also ...
23
votes
1answer
30k views

How to determine the filesystem of an unmounted device? [duplicate]

Possible Duplicate: Find filesystem of a partition from a script How to show the filesystem type via the terminal? I'm looking for a command that yields the filesystem type as mount would ...
4
votes
1answer
184 views

Unix and Linux without a file system?

I was reading Eric Raymond's the Art of Unix Programming, (Amazon and online) and at the very beginning of the book where he analyses what Unix does wrong he says: Having a file system at all may ...
4
votes
2answers
15k views

How to show the filesystem type via the terminal? [duplicate]

Possible Duplicate: How to tell what type of filesystem you’re on? Find filesystem of an unmounted partition from a script How can I quickly check the filesystem of the partition? Can I ...
3
votes
3answers
606 views

Disk size management

I am using Fedora 16. My /dev/sda2, mounted on / (root) with something like 50G got filled 100%: [foampile@~ 13:13:39]> df Filesystem 1K-blocks Used Available Use% Mounted on rootfs ...
1
vote
1answer
308 views

About sector and blocks, and a little confusion in /proc/diskstats

I've been studying about diskstats lately, and I get that the amount of hdd read comes in sectors. But in most places I've noticed that there exists a slight misunderstanding about sectors and blocks. ...
1
vote
1answer
1k views

cannot 'ls' /mnt directory

I have a CentOS-6 machine that I'm working on that is running a live database. It's having a problem with the /mnt directory. I cannot ls the directory for some reason. stat is working and shows ...
1
vote
0answers
263 views

Unable to access Linux share from a Windows machine with NT_STATUS_BAD_NETWORK_NAME error

On the Linux machine I changed the smb.conf like this: [john] path = /root/john/downloads available = yes valid users = john read only = no browsable = yes public = yes writable = yes The path ...
0
votes
1answer
109 views

Filesystem writes seemingly lost

I've been experimenting with tcpdump, and I've found some very bizarre filesystem behavior. It doesn't look to be a tcpdump problem as I'll explain in a second. The following command produces no ...
0
votes
1answer
901 views

Does using lvextend destroy data already on the volume?

Does resizing a logical volume with lvextend and e2resize destroy data already on the volume? See also this related unanswered question and some examples of the process: Can I resize the root ...
5
votes
1answer
2k views

what is the difference between “chmod 775” and “chmod 2755”?

Question What is the difference between "chmod 775" and "chmod 2755" ?
6
votes
2answers
191 views

du command show a slash after directories?

How to use du command show a slash after directories? For example: du -ab /root/test/php-5.4.8/ Result: 1781 /root/test/php-5.4.8/main/internal_functions.c.in 973596 ...
1
vote
3answers
610 views

What logs would be written if file system is full in UNIX?

I am working on a unix server and I guess during some time in past the file system had been full. However, I need some solid data to prove it. Will there be any OS logs or something of that sort to ...
2
votes
4answers
1k views

Automatically change file permission upon write to a folder

How can I create directories so: /data /data/user1 /data/user2 and make sure that whenever root writes inside them, depending on which directory it writes to, different owners are set. Example: ...
1
vote
1answer
988 views

How to unlock read-only filesystem on OpenWRT router linux distribution?

I have installed minimal OpenWRT firmware on Linksys router. When I try to modify some of the files withing /etc/ directory for example firewall.user file by using command vi firewall.user it opens ...
2
votes
2answers
550 views

Filesystem type on Solaris 5.10

How can I get the file system type for each device on Solaris 5.10? I tried mount with no args but that only listed each mount point, similar to df. Also, how can I find where a specific directory ...
18
votes
2answers
8k views

What happens when you delete a hard link?

If you do rm myFile where myFile is a hard link, what happens?
16
votes
2answers
5k views

Birth is empty on ext4

I was just reading up on the Birth section of stat and it appears ext4 should support it, but even a file I just created leaves it empty. ~ % touch test ...
4
votes
2answers
625 views

How to create low-overhead file system

I have usb keychain with size of 7.5GB and I need to copy file on it with size 7.4GB. But I can't because superblocks consume 0.5GB of space.
5
votes
3answers
248 views

Effectivity of shred on different file systems

man shred warns that the command is not useful on file systems that don't overwrite in-place. I don't have much knowledge about the current and upcoming file systems, but I would suspect that many of ...
0
votes
1answer
65 views

/ permissions on a linux filesystem

Does the / have permissions attached to it? If so what are they and what command do you run to find out? The reason why I ask this is to know weather a NFS mount reflect this if your export is set to ...
3
votes
3answers
443 views

A lot of errors on ext4, however smart doesn't show any errors

I have a Debian box with additional ( it is not a system disk ) 1.5Tb sata hdd (wd caviar green). There is only one partition on the whole disk. Disk is used for backups from remote system (with ...
2
votes
1answer
74 views

Are there widespread filesystems which represent directories with structures optimized for fast lookup?

In "The Art of Unix Programming", on the topic of The Terminfo Database I read: If you look in the terminfo directory, you'll see subdirectories named by single printable characters. Under each ...
1
vote
2answers
3k views

Cannot access disk, partition table broken

I was so dumb, to turn of the power on my Readynas Ultra 4 when it was installing the disk (3TB WD Green), I had no time to wait for it as I was going to return it (It was to damn noisy) The disk ...
14
votes
1answer
1k views

What is Linux doing differently that allows me to remove/replace files where Windows would complain the file is currently in use?

The example I have is Minecraft. When running Bukkit on Linux I can remove or update the .jar files in the /plugins folder and simply run the 'reload' command. In Windows, I have to take the whole ...
2
votes
1answer
329 views

How to fix a fragmented ext disk - myth or truth?

I just read this article about the virtually non-existent disk fragmentation on *nix filesystems. It was mentioned that due to the way ext handles writing data to the disks, fragmentation may only ...
5
votes
1answer
702 views

Automount not equivelent to mount?

I'm struggling to get automount to work as desired. If I run the following: sudo mount -t nfs server:/path/to/share /path/to/mount_point I get the mount appearing fine. However, if I add the ...
4
votes
2answers
962 views

Does the filesystem influence flash drive speed?

I'm currently filling up an empty 16GB flash drive which gives me a lot of time for imponderables. It's formatted as fat32 or whatever it came with (and I'll probably leave it that way for ease of ...
3
votes
3answers
303 views

Why do I get 3048 MB from a 64 MB flash memory?

I have a Linux based STB (set-top-box) and it features a 64 MB flash memory and 256 MB of RAM. I wanted to take a backup of some of my settings before I flash it with another image, but I wasn't sure ...
3
votes
2answers
143 views

I want to modify root files while also being able to create non-root files in a single text editor session.

Catch 22: If I open my text editor without using sudo, I don't have permission to save any changes. If I open it with root privileges, any files I create are owned by root. I want to be able to ...
2
votes
1answer
456 views

remove unallocated space from a partition image

I have just created an image of an sd card using dd and the image is compressing down less than expected. I suspect this is because the card had not been zeroed out before I started to make the image. ...
13
votes
2answers
4k views

Can I watch the progress of a `sync` operation?

I've copied a large file to a USB disk mounted on a Linux system with async. This returns to a command prompt relatively quickly, but when I type sync, of course, it all has to go to disk, and that ...
3
votes
1answer
1k views

When we use mv command, what changes take place in HDD?

Under following conditions- mv within the same HDD partition mv to a different partition in the same HDD mv to a different device (e.g. USB HDD) Is the complete file moved or is it a very small ...
5
votes
7answers
6k views

How to clean up unnecessary files

Please suggest me any particular unnecessary file that I can clean to back everything to normal condition(temporarily). (i.e. any log or archieve or anything ). My var/log has only 40MB and Home ...
1
vote
2answers
876 views

How to extend second CentOS 5 partition in VMware

I know this question has already been answered for a primary partition, but what about a secondary? I have extended the space to 30G in VMware. When I perform an fdisk -l, here's the output: Disk ...
-3
votes
1answer
130 views

Is there a way to create a directory structure and files inside a file on a 'base' filesystem'?

Current scripts create and delete multiple files over NFS. I have been told that this is the problem, so was thinking if the run directory the script ran in looked like a single file to NFS then I ...
1
vote
1answer
206 views

Problem after deleting a system partition on another HD

While installing Debian Wheezy, I decided to use my another HD as /home/igor/Documents/, and the system installed correctlly nothing wrong happened, but later I decided to delete that partition so I ...
3
votes
1answer
306 views

corrupted library after hard shutdown

yesterday night my laptop executes a hard shutdown because my battery was out of charge. After the reboot Xorg hangs and the troubleshooting was pretty hard. A first file system check of my ext4 ...
2
votes
2answers
1k views

Moving /usr to its own filesystem/logical volume

My Fedora 17 (x64 - running on VMware Workstation 8) root filesystem is running out of space (this was an install using the default layout as suggested by the Fedora installer): # df -h Filesystem ...
3
votes
1answer
3k views

recovering ext4 partition after dd'ing over start of HD

I accidentally used dd and wrote over the first 208MB of my external disk. What I wrote over is a partition on its own (Debian nestinstaller) so what I see now is not my old (now damaged) ext4 ...
0
votes
1answer
1k views

Not able to execute system files

I was trying to install ruby with : sudo apt-get install ruby1.8 output: W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt/ E: The package lists ...
2
votes
1answer
334 views

referring to files inside a jar or zip files in Linux

I am wondering if I can refer to files inside JAR or ZIP files using URLs. I mean, without using a tool (such as the Java Jar utility) but just at the operative system level. For example, if I have a ...
5
votes
2answers
6k views

how can I recursively delete empty directories in my home directory? [duplicate]

Possible Duplicate: How to remove all empty directories in a subtree? I create directories very often, scattered over my home directory, and I find it very hard to locate and delete them. ...
1
vote
2answers
474 views

Why does e2fsck fail during boot, but not later?

When booting my Debian server, I'm presented with the following error concerning my external hard drive: /dev/disk/by-label/elements: The superblock could not be read or does not describe a correct ...
1
vote
2answers
2k views

filesystem read only

My filesystem is read-only for several days. Searching for somesthing on my /var/log/messages and found this. ****EMITTING CHANGED for ...
7
votes
2answers
143 views

Removed apt-get from Ubuntu

Well my fingers did manage to do sudo apt-get remove libstdc++6 and write, yes. That removed alot of system files. Is there any way to bring it up working again? I have connected to terminal, and wget ...