tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* disklabel is wrong and cannot fix
@ 2001-11-27  5:17 Mark Schubert
  0 siblings, 0 replies; only message in thread
From: Mark Schubert @ 2001-11-27  5:17 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

I have the following disklabel on a disk currently holding a V5.1 root
filesystem (partition a). Partitions b and g are said to be inuse however
they are not inuse. I would like to reset them to be unused however when I
try the command "disklabel -s dsk0b unused" I get the error
"/dev/rdisk/dsk0b or an overlapping partition is open.".

I cannot reset either of the b or g partitions. Any suggestions? Naturally I
do not wish to do any serious damage to the existing disklabel as it has an
operational root filesystem on it.

# /dev/rdisk/dsk0c:
type: SWXCR
disk: SWXCR
label: 
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 128
sectors/cylinder: 4096
cylinders: 2045
sectors/unit: 8378368
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#          size     offset    fstype   [fsize bsize   cpg]      # NOTE:
values not exact
  a:    1024000          0     AdvFS                            # (Cyl.    0
- 249)
  b:    1024000    1024000      swap                            # (Cyl.  250
- 499)
  c:    8378368          0    unused        0     0             # (Cyl.    0
- 2045*)
  d:    2048000    2048000    unused        0     0             # (Cyl.  500
- 999)
  e:    2048000    4096000    unused        0     0             # (Cyl. 1000
- 1499)
  f:    2234368    6144000    unused        0     0             # (Cyl. 1500
- 2045*)
  g:    4300800    1572864     AdvFS                            # (Cyl.  384
- 1433)
  h:    2504704    5873664    unused        0     0             # (Cyl. 1434
- 2045*)

Regards,

Mark

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-27  5:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-27  5:17 disklabel is wrong and cannot fix Mark Schubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox