免费注册 查看新帖 |

Chinaunix

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

newfs 建文件系统时候出错. [复制链接]

论坛徽章:
0
11 [报告]
发表于 2005-10-17 23:18 |只看该作者

newfs 建文件系统时候出错.

生产系统不敢试.还是按照正规的解决办法处理,SUN的工程师也说是因为驱动器超过253G的原因.应该是一个比较普通的问题,只因我对这方面不懂才有此问题.\r\n谢谢大家的支持!

论坛徽章:
0
12 [报告]
发表于 2005-10-18 11:53 |只看该作者

newfs 建文件系统时候出错.

我想加个-o应该可以的。没有试过。\r\n搞定后给大家说一下。

论坛徽章:
0
13 [报告]
发表于 2005-10-18 18:25 |只看该作者

newfs 建文件系统时候出错.

我也碰到了一样的问题,要求我从1024改到8192...

论坛徽章:
0
14 [报告]
发表于 2005-10-19 12:39 |只看该作者

newfs 建文件系统时候出错.

偶网上找到的,只做了第6步就可以了。。。\r\n\r\n1.-on Infortrend you should set in:\r\nConfiguration parameters\r\n  ->; Host-side Parameters\r\n   ->; Host Cylinder/Head/Sector Mapping Configuration\r\n    ->; Sector Ranges - Variable\r\n    ->; Head Ranges - 64 Heads\r\n    ->; Cylinder Ranges - < 32768 Cylinders\r\n\r\n2.- modify /kernel/drv/sd.conf to\r\n     name=\"sd\" class=\"scsi\" target=0 lun=1;\r\n  (NO atapi there for SCSI!!)\r\n\r\n3.- \"boot -r\" or \"devfsadm\"\r\n\r\n4.- DESTROY actual label (old cylinder size) with:\r\n\r\n$ dd if=/dev/zero of=/dev/rdsk/c1t0d0s2 bs=512 count=10\r\n(do also with c1t0d1s2)\r\n\r\nPlease be VERY carfully, you can destroy your system if you write to the \r\nsystem disk or any data disk!!\r\n\r\n5.- Partition the disk using \"format\" and \"label\" them.\r\n\r\n6.- NEWFS: it saying it can\'t proceed with default\r\nparameters. But if you have big files so the 12KB per inode\r\nis OK for you, you may state eg:\r\n\r\nnewfs -i 12000 -f 8192  /dev/dsk......\r\n\r\nIf you need more files you should change size of your luns.\r\nIf your luns are below about 500GB there should be no problems\r\nwith default parameters for newfs ... (in your case 4 luns 400GB each)\r\n\r\nFor 1 Terabyte use:\r\n     newfs -v -i 65536 -f 8192 /dev/rdsk/c1t1d0s0\r\n\r\n7.- mount /dev/dsk/c1t0d0s0 /my_new_big_disk
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP