From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,942ee35e4be490d3,start X-Google-Attributes: gidfee84,public From: tony@sunquest.com (Tony Jones) Subject: disklabel after LSMsimple Date: 1995/05/30 Message-ID: <3qfp0i$n1s@odin.sunquest.com>#1/1 X-Deja-AN: 103491028 organization: Sunquest Information Systems, Inc. newsgroups: comp.unix.osf.osf1 Is there any way to relabel a disk after having an LSMsimple area on partition 'a' ? Extract of failing attempts follows. In the end I just reformatted using scu. tony ------------------------------------------------------------------------------ # disklabel rz10 /dev/rrz10a: type: SCSI disk: rz56 ... 8 partitions: size offset fstype [fsize bsize cpg] a: 131056 16 LSMsimp # (Cyl. 0*- 161*) b: 262144 131072 LSMsimp # (Cyl. 161*- 485*) c: 1299174 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 1603*) d: 301986 393216 unused 1024 8192 # (Cyl. 485*- 858*) e: 301986 695202 unused 1024 8192 # (Cyl. 858*- 1231*) f: 301986 997188 unused 1024 8192 # (Cyl. 1231*- 1603*) g: 1298646 16 LSMpubl # (Cyl. 0*- 1603*) h: 512 1298662 LSMpriv # (Cyl. 1603*- 1603*) # disklabel -z rz10 Bad pack magic number (label is damaged, or pack is unlabeled) # disklabel -z /dev/rrz10a Bad pack magic number (label is damaged, or pack is unlabeled) # disklabel -rw rz10 rz56l disklabel: ioctl DIOCSDINFO: Open partition would move or shrink Use alternate partition # disklabel rz13 > /foo # rz13 is another correctly labelled rz56 # disklabel -R rz10 /foo disklabel: ioctl DIOCWDINFO: Open partition would move or shrink Use alternate partition