LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2012, 02:18 PM   #1
Gr2600
LQ Newbie
 
Registered: Oct 2012
Posts: 15

Rep: Reputation: Disabled
Smile Corrupt filesystem


Hello All,

Nice to finally have an account on this forum

I would like to ask you if you could advice me how to make a filesystem corrupt, for testing purpose. I want to test something on a server that's running ubuntu, fedora and centOS.

Thank you in advance.
 
Old 10-25-2012, 02:20 PM   #2
Gr2600
LQ Newbie
 
Registered: Oct 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
I forgot to say that the fs can be ext3 or 4.
 
Old 10-25-2012, 02:39 PM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
You can interfare with it's vtoc block or can overwrite it.
 
Old 10-25-2012, 06:49 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You can use the dd cmd to eg remove/corrupt the partition table
Code:
dd if=/dev/zero of=/dev/sda count=1000
 
1 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to deal with corrupt filesystem? pinga123 Linux - General 1 02-23-2011 08:20 AM
RAID-1 with one disk causes filesystem to be corrupt? alirezan1 Linux - Newbie 4 02-23-2009 11:23 AM
Crypto filesystem : corrupt or wrong password? iainr Linux - Software 1 10-23-2006 08:15 AM
where has my disk space gone? corrupt filesystem? matticus SUSE / openSUSE 3 09-19-2006 10:06 PM
Unknown or corrupt filesystem Synergetek Linux - Newbie 1 02-03-2003 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration