[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [SLUG] Argh! My drive no work



Hi,

I can't try it here at work, but I believe you can use mkfs -V blah
where blah are the options you would have used for really creating a file
system on that partition.
It doesn't write to the disk but it does say what parameters would have been
used to create it.
Hopefully this will tell you what alternate superblocks are there.
Another possibility is mkfs -m /dev/hdc3
which is supposed to return the command line that was used to create the
partition.
Please check with your local man page before trying these options, of
course...

Sun have written this thing called newfs which (as newfs -N) tells you the
alternate superblocks, based on something it gets from mkfs.
I have used it, but I don't have anything like it on the Linux box next to
me here.
(Did anyone port it to Linux?)

If you do find out what spare superblocks you have, maybe you could pick one
of the higher numbered ones. Chances are if something trashed the disk by
writing to the raw device, it only overwrote the first set of superblocks.
Of course if it was a huge MP3, then, maybe you have really lost it.

Lots of luck,

Jill.

___________________________________________
Jill Rowling
Senior Design Engineer & Unix System Administrator
Electronic Engineering Department, Aristocrat Technologies
3rd Floor, 77 Dunning Ave Rosebery NSW 2018
Phone:	(02) 9697-4484		Fax:	(02) 9663-1412
Email:	rowling@nospam.ali.com.au


--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text