Hi,
i am unhappy to tell you that this a known bug that was fixed in 7.3.0 Build
20. I tried to find the size of a raw
device using lseek(fd,0,SEEK_END). But SEEK_END is not supported for raw
devices... Actually the old code ( src/en/ven541c) is reenabled, that tries
to read until an error occurs. 

You should download version 7.3.0 Build 20 and try again.
CU
jrg


> -----Original Message-----
> From: Stefan Lober [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 1. Februar 2002 15:56
> To: [EMAIL PROTECTED]
> Subject: raw device problem on llinux
> 
> 
> Hello,
> 
> I am using SAPDB 7.3 on Linux (RedHat 7.2).
> I would like to use raw devices as devspaces, but I always 
> get an error 
> while setting them up.
> 
> command:
> dbmcli -d RAWDB -u dbm,dbm param_adddevspace 1 DATA 
> /dev/raw/raw1 R 1355483
> The output is:
> ERR
> -24963,ERR_DEVCHECK: error while checking devspace
> 1,illegal devsize on devspace
> 
> I have connected /dev/raw/raw1 to /dev/hdb2 with the raw command.
> 
> The output of "cat /proc/partitions" is:
> major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect 
> wuse running use aveq
> 
>     3     0   20010312 hda 2075 6954 72082 23480 2833 4160 
> 56264 41650 0 
> 22400 65140
>     3    64   40021632 hdb 34 151 655 200 518 90 608 50 0 240 250
>     3    65   19277968 hdb1 27 61 557 120 512 0 512 50 0 160 170
>     3    66   10843875 hdb2 6 90 96 70 6 90 96 0 0 70 70
>     3    67    9896040 hdb3 0 0 0 0 0 0 0 0 0 0 0
> 
> So the size should be ok, because
> (int)(blocksize/8192 * 1024 - 1) = 1355483 for blocksize = 10843875
> 
> Do you have any ideas or hints?
> 
> Thanks in advance
> 
> Stefan
> 
> _______________________________________________
> sapdb.general mailing list
> [EMAIL PROTECTED]
> http://listserv.sap.com/mailman/listinfo/sapdb.general
> 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to