[linux-lvm] how to access the partition on LV?

Ming Zhang mingz at ele.uri.edu
Fri Jul 29 21:14:07 UTC 2005


thx.

ming

On Fri, 2005-07-29 at 21:56 +0100, Alasdair G Kergon wrote:
> > > the problem is that we export a LV via iscsi to a remote box and become
> > > a scsi disk. so it is partitioned and utilized. then it does have
> > > partition on it. even it is exported to a linux box, u possibly will
> > > use /dev/sdx1 instead of directly use /dev/sdx, rite?
>  
> > dunno if kpartx or some other partitioning tool could do it
> 
> Give kpartx a try. It reads a dos partition table and creates partitions
> using device-mapper.
> 
> You'll find kpartx in multipath-tools (device-mapper-multipath package on Red Hat).
>   ftp://sources.redhat.com/pub/dm/multipath-tools/multipath-tools-0.4.5.48.tgz
> 
> Alasdair




More information about the linux-lvm mailing list