Home > Veritas Storage Foundation™ Volume Manager Manual Pages
vxattachd analyzes the output of the vxnotify command, and waits for a failed disk to attach. When a disk is attached, vxattachd attempts to online the disk, and tries to reattach the failed site. If a site is successfully reattached, vxattachd starts recovery using vxrecover, and sends mail to root (by default) or to other specified users.
vxattachd root &
and you want mail also to be sent to user1 and user2, change the line to read:
vxattachd root user1 user2 &
Alternatively, kill the vxsite process, and restart it from the command line with the required mail addresses as arguments.
The mail notification has a format that is similar to the following:
hostname Reattached site sitename in disk-group diskgroupSubject : Volume Manager site reattach on host
If vxrelocd is not running, vxattachd only reattaches a site when all the disks from that site become accessible. After successfully reattaching a site, vxattachd changes the site state to ACTIVE, and initiates recovery using vxrecover. When all the plexes from a site have been recovered, the plexes are put into the ACTIVE state, and the state of the site is set to ACTIVE.
vxattachd does not attempt to reattach a site that has been explicitly detached by an administrator. The state OFFLINE is set for sites that have been detached by using the following command:
Execute the command:
Substitute the process ID of the vxattachd process for PID. To prevent vxattachd from being restarted, comment out the line that starts vxattachd in the startup script /etc/init.d/vxvm-recover.
Last updated: 18 Oct 2006
Copyright ©2009 Symantec Corporation
All rights reserved.