From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 20:19:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50CE916A4CE for ; Sun, 28 Dec 2003 20:19:54 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09D2343D31 for ; Sun, 28 Dec 2003 20:19:52 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 25745 invoked from network); 29 Dec 2003 04:19:50 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 29 Dec 2003 04:19:50 -0000 Date: Mon, 29 Dec 2003 06:20:59 +0200 From: Ion-Mihai Tetcu To: "Francisco Reyes" 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> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: FreeBSD questions Subject: Re: Please help. Can't see HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 04:19:54 -0000 On Sun, 28 Dec 2003 22:07:00 -0500 "Francisco Reyes" 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" 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