免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2436 | 回复: 5
打印 上一主题 下一主题

newfs 格式化报错 (很着急....) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-13 23:18 |只看该作者 |倒序浏览
今天遇到了个 相当郁闷的问题,
拿SE 3310  做了个RIAD 5 (11+1)

等了5小时 终于 做好了!   

把卷 分了2个区(一个800G\一个500G)
然后MAP 到主机    挂在 U80上.

系统识别到,这个时候
# format  ----lable  ----y----type --- 选择自动配置----lable-----y
划出来的2个区 分别都这么做了

这个是开始 创建 ufs
#newfs  /dev/dsk/c2t0d0s2
#是否需要创建文件系统,继续Y
告警:with 32258 sectors per cllinder,minimum ctlinders per group is 16
This requires the fragment size to be changed from 1024 to 8192
please re-run mkfs with corrected parameters
(这样的情况以前遇到过 只不过 from1024 to 4096, 解决办法是:newfs  -f 4096 /dev/dsk/c2t0d0s2)

这次 使用
#newfs  -f 4096 /dev/dsk/c2t0d0s2(还是 如上告警)
#newfs  -f 8192 /dev/dsk/c2t0d0s2(还是 如上告警)
在贴字里看有人遇到说是:需要在阵列里修改参数,柱面与磁头的参数. 于是我就照着做了!
修改参数过程:

*****************************************************************************
注:如果所建立的逻辑驱动器大小超过253G,而没有对磁头和柱面作修改,那么即使format时能正常显示大小,但在作newfs时很可能会下面所示的报错而无法通过。
# newfs /dev/rdsk/c3t0d0s0
newfs: construct a new file system /dev/rdsk/c3t0d0s0: (y/n)? y
Minimum bytes per inode is 11992
With 32385 sectors per cylinder, minimum cylinders per group is 16
This requires the fragment size to be changed from 1024 to 8192
Please re-run mkfs with corrected parameters
****************************************************************************
设置柱面和磁头参数的方法:
1. 选择 "view and edit Configuration parameters" → "Host-Side SCSI Parameters" →
"Host Cylinder/Head/Sector Mapping Configuration" → "Sector Ranges -" →"Variable",然后选择 "Yes" 确认您的选择。
2. 选择 "Head Ranges -" → "64 Heads",然后选择 "Yes" 确认您的选择。
3. 选择 "Cylinder Ranges -" → "< 65536",然后选择 "Yes" 确认您的选择。
修改后重新启动阵列还是不行 !  在newfs 还是那样的错误 我晕哦!


我实在想不出办法了,今天临走前 把卷删了 重新做.晚上回来 求助下大虾门  

谁给帮个忙分析下 有什么方法可以搞定 谢谢!(比较着急)

[ 本帖最后由 kylinstar 于 2009-6-13 23:45 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-06-13 23:51 |只看该作者
关于那些 什么
newfs -i 12000 -f 8192  /dev/dsk...... 等等 命令 都实验了N多了 没起过作用哦!

论坛徽章:
0
3 [报告]
发表于 2009-06-14 13:02 |只看该作者
期待结果。不知道是不是sun阵列的设置问题。在HDS的阵列下过来的建立时没有问题的。

论坛徽章:
0
4 [报告]
发表于 2009-06-22 13:50 |只看该作者
楼主,有结果了没? 关注。。。。。

论坛徽章:
2
IT运维版块每日发帖之星
日期:2016-03-19 06:20:00数据库技术版块每日发帖之星
日期:2016-07-05 06:20:00
5 [报告]
发表于 2009-06-22 14:19 |只看该作者
请参考:
Symptoms

Sun StorEdge[TM] 3310,3510 and 3511 arrays, have reported the following messages when trying to run a newfs command on a logical drive or logical volume, presented to the host (typically larger than 2GB).


# newfs -v -m 1  /dev/rdsk/c2t600C0FF000000000002ED234d0s0
newfs: construct a new file system
dev/rdsk/c2t600C0FF000000000002ED234AFFE4300d0s0 y
mkfs -F ufs /dev/rdsk/c2t600C0FF000000000002ED234AFFE4300d0s0 1144777365 127 255 81951 1 90 8192 t 0 -1 8 127
Minimum bytes per inode is 11992

With 32385 sectors per cylinder, minimum cylinders per group is 16.  This requires the fragment size to be changed from 1024 to 8192.  Please re-run mkfs with corrected parameters.


Resolution

The cause of these messages, is an incorrect value in the host cylinder/head/sector mapping configuration on the Sun StorEdge 3310, 3510 or 3511 array.


After connecting by serial cable or telnet,

   1.

       Select "View and Edit Configuration Parameters"
   2.

       Select "Host side SCSI Parameters"
   3.

       Select "Host Cylinder/Head/Sector Mapping Configuration

        A. Modify the Sector Ranges to: Variable

        B. Modify the Head Ranges to: 64 Heads

        C. Modify the Cylinder Ranges to: < 65536

Also, re-label the drive from Solaris[TM] OS, with the format command.

To re-label the drive, do the following steps:

    *

      Use format -e (expert mode)
    *

      Select the LUN you will newfs
    *

      Select the 'type' option in format
    *

      Choose option '0. Auto-Configure'
    *

      Say "no" to the question 'use format.dat  '
    *

      Say "yes" to the question 'use SCSI-2 inquiry  '
    *

      Label the LUN with this new information

Once this is changed, the newfs will complete successfully.

[ 本帖最后由 bencyber 于 2009-6-22 14:25 编辑 ]

论坛徽章:
221
15-16赛季CBA联赛之吉林
日期:2017-12-11 12:51:59黑曼巴
日期:2019-04-12 13:40:0515-16赛季CBA联赛之广东
日期:2019-04-23 10:41:1215-16赛季CBA联赛之辽宁
日期:2019-05-06 13:03:2815-16赛季CBA联赛之山西
日期:2019-05-09 10:56:5815-16赛季CBA联赛之青岛
日期:2019-05-17 13:57:0515-16赛季CBA联赛之新疆
日期:2019-06-10 13:39:0515-16赛季CBA联赛之天津
日期:2019-07-08 15:04:4519周年集字徽章-19
日期:2019-08-27 13:31:2619周年集字徽章-19
日期:2019-08-27 13:31:2619周年集字徽章-周
日期:2019-09-06 18:46:4715-16赛季CBA联赛之天津
日期:2019-02-27 11:24:07
6 [报告]
发表于 2009-06-22 14:21 |只看该作者
应当还是存储上面的划分的问题,等待楼主晚上回复结果
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP