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

AJ Lewis alewis at redhat.com
Thu Jul 28 16:45:23 UTC 2005


On Thu, Jul 28, 2005 at 11:17:41AM -0400, Ming Zhang wrote:
> I think this is a very common question but i can not find the answer.
> any idea on how to access the partition on these lv since no device
> node?
> 
> 
> [root at fc3-i386-2 ~]# fdisk /dev/vg1/v1 -l
> 
> Disk /dev/vg1/v1: 469 MB, 469762048 bytes
> 255 heads, 63 sectors/track, 57 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>        Device Boot      Start         End      Blocks   Id  System
> /dev/vg1/v1p1               1          13      104391   83  Linux
> /dev/vg1/v1p2              14          57      353430   83  Linux

You don't.  Don't put partition tables on LVs.  The whole point of using LVM
is you don't need to partition anymore, and your block devices can be dynamic.
If you another block devices, you lvcreate it.  If you don't have enough space
in your VG, you add a PV to it, then lvcreate the new block device.  Have you
read through the HOWTO referenced below?

-- 
AJ Lewis                                   Voice:  612-638-0500
Red Hat                                    E-Mail: alewis at redhat.com
One Main Street SE, Suite 209
Minneapolis, MN 55414
   
Current GPG fingerprint = D9F8 EDCE 4242 855F A03D  9B63 F50C 54A8 578C 8715
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050728/9ba9c95e/attachment.sig>


More information about the linux-lvm mailing list