需要在测试的HP-UX平台上安装数据库,

# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    1048576  256768  786536   25% /
/dev/vg00/lvol1    1835008  166712 1655360    9% /stand
/dev/vg00/lvol8    8912896 2739184 6128848   31% /var
/dev/vg00/lvol7    5046272 3236944 1795248   64% /usr
/dev/vg00/lvol4     524288   60480  461016   12% /tmp
/dev/vg00/lvol6    8486912 6915520 1559560   82% /opt
/dev/vg00/lvol5     131072   43656   86864   33% /home
DevFS                   11      11       0  100% /dev/deviceFileSystem
#没有可用空间

# ioscan -funCdisk
Class     I  H/W Path      Driver         S/W State   H/W Type     Description
===============================================================================
disk      5  0/0/2/1.0.16  UsbScsiAdaptor   CLAIMED     DEVICE       USB SCSI Stack Adaptor
                          /dev/deviceFileSystem/Usb/MassStorage/dsk/disk@hp-1008+294=A60020000001
                          /dev/deviceFileSystem/Usb/MassStorage/rdsk/disk@hp-1008+294=A60020000001
disk      2  0/1/1/0.0.0.0.0  sdisk            CLAIMED     DEVICE       HP      IR Volume
                          /dev/dsk/c0t0d0     /dev/dsk/c0t0d0s2   /dev/rdsk/c0t0d0    /dev/rdsk/c0t0d0s2
                          /dev/dsk/c0t0d0s1   /dev/dsk/c0t0d0s3   /dev/rdsk/c0t0d0s1  /dev/rdsk/c0t0d0s3
# vgdisplay
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write    
VG Status                   available                
Max LV                      255   
Cur LV                      10    
Open LV                     8     
Max PV                      16    
Cur PV                      1     
Act PV                      1     
Max PE per PV               4353        
VGDA                        2  
PE Size (Mbytes)            32             
Total PE                    4343   
Alloc PE                    1871   
Free PE                     2472   
Total PVG                   0       
Total Spare PVs             0             
Total Spare PVs in use      0                    
VG Version                  1.0      
VG Max Size                 2228736m  
VG Max Extents              69648   

还有将近80G剩余空间,ok,充分利用起来

# lvcreate -L 20000 -n oradata vg00
Logical volume "/dev/vg00/oradata" has been successfully created with
character device "/dev/vg00/roradata".
Logical volume "/dev/vg00/oradata" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

# newfs -F vxfs /dev/vg00/roradata
    version 6 layout
    20480000 sectors, 20480000 blocks of size 1024, log size 16384 blocks
    largefiles supported

# mount /dev/vg00/oradata /data
# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    1048576  256768  786536   25% /
/dev/vg00/lvol1    1835008  166712 1655360    9% /stand
/dev/vg00/lvol8    8912896 2738112 6129904   31% /var
/dev/vg00/lvol7    5046272 3236944 1795248   64% /usr
/dev/vg00/lvol4     524288   60480  461016   12% /tmp
/dev/vg00/lvol6    8486912 6915520 1559560   82% /opt
/dev/vg00/lvol5     131072   43656   86864   33% /home
DevFS                   11      11       0  100% /dev/deviceFileSystem
/dev/vg00/oradata  20480000   22101 19179288    0% /data
一个20G大小的分区就创建好了