dbTalk Databases Forums  

Device sizes

sybase.public.ase.linux sybase.public.ase.linux


Discuss Device sizes in the sybase.public.ase.linux forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Germano
 
Posts: n/a

Default Device sizes - 03-09-2005 , 09:55 AM






Hi,

I create some partitions with fdisk and specified the sizes as +3072M and
+4096M, which should be3 and 4GB, but when I use a disk init with the same
sizes, I get the following error in ASE:

basis_dsizecheck: attempt to write page 1535999 on device '/dev/raw/raw1'
failed, system error is: No such device or address

Even if I use 3000M when using disk init, I still get the error. When I use
smaller number such as 2800M, it works.

Why do I loose so much space?

How can I do the math and properly partition these drives?

Thanks





Reply With Quote
  #2  
Old   
Jeff Tallman
 
Posts: n/a

Default Re: Device sizes - 03-09-2005 , 10:57 PM






Germano wrote:
Quote:
Hi,

I create some partitions with fdisk and specified the sizes as +3072M and
+4096M, which should be3 and 4GB, but when I use a disk init with the same
sizes, I get the following error in ASE:

basis_dsizecheck: attempt to write page 1535999 on device '/dev/raw/raw1'
failed, system error is: No such device or address

Even if I use 3000M when using disk init, I still get the error. When I use
smaller number such as 2800M, it works.

Why do I loose so much space?

How can I do the math and properly partition these drives?

Thanks




usually fdisk works at a cylinder level - depends on how the vendor
implements it. Likely you are getting caught by the disk vendor's
intreptation that 1MB=1000KB instead of 1024KB - whereas Sybase uses
1MB=1024KB.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.