------------------------------------------------------------------ Accessing c2t1d0s2 ------------------------------------------------------------------ # mkdir /dev/vg01 # cd /dev/vg01 # mknod group c 64 0x010000 # vgimport /dev/vg01 /dev/dsk/c2t1d0s2 vgimport: Warning: Volume Group contains "2" PVs, "1" specified. Continuing. vgimport: Quorum not present, or some physical volume(s) are missing. Warning: A backup of this volume group may not exist on this machine. Please remember to take a backup using the vgcfgbackup command after activating the volume group. # vgchange -a y -l -q n /dev/vg01 Activated volume group vgchange: Couldn't re-synchronize stale partitions of the logical volume: I/O error vgchange: Couldn't re-synchronize stale partitions of the logical volume: I/O error ... Volume group "/dev/vg01" has been successfully changed. # vgchange -a y /dev/vg01 Volume group "/dev/vg01" has been successfully changed. # lvreduce -m 0 -A n -k /dev/vg01/lvol1 0 Logical volume "/dev/vg01/lvol1" has been successfully reduced. Warning: Logical Volume number "1073741827" found on physical volume not found in "/dev/vg01". ... # lvreduce -m 0 -A n -k /dev/vg01/lvol14 0 Logical volume "/dev/vg01/lvol14" has been successfully reduced. Warning: Logical Volume number "1073741827" found on physical volume not found in "/dev/vg01". # vgreduce -f /dev/vg01 PV with key 0 sucessfully deleted from vg /dev/vg01 Repair done, please do the following steps.....: 1. save /etc/lvmtab to another file 2. remove /etc/lvmtab 3. use vgscan(1m) -v to re-create /etc/lvmtab 4. NOW use vgcfgbackup(1m) to save the LVM setup # cp -p /etc/lvmtab /etc/lvmtab.old # rm /etc/lvmtab # vgscan -v Creating "/etc/lvmtab". vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00". vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg01". Couldn't stat physical volume "/dev/dsk/c0t0d0": Invalid argument Physical Volume "/dev/dsk/c2t0d0" contains no LVM information /dev/vg01 /dev/dsk/c2t1d0s2 /dev/vg00 /dev/dsk/c3t2d0s2 Scan of Physical Volumes Complete. *** LVMTAB has been created successfully. *** Do the following to resync the information on the disk. *** #1. vgchange -a y *** #2. lvlnboot -R # vgcfgbackup /dev/vg00 Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf # vgcfgbackup /dev/vg01 Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf # vgchange -a y Volume group "/dev/vg01" has been successfully changed. Volume group "/dev/vg00" has been successfully changed. # lvlnboot -R Warning: Logical Volume number "1073741827" found on physical volume not found in "/dev/vg01". Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf # fsck -F vxfs /dev/vg01/lvol1 # mount -F vxfs /dev/vg01/lvol1 /wcw # vi /wcw/bootconf # removed entry for disk that was no longer mirrored # umount /wcw # fsck -F vxfs /dev/vg01/lvol3 # mount -F vxfs /dev/vg01/lvol3 /wcw # vgcfgrestore -f /wcw/etc/lvmconf/vg00.conf -l Volume Group Configuration information in "/wcw/etc/lvmconf/vg00.conf" VG Name /dev/vg00 ---- Physical volumes : 2 ---- /dev/rdsk/c3t2d0s2 (Bootable) /dev/rdsk/c2t1d0s2 (Bootable) # umount /wcw # vgchange -a n /dev/vg01 Volume group "/dev/vg01" has been successfully changed. # vgexport -v /dev/vg01 Beginning the export process on Volume Group "/dev/vg01". /dev/dsk/c2t1d0s2 Volume group "/dev/vg01" has been successfully removed. ------------------------------------------------------------------ Shutdown Error ------------------------------------------------------------------ System going down IMMEDIATELY System shutdown time has arrived LVM: VG 64 0x010000: Quorum check failed! LVM: QUORUM OVERRIDE: Picking the latest copy from the available configuration and status information. LVM: VG 64 0x010000: Flushing the deferred attach list. sync'ing disks (0 buffers to flush): 0 buffers not flushed 0 buffers still dirty Closing open logical volumes... Done ------------------------------------------------------------------ Booting from c2t1d0 ------------------------------------------------------------------ HPUX> boot vmunix -lq -lm > System Memory = 4084 MB loading section 0 ......................................................... (complete) loading section 1 .............. (complete) loading symbol table loading System Directory (boot.sys) to MFS .... loading MFSFILES directory (bootfs) to MFS .............. Launching /stand/vmunix SIZE: Text:29012K + Data:6755K + BSS:5283K = Total:41050K Console is on a Serial Device Booting kernel... HP-UX will call firmware in physical-addressing mode Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 4084 MB 4084 MB 4084 MB Kernel : 4084 MB 4084 MB 4084 MB User : 3645 MB 3175 MB 3187 MB ------------------------------------------------------------------------- Loaded ACPI revision 2.0 tables. NOTICE: cachefs_link(): File system was registered at index 5. NOTICE: nfs3_link(): File system was registered at index 8. Boot device's HP-UX HW path is: 0/1/1/0.1.0 iether0: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/0 iether1: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/1 igelan2: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/2/1/0 igelan3: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/3/1/0 System Console is on the Built-In Serial Interface Logical volume 64, 0x10003 configured as ROOT WARNING: Logical volume for Dump expected but not found. Swap device table: (start & size given in 512-byte blocks) Calling function e000000001038060 for Shutdown State 8 type 0x2 Stored message buffer up to panic: Found adjacent data tr. Growing size. 0x343c000 -> 0x743c000. Pinned PDK malloc pool: base: 0xe000000100bc4000 size=119024K Loaded ACPI revision 2.0 tables. MMIO on this platform supports Write Coalescing. MFS is defined: base= 0xe000000100bc4000 size= 1384 KB Unpinned PDK malloc pool: base: 0xe000000108000000 size=131072K NOTICE: cachefs_link(): File system was registered at index 5. NOTICE: nfs3_link(): File system was registered at index 8. 0 sba 0/0 lba 0/0/1/0 UsbOhci 0/0/1/1 UsbOhci 0/0/1/2 UsbEhci 0/0/2/0 side_multi 0/0/2/0.0 side 0/0/2/0.0.0 tgt 0/0/2/0.0.0.0 sdisk 0/0/2/0.0.7 tgt 0/0/2/0.0.7.0 sctl 0/0/2/0.1 side 0/0/2/0.1.7 tgt 0/0/2/0.1.7.0 sctl 0/1 lba Initializing the Ultra320 SCSI Controller at 0/1/1/0. Controller firmware version is 01.03.35.65 0/1/1/0 mpt 0/1/1/0.0 tgt 0/1/1/0.0.0 sdisk 0/1/1/0.1 tgt 0/1/1/0.1.0 sdisk Initializing the Ultra320 SCSI Controller at 0/1/1/1. Controller firmware version is 01.03.35.65 0/1/1/1 mpt 0/1/2/0 iether 0/1/2/1 iether 0/2 lba 0/2/1/0 igelan 0/3 lba 0/3/1/0 igelan 0/4 lba Initializing the Ultra320 SCSI Controller at 0/4/1/0. Controller firmware version is 01.03.35.69 0/1/1/0.7 tgt 0/1/1/0.7.0 sctl 0/1/1/1.2 tgt 0/1/1/1.2.0 sdisk 0/4/1/0 mpt Initializing the Ultra320 SCSI Controller at 0/4/1/1. Controller firmware version is 01.03.35.69 0/1/1/1.7 tgt 0/1/1/1.7.0 sctl 0/4/1/1 mpt 0/5 lba 0/6 lba 0/6/1/0 asio0 0/6/1/1 asio0 0/6/2/0 gvid_core 120 processor 121 processor 250 pdh 250/0 ipmi 250/1 asio0 250/2 asio0 250/3 acpi_node 0/4/1/0.4 tgt 0/4/1/0.4.0 stape 0/4/1/0.4.1 schgr 0/4/1/0.7 tgt 0/4/1/0.7.0 sctl 0/4/1/1.7 tgt 0/4/1/1.7.0 sctl Boot device's HP-UX HW path is: 0/1/1/0.1.0 iether0: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/0 iether1: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/1 igelan2: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/2/1/0 igelan3: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/3/1/0 System Console is on the Built-In Serial Interface Logical volume 64, 0x10003 configured as ROOT WARNING: Logical volume for Dump expected but not found. Swap device table: (start & size given in 512-byte blocks) entry 0 - auto-configured on root device; start = 0, size = 1179648 Dump device table: (start & size given in 1-Kbyte blocks) entry 0000000000000000 - major is 31, minor is 0x21004; start = 5036916, size = 589820 System Panic: panic: all VFS_MOUNTROOTs failed: NEED DRIVERS ????? Stack Trace: IP Function Name 0xe000000000e82b80 vfs_mountroot+0x1d0 0xe00000000118ef20 im_mountroot+0x60 0xe0000000015b0790 DoCalllist+0x3a0 End of Stack Trace linkstamp: Fri Jun 08 10:25:08 CDT 2007 _release_version: @(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $ sync'ing disks (0 buffers to flush): (0 buffers to flush): 0 buffers not flushed 0 buffers still dirty *** A system crash has occurred. (See the above messages for details.) *** The system is now preparing to dump physical memory to disk, for use *** in debugging the crash. *** Cannot dump with compression because there are too few processors *** Dumping without compression *** The dump will be a SELECTIVE dump: 435 of 4085 megabytes. *** To change this dump type, press any key within 10 seconds. *** Select one of the following dump types, by pressing the corresponding key: N) There will be NO DUMP performed. S) The dump will be a SELECTIVE dump: 435 of 4085 megabytes. P) The dump will be a PARTIAL dump: 576 of 4085 megabytes. (A FULL dump is not possible.) *** Enter your selection now. n*** Dump disabled. System rebooting.