Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* disklabel woes
@ 1994-05-10 13:38 Steve Winters 541-0624
  1994-05-10 16:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1994-05-10 18:46 ` Steven R. Sheldon
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Winters 541-0624 @ 1994-05-10 13:38 UTC (permalink / raw)


We have just installed OSF/1 2.0 on a DEC 3000/400 system.
 
When I run "disklabel -e /dev/rrz3a" and try to zero out the "a:"
partition (offset 0, size 0) I get this annoying message:
 
"disklabel:ioctl DECWDINFO: Open partition would move or shrink.
Use alternate partition"
 
NONE of the drive's partitions are mounted. And, I do not get this
disklabel error when I make the "a:" partition, say, the entire disk.
 
I've called DEC on this and, though very responsive, they haven't
been much help.

Any help/insight is much appreciated.

-- 

------------------------\
Steve Winters		|
ManTech Environmental	|
(919) 541-0624		|
winters@hpcc.epa.gov	|
------------------------\


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: disklabel woes
  1994-05-10 13:38 disklabel woes Steve Winters 541-0624
@ 1994-05-10 16:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1994-05-10 18:46 ` Steven R. Sheldon
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-05-10 16:51 UTC (permalink / raw)



In article <1994May10.133807.21902@rtpnc.epa.gov>, winters@stratus.rtpnc.epa.gov (Steve Winters 541-0624) writes:
 
>When I run "disklabel -e /dev/rrz3a" and try to zero out the "a:"
>partition (offset 0, size 0) I get this annoying message:
> 
>"disklabel:ioctl DECWDINFO: Open partition would move or shrink.
>Use alternate partition"

I don't believe OSF will let you change the size of an open
partition.  Since you've opened the A partition, it won't
let you change the size of it.  To change the size of A
you have to use an alternate partition name, C for example.

> 
>NONE of the drive's partitions are mounted. And, I do not get this
>disklabel error when I make the "a:" partition, say, the entire disk.

Not mounted in the file system sense, but certainly open.

>------------------------\
>Steve Winters		|
>>

--
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: disklabel woes
  1994-05-10 13:38 disklabel woes Steve Winters 541-0624
  1994-05-10 16:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1994-05-10 18:46 ` Steven R. Sheldon
  1 sibling, 0 replies; 3+ messages in thread
From: Steven R. Sheldon @ 1994-05-10 18:46 UTC (permalink / raw)


In <1994May10.133807.21902@rtpnc.epa.gov> winters@stratus.rtpnc.epa.gov (Steve Winters 541-0624) writes:

>We have just installed OSF/1 2.0 on a DEC 3000/400 system.
> 
>When I run "disklabel -e /dev/rrz3a" and try to zero out the "a:"
>partition (offset 0, size 0) I get this annoying message:
> 
>"disklabel:ioctl DECWDINFO: Open partition would move or shrink.
>Use alternate partition"
> 
>NONE of the drive's partitions are mounted. And, I do not get this
>disklabel error when I make the "a:" partition, say, the entire disk.
> 
>I've called DEC on this and, though very responsive, they haven't
>been much help.

 I ran into this the other day mostly by accident, and I don't ever want to
do it again, but that's a long story. :)

 I believe what I had to do was use the '-r' switch:

  -r    Reads or writes the label directly to or from the disk, rather than
        going through the in-memory copy of the label.

 I was in single user mode after having booted off the network, trying to
edit the partitions.  This made it work, don't understand why, but then
there are a lot of OSF/1 things I don't seem to understand.
-- 
Steve Sheldon           [These are my own opinions]
Iowa State University   ICSS Resource Facility by day
sheldon@iastate.edu     ProMap, Inc. by night


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-05-10 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-10 13:38 disklabel woes Steve Winters 541-0624
1994-05-10 16:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-05-10 18:46 ` Steven R. Sheldon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox