[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using "raw" command





> Hi,
> 
> I am trying to configure RAID, to be used as a raw device, on RedHat 6.2
> (Kernel 2.2-16).
> 
> After building the /etc/raidtab file for raid-level 1, I defined several
> devices with the "mkraid" utility
> and right now there are several devices: /dev/md0, /dev/md1, ...
> 
> In order to work with these devices as raw devices, I try to use the "raw"
> command.
> 
> As specified in the SCSI HOWTO
> (http://www.linuxdoc.org/HOWTO/SCSI-2.4-HOWTO/rawdev.html)
> one uses this command as follows:
> 
> $ raw /dev/raw/raw1 /dev/sda3 
> /dev/raw/raw1: bound to major 8, minor 3
> 
> However, trying to invoke such a command in my system fails, as follows:
> 
> # raw /dev/raw/raw1 /dev/md1
> Cannot open master device 'dev/rawctl' (No such device).
> 
> or
> 
> # raw /dev/raw/raw6 /dev/sda6
> Cannot open master device 'dev/rawctl' (No such device).
> 
> But - This file does exist!
> 
> Any idea ? Have I missed any kernel option? If yes - which one?
> 
> Thanks,
> Avi Koski

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il