Geagle

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

steps:
1. View the available Device in the system.
-bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online

 

2. Initialize disk c1t1d0
-bash-3.00# /usr/lib/vxvm/bin/vxdisksetup -i c1t1d0

3. Create a disk group named datadg, and diskname is datadg01,device is c1t1d0
-bash-3.00# vxdg init datadg datadg01=c1t1d0

4. View the datagroup created above.
-bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:cdsdisk datadg01 datadg online

5. Make a data volume sized 6g
-bash-3.00# vxassist -g datadg make datavol 6g

6. Make a Vxfs file system by the datavol
-bash-3.00# mkfs -F vxfs -o largefiles /dev/vx/rdsk/datadg/datavol

7. Create a new mount point
-bash-3.00# mkdir /vxfszone

8. Mount the Vxfs file system on the mount point '/vxfszone'
-bash-3.00# mount -F vxfs /dev/vx/dsk/datadg/datavol /vxfszone/

9. View the vxfs file system mounted.
-bash-3.00# df -hF vxfs
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/datadg/datavol 6.0G 19M 5.6G 1% /vxfszone

posted on 2010-09-02 18:07  G_eagle  阅读(139)  评论(0编辑  收藏  举报