免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: mingjwan
打印 上一主题 下一主题

如何格式化并挂载一个主分区 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-10-19 11:55 |只看该作者
There can be only one primary partition of solaris format on a disk.\n\n[ 本帖最后由 yuhuohu 于 2007-10-19 12:03 编辑 ]

论坛徽章:
0
12 [报告]
发表于 2007-10-19 13:38 |只看该作者
为什么只能有一个solaris分区呢?也许这是另一个话题了,目前我还是想直接在solaris下用命令格式化该分区,然后在挂载到solaris下。这样也好让自己进步一把。呵呵。

论坛徽章:
0
13 [报告]
发表于 2011-09-30 10:33 |只看该作者
newfs /dev/dsk/c..t..d..s.. 或者 newfs /dev/rdsk/c..t..d..s..都是可以的。\r\n但是mount的时候,只能是/dev/dsk/c..t..d..s..就不能用rdsk了。\r\n\r\n看我下面的具体步骤。绝对没错\r\n===================================\r\n\r\nroot@SuzV890-2 # newfs /dev/rdsk/c0t2d0s2\r\nnewfs: /dev/rdsk/c0t2d0s2 last mounted as /u02\r\nnewfs: construct a new file system /dev/rdsk/c0t2d0s2: (y/n)? y\r\nWarning: 2496 sector(s) in last cylinder unallocated\r\n/dev/rdsk/c0t2d0s2:     143349312 sectors in 23332 cylinders of 48 tracks, 128 sectors\r\n        69994.8MB in 1459 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)\r\nsuper-block backups (for fsck -F ufs -o b=#) at:\r\n 32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,\r\nInitializing cylinder groups:\r\n............................\r\nsuper-block backups for last 10 cylinder groups at:\r\n 142447776, 142546208, 142644640, 142743072, 142841504, 142939936, 143038368,\r\n 143136800, 143235232, 143333664\r\nroot@SuzV890-2 # mount /dev/dsk/c0t2d0s2 /u02\r\nroot@SuzV890-2 # df -hk /u02\r\nFilesystem             size   used  avail capacity  Mounted on\r\n/dev/dsk/c0t2d0s2       67G    68M    67G     1%    /u02\r\nroot@SuzV890-2 # \r\n\r\n=======================\r\n\r\nroot@SuzV890-2 # newfs /dev/rdsk/c6t1d0s2     \r\nnewfs: construct a new file system /dev/rdsk/c6t1d0s2: (y/n)? y\r\nWarning: 2496 sector(s) in last cylinder unallocated\r\n/dev/rdsk/c6t1d0s2:     143349312 sectors in 23332 cylinders of 48 tracks, 128 sectors\r\n        69994.8MB in 1459 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)\r\nsuper-block backups (for fsck -F ufs -o b=#) at:\r\n 32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,\r\nInitializing cylinder groups:\r\n............................\r\nsuper-block backups for last 10 cylinder groups at:\r\n 142447776, 142546208, 142644640, 142743072, 142841504, 142939936, 143038368,\r\n 143136800, 143235232, 143333664\r\nroot@SuzV890-2 # \r\nroot@SuzV890-2 # \r\nroot@SuzV890-2 # mount /dev/rdsk/c6t1d0s2 /u03\r\nmount: /dev/rdsk/c6t1d0s2 not a block device\r\nroot@SuzV890-2 # mount /dev/rdsk/c6t1d0s2 /u03\r\nmount: /dev/rdsk/c6t1d0s2 not a block device\r\nroot@SuzV890-2 # mount /dev/dsk/c6t1d0s2 /u03\r\nroot@SuzV890-2 # df -hk /u03\r\nFilesystem             size   used  avail capacity  Mounted on\r\n/dev/dsk/c6t1d0s2       67G    68M    67G     1%    /u03\r\nroot@SuzV890-2 # \r\n

论坛徽章:
0
14 [报告]
发表于 2011-10-27 11:32 |只看该作者
都是高手,学习了\r\n
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP