Veritas Volume Manager 4.1 Troubleshooting Guide (HP-UX 11i v3, February 2007)

iv VERITAS Volume Manager Troubleshooting Guide
Recovering a Version 0 DCO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Recovering a Version 20 DCO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Chapter 2. Recovery from Failure of Instant Snapshot Operations . . . . . . . . . . . . 25
Failure of vxsnap prepare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Failure of vxsnap make for Full-Sized Instant Snapshots . . . . . . . . . . . . . . . . . . . . . . . . 26
Failure of vxsnap make for Break-Off Instant Snapshots . . . . . . . . . . . . . . . . . . . . . . . . 26
Failure of vxsnap make for Space-Optimized Instant Snapshots . . . . . . . . . . . . . . . . . 27
Failure of vxsnap restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Failure of vxsnap reattach or refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Copy-on-write Failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
I/O Errors During Resynchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
I/O Failure on a DCO Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Chapter 3. Recovery from Boot Disk Failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Recovery by Booting from a VxVM Root Disk Mirror . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Recovery by Booting from Recovery Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Starting VxVM after Booting from Recovery Media . . . . . . . . . . . . . . . . . . . . . . . . . 33
Recovering the Root Volume After VxVM Emergency Startup . . . . . . . . . . . . . . . . 33
Fixing a Missing or Corrupt /etc/vx/volboot File . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Using VxVM Maintenance Mode Boot (MMB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Recovery by Reinstallation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Chapter 4. Logging Commands and Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Logging Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Associating Command and Transaction Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Chapter 5. Backing Up and Restoring Disk Group
Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Backing Up a Disk Group Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Restoring a Disk Group Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45