LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-11-2015, 10:25 AM   #1
usao
Member
 
Registered: Dec 2011
Location: Chandler, AZ
Posts: 286

Rep: Reputation: Disabled
RHEL 6.7 - missing rawctl


We just upgraded to RHEL 6.7 and are not able to create raw devices, seems the rawctl control file is missing. We did the modprobe and init scripts, and tried to start the raw service, but no luck.
Is there a way to create the rawctl file?
 
Old 09-14-2015, 09:08 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You can create the device with:
mknod /dev/raw/rawctl c 162 0

The raw devices other than that would typically be configured in udev.

However, raw devices are deprecated in Linux. What exactly are you trying to do that makes you think you need rawctl?
 
Old 09-14-2015, 09:11 AM   #3
usao
Member
 
Registered: Dec 2011
Location: Chandler, AZ
Posts: 286

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
You can create the device with:
mknod /dev/raw/rawctl c 162 0

The raw devices other than that would typically be configured in udev.

However, raw devices are deprecated in Linux. What exactly are you trying to do that makes you think you need rawctl?
The deprecation was retracted from what I read on the net.
We use RAW devices to support a 2Tb database which is in a clustered configuration on 2 hosts. The LUNs have been presented to both hosts and the database software is aware of how to manage the clustering internal to it's datastores, which have been setup as RAW devices for the past 5 years.
 
Old 09-14-2015, 09:17 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Interesting - I hadn't seen the retraction before looking today but it appears you're correct.

Anyway as indicated you can create the rawctl with the mknod command. The 162, 0 (major minor) seems to be pervasive on most distros for this device and specifically what I see on my RHEL6 installations even though I don't use it.

Is this Oracle RAC/GRID? We have that (which is what we formerly used raw devices for in RHEL3 to RHEL5) but starting with RHEL6 we did an alternate setup using ASM as it supports O_DIRECT. (ASMLIB wasn't precompiled for RHEL6 at it had been for RHEL5 so we didn't use it - just ASM.)
 
Old 09-14-2015, 09:25 AM   #5
usao
Member
 
Registered: Dec 2011
Location: Chandler, AZ
Posts: 286

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
Interesting - I hadn't seen the retraction before looking today but it appears you're correct.

Anyway as indicated you can create the rawctl with the mknod command. The 162, 0 (major minor) seems to be pervasive on most distros for this device and specifically what I see on my RHEL6 installations even though I don't use it.

Is this Oracle RAC/GRID? We have that (which is what we formerly used raw devices for in RHEL3 to RHEL5) but starting with RHEL6 we did an alternate setup using ASM as it supports O_DIRECT. (ASMLIB wasn't precompiled for RHEL6 at it had been for RHEL5 so we didn't use it - just ASM.)
No, it's a Sybase IQ column store running on a pair of HP DL 380 boxes. We are using VMax storage from EMC.
The mknod command did the trick. Thanks
 
1 members found this post helpful.
  


Reply



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
Cannot open master raw device '/dev/rawctl' (No such file or directory) ayyappa1 Linux - Hardware 1 03-27-2009 08:19 AM
RHEL AS V4 U3 missing compress? tongar Red Hat 1 06-18-2006 02:54 PM
rawctl trigggl Debian 0 10-15-2005 09:14 AM
Missing synch.h in RHEL 4 Jonas Brannstrom Red Hat 0 08-16-2005 01:58 AM
/dev/rawctl does not exist with Nvidia Drivers FireHawk321 Linux - Hardware 1 11-11-2004 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:36 AM.

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