[Ocfs-users] problems creating ocfs filesystem

Sunil Mushran Sunil.Mushran at oracle.com
Tue May 17 12:15:22 CDT 2005


One solution would be to...
rm /dev/raw
mkdir /dev/raw
mknod --mode=+660 /dev/raw/raw1 c 162 1

I mean, you could clean out all the /dev/rawXX and create the
same an /dev/raw/rawXX.... raw1 to raw255.

Maybe better if,
raw -qa
shows no active raw mappings before you attempt this.

Vicente Málaga wrote:

>Thanks for the reply.
>Now the problem is that when i make the mapping to the raw device it say me 
>that /dev/raw/raw41 don`t exist and i can`t make the mknode because /dev/raw 
>exist, so i can`t create the directory /dev/raw.
>I am using linux SuSE 7.2 and the kernel is 2.4.21 and all the raw nodes are 
>at /dev/rawXX
>
>rac01:~ # raw /dev/raw/raw41 /dev/sdf1
>Cannot locate raw device '/dev/raw/raw41' (Not a directory)
>rac01:~ # ls -l /dev/raw
>crw-r--r--    1 oracle   oinstall 162,   0 Aug 16  2001 /dev/raw
>
>
>El Martes, 17 de Mayo de 2005 00:15, Sunil Mushran escribió:
>  
>
>>mkfs.ocfs, as well other ocfs userspace tools, use the raw interface
>>as a way to perform o_direct operations. They do so because of a
>>limitation in 2.4.9 (RHAS21).
>>
>>What it is doing is, mapping /dev/sdf1 to /dev/raw/raw41.
>>It scans the /dev/raw/rawXX from 0 to 255 and uses the first
>>available.
>>
>>Do,
>>raw /dev/raw/raw41 /dev/sdf1
>>See what the error is. Maybe that raw device is not in /dev/raw.
>>If not, mknod it.
>>
>>Vicente Málaga wrote:
>>    
>>
>>>Hello list users.
>>>I am trying to create an ocfs filesystem but when I execute the command
>>>says the following thing to me:
>>>
>>>rac01:~ # mkfs.ocfs -b 128 -g oinstall -u oracle -L ocfs_pruebas
>>>-m /opt/oracle/oradata/OCFS -p 755 /dev/sdf1
>>>Error opening device /dev/raw/raw41.
>>>Not a directory
>>>
>>>But it isn't a raw device.
>>>
>>>Any one know why it search for a raw device ?
>>>
>>>Thanks
>>><DIV><FONT size="1">
>>>==========================================================================
>>>== This e-mail message and any attached files are intended SOLELY for the
>>>addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY
>>>PRIVILEGED information and may not necessarily represent the opinion of
>>>this company. If you receive this message in ERROR, please immediately
>>>notify the sender and DELETE it since you ARE NOT AUTHORIZED to use,
>>>disclose, distribute, print or copy all or part of the contained
>>>information. Thank you.
>>>=========================================================================
>>>=== </FONT></DIV>
>>>
>>>_______________________________________________
>>>Ocfs-users mailing list
>>>Ocfs-users at oss.oracle.com
>>>http://oss.oracle.com/mailman/listinfo/ocfs-users
>>>      
>>>
><DIV><FONT size="1">
>============================================================================
>This e-mail message and any attached files are intended SOLELY for the addressee/s identified 
>herein. It may contain CONFIDENTIAL and/or LEGALLY PRIVILEGED information and may not
> necessarily represent the opinion of this company. If you receive this message in ERROR, 
>please immediately notify the sender and DELETE it since you ARE NOT AUTHORIZED to use,
> disclose, distribute, print or copy all or part of the contained information. Thank you. 
>============================================================================
></FONT></DIV>
>
>  
>


More information about the Ocfs-users mailing list