Disklabel Rescue

From: Alan Ford <a.ford_at_grafton.northpower.nsw.gov.au>
Date: Thu, 20 Jun 1996 15:25:10 +0000

Help !!! ! !! ! I have just made a BIG typo

disklabel -z rzb2 instead of disklabel -z rzd2

Now the situation is this

1. rzb2 is part of a live ADVFS (but it only has swap and /tmp whew)
    but is mirrored at the controller level (ie HSZ40)

2. A disklabel -e rzb2 shows the correct information.

3. A disklabel -rw rzb2 rz29b gives the following

partition c extends past end of disk by 2052 sectors,truncate ? [n]y
partition f extends past end of disk by 2052 sectors,truncate ? [n]y
partition h extends past end of disk by 2052 sectors,truncate ? [n]y
disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
Use alternate partition

4. Everything is still running OK.

If I need to, I can bring the machine down AH (but would rather not).

TIA (MARIA) - sorry Maria.....


Alf

Hairy thing from space that loves cats..........
Received on Thu Jun 20 1996 - 08:19:52 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT