The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 12:43 PM
/ext2 and /ext3 vasikaran UNIX for Dummies Questions & Answers 2 12-16-2005 02:40 AM
ReiserFS vs ext3 vs anything else? fishsponge Filesystems, Disks and Memory 6 09-30-2005 06:45 PM
ext3 filesystem comadreja Filesystems, Disks and Memory 3 03-11-2002 10:47 PM
Anyone else see a performance hit from ext3 98_1LE UNIX for Dummies Questions & Answers 1 01-06-2002 07:35 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-16-2008
Gaurang033 Gaurang033 is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 13
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 06:48 AM..
  #2 (permalink)  
Old 07-16-2008
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,709
I recommend you use ext2 and not ext3. ext3 causes more problems than any benefits.
  #3 (permalink)  
Old 07-16-2008
Gaurang033 Gaurang033 is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 13
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 ??
  #4 (permalink)  
Old 07-16-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,285
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.
  #5 (permalink)  
Old 08-20-2008
pjottum pjottum is offline
Registered User
  
 

Join Date: Feb 2006
Location: .nl
Posts: 16
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0