Operating System - Tru64 Unix
1752679 Members
5760 Online
108789 Solutions
New Discussion юеВ

volrootmir error

 
SOLVED
Go to solution
SCSI Error
Regular Advisor

volrootmir error

Hi

Anyone could help me with this error encountered?

# disklabel rz0
# /dev/rrz0a:
type: SCSI
disk: BF009636
label:
flags:
bytes/sector: 512
sectors/track: 168
tracks/cylinder: 20
sectors/cylinder: 3360
cylinders: 5273
sectors/unit: 17773524
rpm: 15015
interleave: 1
trackskew: 76
cylinderskew: 80
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0

8 partitions:
# size offset fstype [fsize bsize cpg] # NOTE: values not exact
a: 2226312 0 AdvFS # (Cyl. 0 - 662*)
b: 8380384 2226312 swap # (Cyl. 662*- 3156*)
c: 17773524 0 unused 0 0 # (Cyl. 0 - 5289*)
d: 2095352 10607720 AdvFS # (Cyl. 3157*- 3780*)
e: 2057935 12703072 AdvFS # (Cyl. 3780*- 4393*)
f: 3012516 14761007 unused 0 0 # (Cyl. 4393*- 5289*)
g: 1024 10606696 LSMsimp # (Cyl. 3156*- 3157*)
h: 8690154 9083370 unused 0 0 # (Cyl. 2703*- 5289*)
# disklabel rz1
# /dev/rrz1a:
type: SCSI
disk: BF009636
label:
flags:
bytes/sector: 512
sectors/track: 168
tracks/cylinder: 20
sectors/cylinder: 3360
cylinders: 5273
sectors/unit: 17773524
rpm: 15015
interleave: 1
trackskew: 76
cylinderskew: 80
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0

8 partitions:
# size offset fstype [fsize bsize cpg] # NOTE: values not exact
a: 2226312 0 unused 0 0 # (Cyl. 0 - 662*)
b: 8380384 2226312 unused 0 0 # (Cyl. 662*- 3156*)
c: 17773524 0 unused 0 0 # (Cyl. 0 - 5289*)
d: 2095352 10607720 unused 0 0 # (Cyl. 3157*- 3780*)
e: 2057935 12703072 unused 0 0 # (Cyl. 3780*- 4393*)
f: 3012516 14761007 unused 0 0 # (Cyl. 4393*- 5289*)
g: 1024 10606696 unused 0 0 # (Cyl. 3156*- 3157*)
h: 8690154 9083370 unused 0 0 # (Cyl. 2703*- 5289*)
# volrootmir -a rz1

Mirroring system disk rz0 to disk rz1.

This operation will destroy all contents on disk rz1.
The partition map from rz0 will be copied to rz1 and
all volumes associated with rz0 will be mirrored.

Do you want to continue with this operation? (y or n) y

Initializing rz1.


The current encapsulation/mirroring process uses a portion of swap
space on the system disk and its mirror to hold the private region.
The length of the swap volume (8380384) plus the length of the private
region (1024) is 8381408. The target swap partition rz1b (8380384) is
not large enough to hold swapvol and the private area.
To mirror the root disk you must increase the size of partition
rz1b by 1024 blocks before running volrootmir.

Could not set up rz1 for mirroring.
#
3 REPLIES 3
Vladimir Fabecic
Honored Contributor
Solution

Re: volrootmir error

Do exactly what been told:
increase partition "b" for 1024 blocks and move "d" and "e" partition for 1024 blocks.
You can use GUI to edit label.
As I can see, you have enough free blocks to do it.
In vino veritas, in VMS cluster
SCSI Error
Regular Advisor

Re: volrootmir error

Thanks,

It works!
Kapil Jha
Honored Contributor

Re: volrootmir error

whenever you are doing volrootmir /dev/dskX
dskX should not be labbled.
do just disklabel -z /dev/dskX
and volrootmir -a /dev/dskX
to mirror both usr and var.

BR,
kapil
I am in this small bowl, I wane see the real world......