hpux作業系統中從vg中划出lv,並將此lv做成檔案系統,然後mount該檔案系統,

來源:互聯網
上載者:User

hpux作業系統中從vg中划出lv,並將此lv做成檔案系統,然後mount該檔案系統,

hpux作業系統中,從vg中划出lv,並將此lv做成檔案系統,然後mount該檔案系統

建立邏輯卷lvol5

#lvcreate -L 20480M -n lvol5 /dev/vg01

注意:lvol5是lv的名字

使用字元裝置檔案(帶r)在 邏輯卷rlvol5中建立一個新的檔案系統

#newfs           /dev/vg01/rlvol5

或者

#newfs -f fstype /dev/vg01/rlvol5

 

掛接邏輯卷

# mount /dev/vg01/lvol5 /oracle_arch

注意:
第一:上面的是不帶r的lvol5
第二:/oracle_arch該檔案的屬主是屬於oracle使用者:chown oracle:oinstall /oracle_arch

相關文章

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.