Please help. Can't see HD

Ion-Mihai Tetcu itetcu at apropo.ro
Sun Dec 28 20:19:54 PST 2003


On Sun, 28 Dec 2003 22:07:00 -0500
"Francisco Reyes" <francisco at 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 at 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


More information about the freebsd-questions mailing list