- 论坛徽章:
- 0
|
我在 unixware 7 +sybase 11.9.2 里面创建好裸设备后,在 sybase 里面用
disk init
name='tempdb',
physname='/dev/rdsk/c0b0t0d0s13',
vdevno=3,
size=20480
go
出现报错信息:
Server Message: Number 5115, Severity 16
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.
在sybase 日志里面出现
00:00000:00001:2004/12/23 18:12:04.17 kernel Initializing virtual device 3, '
00:00000:00001:2004/12/23 18:12:04.17 kernel Virtual device 3 started using as.
00:00000:00000:2004/12/23 18:12:04.17 kernel sddone: write error on virtual di:
00:00000:00000:2004/12/23 18:12:04.17 kernel sddone: Invalid argument
00:00000:00001:2004/12/23 18:12:04.18 kernel Deactivating virtual device 3, '/.
unixware 用 prtvtoc -f a /dev/rdsk/c0b0t0d0s0 后, 文件a 的内容为:
#SLICE TAG FLAGS START SIZE
0 0x5 0x201 6380164287
1 0x2 0x200 3148740 20482875
2 0x3 0x201 64260 3084480
3 0x0 0x0 00
4 0xb 0x200 2363161520482875
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 0xa 0x200 44114490 2056320
12 0x0 0x0 0 0
13 0x0 0x0 0 0
14 0x0 0x0 0 0
15 0xf 0x201 46170810 16065
16 0x4 0x200 46186875 204800
17 0x4 0x200 46391675 2097152
18 0x4 0x201 48488827 163840
19 0x4 0x201 48652667 81920
20 0x4 0x201 48734587 409600
21 0x4 0x201 49144187 409600
22 0x4 0x201 49553787 819200
23 0x4 0x201 50372987 204800
24 0x4 0x201 50577787 409600
25 0x4 0x201 50987387 6291456
26 0x4 0x201 57278843 614400
27 0x4 0x201 57893243 819200
我已经改变了 /dev/rdsk/c0b0t0d0s1[0-9] 这些设备的 owner:group 为
sybase:sybase ,并且这些设备的权限为 666
在 /sybase/databf 里面用 l 命令 显示为:
brwxrwxrwx 1 sybase sybase 7679, 25 Dec 22 13:52 hisdatadb
brwxrwxrwx 1 sybase sybase 7679, 27 Dec 22 13:52 hisdblog
brwxrwxrwx 1 sybase sybase 7679, 26 Dec 22 13:52 hisindexdb
brwxrwxrwx 1 sybase sybase 7679, 19 Dec 23 17:18 tempdb
brwxrwxrwx 1 sybase sybase 7679, 22 Dec 22 13:52 wkdatadb
brwxrwxrwx 1 sybase sybase 7679, 24 Dec 22 13:52 wkdblog
brwxrwxrwx 1 sybase sybase 7679, 23 Dec 22 13:52 wkindexdb
在 /dev/rdsk/c0b0t0d0s1[0-9] 下面用l 命令显示:
crwxrwxrwx 1 sybase sybase 7679, 16 Dec 23 17:54 c0b0t0d0s10
crwxrwxrwx 1 sybase sybase 7679, 17 Dec 23 17:54 c0b0t0d0s11
crwxrwxrwx 1 sybase sybase 7679, 18 Dec 23 17:54 c0b0t0d0s12
crwxrwxrwx 1 sybase sybase 7679, 19 Dec 23 17:54 c0b0t0d0s13
crwxrwxrwx 1 sybase sybase 7679, 20 Dec 23 17:54 c0b0t0d0s14
crwxrwxrwx 1 sybase sybase 7679, 21 Dec 23 17:54 c0b0t0d0s15
crwxrwxrwx 1 sybase sybase 7679, 22 Dec 23 17:54 c0b0t0d0s16
crwxrwxrwx 1 sybase sybase 7679, 23 Dec 23 17:54 c0b0t0d0s17
crwxrwxrwx 1 sybase sybase 7679, 24 Dec 23 17:54 c0b0t0d0s18
crwxrwxrwx 1 sybase sybase 7679, 25 Dec 23 17:54 c0b0t0d0s19
大虾们指导一下看错误出在哪里呀?我在线等了 |
|