rawio
[Top] [All Lists]

Re: raw io and lvm

To: "Kipp A. Aldrich" <kippa@xxxxxxx>
Subject: Re: raw io and lvm
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Tue, 30 May 2000 14:27:02 -0700 (PDT)
Cc: rawio@xxxxxxxxxxx
In-reply-to: <3934317B.731A380D@ilm.com>
Sender: owner-rawio@xxxxxxxxxxx
That sound about right, although I'm not entirely familiar
with LVM to tell you a good answer.

Can you use the 'dd.raw' to DD into and out of the device,
so that you know your raw I/O is working?

If so, then it's an LVM issue ... otherwise, it could still
be a raw I/O configuration issue.  Hope this helps ...

--Matt

On Tue, 30 May 2000, Kipp A. Aldrich wrote:
|>
|>> 
|>> There should be a 'raw' application available with RH 6.2 which
|>> will bind the raw device to some block device.
|>> 
|>> What you'd want is:
|>> 
|>>         mknod /dev/raw c 162 0
|>>         mknod /dev/raw2 c 162 2
|>> 
|>> Then you'd run:
|>> 
|>>         raw /dev/raw2 /dev/sdb4
|>> 
|>> (or something to that effect).
|>> 
|>> You can get the latest raw.c from the util-linux RPM off of freshmeat.net.
|>> If you still have problems finding it, send a mail here.
|>> 
|>> --Matt
|>
|>Did that. Now if I try to use LVM's pvcreate on /dev/raw2 I get:
|>"pvcreate -- invalid physical volume name "/dev/raw2""
|>
|>Guess it is not possible to use raw devices in LVM.
|>
|>Am I missing something here?  
|>
|>Thanks.
|>
|>kipp
|>-- 
|>Kipp A. Aldrich 
|>Digital Video Engineering
|>Industrial Light & Magic
|>kippa@xxxxxxx 415.448.2443
|>


<Prev in Thread] Current Thread [Next in Thread>