* Conclusion to disklabel problem
@ 2001-06-19 16:49 Lee_Brewer
0 siblings, 0 replies; only message in thread
From: Lee_Brewer @ 2001-06-19 16:49 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-19 16:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-19 16:49 Conclusion to disklabel problem Lee_Brewer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox