免费注册 查看新帖 |

Chinaunix

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

disk init 问题,求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-09-17 08:17 |只看该作者 |倒序浏览
执行
disk init name='tempdb',physname='/dev/rdsk/c0b0t0d0s13',vdevno=4,size=20480
报错:
Msg 5115, Level 16, State 1:
Line 1:
I/O error during disk initialization.  PHYSNAME '/dev/rdsk/c0b0t0d0s13' may be
incorrect or 20479 (VSTART + SIZE) may exceed the size of the device.  Please
consult the SQL Server error log for more details.
设备状态如下:
crw-rw-rw-    1 sybase   sybase   7679, 19 Sep 17 08:12 c0b0t0d0s13
prtvtoc 生成文件如下:
#SLICE  TAG     FLAGS   START   SIZE
0      0x5     0x201   63      7807527
1      0x2     0x200   321300  7373835
2      0x3     0x201   64260   257040
3      0x0     0x0     0       0
4      0x0     0x0     0       0
5      0x0     0x0     0       0
6      0x0     0x0     0       0
7      0x1     0x201   63      34
8      0xd     0x201   97      15968
9      0x0     0x0     0       0
10      0x9     0x200   16065   48195
11      0x0     0x0     0       0
12      0x0     0x0     0       0
13      0x0     0x0     0       0
14      0x0     0x0     0       0
15      0xf     0x201   7695135 16065
16      0x4     0x200   7807590 204800
17      0x4     0x200   8012390 2097152
18      0x4     0x201   10109542        163840
19      0x4     0x201   10273382        81920
20      0x4     0x201   10355302        409600
21      0x4     0x201   10764902        409600
22      0x4     0x201   11174502        819200
23      0x4     0x201   11993702        204800
24      0x4     0x201   12198502        409600
25      0x4     0x201   12608102        6291456
26      0x4     0x201   18899558        614400
27      0x4     0x201   19513958        819200
请各位大大帮忙看看,急啊,昨天弄了一整天了,先谢谢各位了

论坛徽章:
0
2 [报告]
发表于 2004-09-17 09:06 |只看该作者

disk init 问题,求助

disk init name='tempdb',physname='/dev/rdsk/c0b0t0d0s13',vdevno=4,size=20480 ,vstart=2

论坛徽章:
0
3 [报告]
发表于 2004-09-17 09:16 |只看该作者

disk init 问题,求助

00你好,vstart是什么参数?执行之后报错
Msg 5123, Level 16, State 1:
Line 1:
DISK INIT encountered an error while attempting to open/create the physical
file.  Please consult the SQL Server error log (in the SQL Server boot
directory) for more details.
但是我在errlog里面没有看到任何信息

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
4 [报告]
发表于 2004-09-17 09:24 |只看该作者

disk init 问题,求助

你的物理设备大小够吗?

论坛徽章:
0
5 [报告]
发表于 2004-09-17 09:26 |只看该作者

disk init 问题,求助

试试看用slice <16的应该可以的。还有你的raw device分区之间好像一点间隔都没有,也是个问题。raw partition比需要的raw device的尺寸要稍大

论坛徽章:
0
6 [报告]
发表于 2004-09-17 09:39 |只看该作者

disk init 问题,求助

是个10G的硬盘,装unixware的时候用了40%,剩下60%给sybase用,slice<16的都是系统自己创建的,后面是我加的,一般要间隔多少?+5可以吗?

论坛徽章:
0
7 [报告]
发表于 2004-09-17 09:48 |只看该作者

disk init 问题,求助

大于16的认不到的。可以试试看。至于间隔用5M左右吧,也不差这一点

论坛徽章:
0
8 [报告]
发表于 2004-09-17 11:14 |只看该作者

disk init 问题,求助

可是我这只能用大于16的啊,前面的都不够空间啊

论坛徽章:
0
9 [报告]
发表于 2004-09-17 12:36 |只看该作者

disk init 问题,求助

1.disk init语法中vstart的值默认是0(缺省值),除非你很了解你的系统,一般不要指定vstart的值,vstart=2是对于AIX系统的。
2.一般来说slice可以达到181个,所以用slice>;16的设备应该没问题;raw device大小之间没有间隔也不会有什么问题,只要你的在实际使用中不要把整个raw device的空间都用完,保留5-10M给系统。
3.你要确定你的的disk init语法中c0b0t0d0s13这个设备对应的是prtvtoc文件中哪一个slice号(16-23),因为disk init语法中的size是以2K为单位的;而prtvtoc文件中的size是以0.5K为单位的。

论坛徽章:
0
10 [报告]
发表于 2004-09-17 13:05 |只看该作者

disk init 问题,求助

slice 是19,而且我用过size=10480还是报一样的错误
Msg 5115, Level 16, State 1:
Line 1:
I/O error during disk initialization.  PHYSNAME '/dev/rdsk/c0b0t0d0s13' may be
incorrect or 10479 (VSTART + SIZE) may exceed the size of the device.  Please
consult the SQL Server error log for more details.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP