首页 > 代码库 > Solaris10技巧
Solaris10技巧
如何查看UFS文件系统创建命令
root@ofs0accmcc01 # mkfs -m /dev/md/rdsk/d100mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=1024,cgsize=16,free=1,rps=90,nbpi=4077,opt=t,apc=0,gap=0,nrpos=8,maxcontig=16,mtb=n /dev/md/rdsk/d100 1962662400
各个参数的含义参见:man -s 1M mkfs_ufs
如果查找UFS文件系统超级块的备份
root@ofs0accmcc01 # newfs -Nv /dev/md/rdsk/d100pfexec mkfs -F ufs -o N /dev/md/rdsk/d100 1962662400 768 -1 8192 1024 165 1 90 8192 t 0 -1 8 16 nWarning: 1536 sector(s) in last cylinder unallocated/dev/md/rdsk/d100: 1962662400 sectors in 319444 cylinders of 48 tracks, 128 sectors 958331.2MB in 19966 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)super-block backups (for fsck -F ufs -o b=#) at: 32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,Initializing cylinder groups:...............................................................................................................................................................................................................................................................................................................................................................................................................super-block backups for last 10 cylinder groups at: 1961761312, 1961859744, 1961958176, 1962056608, 1962155040, 1962253472, 1962351904, 1962450336, 1962548768, 1962647200
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。