Professional Documents
Culture Documents
HP-UX 10x System - Administration
HP-UX 10x System - Administration
HP-UX 10x System - Administration
x System Administration
MANPATH
/usr/man /usr/share/man /usr/contrib/man /usr/dt/bin /opt/[dir]/share/man
Disk and File Systems Without LVM Hard partitions are provided only for models of disks that were supported prior to release 10.0. Hard partitions will not be provided on disks introduced with 10.0 or later.
http://www.unixguide.net/hp/hp10sysadm.shtml
1 sur 4
You will not be able to use a partitioned disk for your root disk. You will only be able to use a non-partitioned disk or LVM disk for this purpose.
Special files: /dev/dsk/c0t3d0 - block device - c=controller # - t=SCSI target # - d=almost always 0 /dev/rdsk/c0t3d0 - character device /dev/rmt/0 - tape device To set up a new disk for use: /usr/sbin/newfs -F FStype /dev/rdsk/c0t3d0 By default, short or long filenames will be used based on whatever the root filesystem is. /sbin/mount /dev/dsk/c0t3d0 /filesystem Add it to /etc/fstab for automatic mounting during every boot.
With LVM
/usr/sbin/pv* /usr/sbin/lv* /usr/sbin/vg* /dev/[vol_grp]/[log_vol] - block device /dev/[vol_grp]/r[log_vol] - character device i.e. /dev/vg01/lvol3 /dev/vg01/rlvol3 /dev/scratchvg/scratch /dev/scratchvg/rscratch To set up a new disk for use with LVM: /usr/sbin/pvcreate /dev/rdsk/c0t4d0 /usr/sbin/vgextend /dev/vg01 /dev/dsk/c0t4d0 /usr/sbin/lvcreate -n test -L 600 /dev/vg01 /usr/sbin/newfs -F hfs /dev/vg01/test /usr/bin/mkdir /test /sbin/mount /dev/vg01/test /test
/etc/fstab
Fields are: device special file, mount point, FS type, options, backup frequency (unused), fsck pass number. Root volume must have pass number 1 and other volumes must have > 1. Allowed FS types are: swap, swapfs, ignore, hfs, vxfs, cdfs, nfs, or lofs.
# begin /etc/fstab /dev/vg00/lvol1 / hfs defaults 0 1 /dev/vg00/lvol3 ... swap defaults 0 0 /dev/vg00/lvol4 /opt hfs defaults 0 2 /dev/vg00/lvol5 /tmp hfs defaults 0 2 /dev/vg00/lvol6 /usr hfs defaults 0 2 /dev/vg00/lvol7 /var hfs defaults 0 2 /dev/vg01/scratch /scratch hfs rw,suid 0 2 /dev/vg01/home2 /home hfs rw,suid,quota 0 2 /dev/vg01/pub /pub hfs rw,suid 0 2 /dev/dsk/c1t2d0 /lcdrom10 cdfs ro,suid 0 0 /dev/vg01/www /usr/www hfs rw,suid 0 2 derf.cso.uiuc.edu:/home /derf/home nfs rw,suid 0 0 # end
http://www.unixguide.net/hp/hp10sysadm.shtml
2 sur 4
NFS filesystems
/etc/exports /usr/sbin/exportfs /etc/rc.config.d/nfsconf /sbin/init.d/nfs.server start
scsi.6.0 QUANTUM PD210S scsi.5.0 QUANTUM PD210S scsi.4.0 DDS_tape_drive_identifier scsi.3.0 TOSHIBA CD-ROM DRIVE:XM lan.123456-789abc homebase Boot from specified device Search for bootable devices Enter boot administration mode Exit and continue boot sequence Help
Enter command:
Run levels: s single user 2 multi-user; no NFS server capabilities 3 multi-user with NFS server 4 same as 3, but with HP VUE
who -r gives current run level /etc/inittab to change runlevels: /sbin/shutdown -y 0 # to go to single user state /sbin/init # bring the system up in the new runlevel
Printing Use /usr/sbin/sam to add/remove/configure printers if possible. If not, /usr/sbin/lpadmin would be a good command to read about. There is quite a bit of help in the HP-UX System Administration Tasks manual (available on LROM).
http://www.unixguide.net/hp/hp10sysadm.shtml 3 sur 4
yuiyu By : anonymous ( Thu Feb 1 00:53:30 2007 ) hai By : anonymous ( Fri Jun 9 08:25:11 2006 ) Change rESOLUTION IN hp UX By : anonymous ( Mon Dec 20 02:07:44 2004 ) CIFS Mount example. By : anonymous ( Thu May 20 10:13:41 2004 ) NTFS mount By : anonymous ( Wed May 19 21:18:35 2004 ) All Comments Name : Password : E-mail : Subject : Comments :
http://www.unixguide.net/hp/hp10sysadm.shtml
4 sur 4