ISCSI disk for backup

Blisk

Member
Apr 16, 2022
40
1
13
I am trying to add ISCSI disk for backup. I can add it under storage, but than I try to add it in LVM there is not possible.
SMP PVE 5.15.143-1 (2024-02-08T18:12Z) x86_64

ls -l /dev/disk/by-id/
lrwxrwxrwx 1 root root 9 Mar 18 08:32 ata-PLDS_DVD+_-RW_DS-8A5SH_108240292611 -> ../../sr0
lrwxrwxrwx 1 root root 10 Mar 18 08:34 dm-name-disk2tba-vm--100--disk--0 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Mar 18 08:34 dm-name-disk2tba-vm--101--disk--0 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Mar 18 08:34 dm-name-disk2tba-vm--102--disk--0 -> ../../dm-3
lrwxrwxrwx 1 root root 10 Mar 18 08:34 dm-name-disk4tba-vm--100--disk--0 -> ../../dm-7
lrwxrwxrwx 1 root root 10 Mar 18 08:32 dm-name-pve-root -> ../../dm-4
lrwxrwxrwx 1 root root 10 Mar 18 08:32 dm-name-pve-swap -> ../../dm-2
lrwxrwxrwx 1 root root 10 Mar 18 08:34 dm-uuid-LVM-03tlKNYPNcasB8qibS2wn0VYb5n083Kh1DfclqEjgiKwW38jwtA3EBcpT0pokbjR -> ../../dm-1
lrwxrwxrwx 1 root root 10 Mar 18 08:34 dm-uuid-LVM-03tlKNYPNcasB8qibS2wn0VYb5n083KhlHH0cWu0iOyC6jdf7buJ6EcItBZY4Vpf -> ../../dm-3
lrwxrwxrwx 1 root root 10 Mar 18 08:34 dm-uuid-LVM-03tlKNYPNcasB8qibS2wn0VYb5n083Khu5pz3zOhxkOxH21jy6QJ6pYyarAJRQzZ -> ../../dm-0
lrwxrwxrwx 1 root root 10 Mar 18 08:32 dm-uuid-LVM-3LaDGiayzh4Ef0JghFPfYU12IW1KfflgLs28FZNal2NQr8PiulgdSqWmfy5W9sxX -> ../../dm-4
lrwxrwxrwx 1 root root 10 Mar 18 08:32 dm-uuid-LVM-3LaDGiayzh4Ef0JghFPfYU12IW1KfflgyK4BYlp3zKq2MzOkv6i7YGjc8l4R0n2T -> ../../dm-2
lrwxrwxrwx 1 root root 10 Mar 18 08:34 dm-uuid-LVM-TJfSfUsxsIaKPUIiVGVn5fBxq1TxpTguGp7D8nkj6uHPHcHYdeSfndFAKueqPUDO -> ../../dm-7
lrwxrwxrwx 1 root root 9 Mar 18 08:33 lvm-pv-uuid-0mP7BN-cCg3-bZGd-Cdk5-qGbJ-YiOf-ehIhTr -> ../../sdb
lrwxrwxrwx 1 root root 9 Mar 18 08:33 lvm-pv-uuid-gFRekp-qAr7-ejtH-ie68-kiAE-Tzsz-8BjoCh -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 18 08:33 lvm-pv-uuid-QNIhMc-Udzn-jC4w-DSMY-D0bt-1Vkg-0eK8X4 -> ../../sdc3
lrwxrwxrwx 1 root root 9 Mar 18 08:33 scsi-36782bcb075821300ff00009108d9cc61 -> ../../sdb
lrwxrwxrwx 1 root root 9 Mar 18 08:33 scsi-36782bcb075821300ff00009108da824f -> ../../sda
lrwxrwxrwx 1 root root 9 Mar 18 08:33 scsi-36782bcb075821300ff00009108da8643 -> ../../sdc
lrwxrwxrwx 1 root root 10 Mar 18 08:33 scsi-36782bcb075821300ff00009108da8643-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Mar 18 08:33 scsi-36782bcb075821300ff00009108da8643-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Mar 18 08:33 scsi-36782bcb075821300ff00009108da8643-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 9 Mar 18 08:33 wwn-0x6782bcb075821300ff00009108d9cc61 -> ../../sdb
lrwxrwxrwx 1 root root 9 Mar 18 08:33 wwn-0x6782bcb075821300ff00009108da824f -> ../../sda
lrwxrwxrwx 1 root root 9 Mar 18 08:33 wwn-0x6782bcb075821300ff00009108da8643 -> ../../sdc
lrwxrwxrwx 1 root root 10 Mar 18 08:33 wwn-0x6782bcb075821300ff00009108da8643-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Mar 18 08:33 wwn-0x6782bcb075821300ff00009108da8643-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Mar 18 08:33 wwn-0x6782bcb075821300ff00009108da8643-part3 -> ../../sdc3
 

Attachments

  • 2024-03-18 08_50_26-yourtop - Proxmox Virtual Environment.png
    2024-03-18 08_50_26-yourtop - Proxmox Virtual Environment.png
    136.2 KB · Views: 7
Last edited:
For base volume you need to select a LUN

FYI: iSCSI is a block-level storage by definition, so the LVM must be placed on a LUN, which has been exported by the target.
See docs:
"iSCSI is a block level type storage, and provides no management interface. So it is usually best to export one big LUN, and setup LVM on top of that LUN. You can then use the LVM plugin to manage the storage on that iSCSI LUN".
 
I manage to found lun but I get now error
 

Attachments

  • 2024-03-18 10_03_20-yourtop - Proxmox Virtual Environment.png
    2024-03-18 10_03_20-yourtop - Proxmox Virtual Environment.png
    44.1 KB · Views: 8
Don't know the history of this iSCSI drive / LUN - are you presently using it for something else?
If its historic I believe you need to use wipefs , see here & here

DISCLAIMER: I'VE NEVER USED IT - USE AT YOUR OWN DISGRETION - ALWAYS HAVE BACKUPS
 
Don't know the history of this iSCSI drive / LUN - are you presently using it for something else?
If its historic I believe you need to use wipefs , see here & here

DISCLAIMER: I'VE NEVER USED IT - USE AT YOUR OWN DISGRETION - ALWAYS HAVE BACKUPS
I never used this and on first link was what I need to do this and now I made LVM for ISCSI, but when I try to add it in backup section still not visible.
What I need more to do?
 

Attachments

  • 2024-03-18 11_04_34-yourtop - Proxmox Virtual Environment.png
    2024-03-18 11_04_34-yourtop - Proxmox Virtual Environment.png
    40.2 KB · Views: 6
On an LVM you cannot store Backups.

Look in Datacenter , Storage to see what Storage types are available.


Edit: If you really want to use the iSCSI for backups, you'll only be able to do it through an LV (formatted with FS) - and then add it as a Directory type Storage for Backup types.

Its rather complicated - I don't know your PVE / Linux experience level. But maybe start with this general Storage Docs - and then see this from forum.
 
Last edited:
this is what I have in storage
I will check links thank you.
 

Attachments

  • 2024-03-18 12_57_12-yourtop - Proxmox Virtual Environment.png
    2024-03-18 12_57_12-yourtop - Proxmox Virtual Environment.png
    72.8 KB · Views: 7
  • 2024-03-18 14_01_58-yourtop - Proxmox Virtual Environment.png
    2024-03-18 14_01_58-yourtop - Proxmox Virtual Environment.png
    47.8 KB · Views: 5
I finally found out why was connection to ISCSI that big problem.
It is some bug in proxmox. When I remove all vmbr and create it again than I can see and connect ISCI
 

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!