The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FTP is corrupting binaries krisl UNIX for Dummies Questions & Answers 5 08-14-2007 08:43 AM
/ext2 and /ext3 vasikaran UNIX for Dummies Questions & Answers 2 12-15-2005 10:40 PM
ReiserFS vs ext3 vs anything else? fishsponge Filesystems, Disks and Memory 6 09-30-2005 02:45 PM
ext3 filesystem comadreja Filesystems, Disks and Memory 3 03-11-2002 06:47 PM
Anyone else see a performance hit from ext3 98_1LE UNIX for Dummies Questions & Answers 1 01-06-2002 03:35 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2008
Registered User
 

Join Date: Jun 2008
Posts: 11
how to Corrup ext3 paration

hi guys,

I am testing some embedded device.. In which there were a bug due to the corruption of the ext3 partition. ( if the partition was currapated all system was crashing )

Now developers are mounting that particular partition to check whether it is corrupted or not and taking other actions according to that...

Now I need to reproduce the bug to confirm that it has been solved....

My problem is. is there any way we can corrupt the ext3 partition ??

Last edited by Gaurang033; 07-16-2008 at 02:48 AM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-15-2008
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,190
I recommend you use ext2 and not ext3. ext3 causes more problems than any benefits.
Reply With Quote
  #3 (permalink)  
Old 07-15-2008
Registered User
 

Join Date: Jun 2008
Posts: 11
Quote:
Originally Posted by Neo View Post
I recommend you use ext2 and not ext3. ext3 causes more problems than any benefits.
Yup. u are right.. but it's not in my hand to change it.. I am working as a QA member and now I need to check that even thought the ext3 partition is corrupted the system should take care of it.

And I don't know how to corrupt the ext3 partition.. any idea ??
Reply With Quote
  #4 (permalink)  
Old 07-15-2008
Registered User
 

Join Date: Sep 2007
Location: Koblenz, Germany
Posts: 579
Quote:
Now I need to reproduce the bug to confirm that it has been solved....
It might be easier to just run fsck and see if it finds problems or not.
Reply With Quote
  #5 (permalink)  
Old 2 Weeks Ago
Registered User
 

Join Date: Feb 2006
Posts: 10
Quote:
Originally Posted by Gaurang033 View Post
Yup. u are right.. but it's not in my hand to change it.. I am working as a QA member and now I need to check that even thought the ext3 partition is corrupted the system should take care of it.

And I don't know how to corrupt the ext3 partition.. any idea ??
dd some data on the disk.
First, skip some blocks of the disk and write some random data.
dd if=/dev/urandom bs=1024 count=1 of=/dev/disk seek=10353
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0