码迷,mamicode.com
首页 > 其他好文 > 详细

Solaris10技巧

时间:2014-08-05 15:44:29      阅读:205      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   os   文件   for   ar   div   

如何查看UFS文件系统创建命令

root@ofs0accmcc01 # mkfs -m /dev/md/rdsk/d100
mkfs -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/d100
pfexec mkfs -F ufs -o N /dev/md/rdsk/d100 1962662400 768 -1 8192 1024 165 1 90 8192 t 0 -1 8 16 n
Warning: 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

Solaris10技巧,布布扣,bubuko.com

Solaris10技巧

标签:style   blog   color   os   文件   for   ar   div   

原文地址:http://www.cnblogs.com/cqubityj/p/3892324.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!