Computing.Net > Forums > Linux > EXT3 Filesystem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

EXT3 Filesystem

Reply to Message Icon

Name: DAS
Date: July 15, 2003 at 17:15:59 Pacific
OS: Mandrake 9.1
CPU/Ram: N/A
Comment:

People have told me that since the EXT3 filesystem is journaling, that is there is almost never any loss of data due to an unattended shutdown. I was curious about why I just received the following message on startup after a power failure:

####### Start Message #######

Your filesystem appears to be shutdown uncleanly
Press Y within 4 seconds to force file system integrity check
#So I press 'y'
/dev/hda5:
/lost+found not found. CREATED
/dev/hda5: Optimizind Directories: 16350 48487 63105 79467 94847 111234 126216 126813 141986 ....(continues)....
/dev/hda5: ***** REBOOT LINUX *****
/dev/hda5: 63815/52416 files (0.3% non contiguous), 158268/504031 blocks
Failed to check filesystem. Do you want to repair the errors? (Y/N) (beware you can lose data)

####### END Message #######

What is the whole deal about losing data? Does that really happen/ how does it work?

Thank you so much in advance for your input



Sponsored Link
Ads by Google

Response Number 1
Name: XPose
Date: July 15, 2003 at 19:29:13 Pacific
Reply:

Press 'Y' it does no harm. This happens to me from time to time and I have never lost data yet. You may come across an inode reference later on but that is also rare.


0

Response Number 2
Name: Balram Adlakha
Date: July 16, 2003 at 07:34:05 Pacific
Reply:

No loss of data at all? Well it can't be made perfect can it?

The thing is that there is _less_ loss of data on journalling filesystems. So take care of the filesystem and unmount it before rebooting (reboot properly with shutdown -r)


0

Response Number 3
Name: DAS
Date: July 16, 2003 at 16:29:55 Pacific
Reply:

Of course I try to shutdown the computer propperly when I can, but in the case of a power outage there isn't much I can do about it. I have never seen an error like this in all my years with working in a windows environment. I've been using linux now for a couple of years and this error sort of erks me. If EXT3 is journaling then it should approximately have about the same chance of data loss as NTFS. Of course there are signifigant differences between NTFS and EXT3, but does one handle unexpected shutdowns better than the other?

Thanks in advance


0

Response Number 4
Name: anonproxy
Date: July 16, 2003 at 18:41:13 Pacific
Reply:

"Failed to check filesystem. Do you want to repair the errors? (Y/N) (beware you can lose data)"

This is just an informative message. Repairing means changing something, usually deleting something that is wrong and replacing it.

"What is the whole deal about losing data?"

Data can mean any binary value on your disk. This includes metadata. If you have a corruption in some tree somewhere, you do not want to leave it. Correcting often means deleting portions of it. If some random file has been attached to those portions and metadata does not report this correctly, then that data could be lost. Data loss is a reality on any system.

"I have never seen an error like this in all my years with working in a windows environment."

Windows performs similar functions, it simply does not tell you it is doing this. There is most certainly data loss in Windows, so the fact that one OS has a prompt for it and another does not is rather trivial.

"If EXT3 is journaling then it should approximately have about the same chance of data loss as NTFS."

The implementation of a common feature means the filesystems both support the feature. It does not mean they both share a common implementation of that feature.

"but does one handle unexpected shutdowns better than the other?"

There is really no objective way to tell. You can proof it mathematically, but that cannot account for what an unexpected shutdown entails, the functions of the hardware, the drivers involved, and the sizes and complexity of data involved.

I would say both are reliable.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: EXT3 Filesystem

file-size limit in 'ext3' www.computing.net/answers/linux/filesize-limit-in-ext3/23344.html

Samba on read only filesystem www.computing.net/answers/linux/samba-on-read-only-filesystem/18292.html

Linux ext3 backup www.computing.net/answers/linux/linux-ext3-backup/15913.html