From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653643321958.tru64-unix-managers.marc@archive.invalid> From: Mark Schubert Date: Tue, 27 Nov 2001 05:17:21 +0000 To: tru64-unix-managers Subject: disklabel is wrong and cannot fix X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653643321958 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