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 20:41:31
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
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--