Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5701994
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2006-03-21 15:53:47

1,If your last system boot failed or hung, you may wish to boot the system to single-user mode to troubleshoot the problem. This proves especially useful when an autoboot fails because of errors in /etc/passwd, /etc/fstab, or other critical configuration files. Thismay also be useful if you have forgotten the root password:booting to single-user mode automatically logs root in on the system console without prompting for a password! use the -is option to boot the system to single-user mode:
ISL> hpux -is
 
2,By default, an HP-UX system won't boot unless 51% of the disks in vg00 are available. This is known as the LVM quorum restriction. You can, however, override this restriction via the hpux -lq command. This proves useful if you have a mirrored boot disk,and the primary boot disk is corrupted. You can still boot from the remaining mirror, but only if you execute hpux -lq. Be sure, however, to repair or replace the corrupted mirror as soon as possible!
ISL> hpux -lq
 
3,You can also boot into"LVM maintenance mode" by typing hpux -lm, you may need to boot to maintenance mode at some point to modify vg00's configuration, extend the root file system, or modify primary swap. It is very easy to corrupt your LVM configuration in maintenance mode; use it with care!
ISL> hpux -lm
 
4,If you reconfigure your default kernel with an incompatible set of kernel parameters that leave your system unbootable, you may choose to boot from a backup kernel as shown at the bootom of the slide:
ISL> hpux /stand/vmunix.prev
 
5,additional ISL commands and utilities:
help or ?:list available ISL command
ls or listf:list available other utilities available in the LIF area
autoboot on/off:enable or disable the autobot sequence parameter in stable storage
autosearch on/off:enable or disable the autosearch parameter in stable storage
display:display the primary boot, alternate boot ,and console paths
primpath 8/12.6.0:set the primary boot path in stable storage
altpath 8/12/5.0:set the alternate boot path in stable storage
conspath 8/24:set the console hardware path in stable storage
lsautofl:display the contents of the auto file in the LIF area
 
6,additional hpux options:
hpux:boot to multi-user mode using /stand/vmunix
hpux /stand/vmunix.prev:boot to multi-user mode using a named kernel
hpux ls:list the contents of /stand
hpux show autofile:display contents of autofile
hpux set autofile "hpux":change contents of the autofile
hpux -v:display the version number of the hpux utility
hpux -is:boot to single-user mode
hpux -lm:boot to LVM maintenance mode
阅读(1462) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~