From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,942ee35e4be490d3 X-Google-Attributes: gidfee84,public From: Peter.Mayne@cao.mts.dec.com (Peter Mayne) Subject: Re: disklabel after LSMsimple Date: 1995/05/31 Message-ID: <3qirik$8ks@jac.zko.dec.com>#1/1 X-Deja-AN: 103622255 distribution: world references: <3qfp0i$n1s@odin.sunquest.com> organization: Digital Equipment Corporation reply-to: Peter.Mayne@cao.mts.dec.com newsgroups: comp.unix.osf.osf1 In article <3qfp0i$n1s@odin.sunquest.com> tony@sunquest.com (Tony Jones) wrote: > Is there any way to relabel a disk after having an LSMsimple area on partition > 'a' ? > > # 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 Was the disk unmounted? Does LSM still think it controls the disk? Do a volprint -Aht to see if LSM still has rz10 open. PJDM -- Peter Mayne Digital Equipment Corporation (Australia) Canberra, ACT I wrote this, not Digital. I didn't write the X Files.