*********************************************************
john's notes
*********************************************************
note: these are notes

adding a filesystem called /project3

the HP-UX 10.20 SamLog Commands

# Fri Oct 17 10:53:35 1997: Began creating logical volumes for volume group # vg00. /sbin/lvcreate -l 125 -n project3 -r y -C n -M y -s y -p w -d p vg00 /usr/bin/mkdir -p /project3 /usr/sbin/newfs -F hfs -L /dev/vg00/rproject3 /usr/sbin/mount -u -o rw,suid, -F hfs /dev/vg00/project3 /project3 /usr/bin/cp /etc/fstab /etc/fstab.old # Fri Oct 17 10:53:44 1997: Completed creation of logical volumes for volume # group vg00. # Fri Oct 17 10:53:44 1997: Began initializing the Logical Volumes sub-area. /usr/sam/lbin/vginfo -v /usr/sbin/mount -u tmpfile=/var/tmp/bdf.err; rc=0; /usr/bin/bdf -b 2> $tmpfile | awk ' { if (flag \ == 1) { print saved_df, $1, $2, $3, $4, $5; flag = 0 } else if ($2 == "") { \ saved_df = $1; flag = 1 } else print $1, $2, $3, $4, $5, $6 }' ; if [[ -s \ $tmpfile ]]; then rc=1; cat $tmpfile 1>&2 ; fi; rm $tmpfile ; exit $rc /usr/sbin/swapinfo -fdmrt /sbin/lvlnboot -v vg00 2> /dev/null | awk '$1=="Swap:" { if ( substr( $2, 1, 1 \ ) == "/" ) { print substr( $2, 2 ) } else { print $2 } }' /usr/sam/lbin/vginfo -d /usr/sam/lbin/vginfo -l /dev/vg00/lvol1 /usr/sam/lbin/vginfo -l /dev/vg00/lvol2 /usr/sam/lbin/vginfo -l /dev/vg00/lvol3 /usr/sam/lbin/vginfo -l /dev/vg00/lvol4 /usr/sam/lbin/vginfo -l /dev/vg00/lvol5 /usr/sam/lbin/vginfo -l /dev/vg00/lvol6 /usr/sam/lbin/vginfo -l /dev/vg00/lvol7 /usr/sam/lbin/vginfo -l /dev/vg00/project3 /usr/sam/lbin/vginfo -l /dev/vg01/db-engine /usr/sam/lbin/vginfo -l /dev/vg01/project /usr/sam/lbin/vginfo -l /dev/vg01/project1 /usr/sam/lbin/vginfo -l /dev/vg02/db01 /usr/sam/lbin/vginfo -l /dev/vg02/db02 /usr/sam/lbin/vginfo -l /dev/vg02/db03 /usr/sam/lbin/vginfo -l /dev/vg02/db04 /usr/sam/lbin/vginfo -l /dev/vg03/db05 /usr/sam/lbin/vginfo -l /dev/vg03/db06 /usr/sam/lbin/vginfo -l /dev/vg03/db07 /usr/sam/lbin/vginfo -l /dev/vg03/db08 /usr/sam/lbin/vginfo -l /dev/vg04/db09 /usr/sam/lbin/vginfo -l /dev/vg04/db10 /usr/sam/lbin/vginfo -l /dev/vg04/db11 /usr/sam/lbin/vginfo -l /dev/vg04/db12 /usr/sam/lbin/vginfo -l /dev/vg05/db13 /usr/sam/lbin/vginfo -l /dev/vg05/db14 /usr/sam/lbin/vginfo -l /dev/vg05/db15 /usr/sam/lbin/vginfo -l /dev/vg05/db16 /usr/sam/lbin/vginfo -l /dev/vg06/db17 /usr/sam/lbin/vginfo -l /dev/vg06/db18 /usr/sam/lbin/vginfo -l /dev/vg06/db19 /usr/sam/lbin/vginfo -l /dev/vg06/db20 # Fri Oct 17 10:53:53 1997: Completed initializing the Logical Volumes # sub-area. proj-sam-log: END

john's System Admin page. -- john's home page. -- email: john@wagoneers.com
Copyright © 1997 John Meister All rights reserved.