Subject: Re: disklabel for a large disk
To: Mike Cheponis <mac@Wireless.Com>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 04/17/2001 14:28:18
On Tue, 17 Apr 2001, Mike Cheponis wrote:

I re-read your original message...

>   e: 64436400  1618848     4.2BSD     1024  8192     0   # (Cyl. 1606 - 65530)
>
> Notice that the size is wrong.  So edited this to be:
[snip]
>   e: 86312016  1618848     4.2BSD     1024  8192     0   # (Cyl. 1606 - 65530)

Ack! You can't change the size of the "e:" partition without newfs'ing
that partition. If you haven't written anything to the disk (lately),
the data should still be there, though. You may be able to restore the
old disklabel and fsck (unmount /dev/wd0e first, then):

  disklabel -W wd1
  disklabel -r -R wd1 /var/backups/disklabel.wd1.backup
  disklabel -N wd1
  fsck -f /dev/rwd1e

and so on.


Frederick