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

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



> > 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
-- 
agk redhat com


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