ext3 (third extended filesystem) is a journaled file system that is commonly used by the Linux kernel.
Questions tagged [ext3]
151 questions
138
votes
11 answers
How do I know if a partition is ext2, ext3, or ext4?
I just formatted stuff. One disk I format as ext2. The other I want to format as ext4. I want to test how they perform.
Now, how do I know the kind of file system in a partition?
user4951
- 10,329
- 28
- 71
- 92
76
votes
7 answers
Tell fs to free space from deleted files NOW
Is there a way to tell the kernel to give back the free disk space now? Like a write to something in /proc/ ? Using Ubuntu 11.10 with ext4.
This is probably an old and very repeated theme.
After hitting 0 space only noticed when my editor couldn't…
Marcos
- 2,275
- 2
- 23
- 32
29
votes
3 answers
Difference between block size and cluster size
I've got a question concerning the block size and cluster size. Regarding to what I have read about that I assume the following:
The block size is the physical size of a block, mostly 512 bytes. There is no way to change this.
The cluster size is…
pluckyDuck
- 463
- 1
- 4
- 7
28
votes
6 answers
UUID Of A drive that won't show up in /dev/disk/by-uuid or blkid
I have a USB drive that is not receiving a UUID. When I look at the contents of the /dev/disk/by-uuid it doesn't exist there. The dev point that the partition lives in is on /dev/sdb. I am able to see sdb under /dev/disk/by-path. Also, when using…
monksy
- 723
- 2
- 8
- 15
24
votes
9 answers
How to search for files with immutable attribute set?
For config auditing reasons, I want to be able to search my ext3 filesystem for files which have the immutable attribute set (via chattr +i). I can't find any options for find or similar that do this. At this point, I'm afraid I'll have to write…
depquid
- 3,801
- 1
- 20
- 34
22
votes
2 answers
How to compact a directory
Every so often, some application runs wild and fills a directory with a huge amount of files. Once we fix the bug and clean up the files, the directory stays big (>50MB) even though there's only 20-30 files in it.
Is there some command that compacts…
Mathieu Longtin
- 321
- 2
- 6
21
votes
2 answers
largefile feature at creating file-system
Is useful to use -T largefile flag at creating a file-system for a partition with big files like video, and audio in flac format?
I tested the same partition with that flag and without it, and using tune2fs -l [partition], I checked in "Filesystem…
Marc
- 1,651
- 3
- 14
- 16
19
votes
1 answer
Advantages/disadvantages of increasing "commit" in fstab
I have done many obscure system optimizations in the past, but I got rid of most of them after powertop told me I should set my USB ports to autosuspend, which forced them to an eternal sleep, and also after I realized the benefits of a higher…
admirabilis
- 4,642
- 9
- 41
- 57
15
votes
3 answers
What mount option to use for ext3 file system to minimise data loss or corruption?
I have an embedded setup using an initramfs for the root file system but using a custom ext3 partition mounted on a compact flash IDE drive. Because data integrity in the face of power loss is the most important factor in the entire setup, I have…
mathematician1975
- 1,453
- 2
- 24
- 43
15
votes
3 answers
EXT3: If block size is 4K, why does ls -l show file sizes below that?
If you run ls -l on a file that contains one letter, it will list as 2B in size. If your file system is in 4k blocks, I thought it rounded files up to the block size? Is it because ls -l actually reads the byte count from the inode? In what…
Gregg Leventhal
- 7,480
- 19
- 65
- 100
14
votes
2 answers
fdisk -l shows ext3 file system as HPFS/NTFS
I have an external HDD which I formatted as NTFS partition in Windows. Now, I formatted this HDD in my linux system using the below command.
mkfs.ext3 /dev/sdb1
It was formatted successfully. However, when I run the fdisk -l command, it gives me…
Ramesh
- 38,687
- 43
- 140
- 215
13
votes
1 answer
Mounting an ext3 filesystem with user privileges
I'm trying to mount an ext3 file system from another Linux installation so that the user, not root, will have full access to all the files. (I really do need user to have access to those files, because I would like to use them from another computer…
Ilari Kajaste
- 325
- 1
- 2
- 6
12
votes
3 answers
Is it possible to disable file permissions on a ext3 or ext4 file-system?
Is it possible to disable file permissions on an ext3/4 file-system?
Just wondering if it's possible to completely disable or ignore file permissions on a ext3 or ext4 file system. Perhaps a mounting option?
I'm not concerned about the security…
Corey
- 555
- 3
- 6
- 15
11
votes
3 answers
ext2/3/4 reserved blocks percentage purpose
I know that this feature dates back 20 years but I still would like to find out
What is the purpose of the reserved blocks in ext2/3/4 filesystems?
Karlson
- 5,845
- 32
- 51
11
votes
1 answer
Difference between installing GRUB on MBR sector or first sector on boot partition?
Kickstart gives two options to install the GRUB bootloader either on "MBR" or "first sector of /boot partition".
If we choose to install it on /boot partition then what would 512 bytes of MBR contain?
Akheel Asadi
- 383
- 2
- 4
- 10