免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
11 [报告]
发表于 2005-10-14 23:50 |只看该作者

newfs 建文件系统时候出错.

据说这样也可以,不妨试试:
# newfs -o 4096 /dev/rdsk/c7t2d1s3

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
12 [报告]
发表于 2005-10-15 11:36 |只看该作者

newfs 建文件系统时候出错.

原帖由 "东方蜘蛛" 发表:
据说这样也可以,不妨试试:
# newfs -o 4096 /dev/rdsk/c7t2d1s3





            

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

newfs 建文件系统时候出错.

嘿嘿..据说是成功的....据说还有人试验过

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

newfs 建文件系统时候出错.

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

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

newfs 建文件系统时候出错.

呵呵,大文件啊.

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

newfs 建文件系统时候出错.

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

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

newfs 建文件系统时候出错.

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

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

newfs 建文件系统时候出错.

偶网上找到的,只做了第6步就可以了。。。

1.-on Infortrend you should set in:
Configuration parameters
  ->; Host-side Parameters
   ->; Host Cylinder/Head/Sector Mapping Configuration
    ->; Sector Ranges - Variable
    ->; Head Ranges - 64 Heads
    ->; Cylinder Ranges - < 32768 Cylinders

2.- modify /kernel/drv/sd.conf to
     name="sd" class="scsi" target=0 lun=1;
  (NO atapi there for SCSI!!)

3.- "boot -r" or "devfsadm"

4.- DESTROY actual label (old cylinder size) with:

$ dd if=/dev/zero of=/dev/rdsk/c1t0d0s2 bs=512 count=10
(do also with c1t0d1s2)

Please be VERY carfully, you can destroy your system if you write to the
system disk or any data disk!!

5.- Partition the disk using "format" and "label" them.

6.- NEWFS: it saying it can't proceed with default
parameters. But if you have big files so the 12KB per inode
is OK for you, you may state eg:

newfs -i 12000 -f 8192  /dev/dsk......

If you need more files you should change size of your luns.
If your luns are below about 500GB there should be no problems
with default parameters for newfs ... (in your case 4 luns 400GB each)

For 1 Terabyte use:
     newfs -v -i 65536 -f 8192 /dev/rdsk/c1t1d0s0

7.- 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