ext3 (third extended filesystem) is a journaled file system that is commonly used by the Linux kernel.

learn more… | top users | synonyms

0
votes
0answers
20 views

What exactly is the metadata in a journaling filesystem like ext3 or ext4? [duplicate]

I was going through this link on filesystem journaling, but nowhere it is mentioned what exactly is a metadata. In some other links, it vaguely says it is data about files and directories. Could ...
0
votes
1answer
10 views

General ratio regarding FS <-> LV

Based on New FS size differs from LV size We need a 4 GByte sized FS on top of an LV. OS: RHEL6, 64bit. Question: How big LV is needed to have a 4096 MByte sized FS on it? Are there any percentages ...
1
vote
1answer
19 views

Are there any size restrictions when increasing an EXT3 File System?

I have a volume group, which has a size of approximately 30 TByte. It has an EXT3 File System on it: SERVER:/home/usfman # dumpe2fs -h /dev/mapper/datavg-foolv dumpe2fs 1.41.9 (22-Aug-2009) ...
0
votes
0answers
32 views

set partition bootable with gdisk GPT

Using GPT, how do I set this disk: sda1 ext3 FUJITSUMHV2080B so that the partition is bootable? Or, do I need to reformat using the install disk?
5
votes
2answers
846 views

zerofree verbose returns what?

zerofree -v /dev/sda1 returned 123642/1860888/3327744. The man page does not explain what those numbers are: http://manpages.ubuntu.com/manpages/natty/man8/zerofree.8.html I found some code on ...
0
votes
2answers
26 views

Add AFP shares to ext3 partition

Is it possible to add an AFP service / protocol to an existing ext3 partition? I have a linux server that I want to share with Apple clients. The clients want to use TIME MACHINE which will only ...
70
votes
8answers
71k views

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?
28
votes
7answers
111k views

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 ...
0
votes
1answer
20 views

How to create a disk image with a partition table that can be easily resized to the target device?

I want to create a disk image with two partition, boot partition and rootfs partition. I want boot to be a fixed size and rootfs to be easily resizeable to fill the target device after the image is ...
3
votes
1answer
74 views

Many transient files on journaled filesystem?

Writing and deleting many files quickly I'm going to write many temporary files per second, over a sustained period. Each will be deleted after some milliseconds. Say we have an image processing ...
1
vote
1answer
37 views

Ext3 system calls during file creation and modification [closed]

I'm trying to learn more about Linux and its file system and I'm stuck on understanding the difference between the ext3 and ext2 file systems with regards to system calls during file creation and ...
5
votes
2answers
287 views

With full data journaling, why does data appear in the directory immediately?

I've got a question regarding full data journaling on ext3 filesystems. The man page states the following: data=journal All data is committed into the journal prior to being written into the main ...
3
votes
2answers
246 views

MDADM RAID 0 Failure

Last night I noticed my system clock on my Ubuntu Server was 5 minutes fast so I ran an 'ntpdate pool.ntp.org' command and went to bed. This morning I noticed that SAMBA shares were not working. ...
2
votes
0answers
47 views

How do distribution installers avoid ext2/3/4 initialization?

When I format a volume with ext4, I have two options regarding initialization. I can either use lazy_itable_init=1 (the default setting) to delay initialization until after the volume is first mounted,...
2
votes
0answers
37 views

What happens to directory entry when a file is renamed

What exactly happens to the directory entry when a file is renamed? Is it that the entry of the oldfile is flushed and the newfile is replaced at it's place or a completely new entry is made at the ...
3
votes
1answer
377 views

ext3 vs ext4 - same disk size, less usable disk space under ext4 comparing to ext3. why?

Files copied from ext3 filesystem do not fit on same size ext4 filesystem. How to reproduce: create two 1GB files, setup loop device for each, create filesystem one ext3, one ext4, mount, rsync ...
4
votes
4answers
559 views

How do I create small disk image with large partitions

I am building a disk image for an embedded system (to be placed on an 4GB SD card). I want the system to have two partitions. A 'Root'(200Mb), and a 'Data' partition(800Mb). I create an empty 1GB ...
0
votes
1answer
61 views

Delete and recreate of NTFS file format in Extended partition will maintain driver letter?

One of my computer system is having the disk partition like below 1-Primary (NTFS) (boot) 2-Primary (NTFS) (Windows C: Drive) (windows XP OS) + (software installed) 3-Primary (NTFS) (Windows D: ...
1
vote
0answers
67 views

Ext3 Journaling Question on inode and disk layout

I was going through Journaling and JBD and wanted to ask you a very basic question for which I was not getting an answer: 1.Why Journal Inode number comes as 8 when we do ./dumpe2fs? 2.So far my ...
5
votes
0answers
123 views

How are the reserved GDT blocks used after online resizing in ext3 file system

I am working on Ext3 and after looking at FS layout - ext3 reserves ~1024 blocks as Reserved Group Descriptor Table (reserved GDT blocks are between Group Descriptor blocks and Bitmap blocks). These ...
0
votes
0answers
188 views

no ext2/ext3/ext4 directory in /lib/modules/linux version/kernel/fs/

I have installed Linux 3.5 kernel and have compiled e2fsprogs as well. I have my own version of ext3 file system - lets say it is myfs. I have compiled myfs as well. Now I have few questions: How to ...
1
vote
1answer
261 views

How much space does an inode occupy?

In Windows, when a file/folder is created, it is associated with an FRN (a unique number which is like an Index into the MFT). All the file metadata is stored in the MFT which occupies a reserved size ...
0
votes
1answer
92 views

Centos missing ext3.ko

Earlier I encountered this error. lv_root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Which may be caused by the constant power failure here in our office. I fixed it by inserting a centos 6.4 disc ...
3
votes
2answers
178 views

Unable to mount root filesystem rw with journal

Trying to understand the whole journalling setup and from what I've read and tried, it's eluding me somehow. The root filesystem is ext3. Examining it via tune2fs -l /dev/root shows that '...
0
votes
1answer
215 views

Smallest file block size (ext 3, 4)

I'm curious, what is the smallest size a file can really be on Linux? (Assuming Ext3 fs, so why not ext4 fs as well). Sure you can write a file that only contains one byte, or maybe even less; but ...
13
votes
3answers
7k views

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 ...
0
votes
2answers
423 views

check if a filesystem is marked dirty

I saw some kernel errors from months ago in syslog that said an inode was marked dirty. I want to fsck the system but a reboot would be undesirable at this time. What sort of checks can I do safely ...
1
vote
1answer
67 views

Delay before new/modified file appears

I'm seeing two separate cases where there's a (random?) delay before a new or modified file appears. The first case is my Rails development environment: I modify a code file (in vim) and save it, ...
5
votes
1answer
6k views

How to resize ext3 image files

I have created an 200MB ext3 using the following commands. dd if=/dev/zero of=./system.img bs=1000000 count=200 mkfs.ext2 ./system.img tune2fs -j ./system.img How can I resize it to 50MB and 300MB? ...
7
votes
0answers
393 views

extracting the data block pointed to by an inode fails to correspond to the data in the file [closed]

This question is a spinoff from the following: How to extract raw ext3 inode data from disk? I have a file /tmp/foo, whose contents are a simple text string "AAA". I would like to locate the disk ...
2
votes
1answer
653 views

How to extract raw ext3 inode data from disk?

On an ext3 (or ext2/4, pick your flavor) filesystem, how would one extract raw byte data that corresponds to a particular inode directly from the hard drive? Is it possible given, say, an inode number ...
0
votes
5answers
7k views

Debian stucks at formatting 33%

I'm trying to install Debian Squeeze 6.0.5 on a new HP Proliant Microserver N40L with 4 GB RAM and 1.5 GHZ and 2 new Seagate BARRACUDA 2TB HDD (delivered yesterday). The installation stuck at the ...
6
votes
1answer
3k views

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 ...
14
votes
3answers
8k views

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 ...
4
votes
2answers
10k views

ext3 root filesystems goes read-only with aborted journal even after repairs

Short version: ext3 root filesystem on rackspace (xen) VM detects aborted journal on boot and mounts read-only. I've attempted to repair this from a rescue environment with tune2fs and e2fsck as ...
6
votes
2answers
3k views

“Converting” a filesystem from ext3 to ext4

I've read on some Q&A on this website that one can "convert" an ext3 filesystem to ext4 without formatting, by issuing tune2fs -O extents,uninit_bg,dir_index /dev/dev-name And then running fsck....
1
vote
1answer
2k views

Converting NTFS to Ext3

I recently partitioned a new drive in windows to NTFS. I want to make it ext3 so that I can transfer a WUBI Ubuntu installation onto it. I don't care about the data on this partition. Is there a ...
1
vote
1answer
1k views

Why does df show Available 0 when 1K-blocks minus Used is greater than 0? [duplicate]

Why does it show 0 in the available column? [root@server log]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 4128448 4096484 0 100% / It's ...
2
votes
0answers
82 views

Mounting Ext3 in linux different user

I am trying to mount an ext3 based memory stick in Linux based development board. I used mount with -u and -g for mounting the fat based memory stick with different user. When I tried the same ...
12
votes
2answers
11k views

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 ...
9
votes
5answers
5k views

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....
1
vote
1answer
718 views

debug mkfs.ext3 command output

I was creating a new file system in my external HDD. While formatting, I had to format this partition to the remaining available partition which is somewhere around 850GB. Now, I created an ext3 file ...
4
votes
3answers
3k views

Is maximum individual file size in ext3 imposed on mysql tables?

I am reading about the file systems in Linux from here. This particular sentence kind of confuses me. For ext3, Maximum individual file size can be from 16 GB to 2 TB. Overall ext3 file ...
4
votes
1answer
1k views

What is the difference between fsck options -y and -p?

The ext2/3/4 filesystem checker has two options that seem to be very similar, -p and -y. Both seem to perform an automatic repair, but the manpage states that -p can exit when it encounters certain ...
0
votes
1answer
87 views

Can an entire ext3 filesystem be corrupted if the system loses power?

I understand that any files being written to during power loss can get corrupted, but is it possible for an entire ext3 filesystem to become corrupted during a power loss event? If so, how? Thanks!
2
votes
0answers
169 views

Mount EXT3 with 16KB blocks

I have a failing Sparc based Netgear ReadyNAS that uses LVM on Raid with EXT3 partitions with a 16KB block size. I would like to pull the drives out of the NAS and mount them read only in a Linux box. ...
0
votes
3answers
113 views

Verify semantic integrity of filesystem

I just started up my linux box to find that one of my filesystem's had errors: I had to login as root to run fsck and hit y repeatedly. There were a lot of errors. So many that I used silly putty and ...
5
votes
2answers
1k views

Reliable way to detect ext2 or ext3 or ext4?

I need to detect a filesystem type from a C/C++ program using the filesystem superblock. However, I don't see much differences between superblocks for ext2 and ext4. The s_rev_level field is the same (...
6
votes
2answers
2k views

ext3 Filesystem shows full to most apps, but only 77% full to DF

Var is showing as full to many apps like Nagios, Puppet, and the LVM tools (pvs, vgs, etc) df -h output 6.0G 4.3G 1.4G 77% /var vgs output /var/lock/lvm/V_rootvg:aux: open failed: No space ...
1
vote
1answer
159 views

Why is it impossible to change the inode count of an ext filesystem?

I know that it isn't possible to change the inode count of an ext filesystem after its creation, but I haven't been able to find any explanation on why it isn't. Can anyone enlighten me?