Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-29-2007, 10:37 AM   #1
Registered: Sep 2003
Location: Laurel MD
Posts: 296

Rep: Reputation: 32
raw devices go away on reboot?


I created some raw devices and they are gone after a reboot.

We are installing Sybase on a Dell 1950 running RH AS 4. I did the following to create some raw devices.

1. cd /dev
2. mkdir raw
3. cd raw
4. mknod raw1 c 162 1
5. raw /dev/raw/raw1 /dev/sdb1
6. chown sybase raw1
7. chgrp sybase raw1

We start Sybase and all works just fine. After a reboot everything is gone, including the raw directory. Why is this and how do I stop it from going away after a reboot?

Help and Thank you
Old 10-29-2007, 11:59 AM   #2
Registered: Sep 2003
Location: Laurel MD
Posts: 296

Original Poster
Rep: Reputation: 32
I found the solution

1. Format the partitions to type 60, unknown.
1a. Do the mknod and raw commands as above.
2. Edit the file /etc/sysconfig/rawdevices to include the new devices.
3. Run the command "sysconfig rawdevices on"
4. Modify the file /etc/udev/permissions.d/50-udev.permissions if you wish permissions to be other than root:root

and voila, it works.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the different btw raw devices and block devices yenonn Linux - General 2 02-10-2006 09:34 PM
Raw devices in Fedora 4 OraFrank Fedora 1 12-09-2005 11:03 PM
Raw devices gauol Linux - General 2 09-23-2004 02:01 PM
UDEV and Raw devices swissworks Slackware 6 09-14-2004 01:08 PM
Raw Devices rajar11 Linux - Newbie 4 06-16-2004 01:36 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration