[SOLVED] PVESM ISCSI Target

Toranaga

Active Member
Jun 17, 2017
60
9
28
56
Hallo zusammen,

ich versuche Datastores auf dem Speichersystem vom PVE aus per Script zu löschen.
Mit pvesm list BEZEICHNUNG klappt es nicht, da kommt die Multipath-dm-uuid und nicht das target zurück.

In der storage.cfg steht das target dem Namen zugeordnet drin, nur wie bekomme ich den da mit pvesm oder ähnlichem dort ausgelesen?

Ich mounte erst ein ISCSI-Volume über multipath und setzen dort dann ein LVM oben drauf.

Ausschnitt der storage.cfg

Code:
iscsi: BEZEICHNUNG
        portal IP-DES-POTALS
        target iqn.2007-11.com.nimblestorage:BEZEICHNUNG-rest_der_wwid
        content none

lvm:  PVEBezeichnung
        vgname PVEBezeichnung
        base BEZEICHNUNG:0.0.0.dm-uuid-mpath-LANGEZAHL
        content images,rootdir
        shared 1

Vielen Dank im Voraus
 

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!