tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Dr. Otto Titze, Kernphysik TUD, +49 6151 162916" <TITZE () ikp ! tu-darmstadt ! de>
To: tru64-unix-managers
Subject: SUMMARY: What is wrong with my commands?
Date: Mon, 02 Apr 2001 21:22:44 +0000	[thread overview]
Message-ID: <98624656418274.tru64-unix-managers.marc@archive.invalid> (raw)

Hi,

thanks to all who responded.

From: "Davis, Alan" <Davis@tessco.com>
From: "Thomas M. Payerle" <payerle@physics.umd.edu>
From: "Dr. Thomas.Blinn@Compaq.com" <tpb@doctor.zk3.dec.com>
From: alan@nabeth.cxo.dec.com

>A) The default partition size for the "a" partition was different than
>what was in the label, and you were editing the disklabel by opening
>the "a" partition (this is the default).
>
>To do what you were trying to do SAFELY, you must read the label off
>the disk using "disklabel -r" saving it to a file, then zero out the
>label on the disk, then re-write the label from the file to the disk
>with the "disklabel -R -r -t advfs /dev/rrz1a RZ28S <savedlabelfile>"
>or you might change the location or size of existing partitions and
>lose the file systems they contain.
 
Here I see my fault: I tried it with a label saved in a file but
I didn't zero the label before

>B) There was never a V3.5, and V4.0A is no longer supported.  All you are
>seeing is something you BELIEVE used to work.  The correct syntax for
>vdump is exactly what you wound up using; the syntax that you think
>used to work probably didn't.  It would work with "tar" which works
>on directories, but not with vdump (or even perhaps dump), which wants
>to know what file system mount point you want to dump.
 
This is not quite true. Maybe there was no Version 3.5. But I used 
exactly this command on a version 3.x on October 26, 1998 when I
was upgrading from version 3.something to V4.0 (as it now turns out)

>Alan Nabeth:
>	re: B.
>
>	It would seem something did change.  Since I get the same
>	symtom on V4.0D, V4.0G and V5.1, it would seem to be an
>	intentional change that you'll have to deal with.  Reporting
>	it as a bug wouldn't do any good because V4.0A is long since
>	unsupported.  You might want to investigate the vdump manual
>	page description of the -D option to see if that offers a
>	work-around that is more convenient than using bare file
>	system names.

Again thank you all!

Regards
Otto

PS: Regarding "V4.0A is no longer supported" does that mean that I 
have no chance to go from V4.0 to V4.0A (and then go to V4.0d)?
Or could I find somewhere this patch/upgrade?

The problem on this old box are a lot of things installed and therefore
I had prefered the installupdate. (I have already on one disk a V5.1 
installed and could of course start from this, or make a new install of 
V4.0D, my other boxes go not higher than V4.0d yet)

------------
Original question was:

A)Problem manipulating disks:
With diskconfig disk was partitioned and ADVFS on rz1a. Forgot
boot. Tried as I did in the past(and that worked):

bash# disklabel -rw -t advfs /dev/rrz1a RZ28S sys rzaboot.advfs
bootrza.advfs
This gave the message:
disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
Use alternate partition

What does this message mean? I tried different method with
disklabel also with a saved partition table file, always
unsuccessful. Why?
(Solution was to make it bootable with diskconfig)

B)Vdump | vrestore command:
The following command worked in the past (V3.5?) but not now
(V4.0A):

bash# cd /usr ; vdump -0f - . | (cd /r0d ; vrestore -xf -)
path     : /usr
dev/fset : user_domain#user
type     : advfs
advfs id : 0x321d799b.0007dd00.1
vdump: . is not a mounted fileset; mount fileset or use -D to dump.
vrestore: unable to use save-set; invalid or corrupt format

Why?
But this one works:

bash# vdump -0f - /usr | (cd /r0d ; vrestore -xf -)
path     : /usr
dev/fset : user_domain#user
type     : advfs
advfs id : 0x321d799b.0007dd00.1
vdump: Date of last level 0 dump: the start of the epoch
vdump: Dumping directories

Did there something change?

                 reply	other threads:[~2001-04-02 21:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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