[linux-lvm] how to access partitioned logical volumes?

Tomasz Chmielewski mangoo at wpkg.org
Fri Dec 21 15:57:56 UTC 2007

I have a server which uses LVM2 and "exports" these volume using iSCSI.

On iSCSI initiators, I can use those "exported" volumes, including 
partitions, just fine:

# ls -l
total 0
lrwxrwxrwx 1 root root 10 Aug 31 19:06 part -> ../../sdaa
lrwxrwxrwx 1 root root 11 Aug 31 19:06 part1 -> ../../sdaa1

On the server with LVM I also see that the disk is partitioned, but 
that's about it:

# fdisk /dev/mapper/san1-sample -l

Disk /dev/mapper/san1-mibeg--sql1: 8589 MB, 8589934592 bytes
64 heads, 32 sectors/track, 8192 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

                         Device Boot      Start         End      Blocks 
   Id  System
/dev/mapper/san1-samplep1        *           1        8191     8387568 

However, I've no idea how to access that partition (i.e., mount it) on 
the server with LVM. Perhaps I have to create some nodes, but what nodes?

Tomasz Chmielewski

More information about the linux-lvm mailing list