From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621944.tru64-unix-managers.marc@archive.invalid> From: Lee_Brewer () discovery ! com Date: Tue, 19 Jun 2001 16:49:33 +0000 To: tru64-unix-managers Subject: Conclusion to disklabel problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621944 Admins, Sorry for the delay in summarizing...things begin rolling after the fix. It turns out that rebooting the box fixed the problem. To summarize, I made a couple of mistakes that lead to this problem.. when I issue a disklabel -z rz17 then disklabel -rw rz17, or disklabel -rw rz17a. or disklabel -rw rz17c it reports back: disklabel: ioctl DIOCSDINFO: Open partition would move or shrink Use alternative partition. Here is what I did wrong... 1) I was originally attempting to mirror the boot disk rz16. I was planning on using rz17 as the mirror. To use the volrootmir -a rz17 command I needed to include a disk that is not part of LSM. When I started LSM up I used rz17 as my original disk volsetup rz17 2) I accidentally used rz17 when I did encapsulation of the disk I wanted to mirror I typed volencap rz17, when I should have volencap rz16 3)When I was ready to edit the label for rz17c the system would't allow me. It reported that the disk was in use. When I performed voldg rmdisk rz17 disklabel -z rz17 I got the error above. 4) I followed the advice of all the contributors but none fixed the porblem expect the reboo ideas from >From Alan Davis I've seen something like this... I think it's an open vnode reference in the kernel that's been orphaned. The only way that I know to clear it is to reboot. Ugly.. >From Dr. Blinn This is a part of your LSM experimentation, yes? Very probably the LSM daemon has the disk open. Very probably, it's got the "a" or the "c" partition open. If you zero the disk label, then reboot, you probably can then put a new label on the disk. LSM is messy stuff. Also I rebooted before I got the chance to try >From Chris Ruhnke You'll probably get a TON of these responses! Use the RAW device: # disklabel -rw /dev/rrz17a Thanks again, Lee Brewer