LVM Storage - ISCSI

tirpitz

Member
Jun 5, 2014
21
0
21
Hello

We are using LVM Groups with Network Backing over iSCSI. All KVMs raw disk images are generated as independent logical volume. Is there a way to mount the specific LVM partition from the node like a regular LVM partitition.

--- Logical volume ---
LV Path /dev/vm-images/vm-150-disk-2
LV Name vm-150-disk-2
VG Name vm-images
LV UUID 0opx5o-pi0D-Q8mS-Gcnc-ojuW-2h92-DHj0Q7
LV Write Access read/write
LV Creation host, time vpsnode1, 2014-06-22 12:20:33 +0400
LV Status NOT available
LV Size 30.00 GiB
Current LE 7680
Segments 1
Allocation inherit

fdisk of above Logical volume shows as follows
fdisk /dev/vm-images/vm-150-disk-2


Command (m for help): p


Disk /dev/vm-images/vm-150-disk-2: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders, total 62914560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000a635


Device Boot Start End Blocks Id System
/dev/vm-images/vm-150-disk-2p1 2048 62914559 31456256 8e Linux LVM

can I mount /dev/vm-images/vm-150-disk-2p1 from the node ?

Looking forward to some expert advice.

tirpitz
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!