快轉到主要內容

Oracle OCFS2 初學

·113 字·1 分鐘·
PolloChang
作者
PolloChang
我是一隻雞

Oracle Cluster File System 2 (OCFS2) 文件系统

指令
#

手動掛載
#

1
mount -t ocfs2 /dev/xvdb1 /data

處理結果

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
[root@testAP ~]# df -h
Filesystem           Size  Used Avail Use% Mounted on
/dev/mapper/ol-root  291G  189G  103G  65% /
/dev/xvda1           497M  267M  230M  54% /boot
[root@testAP ~]# mount -t ocfs2 /dev/xvdb1 /data
[root@testAP ~]# df -h
Filesystem           Size  Used Avail Use% Mounted on
/dev/mapper/ol-root  291G  189G  103G  65% /
/dev/xvda1           497M  267M  230M  54% /boot
/dev/xvdb1           1.0T  896G  129G  88% /data

開機時自動掛載
#

  • /etc/fstab
1
/dev/xvdb1    /data    ocfs2    defaults,_netdev    0 0