Skip to contentSkip to conversation

how to access partitioned logical volumes?

linux-lvm Tomasz Chmielewski 2 participants 2 messages Dec 21, 2007

lore
Share & tools
lore
#0 lore raw

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
7 HPFS/NTFS

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?

Signature · 2 lines
Tomasz Chmielewski
http://wpkg.org
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Tomasz Chmielewski

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:

man kpartx

Cheers,
Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHa+MJ6YSQoMYUY94RAgnFAKDesmwLwDJ/BOtJkWIsaOd/+p3UZQCeI3er P92PNwjYhFsvWR3zZRxWErk=
=+Fdx
-----END PGP SIGNATURE-----