Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2003 06:20:59 +0200
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        "Francisco Reyes" <francisco@natserv.com>
Cc:        FreeBSD questions <questions@freebsd.org>
Subject:   Re: Please help.  Can't see HD
Message-ID:  <20031229062059.55ec8543@it.buh.cameradicommercio.ro>
In-Reply-To: <200312290303.hBT331U6002875@mail1.acecape.com>
References:  <20031229040627.54a0c256@it.buh.cameradicommercio.ro> <200312290303.hBT331U6002875@mail1.acecape.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 28 Dec 2003 22:07:00 -0500
"Francisco Reyes" <francisco@natserv.com> wrote:

> On Mon, 29 Dec 2003 04:06:27 +0200, Ion-Mihai Tetcu wrote:
> 
> >On Sun, 28 Dec 2003 20:54:06 -0500
> >"Francisco Reyes" <francisco@natserv.com> wrote:
> >
> >> Is there a way to recover the label info? I don't know if the HD
> >> is dying or whether the filesystem/HD boot sector is messed up.
> >
> >newfs -N will *probably* give the alternate superblocks so that you
> >could do a fsck_ufs -b.
> 
> Could you elaborate a little?
> Looked at man page for newfs and it says it just gives info of
> newfs without doing operation. How will that be used?
> 
> I am not familiar with the tools to manage disks. I usually have
> used /stand/systinstall to prepare HDs and allocate mount
> points.

it>/usr/ports/audio/xmms-kde# newfs -N ad3
/dev/ad3: 38166.7MB (78165360 sectors) block size 16384, fragment size 2048
        using 208 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:

 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624,
3010976, 3387328, 3763680, 4140032, 4516384, 4892736,
....

After which you could do a fsck_ufs -b 752864 device_node (first time
with -n also) and see if one of the alternate superblocks fits.



-- 
IOnut
Unregistered ;) FreeBSD user



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031229062059.55ec8543>