Oracle 10g installation on HP-UX

Source: Internet
Author: User

1. view the current File System
[Root @ hp173/] # bdf
Filesystem kbytes used avail % used Mounted on
/Dev/vg00/lvol3 204800 154080 50384 75%/
/Dev/vg00/lvol1 298928 83696 185336 31%/stand
/Dev/vg00/lvol8 2613248 1010056 1592040 39%/var
/Dev/vg00/lvol7 2359296 1629616 724040 69%/usr
/Dev/vg00/lvol4 2048000 3480 2029640 0%/tmp
/Dev/vg00/lvol6 4399104 2890728 1496672 66%/opt
/Dev/vg00/lvol5 24576 2344 22136 10%/home
192.168.8.161:/soft
10485760 2526384 7711288 25%/soft
/Dev/vg00/lv_u01 8388608 3172 8123400 0%/u01


2. Uninstall the File System
[Root @ hp173/] # umount/u01


3. Delete LV
[Root @ hp173/] # lvremove/dev/vg00/lv_u01


4. Create a mount point
[Root @ hp173/] # mkdir/u01


5. Create an LV
[Root @ hp173/] # lvcreate-L 8192 m-n lv_u01 vg00


6. Create a file system on LV
[Root @ hp173/] # newfs-F vxfs/dev/vg00/lv_u01


7. mount a File System
[Root @ hp173/] # mount/dev/vg00/lv_u01/u01


8. view the mounting result
[Root @ hp173/] # bdf
Filesystem kbytes used avail % used Mounted on
/Dev/vg00/lvol3 204800 154080 50384 75%/
/Dev/vg00/lvol1 298928 83696 185336 31%/stand
/Dev/vg00/lvol8 2613248 1010064 1592032 39%/var
/Dev/vg00/lvol7 2359296 1629616 724040 69%/usr
/Dev/vg00/lvol4 2048000 3480 2029640 0%/tmp
/Dev/vg00/lvol6 4399104 2890728 1496672 66%/opt
/Dev/vg00/lvol5 24576 2344 22136 10%/home
192.168.8.161:/soft
10485760 2526384 7711288 25%/soft
/Dev/vg00/lv_u01 8388608 3172 8123400 0%/u01


9. Modify/etc/fstab to enable the file system to be automatically mounted at the next startup.
[Root @ hp173/] # vi etc/fstab
/Dev/vg00/lvol3/vxfs delaylog 0 1
/Dev/vg00/lvol1/stand hfs defaults 0 1
/Dev/vg00/lvol4/tmp vxfs delaylog 0 2
/Dev/vg00/lvol5/home vxfs delaylog 0 2
/Dev/vg00/lvol6/opt vxfs delaylog 0 2
/Dev/vg00/lvol7/usr vxfs delaylog 0 2
/Dev/vg00/lvol8/var vxfs delaylog 0 2
#/Dev/vg01/u01/u01 vxfs delaylog 0 2
#/Dev/vg00/u01test/u01 vxfs delaylog 0 2
#/Dev/vg00/cuugtest/database vxfs delaylog 0 2
/Dev/vg00/lv_u01/u01 vxfs delaylog 0 2

  • 1
  • 2
  • 3
  • 4
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.