tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: disklabel problem
@ 2000-07-11 14:49 Cai, Xuejun
  0 siblings, 0 replies; 2+ messages in thread
From: Cai, Xuejun @ 2000-07-11 14:49 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks for so many people's response!

The solution is using
"scu -f /dev/rrz16c format" and then using "disklabel -wr /dev/rrz16c
rz28". 
The answer is actually posted in previsous summary. I'm sorry for not
searching in archive first.

Thanks again for all peoples.

Cai, Xuejun


The origin messages:
On Tue, 11 Jul 2000, Cai, Xuejun wrote:

> many people suggest zero the disklabel first, but no help.
> 
> #disklabel -z /dev/rrz16c
> Disk is unlabeled or, /dev/rrz16a does not start at block 0 of the disk
> 
> I also tried the following command, but all no help.
> #dd if=/dev/null of=/dev/rz16c
> and
> #/usr/lbin/zzero /dev/rrz16c
> 
> 
> On Tue, 11 Jul 2000, Cai, Xuejun wrote:
> 
> > Hi, admins
> > 
> > I got the following error message when it try to rewrite the disklable of
> > one disk,
> > "# disklabel -wr rz16 rz28 
> > disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
> > Use alternate partition"
> > There is one freebsd system installed previously in this disk. Now I want
> > repartition this disk and use it as tru64-unix data disk.
> > 

|=================================================
| Cai, Xuejun
| Tel: (+86-10) 68236038(o) 68244467(h)
! http://alpha01.ihep.ac.cn/~caixj
| Pager: (+86) 198 call 10015237
| Public PGP key:
|    http://alpha01.ihep.ac.cn/~caixj/DSSkey.txt
|=================================================
& Linux Is Not just gnU and uniX &

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

* Summary: Disklabel problem
@ 2002-02-13 15:12 Lee_Brewer
  0 siblings, 0 replies; 2+ messages in thread
From: Lee_Brewer @ 2002-02-13 15:12 UTC (permalink / raw)
  To: tru64-unix-managers



Admins,

In my previous post I had the following problem:

I have created a problem for myself.  In the process of adding a new disk to my
system, I typed
disklabel -z dsk5
instead of disklabel -z dsk53...
dsk5 is my cluster boot disk for member2.  In particular....

I have a two member GS160 cluster, the cluster root and boot disks are located
on a SAN via HSG80 controllers,  I'm using TruCluster 5.1 on Tru64 5.1 patch kit
3... Member one is down currently for Hardware failures.

The in memory copy is fine... A disklabel -p produces the correct vaules.  I
tried editing the label, but as I thought I can't because its in use...  dsk5
conatins the boot block for loading.... Any one have any suggestions?

Solution:  Provided by Dr. Blinn:

If you save the "disklabel -p" output to a file and if in fact it is
correct for the disk in question (TruCluster setup USUALLY uses non-
standard partitioning), then you should be able to write it back to
the disk through the "c" partition with disklabel -w -R and the rest
of the needed flags (e.g., -t advfs since it's an AdvFS boot disk).
Doing it through the "a" partition probably won't work because it's
a mounted disk through the "a" partition.  If that fails, you'll have
the ASCII file with the label, and you should be able to apply it by
shutting down that cluster member and writing the label using some
other member that can access the disk.


This worked.  My problem was using the "a" partition.  Using the "c"  partition
did the trick...

Thanks for all of the other responses...

Lee Brewer


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

end of thread, other threads:[~2002-02-13 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-13 15:12 Summary: Disklabel problem Lee_Brewer
  -- strict thread matches above, loose matches on Subject: below --
2000-07-11 14:49 Summary: disklabel problem Cai, Xuejun

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