Subject: Re: emergency help re. disklabel
To: Steve Blinkhorn <steve@prd.co.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 10/04/2006 21:33:06
On Wed, Oct 04, 2006 at 08:09:16PM +0100, Steve Blinkhorn wrote:
> >
> > On Wed, Oct 04, 2006 at 06:28:57PM +0100, Steve Blinkhorn wrote:
> > >
> > > I have just had a double failure - main disk supporting users failed
> > > *and* backup tape drive failure. I had, however kept rsync'd copies
> > > of very nearly everything on another machine. But since it will take
> > > me time to make emergency DVD backups, I currently have only one copy
> > > of everything. On this same machine is a whole unused, unlabeled
> > > 160Gbyte disk waiting to be commissioned which is identical to the
> > > main disk - they are both Maxtor 6L160P0.
> > >
> > > My attempts at labeling this disk have failed, however. I tried
> > > adding a copy of the label from the existing wd0 into /etc/disktab:
> >
> > If you're just trying to label wd1 the same way wd0 is, you can just do:
> > disklabel wd0 > foo
> > disklabel -rR wd1 foo
> >
>
> I still get:
>
> disklabel: Invalid signature in mbr record 0
Yes, but this shouldn't prevent it from labelling the disk. If you want
to get rid of this, create a MBR partition table with fdisk -u first
(just create one NetBSD partition covering the whole disk)
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--