help how to recover from a filesystem reformatted

From: Gerard Henry (ghenry@cmi.univ-mrs.fr)
Date: Thu Mar 04 2004 - 06:37:52 EST


hello,
i did a very bad thing, instead of upgrading a blade station, i did an install, so i lost files on a particular partition.
But, perhaps, i can recover some files, because the partition /dev/dsk/c0t0d0s3 was only reformatted, but not modified since the last reboot
if i do:
od -c /dev/dsk/c0t0d0s3 |more
i can see contents of ascii files. Anybody knows if i can do something else to recover postscript files?
Someone tells me about a solution, with magic numbers, perhaps, i can use
rebecca-root% newfs -N /dev/rdsk/c0t0d0s3
/dev/rdsk/c0t0d0s3: 33704496 sectors in 33437 cylinders of 16 tracks, 63 sectors
        16457.3MB in 380 cyl groups (88 c/g, 43.31MB/g, 5504 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 88800, 177568, 266336, 355104, 443872, 532640, 621408, 710176, 798944,
Initializing cylinder groups:
.......
super-block backups for last 10 cylinder groups at:
 32820640, 32909408, 32998176, 33086944, 33175712, 33264480, 33353248,
 33442016, 33530784, 33619552,

high magic with fsck to recover old filesystem? it is possible?

Thanks, i'll resume
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:11 EDT