rawio
[Top] [All Lists]

Re: raw io and lvm

To: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Subject: Re: raw io and lvm
From: "Kipp A. Aldrich" <kippa@xxxxxxx>
Date: Tue, 30 May 2000 14:48:07 -0700
Cc: rawio@xxxxxxxxxxx
Organization: Industrial Light & Magic
References: <Pine.LNX.4.21.0005301425500.31631-100000@xxxxxxxxxxxxxxxxxxx>
Sender: owner-rawio@xxxxxxxxxxx
I will try dd.raw out and see where I end up. Thanks. 

kipp

"Matt D. Robinson" wrote:
> 
> 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
> |>

-- 
Kipp A. Aldrich 
Digital Video Engineering
Industrial Light & Magic
kippa@xxxxxxx 415.448.2443

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