HP-UX HB v13.00 Ch-04 - System Recovery

HP-UX Handbook Rev 13.00 Page 18 (of 54)
Chapter 04 System Recovery
October 29, 2013
The path to disk is 0/0/1/0.1.0
Select one of the following:
a. The above information is correct.
b. WRONG!! The device file used for '/'(ROOT) is incorrect.
m. Return to the 'HP-UX Recovery MENU.'
x. Exit to the shell.
NOTE: If '/' is an LVM, use an 's1lvm' suffix (e.g. c0t1d0s1lvm).
Selection:
Carefully check if the patch is the correct one, enter a in this case. In doubt choose Exit to
shell and verify the path using ioscan(1M). If you enter b; the following is then displayed:
Enter the device file associated with the '/'(ROOT) file system
(example: c0t1d0s1lvm )
4. Enter the appropriate device file, in our case we choose c2t0d0s1lvm since we try to
recover a system with LVM layout. The following menu is displayed next:
FILE SYSTEM CHECK
MENU
The file system check '/sbin/fs/hfs/fsck -y /dev/rdsk/c2t0d0s1lvm'
will now be run.
Select one of the following:
a. Run fsck -y .
b. Prompt for the fsck run string on c2t0d0s1lvm.
m. Return to the 'HP-UX Recovery MENU.'
5. Select a to run fsck -y to check your file system for corruption; you will see a display
similar to the following:
** /dev/rdsk/c2t0d0s1lvm
** Last Mounted on /ROOT/stand
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
63 files, 0 icont, 74047 used, 54185 free (97 frags, 6761 blocks)
Mounting c2t0d0s1lvm to the /ROOT directory...
/sbin/fs/vxfs/fsck -y /dev/rdsk/c2t0d0s2lvm
file system is clean - log replay is not required
/sbin/fs/vxfs/mount /dev/dsk/c2t0d0s2lvm /ROOT
/sbin/fs/hfs/mount /dev/dsk/c2t0d0s1lvm /ROOT/stand
Is the system being recovered installed with at least release 11.00 (Y\N)?
6. Assuming you use the right media you should answer y to confirm. Otherwise you get
this error:
WARNING! files downloaded to this system will be 11.00
versions. If your system is pre 11.00, installing 11.00