[Linux] Losetup and raw devices

linux@flux.org linux@flux.org
Wed, 02 Jan 2008 07:17:34 -0500


Quoting Frost Jack <sannmateo@yahoo.com>:
> I thought about the LVM approach but where does the
> partition show in /dev so I can point
> /etc/init.d/oracleasm createdisk to it. As you know in
> my previous scenario I am pointing it to /dev/loop#?

The device will show as /dev/vgname/lvname.  For example, given a  
volume group called VolGroup00 and a logical volume called oralv01,  
the device path will be /dev/VolGroup00/oralv01.