Veritas Volume Manager Troubleshooting Guide
Veritas Volume Manager Troubleshooting Guide
Troubleshooting Guide
Solaris
5.0
N18520F
Veritas Volume Manager
Troubleshooting Guide
Copyright © 2006 Symantec Corporation. All rights reserved.
Symantec, the Symantec Logo, Veritas and Veritas Storage Foundation are trademarks or
registered trademarks of Symantec Corporation or its affiliates in the U.S. and other
countries. Other names may be trademarks of their respective owners.
The product described in this document is distributed under licenses restricting its use,
copying, distribution, and decompilation/reverse engineering. No part of this document
may be reproduced in any form by any means without prior written authorization of
Symantec Corporation and its licensors, if any.
Symantec Corporation
20330 Stevens Creek Blvd.
Cupertino, CA 95014
www.symantec.com
Third-party legal notices
Technical support
For technical assistance, visit http://support.veritas.com and select phone or
email support. Use the Knowledge Base search feature to access resources such
as TechNotes, product alerts, software downloads, hardware compatibility lists,
and our customer email notification service.
Contents
12
6 Contents
Recovering a root disk and root mirror from backup tape ................... 46
Messages ....................................................................................................... 79
Index 125
Chapter 1
Recovery from hardware
failure
Symantec’s Veritas Volume Manager (VxVM) protects systems from disk and
other hardware failures and helps you to recover from such events. This chapter
describes recovery procedures and information to help you prevent loss of data
or system access due to disk and other hardware failures.
If a volume has a disk I/O failure (for example, because the disk has an
uncorrectable error), VxVM can detach the plex involved in the failure. I/O stops
on that plex but continues on the remaining plexes of the volume.
If a disk fails completely, VxVM can detach the disk from its disk group. All
plexes on the disk are disabled. If there are any unmirrored volumes on a disk
when it is detached, those volumes are also disabled.
Note: Apparent disk failure may not be due to a fault in the physical disk media
or the disk controller, but may instead be caused by a fault in an intermediate or
ancillary component such as a cable, host bus adapter, or power supply.
Start up
(vxvol start)
Shut down
(vxvol stop)
PS = plex state
PKS = plex kernel state
At system startup, volumes are started automatically and the vxvol start task
makes all CLEAN plexes ACTIVE. At shutdown, the vxvol stop task marks all
ACTIVE plexes CLEAN. If all plexes are initially CLEAN at startup, this indicates
that a controlled shutdown occurred and optimizes the time taken to start up
the volumes.
Figure 1-2 shows additional transitions that are possible between plex states as
a result of hardware problems, abnormal system shutdown, and intervention by
the system administrator.
When first created, a plex has state EMPTY until the volume to which it is
attached is initialized. Its state is then set to CLEAN. Its plex kernel state
remains set to DISABLED and is not set to ENABLED until the volume is started.
10 Recovery from hardware failure
Understanding the plex state cycle
Create plex
After a system crash and reboot, all plexes of a volume are ACTIVE but marked
with plex kernel state DISABLED until their data is recovered by the vxvol
resync task.
A plex may be taken offline with the vxmend off command, made available again
using vxmend on, and its data resynchronized with the other plexes when it is
reattached using vxplex att. A failed resynchronization or uncorrectable I/O
failure places the plex in the IOFAIL state.
“Recovering an unstartable mirrored volume” on page 11, and subsequent
sections describe the actions that you can take if a system crash or I/O error
leaves no plexes of a mirrored volume in a CLEAN or ACTIVE state.
For information on the recovery of RAID-5 volumes, see “Failures on RAID-5
volumes” on page 15 and subsequent sections.
Recovery from hardware failure 11
Recovering an unstartable mirrored volume
2 To recover the other plexes in a volume from the CLEAN plex, the volume
must be disabled, and the other plexes must be STALE. If necessary, make
any other CLEAN or ACTIVE plexes STALE by running the following
command on each of these plexes in turn:
# vxmend [-g diskgroup] fix stale plex
3 To enable the CLEAN plex and to recover the STALE plexes from it, use the
following command:
# vxvol [-g diskgroup] start volume
For example, to recover volume vol01:
# vxvol -g mydg start vol01
For more information about the vxmend and vxvol command, see the
vxmend(1M) and vxvol(1M) manual pages.
Note: If the data in the plex was corrupted, and the volume has no ACTIVE
or CLEAN redundant plexes from which its contents can be resynchronized,
it must be restored from a backup or from a snapshot image.
Recovery from hardware failure 13
Forcibly restarting a disabled volume
The -f option forcibly restarts the volume, and the -o bg option resynchronizes
its plexes as a background task. For example, to restart the volume myvol so
that it can be restored from backup, use the following command:
# vxvol -g mydg -o bg -f start myvol
Caution: Do not unset the failing flag if the reason for the I/O errors is
unknown. If the disk hardware truly is failing, and the flag is cleared, there is a
risk of data loss.
. . .
2 Use the vxedit set command to clear the flag for each disk that is marked
as failing (in this example, mydg02):
# vxedit set failing=off mydg02
14 Recovery from hardware failure
Reattaching failed disks
3 Use the vxdisk list command to verify that the failing flag has been
cleared:
# vxdisk list
. . .
c1t3d0s2
c1t4d0s2
2 Once the fault has been corrected, the disks can be reattached by using the
following command to rescan the device list:
# /usr/sbin/vxdctl enable
3 Use the vxreattach command with no options to reattach the disks:
# /etc/vx/bin/vxreattach
After reattachment takes place, recovery may not be necessary unless a disk was
faulty and had to be replaced. Reattachment can fail if the original (or another)
cause for the disk failure still exists.
Recovery from hardware failure 15
Failures on RAID-5 volumes
System failures
RAID-5 volumes are designed to remain available with a minimum of disk space
overhead, if there are disk failures. However, many forms of RAID-5 can have
data loss after a system failure. Data loss occurs because a system failure causes
the data and parity in the RAID-5 volume to become unsynchronized. Loss of
synchronization occurs because the status of writes that were outstanding at
the time of the failure cannot be determined.
If a loss of sync occurs while a RAID-5 volume is being accessed, the volume is
described as having stale parity. The parity must then be reconstructed by
reading all the non-parity columns within each stripe, recalculating the parity,
and writing out the parity stripe unit in the stripe. This must be done for every
stripe in the volume, so it can take a long time to complete.
Besides the vulnerability to failure, the resynchronization process can tax the
system resources and slow down system operation.
RAID-5 logs reduce the damage that can be caused by system failures, because
they maintain a copy of the data being written at the time of the failure. The
process of resynchronization consists of reading that data and parity from the
logs and writing it to the appropriate areas of the RAID-5 volume. This greatly
reduces the amount of time needed for a resynchronization of data and parity. It
also means that the volume never becomes truly stale. The data and parity for
all stripes in the volume are known at all times, so the failure of a single disk
cannot result in the loss of the data within the volume.
16 Recovery from hardware failure
Failures on RAID-5 volumes
Disk failures
An uncorrectable I/O error occurs when disk failure, cabling or other problems
cause the data on a disk to become unavailable. For a RAID-5 volume, this means
that a subdisk becomes unavailable. The subdisk cannot be used to hold data and
is considered stale and detached. If the underlying disk becomes available or is
replaced, the subdisk is still considered stale and is not used.
If an attempt is made to read data contained on a stale subdisk, the data is
reconstructed from data on all other stripe units in the stripe. This operation is
called a reconstructing-read. This is a more expensive operation than simply
reading the data and can result in degraded read performance. When a RAID-5
volume has stale subdisks, it is considered to be in degraded mode.
A RAID-5 volume in degraded mode can be recognized from the output of the
vxprint -ht command as shown in the following display:
v r5vol - ENABLED
DEGRADED 204800 RAID - raid5
pl r5vol-01 r5vol ENABLED
ACTIVE 204800 RAID 3/16 RW
sd disk01-01 r5vol-01disk01
0 102400 0/0 c2t9d0 ENA
sd disk02-01 r5vol-01disk02
0 102400 1/0 c2t10d0 dS
sd disk03-01 r5vol-01disk03
0 102400 2/0 c2t11d0 ENA
pl r5vol-02 r5vol ENABLED
LOG 1440 CONCAT - RW
sd disk04-01 r5vol-02disk04
0 1440 0 c2t12d0 ENA
pl r5vol-03 r5vol ENABLED
LOG 1440 CONCAT - RW
sd disk05-01 r5vol-03disk05
0 1440 0 c2t14d0 ENA
The volume r5vol is in degraded mode, as shown by the volume state, which is
listed as DEGRADED. The failed subdisk is disk02-01, as shown by the MODE
flags; d indicates that the subdisk is detached, and S indicates that the subdisk’s
contents are stale.
A disk containing a RAID-5 log plex can also fail. The failure of a single RAID-5
log plex has no direct effect on the operation of a volume provided that the
RAID-5 log is mirrored. However, loss of all RAID-5 log plexes in a volume makes
it vulnerable to a complete failure. In the output of the vxprint -ht command,
failure within a RAID-5 log plex is indicated by the plex state being shown as
BADLOG rather than LOG. This is shown in the following display, where the
RAID-5 log plex r5vol-02 has failed:
Recovery from hardware failure 17
Failures on RAID-5 volumes
...
2 Any existing log plexes are zeroed and enabled. If all logs fail during this
process, the start process is aborted.
3 If no stale subdisks exist or those that exist are recoverable, the volume is
put in the ENABLED volume kernel state and the volume state is set to
ACTIVE. The volume is now started.
Parity resynchronization
In most cases, a RAID-5 array does not have stale parity. Stale parity only occurs
after all RAID-5 log plexes for the RAID-5 volume have failed, and then only if
there is a system failure. Even if a RAID-5 volume has stale parity, it is usually
repaired as part of the volume start process.
If a volume without valid RAID-5 logs is started and the process is killed before
the volume is resynchronized, the result is an active volume with stale parity.
For an example of the output of the vxprint -ht command, see the following
example for a stale RAID-5 volume:
...
...
This output lists the volume state as NEEDSYNC, indicating that the parity needs
to be resynchronized. The state could also have been SYNC, indicating that a
synchronization was attempted at start time and that a synchronization process
should be doing the synchronization. If no such process exists or if the volume is
in the NEEDSYNC state, a synchronization can be manually started by using the
resync keyword for the vxvol command. For example, to resynchronize the
RAID-5 volume in the figure “Invalid RAID-5 volume” on page 22, use the
following command:
# vxvol -g mydg resync r5vol
A RAID-5 volume that has multiple stale subdisks can be recovered in one
operation. To recover multiple stale subdisks, use the vxvol recover command
on the volume, as follows:
# vxvol -g mydg recover r5vol
Any failure in the stripes involved in the move makes the volume unusable. The
RAID-5 volume can also become invalid if its parity becomes stale. To avoid this
occurring, vxsd does not allow a subdisk move in the following situations:
■ a stale subdisk occupies any of the same stripes as the subdisk being moved
■ the RAID-5 volume is stopped but was not shut down cleanly; that is, the
parity is considered stale
■ the RAID-5 volume is active and has no valid log areas
Only the third case can be overridden by using the -o force option.
Subdisks of RAID-5 volumes can also be split and joined by using the vxsd split
command and the vxsd join command. These operations work the same way as
those for mirrored volumes.
Note: RAID-5 subdisk moves are performed in the same way as subdisk moves
for other volume types, but without the penalty of degraded redundancy.
Another possible way that a RAID-5 volume can become unstartable is if the
parity is stale and a subdisk becomes detached or stale. This occurs because
within the stripes that contain the failed subdisk, the parity stripe unit is invalid
(because the parity is stale) and the stripe unit on the bad subdisk is also invalid.
Figure 1-3 illustrates a RAID-5 volume that has become invalid due to stale
parity and a failed subdisk.
RAID-5 plex
This example shows four stripes in the RAID-5 array. All parity is stale and
subdisk disk05-00 has failed. This makes stripes X and Y unusable because two
failures have occurred within those stripes.
This qualifies as two failures within a stripe and prevents the use of the volume.
In this case, the output display from the vxvol start command is as follows:
VxVM vxvol ERROR V-5-1-1237 Volume r5vol is not startable; some
This situation can be avoided by always using two or more RAID-5 log plexes in
RAID-5 volumes. RAID-5 log plexes prevent the parity within the volume from
becoming stale which prevents this situation (see “System failures” on page 15
for details).
Recovery from hardware failure 23
Failures on RAID-5 volumes
■ If some subdisks are stale and need recovery, and if valid logs exist, the
volume is enabled by placing it in the ENABLED kernel state and the volume
is available for use during the subdisk recovery. Otherwise, the volume
kernel state is set to DETACHED and it is not available during subdisk
recovery.
This is done because if the system were to crash or the volume was
ungracefully stopped while it was active, the parity becomes stale, making
the volume unusable. If this is undesirable, the volume can be started with
the -o unsafe start option.
■ The volume state is set to RECOVER and stale subdisks are restored. As the
data on each subdisk becomes valid, the subdisk is marked as no longer
stale.
If any subdisk recovery fails and there are no valid logs, the volume start is
aborted because the subdisk remains stale and a system crash makes the
RAID-5 volume unusable. This can also be overridden by using the -o
unsafe start option.
If the volume has valid logs, subdisk recovery failures are noted but they do
not stop the start procedure.
24 Recovery from hardware failure
Recovering from incomplete disk group moves
■ When all subdisks have been recovered, the volume is placed in the
ENABLED kernel state and marked as ACTIVE. It is now started.
TY NAME ASSOC
KSTATE LENGTH PLOFFS STATE ...
dg mydg mydg
- - - -
dm mydg01 c4t50d0s2
- 35521408 - -
dm mydg02 c4t51d0s2
- 35521408 - -
dm mydg03 c4t52d0s2
- 35521408 - FAILING
dm mydg04 c4t53d0s2
- 35521408 - FAILING
dm mydg05 c4t54d0s2
- 35521408 - -
v SNAP-vol1 fsgen
ENABLED 204800 - ACTIVE
pl vol1-03 SNAP-vol1
ENABLED 204800 - ACTIVE
sd mydg05-01 vol1-03
ENABLED 204800 0 -
dc SNAP-vol1_dco SNAP-vol1
- - - -
v SNAP-vol1_dcl gen
ENABLED 144 - ACTIVE
pl vol1_dcl-03 SNAP-vol1_dcl
ENABLED 144 - ACTIVE
sd mydg05-02 vol1_dcl-03
ENABLED 144 0 -
sp vol1_snp SNAP-vol1
- - - -
v vol1 fsgen
ENABLED 204800 - ACTIVE
pl vol1-01 vol1
ENABLED 204800 - ACTIVE
sd mydg01-01 vol1-01
ENABLED 204800 0 -
pl vol1-02 vol1
ENABLED 204800 - ACTIVE
sd mydg02-01 vol1-01
ENABLED 204800 0 -
dc vol1_dco vol1
- - - BADLOG
v vol1_dcl gen
DETACHED 144 - DETACH
pl vol1_dcl-01 vol1_dcl
ENABLED 144 - ACTIVE
sd mydg03-01 vol1_dcl-01
ENABLED 144 0 -
pl vol1_dcl-02 vol1_dcl
DETACHED 144 - IOFAIL
sd mydg04-01 vol1_dcl-02
ENABLED 144 0 RELOCATE
sp SNAP-vol1_snp vol1
- - - -
This output shows the mirrored volume, vol1, its snapshot volume, SNAP-
vol1, and their respective DCOs, vol1_dco and SNAP-vol1_dco. The two
disks, mydg03 and mydg04, that hold the DCO plexes for the DCO volume,
26 Recovery from hardware failure
Recovery from failure of a DCO volume
vol1_dcl, of vol1 have failed. As a result, the DCO volume, vol1_dcl, of the
volume, vol1, has been detached and the state of vol1_dco has been set to
BADLOG. For future reference, note the entries for the snap objects, vol1_snp
and SNAP-vol1_snp, that point to vol1 and SNAP-vol1 respectively.
You can use such output to deduce the name of a volume’s DCO (in this example,
vol1_dco), or you can use the following vxprint command to display the name
of a volume’s DCO:
# vxprint [-g diskgroup] -F%dco_name volume
You can use the vxprint command to check if the badlog flag is set for the DCO
of a volume as shown here:
# vxprint [-g diskgroup] -F%badlog dco_name
This command returns the value on if the badlog flag is set. For the example
output, the command would take this form:
# vxprint -g mydg -F%badlog vol1_dco
on
Use the following command to verify the version number of the DCO:
# vxprint [-g diskgroup] -F%version dco_name
This returns a value of 0 or 20. For the example output, the command would take
this form:
# vxprint -g mydg -F%version vol1_dco
The DCO version number determines the recovery procedure that you should
use:
■ “Recovering a version 0 DCO” on page 27
■ “Recovering a version 20 DCO” on page 28
Recovery from hardware failure 27
Recovery from failure of a DCO volume
Caution: You must use the vxassist snapclear command on all the
snapshots of the volume after removing the badlog flag from the DCO.
Otherwise, data may be lost or corrupted when the snapshots are snapped
back.
If a volume and its snapshot volume are in the same disk group, the
following command clears the FastResync maps for both volumes:
# vxassist [-g diskgroup] snapclear volume \
snap_obj_to_snapshot
Here snap_obj_to_snapshot is the name of the snap object associated with
volume that points to the snapshot volume.
For the example output, the command would take this form:
# vxassist -g mydg snapclear vol1 SNAP-vol1_snp
If a snapshot volume and the original volume are in different disk groups,
you must perform a separate snapclear operation on each volume:
# vxassist -g diskgroup1 snapclear volume snap_obj_to_snapshot
# vxassist -g diskgroup2 snapclear snapvol snap_obj_to_volume
Here snap_obj_to_volume is the name of the snap object associated with the
snapshot volume, snapvol, that points to the original volume.
For the example output, the commands would take this form if SNAP-vol1
had been moved to the disk group, snapdg:
# vxassist -g mydg snapclear vol1 SNAP-vol1_snp
Note: You cannot use vxassist snapback because the snapclear operation
removes the snapshot association information.
This adds a DCO volume with 2 plexes, and also enables DRL and
FastResync (if licensed).
See the Veritas Volume Manager Administrator’s Guide and the vxsnap(1M)
manual page for full details of how to use the vxsnap prepare command.
Chapter 2
Recovery from failure of
instant snapshot
operations
This chapter describes how to recover from various failure and error conditions
that may occur during instant snapshot operations:
■ Failure of vxsnap prepare
■ Failure of vxsnap make for full-sized instant snapshots
■ Failure of vxsnap make for break-off instant snapshots
■ Failure of vxsnap make for space-optimized instant snapshots
■ Failure of vxsnap restore
■ Failure of vxsnap reattach or refresh
■ Copy-on-write failure
■ I/O errors during resynchronization
■ I/O failure on a DCO volume
See the Veritas Volume Manager Administrator’s Guide and the vxsnap(1M)
manual page for full details of the creation and administration of instant
snapshots.
30 Recovery from failure of instant snapshot operations
Failure of vxsnap prepare
Copy-on-write failure
If an error is encountered while performing an internal resynchronization of a
volume’s snapshot, the snapshot volume goes into the INVALID state, and is
made inaccessible for I/O and instant snapshot operations.
Use the following steps to recover the snapshot volume:
1 Use the vxsnap command to dissociate the volume from the snapshot
hierarchy:
# vxsnap [-g diskgroup] dis snapshot_volume
2 Unprepare the volume using the following command:
# vxsnap [-g diskgroup] unprepare snapshot_volume
3 Prepare the volume using the following command:
# vxsnap [-g diskgroup] prepare volume [ndcomirs=number] \
[regionsize=size] [drl=yes|no|sequential] \
[storage_attribute ...]
See the Veritas Volume Manager Administrator’s Guide and the vxsnap(1M)
manual page for full details of how to use the vxsnap prepare command.
The volume can now be used again for snapshot operations.
Alternatively, you can remove the snapshot volume and recreate it if required.
Recovery from failure of instant snapshot operations 33
I/O errors during resynchronization
Note: If the I/O failure also affects the data volume, it must be recovered before
its DCO volume can be recovered.
34 Recovery from failure of instant snapshot operations
I/O failure on a DCO volume
Chapter 3
Recovery from boot disk
failure
Veritas Volume Manager (VxVM) protects systems from disk and other
hardware failures and helps you to recover from such events. This chapter
describes recovery procedures and information to help you prevent loss of data
or system access due to the failure of the boot (root) disk. It also includes
procedures for repairing the root (/) and usr file systems.
For information about recovering volumes and their data on non-boot disks, see
“Recovery from hardware failure” on page 7.
For more information about protecting your system, see the Veritas Volume
Manager Installation Guide.
Note: The examples in this chapter assume that the boot (root) disk is configured
on the device c0t0d0s2. Your system may be configured to use a different
device.
■ usr is on a disk other than the root disk. In this case, a volume is created for
the usr partition only if you use VxVM to encapsulate the disk. Note that
encapsulating the root disk and having mirrors of the root volume is
ineffective in maintaining the availability of your system if the separate usr
partition becomes inaccessible for any reason. For maximum availablility of
the system, it is recommended that you encapsulate both the root disk and
the disk containing the usr partition, and have mirrors for the usr,
rootvol, and swapvol volumes.
The rootvol volume must exist in the boot disk group. See “Boot-time Volume
Restrictions” in the “Administering Disks” chapter of the Veritas Volume
Manager Administrator’s Guide for information on rootvol and usr volume
restrictions.
VxVM allows you to put swap partitions on any disk; it does not need an initial
swap area during early phases of the boot process. By default, the Veritas
Volume Manager installation chooses partition 0 on the selected root disk as the
root partition, and partition 1 as the swap partition. However, it is possible to
have the swap partition on a partition not located on the root disk. In such cases,
you are advised to encapsulate that disk and create mirrors for the swap
volume. If you do not do this, damage to the swap partition eventually causes
the system to crash. It may be possible to boot the system, but having mirrors
for the swapvol volume prevents system failures.
If set to true, this variable allows the use of alternate boot disks. To set the
value of use-nvramrc? to true, enter the following command at the boot
prompt:
ok setenv use-nvramrc? true
mirdisk
2 Check for available boot disk aliases using the following command at the
boot prompt:
ok devalias
Suitable mirrors of the root disk are listed with names of the form vx
diskname.
3 Enter this command:
ok boot alias
where alias is the name of an alternate root mirror found from the previous
step.
If a selected disk contains a root mirror that is stale, vxconfigd displays an
error stating that the mirror is unusable and lists any non-stale alternate
bootable disks.
More information about the boot process may be found in “The boot process on
SPARC systems” on page 37.
Note: You can use Veritas Volume Manager boot disk alias names instead of OBP
names. Example aliases are vx-rootdisk or vx-disk01. To list the available
boot devices, use the devalias command at the OpenBoot prompt.
filename is the name of a file that contains the kernel. The default is /kernel/
unix in the root partition. If necessary, you can specify another program (such
as /stand/diag) by specifying the -a flag. (Some versions of the firmware
allow the default filename to be saved in the nonvolatile storage area of the
system.)
38 Recovery from boot disk failure
Hot-relocation and boot disk failure
Note: Do not boot a system running VxVM with rootability enabled using all the
defaults presented by the -a flag. See “Restoring a copy of /etc/system on the
root disk” on page 44 for the correct responses.
Boot flags are not interpreted by the boot program. The boot program passes
all boot-flags to the file identified by filename. See the kernel (1) and kadb (1M)
manual pages for information on the options available with the default
standalone program, /kernel/unix.
layout between an initialized disk and an encapsulated disk affects the way the
offset into a disk is calculated for each unrelocated subdisk. Use the -f option to
vxunreloc to move the subdisks to the disk, but not to the same offsets. For this
to be successful, the replacement disk should be at least 2 megabytes larger than
the original boot disk.
vxunreloc makes the new disk bootable after it moves all the subdisks to the
disk.
Note: The system dump device is usually configured to be the swap partition of
the root disk. Whenever a swap subdisk is moved (by hot-relocation, or using
vxunreloc) from one disk to another, the dump device must be re-configured on
the new disk.
You can use the dumpadm command to view and set the dump device. For details,
see the dumpadm(1M) manual page.
This means that the system PROM was unable to read the boot program from
the boot drive. Common causes for this problem are:
■ The boot disk is not powered on.
■ The SCSI bus is not terminated.
■ There is a controller failure of some sort.
■ A disk is failing and locking the bus, preventing any disks from identifying
themselves to the controller, and making the controller assume that there
are no disks attached.
The first step in diagnosing this problem is to check carefully that everything on
the SCSI bus is in order. If disks are powered off or the bus is unterminated,
correct the problem and reboot the system. If one of the disks has failed, remove
the disk from the bus and replace it.
If no hardware problems are found, the error is probably due to data errors on
the boot disk. In order to repair this problem, attempt to boot the system from
an alternate boot disk (containing a mirror of the root volume). If you are unable
to boot from an alternate boot disk, there is still some type of hardware problem.
Similarly, if switching the failed boot disk with an alternate boot disk fails to
allow the system to boot, this also indicates hardware problems.
root plex for booting. If the root disk was mirrored at the time of the failure, an
alternate root disk (with a valid root plex) can be specified for booting.
If any of these situations occur, the configuration daemon, vxconfigd, notes it
when it is configuring the system as part of the init processing of the boot
sequence. vxconfigd displays a message describing the error and what can be
done about it, and then halts the system. For example, if the plex rootvol-01
of the root volume rootvol on disk rootdisk is stale, vxconfigd may display
this message:
VxVM vxconfigd ERROR V-5-1-1049: System boot disk does not have
a valid root plex
Please boot from one of the following disks:
Disk: disk01 Device: c0t1d0s2
vxvm:vxconfigd: Error: System startup failed
The system is down.
This informs the administrator that the alternate boot disk named disk01
contains a usable copy of the root plex and should be used for booting. When
this message is displayed, reboot the system from the alternate boot disk as
described in “Booting from alternate boot disks” on page 36.
Once the system has booted, the exact problem needs to be determined. If the
plexes on the boot disk were simply stale, they are caught up automatically as
the system comes up. If, on the other hand, there was a problem with the private
area on the disk or the disk failed, you need to re-add or replace the disk.
If the plexes on the boot disk are unavailable, you should receive mail from
Veritas Volume Manager utilities describing the problem. Another way to
determine the problem is by listing the disks with the vxdisk utility. In the
above example, if the problem is a failure in the private area of root disk (such as
due to media failures or accidentally overwriting the Veritas Volume Manager
private region on the disk), vxdisk list shows this display:
DEVICE TYPE DISK GROUP STATUS
If this message appears during the boot attempt, the system should be booted
from an alternate boot disk. While booting, most disk drivers display errors on
the console about the invalid UNIX partition information on the failing disk. The
messages are similar to this:
WARNING: unable to read label
WARNING: corrupt label_sdo
This indicates that the failure was due to an invalid disk partition. You can
attempt to re-add the disk as described in “Re-adding a failed boot disk” on
page 49. However, if the reattach fails, then the disk needs to be replaced as
described in “Replacing a failed boot disk” on page 50.
At this point in the boot process, / is mounted read-only, not read/write. Since
the entry in /etc/vfstab was either incorrect or deleted, mount / as read/
write manually, using this command:
# mount -o remount /dev/vx/dsk/rootvol /
After mounting / as read/write, exit the shell. The system prompts for a new run
level. For multi-user mode, enter run level 3:
ENTER RUN LEVEL (0-6,s or S): 3
4 Shut down and reboot the system from the same root partition on which
the vfstab file was restored.
If your changes to the /etc/system file are incorrect, the saved copy can be
specified to the boot program. To specify the saved system file to the boot
program, follow the procedure in the next section.
44 Recovery from boot disk failure
Recovery from boot failure
[...]:/pseudo/vxio@0:0
forceload: drv/driver
...
forceload: drv/vxio
forceload: drv/vxspec
forceload: drv/vxdmp
rootdev:/pseudo/vxio@0:0
Lines of the form forceload: drv/driver are used to forcibly load the
drivers that are required for the root mirror disks. Example driver names
are pci, sd, ssd, dad and ide. To find out the names of the drivers, use the
ls command to obtain a long listing of the special files that correspond to
the devices used for the root disk, for example:
# ls -al /dev/dsk/c0t0d0s2
This produces output similar to the following (with irrelevant detail
removed):
lrwxrwxrwx ... /dev/dsk/c0t0d0s2 ->
../../devices/pci@1f,0/pci@1/pci@1/SUNW,isptwo@4/sd@0,0:c
This example would require lines to force load both the pci and the sd
drivers:
forceload: drv/pci
forceload: drv/sd
4 Shut down and reboot the system from the same root partition on which
the configuration files were restored.
Note: A maximum of five partitions may be created for file systems or swap
areas as encapsulation reserves two partitions for Veritas Volume Manager
private and public regions.
Recovery from boot disk failure 47
Repairing root or /usr file systems on mirrored volumes
3 Use the mkfs command to make new file systems on the root and usr
partitions that you created in the previous step. For example, to make a ufs
file system on the root partition, enter:
# mkfs -F ufs /dev/rdsk/c0t0d0s0
See the mkfs(1M) and mkfs_ufs(1M) manual pages for more information.
4 Mount/dev/dsk/c0t0d0s0 on a suitable mount point such as /a or /mnt:
# mount /dev/dsk/c0t0d0s0 /a
5 Restore the root file system from tape into the /a directory hierarchy. For
example, if you used ufsdump to back up the file system, use the ufsrestore
command to restore it. See the ufsrestore(1M) manual page for more
information.
6 Use the installboot command to install a bootblock device on /a.
7 Use the mkdir command to create a suitable mount point, such as /a/usr/,
and mount /dev/dsk/c0t0d0s6 on it:
# mkdir -p /a/usr
8 Restore the /usr file system from tape into the /a/usr directory hierarchy.
9 Disable startup of VxVM by modifying files in the restored root file system.
10 Create the file /a/etc/vx/reconfig.d/state.d/install-db to
prevent the configuration daemon, vxconfigd, from starting:
# touch /a/etc/vx/reconfig.d/state.d/install-db
11 Copy /a/etc/system to a backup file such as /a/etc/system.old.
12 Comment out the following lines from /a/etc/system by putting a *
character in front of them:
set vxio:vol_rootdev_is_volume=1
rootdev:/pseudo/vxio@0:0
These lines should then read:
* set vxio:vol_rootdev_is_volume=1
* rootdev:/pseudo/vxio@0:0
# rm /a/dev/vx/rdsk/bootdg
16 Shut down the system cleanly using the init 0 command, and reboot from
the new root disk. The system comes up thinking that VxVM is not installed.
17 The next steps in the procedure depend on whether there are root disk
mirrors in the old boot disk group:
■ If there are only root disk mirrors in the old boot disk group, remove
any volumes that were associated with the encapsulated root disk (for
example, rootvol, swapvol and usrvol) from the /dev/vx/dsk/
bootdg and /dev/vx/rdsk/bootdg directories.
■ If there are other disks in the old boot disk group that are not used as
root disk mirrors, remove files involved with the installation that are
no longer needed:
# rm -r /etc/vx/reconfig.d/state.d/install-db
Start the Veritas Volume Manager I/O daemons:
# vxiod set 10
Start the Veritas Volume Manager configuration daemon in disabled
mode:
# vxconfigd -m disable
Initialize the volboot file:
# vxdctl init
Enable the old boot disk group excluding the root disk that VxVM
interprets as failed::
# vxdctl enable
Use the vxedit command (or the Veritas Enterprise Administrator
(VEA)) to remove the old root disk volumes and the root disk itself from
Veritas Volume Manager control.
18 Use the vxdiskadm command to encapsulate the new root disk and
initialize any disks that are to serve as root disk mirrors. After the required
reboot, mirror the root disk onto the root disk mirrors.
Recovery from boot disk failure 49
Re-adding and replacing boot disks
Note: Your system may use a device name or path that differs from the examples.
See “Disk Devices” in the “Administering Disks” chapter of the Veritas Volume
Manager Administrator’s Guide for more information on device names.
For example, consider a system that has two disks, disk01 and disk02, which
are normally mapped into the system configuration during boot as disks
c0t0d0s2 and c0t1d0s2, respectively. A failure has caused disk01 to become
detached. This can be confirmed by listing the disks with the vxdisk utility
with this command:
# vxdisk list
Note that the disk disk01 has no device associated with it, and has a status of
failed with an indication of the device that it was detached from. It is also
possible for the device (such as c0t0d0s2 in the example) not to be listed at all
should the disk fail completely.
In some cases, the vxdisk list output can differ. For example, if the boot disk
has uncorrectable failures associated with the UNIX partition table, a missing
root partition cannot be corrected but there are no errors in the Veritas Volume
Manager private area. The vxdisk list command displays a listing such as this:
DEVICE TYPE DISK GROUP STATUS
However, because the error was not correctable, the disk is viewed as failed. In
such a case, remove the association between the failing device and its disk name
using the vxdiskadm “Remove a disk for replacement” menu item. (See the
vxdiskadm (1M) manual page for more information.) You can then perform any
special procedures to correct the problem, such as reformatting the device.
To re-add the disk, select the vxdiskadm “Replace a failed or removed disk”
menu item to replace the disk, and specify the same device as the replacement.
For the example above, you would replace disk01 with the device c0t0d0s2.
If hot-relocation is enabled when a mirrored boot disk fails, an attempt is made
to create a new mirror and remove the failed subdisks from the failing boot disk.
If a re-add succeeds after a successful hot-relocation, the root and other
volumes affected by the disk failure no longer exist on the re-added disk. Run
vxunreloc to move the hot-relocated subdisks back to the newly replaced disk.
where diskname is the name of the disk that failed or of one of its mirrors.
The following is sample output from running this command:
...
From the resulting output, add the DISKOFFS and LENGTH values for the last
subdisk listed for the disk. This size is in 512-byte sectors. Divide this number by
2 for the size in kilobytes. In this example, the DISKOFFS and LENGTH values for
the subdisk rtdg01-02 are 1,045,296 and 16,751,952, so the disk size is
(1,045,296 + 16,751,952)/2, which equals 8,898,624 kilobytes or approximately
8.5 gigabytes.
5 Use vxdiskadm to mirror the alternate boot disk to the replacement boot
disk.
6 When the volumes on the boot disk have been restored, shut down the
system, and test that the system can be booted from the replacement boot
disk.
52 Recovery from boot disk failure
Recovery by reinstallation
Recovery by reinstallation
Reinstallation is necessary if all copies of your boot (root) disk are damaged, or
if certain critical files are lost due to file system damage.
If these types of failures occur, attempt to preserve as much of the original
VxVM configuration as possible. Any volumes that are not directly involved in
the failure do not need to be reconfigured. You do not have to reconfigure any
volumes that are preserved.
Note: System reinstallation destroys the contents of any disks that are used for
reinstallation.
Ensure that no disks other than the root disk are accessed in any way while the
operating system installation is in progress. If anything is written on a disk
other than the root disk, the Veritas Volume Manager configuration on that disk
may be destroyed.
Note: During reinstallation, you can change the system’s host name (or host ID).
It is recommended that you keep the existing host name, as this is assumed by
the procedures in the following sections.
Reinstall VxVM
To reinstall Veritas Volume Manager, follow these steps:
1 Load Veritas Volume Manager from CD-ROM. Follow the instructions in the
Installation Guide.
2 Use the vxlicinst command to install the Veritas Volume Manager license
key (see the vxlicinst(1) manual page for more information).
8 Start some Veritas Volume Manager I/O daemons using the following
command:
# vxiod set 10
The configuration preserved on the disks not involved with the reinstallation
has now been recovered. However, because the root disk has been reinstalled, it
does not appear to VxVM as a VM disk. The configuration of the preserved disks
does not include the root disk as part of the VxVM configuration.
If the root disk of your system and any other disks involved in the reinstallation
were not under VxVM control at the time of failure and reinstallation, then the
reconfiguration is complete at this point. For information on replacing disks, see
“Removing and Replacing Disks” in the “Administering Disks” chapter of the
Veritas Volume Manager Administrator’s Guide. There are several methods
available to replace a disk; choose the method that you prefer.
If the root disk (or another disk) was involved with the reinstallation, any
volumes or mirrors on that disk (or other disks no longer attached to the system)
are now inaccessible. If a volume had only one plex contained on a disk that was
reinstalled, removed, or replaced, then the data in that volume is lost and must
be restored from backup.
56 Recovery from boot disk failure
Recovery by reinstallation
Clean up Rootability
To begin the cleanup of the Veritas Volume Manager configuration, remove any
volumes associated with rootability. This must be done if the root disk (and any
other disk involved in the system boot process) was under Veritas Volume
Manager control. The volumes to remove are:
■ rootvol, that contains the root file system
■ swapvol, that contains the swap area
■ (on some systems) standvol, that contains the stand file system
■ usr, that contains the /usr file system
To remove the root volume, use the vxedit command:
# vxedit -fr rm rootvol
Clean up Volumes
After completing the rootability cleanup, you must determine which volumes
need to be restored from backup. The volumes to be restored include those with
all mirrors (all copies of the volume) residing on disks that have been reinstalled
or removed. These volumes are invalid and must be removed, recreated, and
restored from backup. If only some mirrors of a volume exist on reinstalled or
removed disks, these mirrors must be removed. The mirrors can be re-added
later.
To restore the volumes, perform these steps:
1 Establish which VM disks have been removed or reinstalled using the
following command:
# vxdisk list
Recovery from boot disk failure 57
Recovery by reinstallation
This displays a list of system disk devices and the status of these devices.
For example, for a reinstalled system with three disks and a reinstalled root
disk, the output of the vxdisk list command is similar to this:
DEVICE TYPE DISK GROUP STATUS
The display shows that the reinstalled root device, c0t0d0s2, is not
associated with a VM disk and is marked with a status of error. The disks
disk02 and disk03 were not involved in the reinstallation and are
recognized by VxVM and associated with their devices (c0t1d0s2 and
c0t2d0s2). The former disk01, which was the VM disk associated with the
replaced disk device, is no longer associated with the device (c0t0d0s2).
If other disks (with volumes or mirrors on them) had been removed or
replaced during reinstallation, those disks would also have a disk device
listed in error state and a VM disk listed as not associated with a device.
2 Once you know which disks have been removed or replaced, locate all the
mirrors on failed disks using the following command:
# vxprint [-g diskgroup] -sF “%vname” -e’sd_disk = “disk”’
where disk is the access name of a disk with a failed status. Be sure to
enclose the disk name in quotes in the command. Otherwise, the command
returns an error message. The vxprint command returns a list of volumes
that have mirrors on the failed disk. Repeat this command for every disk
with a failed status.
The following is sample output from running this command:
# vxprint -g mydg -sF “%vname” -e’sd_disk = "disk01"'
v01
3 Check the status of each volume and print volume information using the
following command:
# vxprint -th volume
58 Recovery from boot disk failure
Recovery by reinstallation
The only plex of the volume is shown in the line beginning with pl. The
STATE field for the plex named v01-01 is NODEVICE. The plex has space on
a disk that has been replaced, removed, or reinstalled. The plex is no longer
valid and must be removed.
4 Because v01-01 was the only plex of the volume, the volume contents are
irrecoverable except by restoring the volume from a backup. The volume
must also be removed. If a backup copy of the volume exists, you can restore
the volume later. Keep a record of the volume name and its length, as you
will need it for the backup procedure.
Remove irrecoverable volumes (such as v01) using the following command:
# vxedit -r rm v01
5 It is possible that only part of a plex is located on the failed disk. If the
volume has a striped plex associated with it, the volume is divided between
several disks. For example, the volume named v02 has one striped plex
striped across three disks, one of which is the reinstalled disk disk01. The
vxprint -th v02 command produces the following output:
The display shows three disks, across which the plex v02-01 is striped (the
lines starting with sd represent the stripes). One of the stripe areas is
located on a failed disk. This disk is no longer valid, so the plex named v02-
01 has a state of NODEVICE. Since this is the only plex of the volume, the
volume is invalid and must be removed. If a copy of v02 exists on the
Recovery from boot disk failure 59
Recovery by reinstallation
backup media, it can be restored later. Keep a record of the volume name
and length of any volume you intend to restore from backup.
Remove invalid volumes (such as v02) using the following command:
# vxedit -r rm v02
6 A volume that has one mirror on a failed disk can also have other mirrors on
disks that are still valid. In this case, the volume does not need to be restored
from backup, since the data is still valid on the valid disks.
The output of the vxprint -th command for a volume with one plex on a
failed disk (disk01) and another plex on a valid disk (disk02) is similar to
the following:
V NAME RVG/VSET/COKSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
This volume has two plexes, v03-01 and v03-02. The first plex (v03-01)
does not use any space on the invalid disk, so it can still be used. The second
plex (v03-02) uses space on invalid disk disk01 and has a state of
NODEVICE. Plex v03-02 must be removed. However, the volume still has
one valid plex containing valid data. If the volume needs to be mirrored,
another plex can be added later. Note the name of the volume to create
another plex later.
To remove an invalid plex, use the vxplex command to dissociate and then
remove the plex from the volume. For example, to dissociate and remove
the plex v03-02, use the following command:
# vxplex -o rm dis v03-02
7 Once all the volumes have been cleaned up, clean up the disk configuration
as described in the section, “Clean up Disk Configuration” on page 59.
If the vxdg command returns an error message, some invalid mirrors exist.
Repeat the processes described in “Clean up Volumes” on page 56 until all
invalid volumes and mirrors are removed.
Reconfigure Rootability
Once all the invalid disks have been removed, the replacement or reinstalled
disks can be added to Veritas Volume Manager control. If the root disk was
originally under Veritas Volume Manager control or you now wish to put the
root disk under Veritas Volume Manager control, add this disk first.
To add the root disk to Veritas Volume Manager control, use the vxdiskadm
command:
# vxdiskadm
Once the volumes are created, they can be restored from backup using normal
backup/restore procedures.
Recreate any plexes for volumes that had plexes removed as part of the volume
cleanup. To replace the plex removed from volume v03, use the following
command:
# vxassist mirror v03
Once you have restored the volumes and plexes lost during reinstallation,
recovery is complete and your system is configured as it was prior to the failure.
The final step is to start up hot-relocation, if this is required.
Recovery from boot disk failure 61
Recovery by reinstallation
Start up hot-relocation
To start up the hot-relocation service, either reboot the system or manually
start the relocation watch daemon, vxrelocd (this also starts the vxnotify
process).
Note: Hot-relocation should only be started when you are sure that it will not
interfere with other reconfiguration procedures.
Logging commands
The vxcmdlog command allows you to log the invocation of other VxVM
commands to a file. The following table demonstrates the usage of vxcmdlog:
Command Description
vxcmdlog -s 512k
Set the maximum command log file size to
512K.
vxcmdlog -n 10
Set the maximum number of historic
command log files to 10.
vxcmdlog -n no_limit
Remove any limit on the number of historic
command log files.
Command lines are logged to the file, cmdlog, in the directory /etc/vx/log.
This path name is a symbolic link to a directory whose location depends on the
operating system. If required, you can redefine the directory which is linked.
64 Logging commands and transactions
Logging commands
If you want to preserve the settings of the vxcmdlog utility, you must also copy
the settings file, .cmdlog, to the new directory.
The size of the command log is checked after an entry has been written so the
actual size may be slightly larger than that specified. When the log reaches a
maximum size, the current command log file, cmdlog, is renamed as the next
available historic log file, cmdlog.number, where number is an integer from 1
up to the maximum number of historic log files that is currently defined, and a
new current log file is created.
A limited number of historic log files is preserved to avoid filling up the file
system. If the maximum number of historic log files has been reached, the oldest
historic log file is removed, and the current log file is renamed as that file.
Each log file contains a header that records the host name, host ID, and the date
and time that the log was created.
The following are sample entries from a command log file:
# 0, 2329, Wed Feb 12 21:19:31 2003
/usr/sbin/vxdctl mode
# 17051, 2635, Wed Feb 12 21:19:33 2003
/usr/sbin/vxdisk -q -o alldgs list
# 0, 2722, Wed Feb 12 21:19:34 2003
/etc/vx/diag.d/vxprivutil dumpconfig /dev/vx/rdmp/Disk_4s2
# 26924, 3001, Thu Feb 13 19:30:57 2003
/usr/sbin/vxdisk list Disk_1
Each entry usually contains a client ID that identifies the command connection
to the vxconfigd daemon, the process ID of the command that is running, a time
stamp, and the command line including any arguments.
If the client ID is 0, as in the third entry shown here, this means that the
command did not open a connection to vxconfigd.
Logging commands and transactions 65
Logging commands
Note: The client ID is the same as that recorded for the corresponding
transactions in the transactions log. See “Logging transactions” on page 66 and
“Associating command and transaction logs” on page 68 for more information.
Most command scripts are not logged, but the command binaries that they call
are logged. Exceptions are the vxdisksetup, vxinstall, and vxdiskunsetup
scripts, which are logged.
If there is an error reading from the settings file, command logging switches to
its built-in default settings. This may mean, for example, that logging remains
enabled after being disabled using vxcmdlog -m off command. If this happens,
use the vxcmdlog utility to recreate the settings file, or restore the file from a
backup.
See the vxcmdlog(1M) manual page for more information about the vxcmdlog
utility.
66 Logging commands and transactions
Logging transactions
Logging transactions
The vxtranslog command allows you to log VxVM transactions to a file. The
following table demonstrates the usage of vxtranslog:
Table 4-2 Examples of vxtranslog usage
Command Description
vxtranslog -l
List current settings for transaction
logging.
vxtranslog -s 512k
Set the maximum transaction log file size
to 512K.
vxtranslog -n 10
Set the maximum number of historic
transaction log files to 10.
vxtranslog -n no_limit
Remove any limit on the number of historic
transaction log files.
The size of the transaction log is checked after an entry has been written so the
actual size may be slightly larger than that specified. When the log reaches a
maximum size, the current transaction log file, translog, is renamed as the
next available historic log file, translog.number, where number is an integer
from 1 up to the maximum number of historic log files that is currently defined,
and a new current log file is created.
A limited number of historic log files is preserved to avoid filling up the file
system. If the maximum number of historic log files has been reached, the oldest
historic log file is removed, and the current log file is renamed as that file.
Logging commands and transactions 67
Logging transactions
Each log file contains a header that records the host name, host ID, and the date
and time that the log was created.
The following are sample entries from a transaction log file:
Thu Feb 13 19:30:57 2003
Clid = 26924, PID = 3001, Part = 0, Status = 0, Abort Reason = 0
DA_GET SENA0_1
DISK_GET_ATTRS SENA0_1
DISK_DISK_OP SENA0_1 8
DEVNO_GET SENA0_1
DANAME_GET 0x1d801d8 0x1d801a0
GET_ARRAYNAME SENA 50800200000e78b8
CTLR_PTOLNAME /pci@1f,4000/pci@5/SUNW,qlc@4/fp@0,0
GET_ARRAYNAME SENA 50800200000e78b8
CTLR_PTOLNAME /pci@1f,4000/pci@5/SUNW,qlc@5/fp@0,0
DISCONNECT <no request data>
The first line of each log entry is the time stamp of the transaction. The Clid
field corresponds to the client ID for the connection that the command opened
to vxconfigd. The PID field shows the process ID of the utility that is requesting
the operation. The Status and Abort Reason fields contain error codes if the
transaction does not complete normally. The remainder of the record shows the
data that was used in processing the transaction.
Note: The client ID is the same as that recorded for the corresponding command
line in the command log. See “Logging commands” on page 63 and “Associating
command and transaction logs” on page 68 for more information.
If there is an error reading from the settings file, transaction logging switches to
its built-in default settings. This may mean, for example, that logging remains
enabled after being disabled using vxtranslog -m off command. If this happens,
use the vxtranslog utility to recreate the settings file, or restore the file from a
backup.
68 Logging commands and transactions
Associating command and transaction logs
Note: If there are multiple matches for the combination of the client and process
ID, you can determine the correct match by examining the time stamp.
Disk group configuration backup and restoration allows you to backup and
restore all configuration data for Veritas Volume Manager (VxVM) disk groups,
and for VxVM objects such as volumes that are configured within the disk
groups. Using this feature, you can recover from corruption of a disk group’s
configuration that is stored as metadata in the private region of a VM disk. After
the disk group configuration has been restored, and the volume enabled, the
user data in the public region is available again without the need to restore this
from backup media.
Caution: The backup and restore utilities act only on VxVM configuration data.
They do not back up or restore any user or application data that is contained
within volumes or other VxVM objects. If you use vxdiskunsetup and
vxdisksetup on a disk, and specify attributes that differ from those in the
configuration backup, this may corrupt the public region and any user data
therein.
after you have corrected any underlying problem such as failed or disconnected
hardware.
Configuration data from a backup allows you to reinstall the private region
headers of VxVM disks in a disk group whose headers have become damaged, to
the VxVM objects within it. You can also use the configuration data to recreate a
Note: Restoration of a disk group configuration requires that the same physical
disks are used as were configured in the disk group when the backup was taken.
The following sections describe how to back up and restore disk group
configurations.
/etc/vx/cbr/bk/diskgroup.dgid/dgid.cfgrec
Configuration records in
vxprint -m format.
Backing up and restoring disk group configurations 71
Restoring a disk group configuration
Here diskgroup is the name of the disk group, and dgid is the disk group ID. If a
disk group is to be recreated on another system, copy these files to that system.
Caution: Take care that you do not overwrite any files on the target system that
are used by a disk group on that system.
Note: None of the disks or VxVM objects in the disk group may be open or in use
by any application while the restoration is being performed.
You can choose whether or not any corrupted disk headers are to be reinstalled
at this stage. If any of the disks’ private region headers are invalid, restoration
may not be possible without reinstalling the headers for the affected disks.
The following command performs a precommit analysis of the state of the disk
group configuration, and reinstalls the disk headers where these have become
corrupted:
#
At the precommit stage, you can use the vxprint command to examine the
configuration that the restored disk group will have. You can choose to proceed
to commit the changes and restore the disk group configuration. Alternatively,
you can cancel the restoration before any permanent changes have been made.
To abandon restoration at the precommit stage, use this command:
#
Note: Disks that are in use or whose layout has been changed are excluded from
the restoration process.
The following is a sample extract from such a backup file that shows the
timestamp and disk group ID information:
TIMESTAMP
Tue Apr 15 23:27:01 PDT 2003
.
.
.
DISK_GROUP_CONFIGURATION
Group: mydg
dgid: 1047336696.19.xxx.veritas.com
.
.
.
Use the timestamp information to decide which backup contains the relevant
information, and use the vxconfigrestore command to restore the
configuration by specifying the disk group ID instead of the disk group name.
74 Backing up and restoring disk group configurations
Restoring a disk group configuration
Chapter 6
Error messages
This chapter provides information on error messages associated with the
Veritas Volume Manager (VxVM) configuration daemon (vxconfigd), the
kernel, and other utilities. It covers most informational, failure, and error
messages displayed on the console by vxconfigd, and by the Veritas Volume
Manager kernel driver, vxio. These include some errors that are infrequently
encountered and difficult to troubleshoot.
Note: Some error messages described here may not apply to your system.
If syslog output is enabled, messages with a priority higher than Debug are
written to /var/adm/syslog/syslog.log.
To enable logging of debug output to the default debug log file, /var/vxvm/
vxconfigd.log, edit the startup script for vxconfigd as described in
“Configuring logging in the startup script” on page 76, or use the following
command:
# vxdctl debug level [pathname]
There are 10 possible levels of debug logging with the values 0 through 9. Level 1
provides the least detail, and 9 the most. Level 0 turns off logging. If a path name
is specified, this file is used to record the debug output instead of the default
debug log file. If the vxdctl debug command is used, the new debug logging level
and debug log file remain in effect until the VxVM configuration daemon,
vxconfigd, is next restarted.
opts=”$opts -x syslog”
#opts=”$opts -x log”
# messages to vxconfigd.log
#opts=”$opts -x timestamp”
# The debug level can be set higher for more output. The highest
# debug level is 9.
#debug=1
Comment or uncomment the lines corresponding to the features that you want
to be disabled or enabled at startup.
Error messages 77
Understanding messages
Note: By default, vxconfigd is started at boot time with the -x syslog option.
This redirects vxconfigd console messages to syslog. If you want to retain this
behavior when restarting vxconfigd from the command line, include the -x
syslog argument, as restarting vxconfigd does not preserve the option
settings with which it was previously running. Similarly, any Veritas Volume
Manager operations that require vxconfigd to be restarted may not retain the
behavior that was previously specified by option settings.
Understanding messages
VxVM is fault-tolerant and resolves most problems without system
administrator intervention. If the configuration daemon, vxconfigd, recognizes
the actions that are necessary, it queues up the transactions that are required.
VxVM provides atomic changes of system configurations; either a transaction
completes fully, or the system is left in the same state as though the transaction
was never attempted. If vxconfigd is unable to recognize and fix system
problems, the system administrator needs to handle the task of problem solving
using the diagnostic messages that are returned from the software. The
following sections describe error message numbers and the types of error
message that may be seen, and provide a list of the more common errors, a
detailed description of the likely cause of the problem together with suggestions
for any actions that can be taken.
Messages have the following generic format:
product component severity message_number message_text
For Veritas Volume Manager, the product is set to VxVM. The component can be
the name of a kernel module or driver such as vxdmp, a configuration daemon
such as vxconfigd, or a command such as vxassist.
78 Error messages
Understanding messages
Note: For full information about saving system crash information, see the
Solaris System Administation Guide.
Messages are divided into the following types of severity in decreasing order of
impact on the system:
PANIC A panic is a severe event as it halts a system during its normal
operation. A panic message from the kernel module or from a
device driver indicates a hardware problem or software
inconsistency so severe that the system cannot continue. The
operating system may also provide a dump of the CPU register
contents and a stack trace to aid in identifying the cause of the
panic. The following is an example of such a message:
VxVM vxio PANIC V-5-0-239 Object association depth overflow
Messages
This section contains a list of messages that you may encounter during the
operation of Veritas Volume Manager. However, the list is not exhaustive and
the second field may contain the name of different command, driver or module
from that shown here.
If you encounter a product error message, record the unique message number
preceding the text of the message. When contacting Veritas Technical Support,
either by telephone or by visiting the Veritas Technical Support website, be sure
to provide the relevant message number. Veritas Technical Support will use this
message number to quickly determine if there are TechNotes or other
information available for you.
V-5-0-2
VxVM vxio WARNING V-5-0-2 object_type object_name block
V-5-0-4
VxVM vxio WARNING V-5-0-4 Plex plex detached from volume volume
■ Description: An uncorrectable error was detected by the mirroring code and
a mirror copy was detached.
■ Action: To restore redundancy, it may be necessary to add another mirror.
The disk on which the failure occurred should be reformatted or replaced.
80 Error messages
Understanding messages
Note: This message may also appear during a plex detach operation in a
cluster. In this case, no action is required.
V-5-0-34
■ Action: None.
V-5-0-35
VxVM vxdmp NOTICE V-5-0-35 Attempt to disable controller
controller_name failed. Rootdisk has just one enabled path.
■ Description: An attempt is being made to disable the one remaining active
path to the root disk controller.
■ Action: The path cannot be disabled.
V-5-0-55
VxVM vxio WARNING V-5-0-55 Cannot find device number for boot_path
vxvm vxdmp WARNING V-5-0-55 Cannot find device number for boot_path
■ Description: The boot path retrieved from the system PROMs cannot be
converted to a valid device number.
■ Action: Check your PROM settings for the correct boot string.
If a target driver, such as an ATF, coexists with VxVM, and the target driver
claims the boot disk, the message may be ignored if the device path
corresponds to the boot disk.
V-5-0-64
VxVM vxio WARNING V-5-0-64 cannot log commit record for Diskgroup
bootdg: error 28
V-5-0-106
V-5-0-108
VxVM vxio WARNING V-5-0-108 Device major, minor: Received spurious
close
■ Description: A close was received for an object that was not open. This can
only happen if the operating system is not correctly tracking opens and
closes.
■ Action: No action is necessary; the system will continue.
V-5-0-110
VxVM vxdmp NOTICE V-5-0-110 disabled controller controller_name
connected to disk array disk_array_serial_number
■ Description: All paths through the controller connected to the disk array are
disabled. This usually happens if a controller is disabled for maintenance.
■ Action: None.
V-5-0-111
■ Description: A DMP node has been marked disabled in the DMP database. It
will no longer be accessible for further IO requests. This occurs when all
paths controlled by a DMP node are in the disabled state, and therefore
inaccessible.
■ Action: Check hardware or enable the appropriate controllers to enable at
least one path under this DMP node.
82 Error messages
Understanding messages
V-5-0-112
VxVM vxdmp NOTICE V-5-0-112 disabled path path_device_number belonging
to dmpnode dmpnode_device_number
■ Description: A path has been marked disabled in the DMP database. This
path is controlled by the DMP node indicated by the specified device
number. This may be due to a hardware failure.
■ Action: Check the underlying hardware if you want to recover the desired
path.
V-5-0-144
VxVM vxio WARNING V-5-0-144 Double failure condition detected on
RAID-5 volume
■ Description: I/O errors have been received in more than one column of a
RAID-5 volume. This could be caused by:
■ a controller failure making more than a single drive unavailable
■ the loss of a second drive while running in degraded mode
■ two separate disk drives failing simultaneously (unlikely)
■ Action: Correct the hardware failures if possible. Then recover the volume
using the vxrecover command.
V-5-0-145
V-5-0-146
VxVM vxdmp NOTICE V-5-0-146 enabled controller controller_name
connected to disk array disk_array_serial_number
■ Description: All paths through the controller connected to the disk array are
enabled. This usually happens if a controller is enabled after maintenance.
■ Action: None.
Error messages 83
Understanding messages
V-5-0-147
VxVM vxdmp NOTICE V-5-0-147 enabled dmpnode dmpnode_device_number
■ Description: A DMP node has been marked enabled in the DMP database.
This happens when at least one path controlled by the DMP node has been
enabled.
■ Action: None.
V-5-0-148
VxVM vxdmp NOTICE V-5-0-148 enabled path path_device_number belonging
to dmpnode dmpnode_device_number
■ Description: A path has been marked enabled in the DMP database. This
path is controlled by the DMP node indicated by the specified device
number. This happens if a previously disabled path has been repaired, the
user has reconfigured the DMP database using the vxdctl(1M) command, or
the DMP database has been reconfigured automatically.
■ Action: None.
V-5-0-164
VxVM vxio WARNING V-5-0-164 Failed to join cluster name, aborting
■ Description: A node failed to join a cluster. This may be caused by the node
being unable to see all the shared disks. Other error messages may provide
more information about the disks that cannot be found.
■ Action: Use the vxdisk -s list command on the master node to see what
disks should be visible to the slave node. Then check that the operating
system and VxVM on the failed node can also see these disks. If the
operating system cannot see the disks, check the cabling and hardware
configuration of the node. If only VxVM cannot see the disks, use the vxdctl
enable command to make it scan again for the disks. When the disks are
visible to VxVM on the node, retry the join.
V-5-0-166
VxVM vxio WARNING V-5-0-166 Failed to log the detach of the DRL
volume volume
■ Description: An attempt failed to write a kernel log entry indicating the loss
of a DRL volume. The attempted write to the log failed either because the
kernel log is full, or because of a write error to the drive. The volume
becomes detached.
84 Error messages
Understanding messages
■ Action: Messages about log failures are usually fatal, unless the problem is
transient. However, the kernel log is sufficiently redundant that such errors
are unlikely to occur.
If the problem is not transient (that is, the drive cannot be fixed and
brought back online without data loss), recreate the disk group from scratch
and restore all of its volumes from backups. Even if the problem is
transient, reboot the system after correcting the problem.
If error messages are seen from the disk driver, it is likely that the last copy
of the log failed due to a disk error. Replace the failed drive in the disk
group. The log re-initializes on the new drive. Finally force the failed
volume into an active state and recover the data.
V-5-0-168
VxVM vxio WARNING V-5-0-168 Failure in RAID-5 logging operation
V-5-0-181
VxVM vxio WARNING V-5-0-181 Illegal vminor encountered
■ Description: An attempt was made to open a volume device other than the
root volume device before vxconfigd loaded the volume configuration.
■ Action: None; under normal startup conditions, this message should not
occur. If necessary, start VxVM and re-attempt the operation.
V-5-0-194
VxVM vxio WARNING V-5-0-194 Kernel log full: volume detached
■ Description: A plex detach failed because the kernel log was full. As a result,
the mirrored volume will become detached.
■ Action: It is unlikely that this condition ever occurs. The only corrective
action is to reboot the system.
V-5-0-196
VxVM vxio WARNING V-5-0-196 Kernel log update failed: volume detached
■ Description: Detaching a plex failed because the kernel log could not be
flushed to disk. As a result, the mirrored volume became detached. This may
be caused by all the disks containing a kernel log going bad.
Error messages 85
Understanding messages
■ Action: Repair or replace the failed disks so that kernel logging can once
again function.
V-5-0-207
VxVM vxio WARNING V-5-0-207 log object object_name detached from
RAID-5 volume
■ Description: Indicates that a RAID-5 log has failed.
■ Action: To restore RAID-5 logging to a RAID-5 volume, create a new log plex
and attach it to the volume.
V-5-0-216
V-5-0-237
VxVM vxio WARNING V-5-0-237 object subdisk detached from RAID-5 volume
at column column offset offset
■ Description: A subdisk was detached from a RAID-5 volume because of the
failure of a disk or an uncorrectable error occurring on that disk.
■ Action: Check for other console error messages indicating the cause of the
failure. Replace a failed disk as soon as possible.
V-5-0-243
VxVM vxio WARNING V-5-0-243 Overlapping mirror plex detached from
volume volume
■ Description: An error has occurred on the last complete plex in a mirrored
volume. Any sparse mirrors that map the failing region are detached so that
they cannot be accessed to satisfy that failed region inconsistently.
■ Action: The message indicates that some data in the failing region may no
longer be stored redundantly.
86 Error messages
Understanding messages
V-5-0-244
VxVM vxdmp NOTICE V-5-0-244 Path failure on major/minor
■ Description: A path under the control of the DMP driver failed. The device
major and minor numbers of the failed device is supplied in the message.
■ Action: None.
V-5-0-249
VxVM vxio WARNING V-5-0-249 RAID-5 volume entering degraded mode
operation
■ Description: An uncorrectable error has forced a subdisk to detach. At this
point, not all data disks exist to provide the data upon request. Instead,
parity regions are used to regenerate the data for each stripe in the array.
Consequently, access takes longer and involves reading from all drives in the
stripe.
■ Action: Check for other console error messages that indicate the cause of the
failure. Replace any failed disks as soon as possible.
V-5-0-251
VxVM vxio WARNING V-5-0-251 read error on object object of mirror
plex in volume volume (start offset length length)
■ Description: An error was detected while reading from a mirror. This error
may lead to further action shown by later error messages.
■ Action: If the volume is mirrored, no further action is necessary since the
alternate mirror’s contents will be written to the failing mirror; this is often
sufficient to correct media failures. If this error occurs often, but never leads
to a plex detach, there may be a marginally defective region on the disk at
the position indicated. It may eventually be necessary to remove data from
this disk (see the vxevac(1M) manual page) and then to reformat the drive.
If the volume is not mirrored, this message indicates that some data could
not be read. The file system or other application reading the data may
report an additional error, but in either event, data has been lost. The
volume can be partially salvaged and moved to another location if desired.
Note: This message may also appear during a plex detach operation in a
cluster. In this case, no action is required.
Error messages 87
Understanding messages
V-5-0-252
VxVM vxio NOTICE V-5-0-252 read error on object subdisk of mirror
plex in volume volume (start offset length length) corrected
■ Description: A read error occurred, which caused a read of an alternate
mirror and a writeback to the failing region. This writeback was successful
and the data was corrected on disk.
■ Action: None; the problem was corrected automatically. Note the location of
the failure for future reference. If the same region of the subdisk fails again,
this may indicate a more insidious failure and the disk should be
reformatted at the next reasonable opportunity.
V-5-0-258
VxVM vxdmp NOTICE V-5-0-258 removed disk array disk_array_serial_number
■ Description: A disk array has been disconnected from the host, or some
hardware failure has resulted in the disk array becoming inaccessible to the
host.
■ Action: Replace disk array hardware if this has failed.
V-5-0-281
VxVM vxio WARNING V-5-0-281 Root volumes are not supported on your
PROM version.
■ Description: If your system’s PROMs are not a recent OpenBoot PROM type,
root volumes are unusable.
■ Action: If you have set up a root volume, undo the configuration by running
vxunroot or removing the rootdev line from /etc/system as soon as
possible. Contact your hardware vendor for an upgrade to your PROM level.
V-5-0-386
VxVM vxio WARNING V-5-0-386 subdisk subdisk failed in plex plex in
volume volume
■ Description: The kernel has detected a subdisk failure, which may mean that
the underlying disk is failing.
■ Action: Check for obvious problems with the disk (such as a disconnected
cable). If hot-relocation is enabled and the disk is failing, recovery from
subdisk failure is handled automatically.
88 Error messages
Understanding messages
V-5-1-90
VxVM vxconfigd ERROR V-5-1-90 mode: Unrecognized operating mode
■ Description: An invalid string was specified as an argument to the -m option.
Valid strings are: enable, disable, and boot.
■ Action: Supply a correct option argument.
V-5-1-91
VxVM vxconfigd WARNING V-5-1-91 Cannot create device device_path:
reason
■ Description: vxconfigd cannot create a device node either under /dev/
vx/dsk or under /dev/vx/rdsk. This should happen only if the root file
system has run out of inodes.
■ Action: Remove some unwanted files from the root file system. Then,
regenerate the device node using the command:
# vxdctl enable
V-5-1-92
VxVM vxconfigd WARNING V-5-1-92 Cannot exec /usr/bin/rm to remove
directory: reason
■ Description: The given directory could not be removed because the /usr/
bin/rm utility could not be executed by vxconfigd. This is not a serious
error. The only side effect of a directory not being removed is that the
directory and its contents continue to use space in the root file system.
However, this does imply that the /usr file system is not mounted, or on
some systems, that the rm utility is missing or is not in its usual location.
This may be a serious problem for the general running of your system.
■ Action: If the /usr file system is not mounted, you need to determine how to
get it mounted. If the rm utility is missing, or is not in the /usr/bin
directory, restore it.
Error messages 89
Understanding messages
V-5-1-111
VxVM vxconfigd WARNING V-5-1-111 Cannot fork to remove directory
directory: reason
■ Description: The given directory could not be removed because vxconfigd
could not fork in order to run the rm utility. This is not a serious error. The
only side effect of a directory not being removed is that the directory and its
contents will continue to use space in the root file system. The most likely
cause for this error is that your system does not have enough memory or
paging space to allow vxconfigd to fork.
■ Action: If your system is this low on memory or paging space, your overall
system performance is probably substantially degraded. Consider adding
more memory or paging space.
V-5-1-116
VxVM vxconfigd WARNING V-5-1-116 Cannot open log file log_filename:
reason
■ Description: The vxconfigd console output log file could not be opened for
the given reason.
■ Action: Create any needed directories, or use a different log file path name as
described in “Logging error messages” on page 75.
V-5-1-117
VxVM vxconfigd ERROR V-5-1-117 Cannot start volume volume, no valid
plexes
■ Description: This error indicates that the volume cannot be started because
it does not contain any valid plexes. This can happen, for example, if disk
failures have caused all plexes to be unusable. It can also happen as a result
of actions that caused all plexes to become unusable (for example, forcing
the dissociation of subdisks or detaching, dissociation, or offlining of
plexes).
■ Action: It is possible that this error results from a drive that failed to spin
up. If so, rebooting may fix the problem. If that does not fix the problem,
then the only recourse is to repair the disks involved with the plexes and
restore the file system from a backup. Restoring the root or /usr file
system requires that you have a valid backup. See “Repairing root or /usr
file systems on mirrored volumes” on page 45 for information on how to fix
problems with root or /usr file system volumes.
90 Error messages
Understanding messages
V-5-1-121
VxVM vxconfigd NOTICE V-5-1-121 Detached disk disk
■ Description: The named disk appears to have become unusable and was
detached from its disk group. Additional messages may appear to indicate
other records detached as a result of the disk detach.
■ Action: If hot-relocation is enabled, Veritas Volume Manager objects affected
by the disk failure are taken care of automatically. Mail is sent to root
indicating what actions were taken by VxVM and what further actions the
administrator should take.
V-5-1-122
VxVM vxconfigd WARNING V-5-1-122 Detaching plex plex from volume
volume
■ Description: This error only happens for volumes that are started
automatically by vxconfigd at system startup (that is, for the root and /
usr file system volumes). The plex is being detached as a result of I/O
failure, disk failure during startup or prior to the last system shutdown or
crash, or disk removal prior to the last system shutdown or crash.
■ Action: To ensure that the root or /usr file system retains the same
number of active mirrors, remove the given plex and add a new mirror using
the vxassist mirror operation. Also consider replacing any bad disks
before running this command.
V-5-1-123
VxVM vxconfigd ERROR V-5-1-123 Disk group group: Disabled by errors
■ Description: This message indicates that some error condition has made it
impossible for VxVM to continue to manage changes to a disk group. The
major reason for this is that too many disks have failed, making it
impossible for vxconfigd to continue to update configuration copies.
There should be a preceding error message that indicates the specific error
that was encountered.
If the disk group that was disabled is the boot disk group, the following
additional error is displayed:
VxVM vxconfigd ERROR V-5-1-104 All transactions are disabled
This additional message indicates that vxconfigd has entered the
disabled state, which makes it impossible to change the configuration of
any disk group, not just the boot disk group.
Error messages 91
Understanding messages
V-5-1-124
VxVM vxconfigd ERROR V-5-1-124 Disk group group: update failed: reason
■ Description: I/O failures have prevented vxconfigd from updating any
active copies of the disk group configuration. This usually implies a large
number of disk failures. This error will usually be followed by the error:
VxVM vxconfigd ERROR V-5-1-123 Disk group group: Disabled by
errors
■ Action: If the underlying error resulted from a transient failure, such as a
disk cabling error, then you may be able to repair the situation by rebooting.
Otherwise, the disk group may have to be recreated and restored from a
backup.
V-5-1-134
VxVM vxconfigd ERROR V-5-1-134 Memory allocation failure
V-5-1-135
VxVM vxconfigd FATAL ERROR V-5-1-135 Memory allocation failure
during startup
V-5-1-148
VxVM vxconfigd ERROR V-5-1-148 System startup failed
■ Description: Either the root or the /usr file system volume could not be
started, rendering the system unusable. The error that resulted in this
condition should appear prior to this error message.
■ Action: Look up other error messages appearing on the console and take the
actions suggested in the descriptions of those messages.
V-5-1-169
VxVM vxconfigd ERROR V-5-1-169 cannot open /dev/vx/config: reason
■ Description: The /dev/vx/config device could not be opened. vxconfigd
uses this device to communicate with the Veritas Volume Manager kernel
drivers. The most likely reason is “Device is already open.” This indicates
that some process (most likely vxconfigd) already has /dev/vx/config
open. Less likely reasons are “No such file or directory” or “No such device
or address.” For either of these reasons, likely causes are:
V-5-1-249
VxVM vxconfigd NOTICE V-5-1-249 Volume volume entering degraded mode
■ Description: Detaching a subdisk in the named RAID-5 volume has caused
the volume to enter “degraded” mode. While in degraded mode,
performance of the RAID-5 volume is substantially reduced. More
importantly, failure of another subdisk may leave the RAID-5 volume
unusable. Also, if the RAID-5 volume does not have an active log, then
failure of the system may leave the volume unusable.
■ Action: If hot-relocation is enabled, Veritas Volume Manager objects affected
by the disk failure are taken care of automatically. Mail is sent to root
indicating what actions were taken by VxVM and what further actions the
administrator should take.
V-5-1-480
VxVM vxconfigd ERROR V-5-1-480 Cannot reset VxVM kernel: reason
■ Description: The -r reset option was specified to vxconfigd, but the
VxVM kernel drivers could not be reset. The most common reason is “A
virtual disk device is open.” This implies that a VxVM tracing or volume
device is open.
■ Action: If you want to reset the kernel devices, track down and kill all
processes that have a volume or Veritas Volume Manager tracing device
open. Also, if any volumes are mounted as file systems, unmount those file
systems.
Any reason other than “A virtual disk device is open” does not normally
occur unless there is a bug in the operating system or in VxVM.
V-5-1-484
VxVM vxconfigd ERROR V-5-1-484 Cannot start volume volume, no valid
complete plexes
■ Description: These errors indicate that the volume cannot be started
because the volume contains no valid complete plexes. This can happen, for
example, if disk failures have caused all plexes to be unusable. It can also
happen as a result of actions that caused all plexes to become unusable (for
example, forcing the dissociation of subdisks or detaching, dissociation, or
offlining of plexes).
94 Error messages
Understanding messages
■ Action: It is possible that this error results from a drive that failed to spin
up. If so, rebooting may fix the problem. If that does not fix the problem,
then the only recourse is to repair the disks involved with the plexes and
restore the file system from a backup. Restoring the root or /usr file
system requires that you have a valid backup. See “Repairing root or /usr
file systems on mirrored volumes” on page 45 for information on how to fix
problems with root or /usr file system volumes.
V-5-1-485
VxVM vxconfigd ERROR V-5-1-485 Cannot start volume volume, volume
state is invalid
■ Description: The volume for the root or /usr file system is in an
unexpected state (not ACTIVE, CLEAN, SYNC or NEEDSYNC). This should
not happen unless the system administrator circumvents the mechanisms
used by VxVM to create these volumes.
■ Action: The only recourse is to bring up VxVM on a CD-ROM or NFS-
mounted root file system and to fix the state of the volume. See“Repairing
root or /usr file systems on mirrored volumes” on page 45 for further
information.
V-5-1-525
VxVM vxconfigd NOTICE V-5-1-525 Detached log for volume volume
■ Description: The DRL or RAID-5 log for the named volume was detached as a
result of a disk failure, or as a result of the administrator removing a disk
with vxdg -k rmdisk. A failing disk is indicated by a “Detached disk”
message.
■ Action: If the log is mirrored, hot-relocation tries to relocate the failed log
automatically. Use either vxplex dis or vxsd dis to remove the failing
logs. Then, use vxassist addlog (see the vxassist(1M) manual page) to
add a new log to the volume.
V-5-1-526
VxVM vxconfigd NOTICE V-5-1-526 Detached plex plex in volume volume
■ Description: The specified plex was disabled as a result of a disk failure, or as
a result of the administrator removing a disk with vxdg -k rmdisk. A
failing disk is indicated by a “Detached disk” message.
Error messages 95
Understanding messages
V-5-1-527
VxVM vxconfigd NOTICE V-5-1-527 Detached subdisk subdisk in volume
volume
■ Description: The specified subdisk was disabled as a result of a disk failure,
or as a result of the administrator removing a disk with vxdg -k rmdisk. A
failing disk is indicated by a “Detached disk” message.
■ Action: If hot-relocation is enabled, Veritas Volume Manager objects affected
by the disk failure are taken care of automatically. Mail is sent to root
indicating what actions were taken by VxVM and what further actions the
administrator should take.
V-5-1-528
VxVM vxconfigd NOTICE V-5-1-528 Detached volume volume
■ Description: The specified volume was detached as a result of a disk failure,
or as a result of the administrator removing a disk with vxdg -k rmdisk. A
failing disk is indicated by a “Detached disk” message. Unless the disk error
is transient and can be fixed with a reboot, the contents of the volume
should be considered lost.
■ Action: Contact Veritas Technical Support.
V-5-1-543
VxVM vxconfigd ERROR V-5-1-543 Differing version of vxconfigd
installed
V-5-1-544
VxVM vxconfigd WARNING V-5-1-544 Disk disk in group group flagged as
shared; Disk skipped
■ Description: The given disk is listed as shared, but the running version of
VxVM does not support shared disk groups.
■ Action: This message can usually be ignored. If you want to use the disk on
this system, use vxdiskadd to add the disk. Do not do this if the disk really
is shared with other systems.
V-5-1-545
VxVM vxconfigd WARNING V-5-1-545 Disk disk in group group locked by
host hostid Disk skipped
■ Description: The given disk is listed as locked by the host with the Veritas
Volume Manager host ID (usually the same as the system host name).
■ Action: This message can usually be ignored. If you want to use the disk on
this system, use vxdiskadd to add the disk. Do not do this if the disk really
is shared with other systems.
V-5-1-546
VxVM vxconfigd WARNING V-5-1-546 Disk disk in group group: Disk device
not found
■ Description: No physical disk can be found that matches the named disk in
the given disk group. This is equivalent to failure of that disk. (Physical disks
are located by matching the disk IDs in the disk group configuration records
against the disk IDs stored in the Veritas Volume Manager header on the
physical disks.) This error message is displayed for any disk IDs in the
configuration that are not located in the disk header of any physical disk.
This may result from a transient failure such as a poorly-attached cable, or
from a disk that fails to spin up fast enough. Alternately, this may happen as
a result of a disk being physically removed from the system, or from a disk
that has become unusable due to a head crash or electronics failure.
Any RAID-5 plexes, DRL log plexes, RAID-5 subdisks or mirrored plexes
containing subdisks on this disk are unusable. Such disk failures
(particularly on multiple disks) may cause one or more volumes to become
unusable.
■ Action: If hot-relocation is enabled, Veritas Volume Manager objects affected
by the disk failure are taken care of automatically. Mail is sent to root
indicating what actions were taken by VxVM and what further actions the
administrator should take.
Error messages 97
Understanding messages
V-5-1-554
VxVM vxconfigd WARNING V-5-1-554 Disk disk names group group, but
group ID differs
■ Description: As part of a disk group import, a disk was discovered that had a
mismatched disk group name and disk group ID. This disk is not imported.
This can only happen if two disk groups have the same name but have
different disk group ID values. In such a case, one group is imported along
with all its disks and the other group is not. This message appears for disks
in the un-selected group.
■ Action: If the disks should be imported into the group, this must be done by
adding the disk to the group at a later stage, during which all configuration
information for the disk is lost.
V-5-1-557
VxVM vxconfigd ERROR V-5-1-557 Disk disk, group group, device device:
Error: reason
■ Description: This can result from using vxdctl hostid to change the
Veritas Volume Manager host ID for the system. The error indicates that one
of the disks in a disk group could not be updated with the new host ID. This
usually indicates that the disk has become inaccessible or has failed in some
other way.
■ Action: Try running the following command to determine whether the disk
is still operational:
# vxdisk check device
If the disk is no longer operational, vxdisk should print a message such as:
device: Error: Disk write failure
This will result in the disk being taken out of active use in its disk group, if it
has not already been taken out of use. If the disk is still operational, which
should not be the case, vxdisk prints:
device: Okay
If the disk is listed as “Okay,” try running vxdctl hostid again. If it still
results in an error, contact Veritas Technical Support.
98 Error messages
Understanding messages
V-5-1-568
VxVM vxconfigd WARNING V-5-1-568 Disk group group is disabled, disks
not updated with new host ID
■ Description: As a result of failures, the named disk group has become
disabled. Earlier error messages should indicate the cause. This message
indicates that disks in that disk group were not updated with a new Veritas
Volume Manager host ID. This warning message should result only from a
vxdctl hostid operation.
■ Action: Typically, unless a disk group was disabled due to transient errors,
there is no way to repair a disabled disk group. The disk group may have to
be reconstructed from scratch. If the disk group was disabled due to a
transient error such as a cabling problem, then a future reboot may not
automatically import the named disk group, due to the change in the
system’s Veritas Volume Manager host ID. In such a case, import the disk
group directly using vxdg import with the -C option.
V-5-1-569
VxVM vxconfigd ERROR V-5-1-569 Disk group group,Disk disk:Cannot auto-
import group: reason
■ Description: On system startup, vxconfigd failed to import the disk group
associated with the named disk. A message related to the specific failure is
given in reason. Additional error messages may be displayed that give more
information on the specific error. In particular, this is often followed by:
VxVM vxconfigd ERROR V-5-1-579 Disk group group: Errors in some
configuration copies:
These errors indicate that all configuration copies have become corrupt
(due to disk failures, writing on the disk by an application or the
administrator, or bugs in VxVM).
Error messages 99
Understanding messages
V-5-1-571
VxVM vxconfigd ERROR V-5-1-571 Disk group group, Disk disk: Skip disk
group with duplicate name
■ Description: Two disk groups with the same name are tagged for auto-
importing by the same host. Disk groups are identified both by a simple
name and by a long unique identifier (disk group ID) assigned when the disk
group is created. Thus, this error indicates that two disks indicate the same
disk group name but a different disk group ID.
VxVM does not allow you to create a disk group or import a disk group from
another machine, if that would cause a collision with a disk group that is
already imported. Therefore, this error is unlikely to occur under normal
use. However, this error can occur in the following two cases:
■ A disk group cannot be auto-imported due to some temporary failure. If
you create a new disk group with the same name as the failed disk
group and reboot, the new disk group is imported first. The auto-import
of the older disk group fails because more recently modified disk
groups have precedence over older disk groups.
■ A disk group is deported from one host using the -h option to cause the
disk group to be auto-imported on reboot from another host. If the
second host was already auto-importing a disk group with the same
name, then reboot of that host will yield this error.
■ Action: If you want to import both disk groups, then rename the second disk
group on import. See the vxdg(1M) manual page for information on how to
use the import operation to rename a disk group.
100 Error messages
Understanding messages
V-5-1-577
VxVM vxconfigd WARNING V-5-1-577 Disk group group: Disk group log may
be too small
■ Description: The log areas for the disk group have become too small for the
size of configuration currently in the group. This message only occurs
during disk group import; it can only occur if the disk was inaccessible while
new database objects were added to the configuration, and the disk was then
made accessible and the system restarted. This should not normally happen
without first displaying a message about the database area size.
■ Action: Reinitialize the disks in the group with larger log areas. Note that
this requires that you restore data on the disks from backups. See the
vxdisk(1M) manual page. To reinitialize all of the disks, detach them from
the group with which they are associated, reinitialize and re-add them. Then
deport and re-import the disk group to effect the changes to the log areas for
the group.
V-5-1-579
VxVM vxconfigd ERROR V-5-1-579 Disk group group: Errors in some
configuration copies: Disk disk, copy number: [Block number]: reason
...
■ Description: During a failed disk group import, some of the configuration
copies in the named disk group were found to have format or other types of
errors which make those copies unusable. This message lists all
configuration copies that have uncorrected errors, including any
appropriate logical block number. If no other reasons are displayed, then
this may be the cause of the disk group import failure.
■ Action: If some of the copies failed due to transient errors (such as cable
failures), then a reboot or re-import may succeed in importing the disk
group. Otherwise, the disk group configuration may have to be restored. You
can recreate a disk group configuration by using the procedures given in
“Restoring a disk group configuration” on page 71
V-5-1-583
VxVM vxconfigd ERROR V-5-1-583 Disk group group: Reimport of disk
group failed: reason
■ Description: After vxconfigd was stopped and restarted (or disabled and
then enabled), VxVM failed to recreate the import of the indicated disk
group. The reason for failure is specified. Additional error messages may be
displayed that give further information describing the problem.
Error messages 101
Understanding messages
■ Action: A major cause for this kind of failure is disk failures that were not
addressed before vxconfigd was stopped or disabled. If the problem is a
transient disk failure, then rebooting may take care of the condition. The
error may be accompanied by messages such as ‘‘Disk group has no valid
configuration copies.’’ This indicates that the disk group configuration
copies have become corrupt (due to disk failures, writing on the disk by an
application or the administrator, or bugs in VxVM). You can recreate a disk
group configuration by using the procedures given in “Restoring a disk
group configuration” on page 71.
V-5-1-587
VxVM vxdg ERROR V-5-1-587 disk group groupname: import failed:
reason
■ Description: The import of a disk group failed for the specified reason.
■ Action: The action to be taken depends on the reason given in the error
message:
Disk is in use by another host
No valid disk found containing disk group
The first message indicates that disks have been moved from a system that
has crashed or that failed to detect the group before the disk was moved.
The locks stored on the disks must be cleared.
The second message indicates that the disk group does not contain any
valid disks (not that it does not contain any disks). The disks may be
considered invalid due to a mismatch between the host ID in their
configuration copies and that stored in the /etc/vx/volboot file.
To clear locks on a specific set of devices, use the following command:
# vxdisk clearimport devicename ...
To clear the locks during import, use the following command:
# vxdg -C import diskgroup
An import operation fails if some disks for the disk group cannot be found
among the disk drives attached to the system.
Disk for disk group not found
The second message indicates a fatal error that requires hardware repair or
the creation of a new disk group, and recovery of the disk group
configuration and data:
If some of the disks in the disk group have failed, you can force the disk
group to be imported with this command:
# vxdg -f import diskgroup
Caution: Be careful when using the -f option. It can cause the same disk
group to be imported twice from different sets of disks. This can cause the
disk group configuration to become inconsistent.
V-5-1-663
VxVM vxconfigd WARNING V-5-1-663 Group group: Duplicate virtual
device number(s):
V-5-1-737
VxVM vxconfigd ERROR V-5-1-737 Mount point path: volume not in bootdg
disk group
■ Description: The volume device listed in the /etc/vfstab file for the
given mount-point directory (normally /usr) is listed as in a disk group
other than the boot disk group. This error should not occur if the standard
Veritas Volume Manager procedures are used for encapsulating the disk
containing the /usr file system.
■ Action: Boot VxVM from a network or CD-ROM mounted root file system.
Then, start up VxVM using fixmountroot on a valid mirror disk of the root
file system. After starting VxVM, mount the root file system volume and
edit the /etc/vfstab file. Change the file to use a direct partition for the
file system. There should be a comment in the /etc/vfstab file that
indicates which partition to use.
V-5-1-768
VxVM vxconfigd NOTICE V-5-1-768 Offlining config copy number on disk
disk: Reason: reason
■ Description: An I/O error caused the indicated configuration copy to be
disabled. This is a notice only, and does not normally imply serious
problems, unless this is the last active configuration copy in the disk group.
■ Action: Consider replacing the indicated disk, since this error implies that
the disk has deteriorated to the point where write errors cannot be repaired
automatically. The error can also result from transient problems with
cabling or power.
V-5-1-809
VxVM vxplex ERROR V-5-1-809 Plex plex in volume volume is locked by
another utility.
■ Description: The vxplex command fails because a previous operation to
attach a plex did not complete. The vxprint command should show that one
or both of the temporary and persistent utility fields (TUTIL0 and PUTIL0)
of the volume and one of its plexes are set.
■ Action: If the vxtask list command does not show a task running for the
volume, use the vxmend command to clear the TUTIL0 and PUTIL0 fields for
the volume and all its components for which these fields are set:
# vxmend -g diskgroup clear all volume plex ...
104 Error messages
Understanding messages
V-5-1-923
VxVM vxplex ERROR V-5-1-923 Record volume is in disk group
diskgroup1 plex is in group diskgroup2.
■ Description: An attempt was made to snap back a plex from a different disk
group.
■ Action: Move the snapshot volume into the same disk group as the original
volume.
V-5-1-946
VxVM vxconfigd FATAL ERROR V-5-1-946 bootdg cannot be imported
during boot
V-5-1-1049
VxVM vxconfigd ERROR V-5-1-1049 System boot disk does not have a
■ Description: The system is configured to use a volume for the root file
system, but was not booted on a disk containing a valid mirror of the root
volume. Disks containing valid root mirrors are listed as part of the error
message. A disk is usable as a boot disk if there is a root mirror on that disk
which is not stale or offline.
■ Action: Try to boot from one of the named disks using the associated boot
command that is listed in the message.
V-5-1-1063
VxVM vxconfigd ERROR V-5-1-1063 There is no volume configured for
■ Case 2: The system somehow has a duplicate boot disk group, one of
which contains a root file system volume and one of which does not,
and vxconfigd somehow chose the wrong one. Since vxconfigd
chooses the more recently accessed version of the boot disk group, this
error can happen if the system clock was updated incorrectly at some
point (reversing the apparent access order of the two disk groups). This
can also happen if some disk group was deported and assigned the
same name as the boot disk group with locks given to this host.
■ Action: In case 1, boot the system on a CD-ROM or networking-mounted root
file system, directly mount the disk partition of the root file system, and
remove the following lines from /etc/system:
rootdev:/pseudo/vxio@0:0
set vxio:vol_rootdev_is_volume=1
In case 2, either boot with all drives in the offending version of the boot disk
group turned off, or import and rename (see vxdg(1M)) the offending boot
disk group from another host. If you turn off the drives, run the following
command after booting:
# vxdg flush bootdg
This updates time stamps on the imported version of the specified boot disk
group, bootdg, which should make the correct version appear to be the more
recently accessed. If this does not correct the problem, contact Veritas
Technical Support.
V-5-1-1171
VxVM vxconfigd ERROR V-5-1-1171 Version number of kernel does not
match vxconfigd
■ Description: The release of vxconfigd does not match the release of the
Veritas Volume Manager kernel drivers. This should happen only as a result
of upgrading VxVM, and then running vxconfigd without a reboot.
■ Action: Reboot the system. If that does not cure the problem, re-add the
VxVM packages.
V-5-1-1186
VxVM vxconfigd ERROR V-5-1-1186 Volume volume for mount point /usr
not found in bootdg disk group
■ Description: The system is configured to boot with /usr mounted on a
volume, but the volume associated with /usr is not listed in the
configuration of the boot disk group. There are two possible causes of this
error:
106 Error messages
Understanding messages
V-5-1-1589
VxVM vxconfigd ERROR V-5-1-1589 enable failed: aborting
■ Description: Regular startup of vxconfigd failed. This error can also result
from the command vxdctl enable.
■ Action: The failure was fatal and vxconfigd was forced to exit. The most
likely cause is that the operating system is unable to create interprocess
communication channels to other utilities.
VxVM vxconfigd ERROR V-5-1-1589 enable failed: Error check group
■ Description: Regular startup of vxconfigd failed. This error can also result
from the command vxdctl enable.
The directory /var/vxvm/tempdb is inaccessible. This may be because of
root file system corruption, if the root file system is full, or if /var is a
Error messages 107
Understanding messages
separate file system, because it has become corrupted or has not been
mounted.
■ Action: If the root file system is full, increase its size or remove files to
make space for the tempdb file.
If /var is a separate file system, make sure that it has an entry in /etc/
vfstab. Otherwise, look for I/O error messages during the boot process
that indicate either a hardware problem or misconfiguration of any logical
volume management software being used for the /var file system. Also
verify that the encapsulation (if configured) of your boot disk is complete
and correct.
VxVM vxconfigd ERROR V-5-1-1589 enable failed: transactions are
disabled
■ Description: Regular startup of vxconfigd failed. This error can also result
from the command vxdctl enable.
vxconfigd is continuing to run, but no configuration updates are possible
until the error condition is repaired.
Additionally, this may be followed with:
VxVM vxconfigd ERROR V-5-1-579 Disk group group: Errors in some
configuration copies:
Other error messages may be displayed that further indicate the underlying
problem.
■ Action: Evaluate the error messages to determine the root cause of the
problem. Make changes suggested by the errors and then try rerunning the
command.
If the “Errors in some configuration copies” error occurs again, that may
indicate the real problem lies with the configuration copies in the disk
group. You can recreate a disk group configuration by using the procedures
given in “Restoring a disk group configuration” on page 71.
V-5-1-2020
VxVM vxconfigd ERROR V-5-1-2020 Cannot kill existing daemon,
pid=process_ID
■ Description: The -k (kill existing vxconfigd process) option was specified,
but a running configuration daemon process could not be killed. A
configuration daemon process, for purposes of this discussion, is any
process that opens the /dev/vx/config device (only one process can open
that device at a time). If there is a configuration daemon process already
running, then the -k option causes a SIGKILL signal to be sent to that
process. If, within a certain period of time, there is still a running
configuration daemon process, the above error message is displayed.
108 Error messages
Understanding messages
■ Action: This error can result from a kernel error that has made the
configuration daemon process unkillable, from some other kind of kernel
error, or from some other user starting another configuration daemon
process after the SIGKILL signal. This last condition can be tested for by
running vxconfigd -k again. If the error message reappears, contact
Veritas Technical Support.
V-5-1-2197
VxVM vxconfigd ERROR V-5-1-2197 node N: missing vxconfigd
■ Description: The vxconfigd daemon is not running on the indicated
cluster node.
■ Action: Restart the vxconfigd daemon.
V-5-1-2198
VxVM vxconfigd ERROR V-5-1-2198 node N: vxconfigd not ready
■ Description: The vxconfigd daemon is not responding properly in a
cluster.
■ Action: Stop and restart the vxconfigd daemon on the node indicated.
V-5-1-2274
VxVM vxconfigd ERROR V-5-1-2274 volume:vxconfigd cannot boot-start
RAID-5 volumes
■ Description: A volume that vxconfigd should start immediately upon
booting the system (that is, the volume for the /usr file system) has a RAID-
5 layout. The /usr file system should never be defined on a RAID-5 volume.
■ Action: It is likely that the only recovery for this is to boot VxVM from a
network-mounted root file system (or from a CD-ROM), and reconfigure the
/usr file system to be defined on a regular non-RAID-5 volume.
V-5-1-2290
VxVM vxdmpadm ERROR V-5-1-2290 Attempt to enable a controller that
is not available
V-5-1-2353
VxVM vxconfigd ERROR V-5-1-2353 Disk group group: Cannot recover temp
database: reason
■ Description: This can happen if you kill and restart vxconfigd, or if you
disable and enable it with vxdctl disable and vxdctl enable. This
error indicates a failure related to reading the file /var/vxvm/tempdb/
group. This is a temporary file used to store information that is used when
recovering the state of an earlier vxconfigd. The file is recreated on a
reboot, so this error should never survive a reboot.
■ Action: If you can reboot, do so. If you do not want to reboot, then do the
following:
1 Ensure that no vxvol, vxplex, or vxsd processes are running.
Use ps -e to search for such processes, and use kill to kill any that
you find. You may have to run kill twice to make these processes go
away. Killing utilities in this way may make it difficult to make
administrative changes to some volumes until the system is rebooted.
2 Recreate the temporary database files for all imported disk groups
using the following command:
# vxconfigd -x cleartempdir 2> /dev/console
The vxvol, vxplex, and vxsd commands make use of these tempdb
files to communicate locking information. If the file is cleared, then
locking information can be lost. Without this locking information, two
utilities can end up making incompatible changes to the configuration
of a volume.
V-5-1-2524
VxVM vxconfigd ERROR V-5-1:2524 VOL_IO_DAEMON_SET failed: daemon
count must be above N while cluster
■ Description: The number of Veritas Volume Manager kernel daemons
(vxiod) is less than the minimum number needed to join a cluster.
■ Action: Increase the number of daemons using vxiod.
V-5-1-2630
VxVM vxconfigd WARNING V-5-1-2630 library and vxconfigd disagree on
existence of client number
■ Description: This warning may safely be ignored.
■ Action: None required.
110 Error messages
Understanding messages
V-5-1-2824
VxVM vxconfigd ERROR V-5-1-2824 Configuration daemon error 242
■ Description: A node failed to join a cluster, or a cluster join is taking too long.
If the join fails, the node retries the join automatically.
■ Action: No action is necessary if the join is slow or a retry eventually
succeeds.
V-5-1-2829
VxVM vxdg ERROR V-5-1-2829 diskgroup: Disk group version doesn’t
support feature; see the vxdg upgrade command
■ Description: The version of the specified disk group does not support disk
group move, split or join operations.
■ Action: Use the vxdg upgrade diskgroup command to update the disk group
version.
V-5-1-2830
VxVM vxconfigd ERROR V-5-1-2830 Disk reserved by other host
V-5-1-2841
VxVM vxconfigd ERROR V-5-1-2841 enable failed: Error in disk group
configuration copies
disabled.
V-5-1-2860
VxVM vxdg ERROR V-5-1-2860 Transaction already in progress
■ Description: One of the disk groups specified in a disk group move, split or
join operation is currently involved in another unrelated disk group move,
split or join operation (possibly as the result of recovery from a system
failure).
Error messages 111
Understanding messages
■ Action: Use the vxprint command to display the status of the disk groups
involved. If vxprint shows that the TUTIL0 field for a disk group is set to
MOVE, and you are certain that no disk group move, split or join should be
in progress, use the vxdg command to clear the field as described in
“Recovering from incomplete disk group moves” on page 24. Otherwise,
retry the operation.
V-5-1-2862
VxVM vxdg ERROR V-5-1-2862 object: Operation is not supported
■ Description: DCO and snap objects dissociated by Persistent FastResync, and
VVR objects cannot be moved between disk groups.
■ Action: None. The operation is not supported.
V-5-1-2866
VxVM vxdg ERROR V-5-1-2866 object: Record already exists in disk group
■ Description: A disk group join operation failed because the name of an object
in one disk group is the same as the name of an object in the other disk
group. Such name clashes are most likely to occur for snap objects and
snapshot plexes.
■ Action: Use the following command to change the object name in either one
of the disk groups:
# vxedit -g diskgroup rename old_name new_name
For more information about using the vxedit command, see the
vxedit(1M) manual page.
V-5-1-2870
VxVM vxdg ERROR V-5-1-2870 volume: Volume or plex device is open or
mounted
■ Description: An attempt was made to perform a disk group move, split or
join on a disk group containing an open volume.
■ Action: It is most likely that a file system configured on the volume is still
mounted. Stop applications that access volumes configured in the disk
group, and unmount any file systems configured in the volumes.
112 Error messages
Understanding messages
V-5-1-2879
VxVM vxdg ERROR V-5-1-2879 subdisk: Record is associated
■ Description: The named subdisk is not a top-level object.
■ Action: Objects specified for a disk group move, split or join must be either
disks or top-level volumes.
V-5-1-2907
VxVM vxdg ERROR V-5-1-2907 diskgroup: Disk group does not exist
■ Action: Use the correct name, or import the disk group and try again.
V-5-1-2908
VxVM vxdg ERROR V-5-1-2908 diskdevice: Request crosses disk group
boundary
■ Description: The specified disk device is not configured in the source disk
group for a disk group move or split operation.
■ Action: Correct the name of the disk object specified in the disk group move
or split operation.
V-5-1-2911
VxVM vxdg ERROR V-5-1-2911 diskname: Disk is not usable
■ Description: The specified disk has become unusable.
■ Action: Do not include the disk in any disk group move, split or join
operation until it has been replaced or repaired.
V-5-1-2922
VxVM vxconfigd ERROR V-5-1-2922 Disk group exists and is imported
■ Description: A slave tried to join a cluster, but a shared disk group already
exists in the cluster with the same name as one of its private disk groups.
■ Action: Use the vxdg -n newname import diskgroup operation to
rename either the shared disk group on the master, or the private disk group
on the slave.
Error messages 113
Understanding messages
V-5-1-2928
VxVM vxdg ERROR V-5-1-2928 diskgroup: Configuration too large for
configuration copies
■ Description: The disk group’s configuration database is too small to hold the
expanded configuration after a disk group move or join operation.
■ Action: None.
V-5-1-2933
VxVM vxdg ERROR V-5-1-2933 diskgroup: Cannot remove last disk group
configuration copy
■ Description: The requested disk group move, split or join operation would
leave the disk group without any configuration copies.
■ Action: None. The operation is not supported.
V-5-1-2935
VxVM vxassist ERROR V-5-1-2935 No more space in disk group
configuration.
V-5-1-3009
VxVM vxdg ERROR V-5-1-3009 object: Name conflicts with imported
diskgroup
■ Description: The target disk group of a split operation already exists as an
imported disk group.
■ Action: Choose a different name for the target disk group.
114 Error messages
Understanding messages
V-5-1-3020
VxVM vxconfigd ERROR V-5-1-3020 Error in cluster processing
V-5-1-3022
VxVM vxconfigd ERROR V-5-1-3022 Cannot find disk on slave node
V-5-1-3023
VxVM vxconfigd ERROR V-5-1-3023 Disk in use by another cluster
■ Description: An attempt was made to import a disk group whose disks are
stamped with the ID of another cluster.
■ Action: If the disk group is not imported by another cluster, retry the import
using the -C (clear import) flag.
V-5-1-3024
VxVM vxconfigd ERROR V-5-1-3024 vxclust not there
V-5-1-3025
VxVM vxconfigd ERROR V-5-1-3025 Unable to add portal for cluster
V-5-1-3030
VxVM vxconfigd ERROR V-5-1-3030 Volume recovery in progress
■ Description: A node that crashed attempted to rejoin the cluster before its
DRL map was merged into the recovery map.
■ Action: Retry the join when the merge operation has completed.
V-5-1-3031
VxVM vxconfigd ERROR V-5-1-3031 Cannot assign minor minor
■ Description: A slave attempted to join a cluster, but an existing volume on
the slave has the same minor number as a shared volume on the master.
This message is accompanied by the following console message:
VxVM vxconfigd ERROR V-5-1-2192 minor number minor disk group
group in use
■ Action: Before retrying the join, use vxdg reminor (see the vxdg(1M)
manual page) to choose a new minor number range either for the disk group
on the master or for the conflicting disk group on the slave. If there are open
volumes in the disk group, the reminor operation will not take effect until
the disk group is deported and updated (either explicitly or by rebooting the
system).
V-5-1-3032
VxVM vxconfigd ERROR V-5-1-3032 Master sent no data
■ Description: During the slave join protocol, a message without data was
received from the master. This message is only likely to be seen in the case
of an internal VxVM error.
■ Action: Contact Veritas Technical Support.
116 Error messages
Understanding messages
V-5-1-3033
VxVM vxconfigd ERROR V-5-1-3033 Join in progress
V-5-1-3034
VxVM vxconfigd ERROR V-5-1-3034 Join not currently allowed
■ Description: A slave attempted to join a cluster when the master was not
ready. The slave will retry automatically.
■ Action: No action is necessary if the join eventually completes. Otherwise,
investigate the cluster monitor on the master.
V-5-1-3042
VxVM vxconfigd ERROR V-5-1-3042 Clustering license restricts
operation
V-5-1-3046
VxVM vxconfigd ERROR V-5-1-3046 Node activation conflict
V-5-1-3049
VxVM vxconfigd ERROR V-5-1-3049 Retry rolling upgrade
V-5-1-3050
VxVM vxconfigd ERROR V-5-1-3050 Version out of range for at least
one node
V-5-1-3091
VxVM vxdg ERROR V-5-1-3091 diskname : Disk not moving, but subdisks
on it are
■ Description: Some volumes have subdisks that are not on the disks implied
by the supplied list of objects.
■ Action: Use the -o expand option to vxdg listmove to produce a self-
contained list of objects.
V-5-1-3212
VxVM vxconfigd ERROR V-5-1-3212 Insufficient DRL log size: logging
is disabled.
V-5-1-3243
VxVM vxdmpadm ERROR V-5-1-3243 The VxVM restore daemon is already
running. You can stop and restart the restore daemon with desired
V-5-1-3362
VxVM vxdmpadm ERROR V-5-1-3362 Attempt to disable controller failed.
One (or more) devices can be accessed only through this controller.
V-5-1-3486
VxVM vxconfigd ERROR V-5-1-3486 Not in cluster
V-5-1-3689
VxVM vxassist ERROR V-5-1-3689 Volume record id rid is not found in
the configuration.
■ Description: An error was detected while reattaching a snapshot volume
using snapback. This happens if a volume’s record identifier (rid) changes as
a result of a disk group split that moved the original volume to a new disk
group. The snapshot volume is unable to recognize the original volume
because its record identifier has changed.
■ Action: Use the following command to perform the snapback:
# vxplex [-g diskgroup] -f snapback volume plex
V-5-1-3828
VxVM vxconfigd ERROR V-5-1-3828 upgrade operation failed: Already at
highest version
V-5-1-3848
VxVM vxconfigd ERROR V-5-1-3848 Incorrect protocol version (number)
in volboot file
■ Description: A node attempted to join a cluster where VxVM software was
incorrectly upgraded or the volboot file is corrupted, possibly by being
edited manually. The volboot file should contain a supported protocol
version before trying to bring the node into the cluster.
■ Action: Verify the supported cluster protocol versions using the vxdctl
protocolversion command. The volboot file should contain a supported
protocol version before trying to bring the node into the cluster. Run
vxdctl init to write a valid protocol version to the volboot file. Restart
vxconfigd and retry the join.
V-5-1-4220
VxVM vxconfigd ERROR V-5-1-4220 DG move: can’t import diskgroup,
giving up
V-5-1-4267
VxVM vxassist WARNING V-5-1-4267 volume volume already has at least
Snapshot volume created with these plexes will have a dco volume
■ Description: An error was detected while adding a DCO object and DCO
volume to a mirrored volume. There is at least one snapshot plex already
created on the volume. Because this snapshot plex was created when no DCO
was associated with the volume, there is no DCO plex allocated for it.
■ Action: See the section “Adding a Version 0 DCO and DCO Volume” in the
chapter “Administering Volume Snapshots” of the Veritas Volume Manager
Administrator’s Guide.
120 Error messages
Understanding messages
V-5-1-4277
VxVM vxconfigd ERROR V-5-1-4277 cluster_establish: CVM protocol
V-5-1-4551
VxVM vxconfigd ERROR V-5-1-4551 dg_move_recover: can’t locate
disk(s), giving up
V-5-1-4620
VxVM vxassist WARNING V-5-1-4620 Error while retrieving information
from SAL
■ Description: The vxassist command does not recognize the version of the
SAN Access Layer (SAL) that is being used, or detects an error in the output
from SAL.
■ Action: If a connection to SAL is desired, ensure that the correct version of
SAL is installed and configured correctly. Otherwise, suppress
communication between vxassist and SAL by adding the following line to
the vxassist defaults file (usually /etc/default/vxassist):
salcontact=no
V-5-1-4625
VxVM vxassist WARNING V-5-1-4625 SAL authentication failed...
■ Description: The SAN Access Layer (SAL) rejects the credentials that are
supplied by the vxassist command.
Error messages 121
Understanding messages
V-5-1-5150
VxVM vxassist ERROR V-5-1-5150 Insufficient number of active
V-5-1-5160
VxVM vxplex ERROR V-5-1-5160 Plex plex not associated to a snapshot
volume.
■ Description: An attempt was made to snap back a plex that is not from a
snapshot volume.
■ Action: Specify a plex from a snapshot volume.
V-5-1-5161
V-5-1-5162
VxVM vxplex ERROR V-5-1-5162 Plexes do not belong to the same
snapshot volume.
V-5-1-5929
VxVM vxconfigd NOTICE V-5-1-5929 Unable to resolve duplicate diskid.
■ Description: VxVM has detected disks with duplicate disk identifiers. Arrays
with mirroring capability in hardware are particularly susceptible to such
data corruption, but other causes are possible as explained below.
In releases prior to 3.5, VxVM selected the first disk that it found if the
selection process failed. From release 3.5, the default behavior of VxVM was
to avoid the selection of the wrong disk as this could lead to data corruption.
If VxVM could not determine which disk was the original, it would not
import the disks until they were reinitialized with a new disk ID.
From release 5.0, VxVM checks the unique disk identifier (UDID) value that
is known to the Device Discovery Layer (DDL) against the UDID value that is
set in the disk’s private region. The udid_mismatch flag is set on the disk
if the values differ. If set, this flag is displayed in the output from the
vxdisk list command.
A new set of vxdisk and vxdg operations are provided to handle such disks;
either by either writing the DDL value of the UDID to a disk’s private region,
or by tagging a disk and specifying that it is a cloned disk to the vxdg import
operation.
■ Action: User intervention is required in the following cases:
■ Case 1: Some arrays such as EMC and HDS provide mirroring in
hardware. When a LUN pair is split, depending on how the process is
performed, this can result in two disks that have the same disk
identifier and UDID value. See ‘‘Handling Disks with Duplicated
Identifiers’’ in the ‘‘Creating and Administering Disk Groups’’ chapter
of the Veritas Volume Manager Administrator’s Guide for full details of
how to deal with this condition.
■ Case 2: If disks have been duplicated by using the dd command or any
similar copying utility, you can use the following command to update
the UDID for one or more disks:
# vxdisk [-f] updateudid disk ...
This command uses the current value of the UDID that is stored in the
Device Discovery Layer (DDL) database to correct the value in the
private region. The -f option must be specified if VxVM has not set the
udid_mismatch flag on a disk.
For example, the following command updates the UDIDs for the disks
c2t66d0s2 and c2t67d0s2:
# vxdisk updateudid c2t66d0s2 c2t67d0s2
■ Case 3: If DMP has been disabled to an array that has multiple paths,
then each path to the array is claimed as a unique disk.
Error messages 123
Understanding messages
If DMP is suppressed, VxVM does not know which path to select as the
true path. You must choose which path to use. Decide which path to
exclude, and then select item 1 (suppress all paths through a
controller from VxVM’s view) or item 2 (suppress a path
from VxVM’s view) from vxdiskadm option 17 (Prevent
multipathing/Suppress devices from VxVM’s view).
■ Case 4: (Solaris 9 only) After suppressing one path to a multipathed
array from DMP, you then have suppressed that path from VxVM using
item 1 (suppress all paths through a controller from
VxVM’s view) from vxdiskadm option 17 (Prevent multipathing/
Suppress devices from VxVM’s view). If all bootdg disks are from
that array, vxconfigd does not start. (You may also see errors V-5-0-64,
V-5-1-946 and V-5-1-2841.)
If only one array is connected to the controller, suppress the path from
DMP using item 5 (Prevent multipathing of all disks on a
controller by VxVM), and then item 1 (Suppress all paths
through a controller from VxVM’s view), from vxdiskadm
option 17 (Prevent multipathing/Suppress devices from VxVM’s
view).
If more than one array is connected to the controller, suppress the path
from DMP using item 5 (Prevent multipathing of all disks
on a controller by VxVM), and then item 2 (Suppress a path
from VxVM’s view), from vxdiskadm option 17 (Prevent
multipathing/Suppress devices from VxVM’s view).
V-5-2-2400
VxVM vxdisksetup NOTICE V-5-2-2400 daname: Duplicate DA records
■ Description: This may occur if a disk has been replaced in a Sun StorEdgeTM
A5x00 (or similar) array without using the luxadm command to notify the
operating system. Duplicated disk access record entries similar to the
following appear in the output from the vxdisk list command:
c1t5d0s2 sliced c1t5d0s2 - error
Run the vxdisk list command to ensure that you have removed all
entries for the disk access name.
2 Use the Solaris luxadm command to obtain the A5K array name and slot
number of the disk, and then use these with luxadm to remove the disk:
# luxadm disp /dev/rdsk/daname
# vxdctl enable
7 Repeat step 5 and step 6 until no entries remain for the disk in the
output from vxdisk list. This completes the removal of stale device
entries for the disk from VxVM.
8 Finally, follow the procedure to replace the failed or removed disk that
is described in the “Administering Disks” chapter of the Veritas Volume
Manager Administrator’s Guide.
Index
recovery 35
.cmdlog file 64
relocating subdisks 38
.translog file 66
replacing 49
/etc/init.d/vxvm-sysboot file 76
using aliases 36
/etc/system file
boot failure
missing or damaged 43
restoring 44
/etc/vfstab file
damaged 42
purpose 42
/etc/vx/cbr/bk/diskgroup.dgid
invalid partition 41
booting system
aliased disks 37
dgid.dginfo file 70
using CD-ROM 46
/lib/svc/method/vxvm-sysboot file 76
/var/adm/configd.log file 75
C
/var/adm/syslog/syslog.log file 76
CD-ROM, booting 46
A client ID
cmdlog file 63
aliased disks 37
commands
B logging 63
badlog flag
backing up for disk groups 69, 70
boot command
restoring for disk groups 69, 71
-a flag 37, 44
copy-on-write
-s flag 44, 46
recovery from failure of 32
syntax 37
boot disks
D
alternate 36
configurations 35
DCO
hot-relocation 38
recovering volumes 25
listing aliases 37
re-adding 49
126 Index
DCO volumes
Already at highest version 118
debug message
Attempt to enable a controller that is not
logging 75
available 108
devalias command 37
Cannot auto-import group 69, 98
disabling VxVM 47
utmpx 42
new host ID 97
Cannot kill existing daemon 107
disk groups
cannot open /dev/vx/config 92
disk IDs
Cannot reset VxVM kernel 93
disks
Clustering license restricts operation 116
aliased 37
Configuration records are inconsistent 98
causes of failure 7
Configuration too large for configuration
cleaning up configuration 59
copies 113
failing flag 13
CVM protocol version out of range 120
failures 16
daemon count must be above number while
invalid partition 41
default log file 75
reattaching 14
Device is already open 92
reattaching failed 14
Differing version of vxconfigd installed 95
DMP
Disabled by errors 70, 90
dumpadm command 39
Disk group does not exist 24, 112
eeprom
copies 98, 101
EEPROM variables
feature 110
use-nvramrc? 36
Disk in use by another cluster 114
error message
Disk reserved by another host 110
ERROR messages 78
Duplicate DA records encountered for this
error messages
device 123
Index 127
107
stale 22
executable 41
I/O error 33
disabled 117
The VxVM restore daemon is already
in snapshot_volume 121
There are two backups that have the same
logging 75
Transaction already in progress 110
no valid plexes 89
Version out of range for at least one node 117
volume 121
Volume or plex device is open or mounted 111
volume 121
volume state is invalid 94
length 21
vxconfigd cannot boot-start RAID-5
F
Retry rolling upgrade 116
failing flag
clearing 13
128 Index
failures
set in TUTIL0 field 24
disk 16
system 15
N
fatal error messages
NEEDSYNC volume state 19
files
added disk array 80
Detached disk 90
hot-relocation
Detached volume 95
boot disks 38
disabled controller connected to disk array 81
defined 7
disabled dmpnode 81
RAID-5 18
disabled path belonging to dmpnode 82
root disks 38
enabled controller connected to disk array 82
starting up 61
enabled dmpnode 83
I
Offlining config copy 103
Path failure 86
INFO messages 79
read error on object 87
L O
listing
OpenBoot PROMs (OPB) 37
unstartable volumes 8
log file
P
default 75
PANIC messages 78
vxconfigd 75
regeneration checkpointing 20
log plexes
stale 15
recovering RAID-5 20
plex kernel states
logging
DISABLED 9, 17
directory 63, 66
ACTIVE 9
CLEAN 9
M EMPTY 9
IOFAIL 10
MOVE flag
Index 129
STALE 11
repairing 45
plexes
replacing 49
defined 9
root file system
displaying states of 8
backing up 46
in RECOVER state 12
configurations 35
mapping problems 21
damaged 52
process ID
cleaning up 56
PROMs, boot 37
S
snapshot resynchronization
R recovery from errors during 33
RAID-5
stale parity 15
detached subdisks 16
states
failures 15
displaying for volumes and plexes 8
hot-relocation 18
subdisks
parity resynchronization 19
recovering after moving for RAID-5 20
recovering volumes 18
unrelocating to replaced boot disk 38
recovery process 17
swap space
stale parity 15
configurations 35
starting forcibly 23
SYNC volume state 17, 19
starting volumes 21
syslog
unstartable volumes 21
reinstalling 52
reattaching disks 14
system failures 15
RECOVER state 12
recovery
T
disk 14
transactions
replacing
logging 66
boot disks 49
translog file 66
resynchronization
RAID-5 parity 19
U
root disks
udid_mismatch flag 122
booting alternate 36
ufsdump 46
configurations 35
ufsrestore
hot-relocation 38
restoring a UFS file system 47
re-adding 49
use-nvramrc? 36
recovery 35
130 Index
backing up 46 V-5-1-1236 21
configurations 35 V-5-1-1237 22
repairing 45 V-5-1-124 91
restoring 47 V-5-1-134 91
V-5-1-135 91
V V-5-1-148 92
V-5-1-1589 106
V-5-0-106 81 V-5-1-169 92
V-5-0-108 81 V-5-1-2020 107
V-5-0-110 81 V-5-1-2173 114
V-5-0-111 81 V-5-1-2192 115
V-5-0-112 82 V-5-1-2197 108
V-5-0-144 82 V-5-1-2198 108
V-5-0-145 82 V-5-1-2274 108
V-5-0-146 82 V-5-1-2290 108
V-5-0-147 83 V-5-1-2353 109
V-5-0-148 83 V-5-1-249 93
V-5-0-164 83 V-5-1-2524 109
V-5-0-166 83 V-5-1-2630 109
V-5-0-168 84 V-5-1-2824 110
V-5-0-181 84 V-5-1-2829 110
V-5-0-194 84 V-5-1-2830 110
V-5-0-196 84 V-5-1-2841 110
V-5-0-2 79 V-5-1-2860 110
V-5-0-207 85 V-5-1-2862 111
V-5-0-216 85 V-5-1-2866 111
V-5-0-237 85 V-5-1-2870 111
V-5-0-243 85 V-5-1-2879 112
V-5-0-244 86 V-5-1-2907 24, 112
V-5-0-249 86 V-5-1-2908 112
V-5-0-251 86 V-5-1-2911 112
V-5-0-252 87 V-5-1-2922 112
V-5-0-258 87 V-5-1-2928 113
V-5-0-281 87 V-5-1-2933 113
V-5-0-34 80 V-5-1-2935 113
V-5-0-35 80 V-5-1-3009 113
V-5-0-386 87 V-5-1-3020 114
V-5-0-4 79 V-5-1-3022 114
V-5-0-55 80 V-5-1-3023 114
V-5-0-64 80 V-5-1-3024 114
V-5-1-1049 41, 104 V-5-1-3025 115
V-5-1-1063 104 V-5-1-3030 115
V-5-1-111 89 V-5-1-3031 115
V-5-1-116 89 V-5-1-3032 115
V-5-1-117 89 V-5-1-3033 116
V-5-1-1171 105 V-5-1-3034 116
V-5-1-1186 105 V-5-1-3042 116
V-5-1-121 90 V-5-1-3046 116
V-5-1-122 90 V-5-1-3049 116
V-5-1-123 70, 90
Index 131
vxsnap make
Error while retrieving information from
vxsnap prepare
Failed to join cluster 83
vxsnap reattach
Failure in RAID-5 logging operation 84
vxsnap refresh
Kernel log full 84
vxsnap restore
library and vxconfigd disagree on existence of
vxtranslog
log object detached from RAID-5 volume 85
vxunreloc command 39
mod_install returned errno 85
VxVM
object detached from RAID-5 volume 85
disabling 47
object plex detached from volume 79
recovering configuration of 54
volume 85
reinstalling 54
Plex for root volume is stale or unusable 41
version 87
WARNING messages 78
SAL authentication failed 120
warning messages
subdisk failed in plex 87
directory 88
volume already has at least one snapshot
bootdg 80
corrupt label_sdo 42
detaching RAID-5 81
Disk skipped 96
5 82