10-25-05 12:48 PM
I'm trying to remove a label from a disk so I can relabel it - the
result of the 18/36 GB mix ups noted in another thread.
The disk has been put into a Sun which has a fully working boot disk, so
the disk that is behaving poorly is not mounted.
I've tried:
1) dd if=/dev/zero of=/dev/rdsk/c2t5d0c2 count=16
That failed with an I/O error.
when I looked at the partition table, slice 2 was not 'backup'. In fact,
there was no 'backup' slice at all.
2) Picked analyze then setup from the format program, then configured
setup to not restore then label. i.e.
Restore disk label[yes]? no
Then I've run 'purge' to hopefully clear the label. That seems to have
no effect on the label.
3) Tried to set slice 2 to be 'backup' and start at sector 0, but are
unable to do that. The smallest sector number I can set the backup slice
to is 34.
partition> 2
Part Tag Flag First Sector Size Last Sector
2 backup wm 34 33.91GB 71116541
Enter partition id tag[backup]:
Enter partition permission flags[wm]:
Enter new starting Sector[34]: 0
`0' is out of range.
Enter new starting Sector[34]: 33
`33' is out of range.
Enter new starting Sector[34]: 34
Enter partition size[71116508b, 71116542e, 34724mb, 33gb, 0tb]: 71116508
b
partition> print
Current partition table (unnamed):
Total disk sectors available: 71116541 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 unassigned wm 0 0 0
1 usr wm 409634 200.00MB 819233
2 backup wm 34 33.91GB 71116541
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 usr wm 819234 33.52GB 71116540
8 unassigned wm 0 0 0
partition> quit
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> label
Ready to label disk, continue? y
label error: EFI Labels do not support overlapping partitions
Partition 1 overlaps partition 2.
Partition 6 overlaps partition 2.
no reserved partition found
Warning: error writing EFI.
Label failed.
Any suggestions? I have not tried copying the label from one working
idential disk this suspect one, but that could be done. It just needs my
friend to swap the disks, since I am accessing the box via ssh only.
--
David Kirkby,
G8WRB
Please check out http://www.g8wrb.org/
of if you live in Essex http://www.southminster-branch-line.org.uk/
[ Post a follow-up to this message ]
|