Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* disklabel after LSMsimple
@ 1995-05-30  4:00 Tony Jones
  1995-05-31  4:00 ` Peter Mayne
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Jones @ 1995-05-30  4:00 UTC (permalink / raw)


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



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

* Re: disklabel after LSMsimple
  1995-05-30  4:00 disklabel after LSMsimple Tony Jones
@ 1995-05-31  4:00 ` Peter Mayne
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Mayne @ 1995-05-31  4:00 UTC (permalink / raw)


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.




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

end of thread, other threads:[~1995-05-31  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-30  4:00 disklabel after LSMsimple Tony Jones
1995-05-31  4:00 ` Peter Mayne

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