Corrupting ext3 paration


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Corrupting ext3 paration
# 1  
Old 07-16-2008
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  
Old 07-16-2008
I recommend you use ext2 and not ext3. ext3 causes more problems than any benefits.
# 3  
Old 07-16-2008
Quote:
Originally Posted by Neo
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  
Old 07-16-2008
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  
Old 08-20-2008
Quote:
Originally Posted by Gaurang033
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question regarding mkfs ext3

Hi i am looking for some help with a question relating to the creation of the ext3 file system. "Why is it good practice not to have a file system mounted whilst you try to create it?" I have searched google but not had any luck in finding out what the actual dangers are of creating a file... (1 Reply)
Discussion started by: allan1986
1 Replies

2. Red Hat

Convert ext4 to ext3

Is there any way to conver ext4 to ext3 filesystem without formatting the partition/disk .. Had ext3 filesystem and had converted it to ext4 by issuing following command # tune2fs -O extents,uninit_bg,dir_index /dev/sda1 # fsck -pf /dev/sda1 # blkid /dev/sda1 /dev/sda1:... (1 Reply)
Discussion started by: Shirishlnx
1 Replies

3. SuSE

lvextend on ext3 resizing

Hi all IM very curious about one thing Im currently playing with a test server SLES x64 SP2, and I got to a serious issue which is really sorry for the word pissing me off. :mad: I created an pv, then vg and finaly some lv's which is fine. I mounted then and everything worked fine... (0 Replies)
Discussion started by: kl1ngac1k
0 Replies

4. UNIX for Dummies Questions & Answers

Mounting fs ext3

I'm trying to find a correct command that will mount a filesystem ext3 the device /dev/sda1 to mount point /mnt/usb but not allow any programs to run from it. I want to be honest as I've read the forum rules... This is a homework question BUT, i'm generally interested in the correct process and... (3 Replies)
Discussion started by: CasperQuiet
3 Replies

5. Filesystems, Disks and Memory

Problem with ext3 partition

I accidentally deleted one of my ext3 partitions from Windows XP. However, since I did not make new partitions over it, or format that area, I guess my data is safe. So I made a new partition with the same cylinder boundary values using fdisk (in Linux). But I cannot access my old data on that... (3 Replies)
Discussion started by: digjam
3 Replies

6. UNIX for Dummies Questions & Answers

FTP is corrupting binaries

I'm ftping some binaries from a centos box to an old DEC machine. They're being transferred in bin, but they're being corrupted somehow because when I run file filename on the centos machine, it shows that it's an executable. But after the ftp and running the same command on the DEC, the file... (5 Replies)
Discussion started by: krisl
5 Replies

7. UNIX for Dummies Questions & Answers

/ext2 and /ext3

Hi all, I was installing linux, so i want to know the basic difference between /ext2 and /ext3 filetype.. what is the significance of using /ext2 and /ext3 pls clarify Thanks Vasikaran (2 Replies)
Discussion started by: vasikaran
2 Replies

8. Filesystems, Disks and Memory

ReiserFS vs ext3 vs anything else?

As i'm sure you all know, ext2 (and then ext3) is the most widely used linux fs... but some distros (SUSE & Debian) are now chosing to either use by default, or at least give the option of using ReiserFS. What is it about ReiserFS that's so great exactly? I understand that it has a limitless... (6 Replies)
Discussion started by: fishsponge
6 Replies

9. Filesystems, Disks and Memory

ext3 filesystem

what do you think about the ext3 journal filesystem?? (3 Replies)
Discussion started by: comadreja
3 Replies

10. UNIX for Dummies Questions & Answers

Anyone else see a performance hit from ext3

I reinstalled my Linux box with RedHat 7.2 and used the ext3 journaling file system. This thing is a pig now. There isn't much running on the box, and performance is sad. (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question