[SunHELP] FS crashed

sunhelp at sunhelp.org sunhelp at sunhelp.org
Mon Apr 2 16:13:52 CDT 2001


Use newfs -N on the partition in question.  That will spit out the
parameters used to create the new FS, without actually doing it.  Part of
the output will be the alternate superblock numbers. :D

If that fails, I suggest reversion to small animal sacrifice.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
Ed Mitchell (ed<-at->the7thbeer.com)
Finger for PGP public key
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
This boxen's uptime stats....
  2:12pm  up 46 day(s), 20:14,  2 users,  load average: 0.02, 0.02, 0.02


On Mon, 2 Apr 2001, Robo wrote:

> Hi
>=20
> The first alternate superblock is always 32 so if you
> substitute 32 for the # in the fsck command bellow and
> put the disk on the end you may get your file system
> back. The other thing to look at is there is an incantation
> of newfs (I think - it may be the underlying raw command
> which escapes me for the moment) which does a 'dry run'
> of the file system creation - one of the superblocks
> from this may work if the above doesn't...
>=20
> Good Luck -- you may need it
> John
> -----Original Message-----
> From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
> Behalf Of S=E9rgio Carvalho
> Sent: 02 April 2001 19:10
> To: sunhelp at sunhelp.org; isp-solaris at isp-solaris.com
> Subject: [SunHELP] FS crashed
>=20
>=20
> Hi Gurus,
>=20
> I have a crashed volume in a Solaris 2.6 environment, when I use fsck to
> check it I have the following message:
>=20
> ** /dev/dsk/c2t0d5s6
> BAD SUPER BLOCK: MAGIC NUMBER WRONG
> USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
> eg. fsck [-F ufs] -o b=3D# [special ...]
> where # is the alternate super block. SEE fsck_ufs(1M).
>=20
>=20
> Could anyone please help me????
>=20
> Thanks!!!!!
>=20
> S=E9rgio
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>=20
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>=20
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>=20




More information about the SunHELP mailing list