Page 1 Continuation.......!!!
CIFS (Samba)
/opt/etc/samba/smb.conf
Device Management
HP-UX is a hardware path based operating system. When it boots up it does a hardware detection. It then compares the hardware that it detects with the hardware that is listed in /etc/ioconfig. If new hardware is detected, it is assigned the next available configuration information in the proper hardware path.
rmsf - remove special files
insf - install special files
insf -C disk -e <-- This command will re-install all of the device files for the class "disk"
lsdev <-- Lists devices and drivers in the system
ioscan <-- searches for all devices and displays their hardware path
ioscan -fnC disk <-- searches for all devices of class (C) disk
ioscan -fnH <-- searches for a LUN
last 2 digits of hardware path in the LUN in octal (1/12/0/0.1.23)
Disk Devices
A disk device will have a name in the following format: c#t#d#
c# is the card number
t# is the target number
d# is the LUN - this is normally 0 unless RAID is being utilized
scsictl -a /dev/rdsk/c?t?d? <-- display control parameter information about the disk device
scsictl -a -m queue_depth=4 -m queue_depth /dev/rdsk/c?t?d? <-- sets the queue depth
CD-ROM Devices
nohup /usr/sbin/pfs_mountd & - starts process
nohup /usr/sbin/pfds & - starts process
pfs_mount -o xlat=unix /dev/dsk/c0t1d0 /cdrom - mounts cdrom
Cdrom won't eject:
rmsf - remove special files
insf - install special files
insf -C disk -e <-- This command will re-install all of the device files for the class "disk"
lsdev <-- Lists devices and drivers in the system
ioscan <-- searches for all devices and displays their hardware path
ioscan -fnC disk <-- searches for all devices of class (C) disk
ioscan -fnH
last 2 digits of hardware path in the LUN in octal (1/12/0/0.1.23)
Disk Devices
A disk device will have a name in the following format: c#t#d#
c# is the card number
t# is the target number
d# is the LUN - this is normally 0 unless RAID is being utilized
scsictl -a /dev/rdsk/c?t?d? <-- display control parameter information about the disk device
scsictl -a -m queue_depth=4 -m queue_depth /dev/rdsk/c?t?d? <-- sets the queue depth
CD-ROM Devices
nohup /usr/sbin/pfs_mountd & - starts process
nohup /usr/sbin/pfds & - starts process
pfs_mount -o xlat=unix /dev/dsk/c0t1d0 /cdrom - mounts cdrom
Cdrom won't eject:
- pfs_umount -c OR
- kill -9 pfs_mountd and kill -9 mountd
Cdrom won't mount using: pfs_mount -o xlat=unix /dev/dsk/c0t1d0 /cdrom
- nohup /usr/sbin/pfs_mountd &
- nohup /usr/sbin/pfsd
- /usr/sbin/pfs_mount /cdrom <-- this uses mounting information in /etc/pfs_fstab
0 Comment to "HP-UX Overview and Command Summary - Page 2"
Post a Comment