• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

AdvFS_How-to

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: ChinaUnix.net

软件测试论坛讨论

领测软件测试网
虽然是英文的但是都比较实惠有用。希望大家能够喜欢。 :wink: 
AdvFS_How-to 
mkfdmn volume_name domain_name - create a file domain
/etc/fdmns - contains a subdirectory for each file domain. Each subdirectory contains synbolic links to each volume

showfdmn - remove a domain 

mkfset domain_name fileset_name - create fileset e.g.

mkfset domain1 fileset1
mount -t advfs domain1#fileset1 /dir1 

entry in fstab would be:
domain1#fileset1 /dir1 advfs
rq,usequota,groupquota 

showfsets fileset_name - display info about a fileset

rnfset - remove fileset

clonefset - create a clone fileset for backup purposes (If a file in the original fileset is changed, the data is copied into the clone fileset first so the clone maintains an unchanged snapshot of the fileset)

e.g. mkdir /mnt/fileset1_clone
clonefset domain1 fileset1 fileset1_clone
mount -t advfs domain1#fileset1_clone
/tmp_mnt/clone1
vdump /tmp_mnt/clone1
umount /tmp_mnt/clone1
rmfset domain1 fileset1_clone 

Examples of using AdvFS with LSM 500Mb, mirrored:

volassist -U fsgen make v2_mirror 500m nmirror=2 
mkfdmn /dev/vol/rootdg/v2_mirror domain1
mkfset domain1 fset_1
mount domain1#fset_1 /dir1

1Gb domain, 2vols

volassist make vol01 500m
volassist make vol02 500m
mkfdmn /dev/vol/vol01 onegb_domain
addvol /dev/vol/vol02 onegb_domain
mkfset onegb_domain onegb_fset
mount onegb_domain#onegb_fset /dir1

 xiaoyang_syl 回复于:2005-07-06 19:19:22
我们有同感!

 zwpb 回复于:2005-07-19 14:50:26


延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网