xfs
[Top] [All Lists]

Re: Addendum to FAQ ?

To: Olaf Fr±czyk <olaf@xxxxxxxxxxxxx>
Subject: Re: Addendum to FAQ ?
From: lambada@xxxxxxxxx
Date: Thu, 10 Jul 2003 16:22:20 +0200 (CEST)
Cc: lambada@xxxxxxxxx, linux-xfs@xxxxxxxxxxx
Importance: Normal
In-reply-to: <1057846396.10335.28.camel@venus>
References: <35009.172.16.22.251.1057845309.squirrel@xxxxxxxxxxxxxxxxx> <1057846396.10335.28.camel@venus>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: SquirrelMail/1.4.0
> On Thu, 2003-07-10 at 15:55, lambada@xxxxxxxxx wrote:
>> Hi
>>
>>  Every root logging is a potential proof of stupididy.
>>  It happens that since I had a problem (probably due to Nvidia drivers)
>> with my xfs home partition, I typed mkfs.xfs and not fsck.xfs (by the
>> way, I should have done an xfs_repair). The slight difference with this
>> commands ruined  my day and a little more than 15 days of work.
> xfsdump is your friend :) In my company we do full backup every day with
> incremental backups during the day.
It is a laptop, I was rebooting to connect a firewire CD-RW and dump my
partition onto a CD-R.

> BTW. mkfs.xfs should tell you that you are going to format device with
> existing filesystem. If it didn't it is a bug.
In fact, the problem occured this way I think :
1) I upgraded both kernel and NVidia drivers, hum upgrade time to do a dump,
2) I rebooted
3) The mount /home failed
4) self.stupidity++ : I typed mkfs.xfs when I was thinking of fsck.xfs
5) I'm a sucker and I wrote to the xfs mailing list (c:

>> 1) Even if I imagine that I have no luck to reconstruct my partition as
>> it
>> is possible with ext2, I am asking if it possible to recover any files
>> (even in a flatted directory)
> I don't think so. Probably you could find someone who can get some data,
> but it will cost really much. And I suppose it will get in tens thousand
> of USD, so it depends how much valuable data you have erased.
Yes, I know. It worked once with an ext2 filesystem.

>> 2) Perharp's it should be added
>> in http://oss.sgi.com/projects/xfs/faq.html#undelete that what does not
>> work with rm, does not work either with mkfs.
> I thought it is as clear for everybody as to not put you hard disks into
> the water. Should this be added in the FAQ? ;)
Yes because some people are used to the unformat facility on MS systems
and it only costs a line of FAQ : "by the way, unformat does not work nor
exists"

Thanks anyway...

--
This email and any attached files are confidential and may be legally 
privileged.
If you are not the intended recipient, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this communication
 is strictly prohibited.


<Prev in Thread] Current Thread [Next in Thread>