Unix Technical Forum

How to create raw devices on linux?

This is a discussion on How to create raw devices on linux? within the Sybase forums, part of the Database Server Software category; --> I´m installing a sybase database for the first time. I have to use raw partitions, but i have no ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:04 PM
John Smith
 
Posts: n/a
Default How to create raw devices on linux?

I´m installing a sybase database for the first time.

I have to use raw partitions, but i have no experience with them. I created
the filesystems and them, edit the /etc/sysconfig/rawdevices
ex;
/dev/raw/raw1 /dev/cciss/c0d0p2
when i type the command : raw -qa, i get this output:
/dev/raw/raw1: bound to major 104, minor 2

Is this working?

i have no idea....

best regards

JacK

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:04 PM
Michael Peppler
 
Posts: n/a
Default Re: How to create raw devices on linux?

On Mon, 03 Nov 2003 18:05:37 +0000, John Smith wrote:

> I´m installing a sybase database for the first time.
>
> I have to use raw partitions, but i have no experience with them. I created
> the filesystems and them, edit the /etc/sysconfig/rawdevices
> ex;
> /dev/raw/raw1 /dev/cciss/c0d0p2
> when i type the command : raw -qa, i get this output:
> /dev/raw/raw1: bound to major 104, minor 2


That looks about right. Have you tried accessing the raw device from
Sybase (i.e. running disk init against that device?)

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler@peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 03:05 PM
stuart abrams-humphries
 
Posts: n/a
Default Re: How to create raw devices on linux?

Hi,
Also have a look at:

http://info.sybase.com/resolution/de...umber=10877814

Additionally I'd probably do a services rawdevices restart after
making anychanges to the rawdevices file

Kind Regards

Stuart
"Michael Peppler" <mpeppler@peppler.org> wrote in message news:<pan.2003.11.03.21.42.03.187473@peppler.org>. ..
> On Mon, 03 Nov 2003 18:05:37 +0000, John Smith wrote:
>
> > I´m installing a sybase database for the first time.
> >
> > I have to use raw partitions, but i have no experience with them. I created
> > the filesystems and them, edit the /etc/sysconfig/rawdevices
> > ex;
> > /dev/raw/raw1 /dev/cciss/c0d0p2
> > when i type the command : raw -qa, i get this output:
> > /dev/raw/raw1: bound to major 104, minor 2

>
> That looks about right. Have you tried accessing the raw device from
> Sybase (i.e. running disk init against that device?)
>
> Michael

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com