Re: how to access the partition on LV?

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

 



> > 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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux