[linux-lvm] Can't mount or run fdisk on an existing logical volume, help!

Bryn M. Reeves bmr at redhat.com
Wed Jul 22 13:06:30 UTC 2009


On Tue, 2009-07-21 at 23:41 -0600, Adam Olsen wrote:
> On Tue, Jul 21, 2009 at 11:26 PM, Ron Johnson<ron.l.johnson at cox.net> wrote:
> > But doesn't fdisk only work on *physical* block devices?
> >
> > IOW, why fdisk an lv ?
> 
> No, it works on logical volumes too.  You still need to create
> partitions even on the logical ones.
> 

You don't "need" to, but you can if you want (although if you wish to
access the partitions on the host that has the volume group and logical
volumes visible you'll need to use kpartx since device-mapper devices
are not themselves partitionable in the kernel).

Regards,
Bryn.





More information about the linux-lvm mailing list