Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-23-2015, 03:43 PM   #1
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 751

Rep: Reputation: 156Reputation: 156
can I recover from wipefs?

Hi, I don't know what possessed me but I just used wipefs on a disk

sudo wipefs -a /dev/sdb
Is it possible to add a new superblock without affecting the rest of the disk? This is a backup disk so it can be restored manually. However this means copying across my network so if I can avoid I would like to.


EDIT. I cracked and created a new partition table. Restoring the disk now. I would still like to know whether there is a recovery method. I notice gparted has an option to "attempt data rescue" is this worth a go?

Last edited by timl; 03-23-2015 at 09:10 PM.
Old 03-23-2015, 10:56 PM   #2
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
If it has completely wiped the disk then no chance of recovery. Otherwise you may try using testdisk/phtorec.
Old 03-23-2015, 11:33 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,161

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Given the description of what wipefs does, I would have tried (presuming ext[34]), "mkfs -S ..."
That's a capital S - see the manpage for caveats, but in your case would be worth a try.

A few years back I tested this and it worked - I deliberately did a mkfs.ntfs over an ext3 filesystem then "mkfs -S" and I could reference all the files, and fsck worked.
This was a small, new filesystem specifically built for the test. Limited number of files, and no fragmentation. My results may not translate to the real world.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
OH NO !!! Can I recover this ? bgeddy Linux From Scratch 6 07-09-2007 09:39 PM
How to recover? Redbone981sl Linux - Software 1 10-04-2005 01:04 AM
How to recover from this... Rav3n Linux - Newbie 3 10-27-2003 11:41 AM
filesystem: recover or not to recover? bdp Linux - General 3 06-06-2003 03:40 AM
recover lakshman Linux - General 1 11-25-2002 08:53 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:12 PM.

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