* how screwed am I ? - lost 79160kB off of a May 2001 reiserfs partition to a swap :-(
@ 2003-08-17 17:44 reiserfs
2003-08-17 19:10 ` John
2003-08-18 6:24 ` Oleg Drokin
0 siblings, 2 replies; 3+ messages in thread
From: reiserfs @ 2003-08-17 17:44 UTC (permalink / raw)
To: reiserfs-list
Hello all,
I screwed myself - I've overwritten the first 79160kB of
a 38GB partition (fdisk says 38796975 blocks) with swap :-(
The partition was almost full. I also have full output of
"find ." on that partition before I screwed up. Total of
639146 files.
I don't care about the files in the first 79160kB, since
those would be OS installation files. But I have many
important personal files in the remaining 38GB.
The partition was created as part of a Mandrake
installation in about May 2001 (I think it was Mandrake 7.2
then?). The kernel was linux-2.4.3 (which reiserfs version
would this be?)
I know I'm screwed, but exactly how much ?
Any tips / suggestions / procedures for recovering these
files ?
Thanks a bunch in advance,
John
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: how screwed am I ? - lost 79160kB off of a May 2001 reiserfs partition to a swap :-(
2003-08-17 17:44 how screwed am I ? - lost 79160kB off of a May 2001 reiserfs partition to a swap :-( reiserfs
@ 2003-08-17 19:10 ` John
2003-08-18 6:24 ` Oleg Drokin
1 sibling, 0 replies; 3+ messages in thread
From: John @ 2003-08-17 19:10 UTC (permalink / raw)
To: reiserfs; +Cc: reiserfs-list
Ha !
A year ago I got all hyped up about creating own backup system, but
never got around to finishing it. But I had started collecting data:
I've just found out that I also have this info on all fs entries:
select * from file where parentid = '355765';
id | parentid | partid | name | am | size | md5 | links | inode | changed | modified | mode | ownernm | ownerid | groupnm | groupid | symlink | devno | info
---------+----------+--------+------------+----+--------+-----+-------+-------+---------------------+---------------------+------+---------+---------+---------+---------+---------+-------+------
1758273 | 355765 | | .automount | 32 | 48 | | 2 | 69411 | 1999-12-31 20:58:03 | 2001-04-04 14:32:13 | 493 | | 0 | | 0 | | |
...
...
...
for every single directory entry on the disk ...
( the id & parentid are IDs withing the database. inode is the Inode on
the original filesystem )
Hans, this should help significantly, shouldn't it ?
(I even have the md5sums for plain files)
What would be next steps ?
Thanks,
John
On Sun, 17 Aug 2003 reiserfs@ied.com wrote:
> Date: Sun, 17 Aug 2003 13:44:16 -0400 (EDT)
> From: reiserfs@ied.com
> To: reiserfs-list@namesys.com
> Subject: how screwed am I ? - lost 79160kB off of a May 2001 reiserfs
> partition to a swap :-(
>
>
>
> Hello all,
>
> I screwed myself - I've overwritten the first 79160kB of
> a 38GB partition (fdisk says 38796975 blocks) with swap :-(
>
> The partition was almost full. I also have full output of
> "find ." on that partition before I screwed up. Total of
> 639146 files.
>
> I don't care about the files in the first 79160kB, since
> those would be OS installation files. But I have many
> important personal files in the remaining 38GB.
>
> The partition was created as part of a Mandrake
> installation in about May 2001 (I think it was Mandrake 7.2
> then?). The kernel was linux-2.4.3 (which reiserfs version
> would this be?)
>
> I know I'm screwed, but exactly how much ?
>
> Any tips / suggestions / procedures for recovering these
> files ?
>
> Thanks a bunch in advance,
>
> John
>
>
--
-- Gospel of Jesus' kingdom = saving power of God for all who believe --
## To some, nothing is impossible. ##
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: how screwed am I ? - lost 79160kB off of a May 2001 reiserfs partition to a swap :-(
2003-08-17 17:44 how screwed am I ? - lost 79160kB off of a May 2001 reiserfs partition to a swap :-( reiserfs
2003-08-17 19:10 ` John
@ 2003-08-18 6:24 ` Oleg Drokin
1 sibling, 0 replies; 3+ messages in thread
From: Oleg Drokin @ 2003-08-18 6:24 UTC (permalink / raw)
To: reiserfs; +Cc: reiserfs-list
Hello!
On Sun, Aug 17, 2003 at 01:44:16PM -0400, reiserfs@ied.com wrote:
> I screwed myself - I've overwritten the first 79160kB of
> a 38GB partition (fdisk says 38796975 blocks) with swap :-(
So you overwrote 32M of journal and ~50M of metadata, some of the metadata should
still be there, though.
Since this is user error, we can only help you based on http://namesys.com/support.html terms.
Or you can find the solution yourself. (I think several similar cases were described in
this list some time ago).
Bye,
Oleg
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-18 6:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-17 17:44 how screwed am I ? - lost 79160kB off of a May 2001 reiserfs partition to a swap :-( reiserfs
2003-08-17 19:10 ` John
2003-08-18 6:24 ` Oleg Drokin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.