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

HP-UX Handbook Rev 13.00 Page 37 (of 54)
Chapter 04 System Recovery
October 29, 2013
needs to be an HFS file system! lvol2 will be the primary swap, so no file system is
created there.
# loadfile /sbin/fs/hfs/mkfs /sbin/fs/vxfs/mkfs
# loadfile /sbin/fs/hfs/mount /sbin/fs/vxfs/mount
# /sbin/fs/hfs/mkfs /dev/vg00/rlvol1
# for i in 3 4 5 6 7 8; do /sbin/fs/vxfs/mkfs /dev/vg00/rlvol$i; done
version 4 layout
163840 sectors, 163840 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
163840 data blocks, 162712 free data blocks
5 allocation units of 32768 blocks, 32768 data blocks
version 4 layout
1572864 sectors, 1572864 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
1572864 data blocks, 1571384 free data blocks
48 allocation units of 32768 blocks, 32768 data blocks
version 4 layout
1048576 sectors, 1048576 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
1048576 data blocks, 1047224 free data blocks
32 allocation units of 32768 blocks, 32768 data blocks
version 4 layout
1048576 sectors, 1048576 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
1048576 data blocks, 1047224 free data blocks
32 allocation units of 32768 blocks, 32768 data blocks
version 4 layout
131072 sectors, 131072 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
131072 data blocks, 129952 free data blocks
4 allocation units of 32768 blocks, 32768 data blocks
version 4 layout
1048576 sectors, 1048576 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
1048576 data blocks, 1047224 free data blocks
32 allocation units of 32768 blocks, 32768 data blocks
8. Create mount points and mount all the newly created file systems.
# mkdir /ROOT
# /sbin/fs/vxfs/mount /dev/vg00/lvol3 /ROOT
# mkdir /ROOT/stand
# mkdir /ROOT/opt
# mkdir /ROOT/tmp
# mkdir /ROOT/usr
# mkdir /ROOT/home
# mkdir /ROOT/var
# /sbin/fs/hfs/mount /dev/vg00/lvol1 /ROOT/stand
# /sbin/fs/vxfs/mount /dev/vg00/lvol4 /ROOT/opt
# /sbin/fs/vxfs/mount /dev/vg00/lvol5 /ROOT/tmp
# /sbin/fs/vxfs/mount /dev/vg00/lvol6 /ROOT/usr
# /sbin/fs/vxfs/mount /dev/vg00/lvol7 /ROOT/home
# /sbin/fs/vxfs/mount /dev/vg00/lvol8 /ROOT/var
9. All file systems of the root VG are mounted now. Check what additional file systems