Unable to add storage to VM.

dmcken

Member
Jun 10, 2019
3
0
6
40
Good Day,

I am not able to add an iSCSI disk to VMs (see attached image no-disk-showing-up.PNG).

Not sure what to look for, "pvesm status" takes quite some time to show output, the warning at the start is for a machine that seems to be running perfectly fine but not sure if it is causing issues otherwise. The only other oddity I can think of is the disk now has more than one letter rather than one (sdab).

Code:
root@pve002:~# time pvesm status
  WARNING: PV gZmwSx-6q0U-ZnY0-xmPo-vfzg-qiox-L8L4H7 on /dev/sdn5 was already found on /dev/sdz5.
  WARNING: PV gZmwSx-6q0U-ZnY0-xmPo-vfzg-qiox-L8L4H7 prefers device /dev/sdz5 because device was seen first.
Name                       Type     Status           Total            Used       Available        %
LVM_server24                lvm     active       267382784       262144000         5238784   98.04%
Mail01                    iscsi     active               0               0               0    0.00%
NAS_ISO                     nfs     active      1056522240        51728000      1004794240    4.90%
NEW_BAKUPS                  nfs     active       262144000       194268032        67875968   74.11%
NordijaPortalCSR          iscsi     active               0               0               0    0.00%
OpenVPN_New               iscsi     active               0               0               0    0.00%
OrionOTT                  iscsi     active               0               0               0    0.00%
PVE002                      nfs     active       419430400       174031616       245398784   41.49%
Radius002                 iscsi     active               0               0               0    0.00%
Radius01                  iscsi     active               0               0               0    0.00%
Syslog01                  iscsi     active               0               0               0    0.00%
UbiqutiNMS                iscsi     active               0               0               0    0.00%
dhcp-server-ipv6          iscsi     active               0               0               0    0.00%
epon                      iscsi     active               0               0               0    0.00%
gog                       iscsi     active               0               0               0    0.00%
jitbit                    iscsi     active               0               0               0    0.00%
local                       dir     active        83622144        38098944        45523200   45.56%
local-zfs               zfspool     active        73623720        28100540        45523180   38.17%
netflow-server            iscsi     active               0               0               0    0.00%
ns1                       iscsi     active               0               0               0    0.00%
privatewww                iscsi     active               0               0               0    0.00%
provisioning-system       iscsi     active               0               0               0    0.00%
proxmoxDB                 iscsi     active               0               0               0    0.00%
publicwww                 iscsi     active               0               0               0    0.00%
recursor1                 iscsi     active               0               0               0    0.00%
syslog001                 iscsi     active               0               0               0    0.00%
testBP                    iscsi     active               0               0               0    0.00%
testnordija               iscsi     active               0               0               0    0.00%
verimatrix42              iscsi     active               0               0               0    0.00%

real    2m11.064s
user    2m10.199s
sys     0m0.587s

Code:
root@pve002:~# pveversion -v
proxmox-ve: 5.3-1 (running kernel: 4.15.18-10-pve)
pve-manager: 5.3-8 (running version: 5.3-8/2929af8e)
pve-kernel-4.15: 5.3-1
pve-kernel-4.15.18-10-pve: 4.15.18-32
corosync: 2.4.4-pve1
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-3
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-44
libpve-guest-common-perl: 2.0-19
libpve-http-server-perl: 2.0-11
libpve-storage-perl: 5.0-36
libqb0: 1.0.3-1~bpo9
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-2
lxcfs: 3.0.2-2
novnc-pve: 1.0.0-2
proxmox-widget-toolkit: 1.0-22
pve-cluster: 5.0-33
pve-container: 2.0-33
pve-docs: 5.3-1
pve-edk2-firmware: 1.20181023-1
pve-firewall: 3.0-17
pve-firmware: 2.0-6
pve-ha-manager: 2.0-6
pve-i18n: 1.0-9
pve-libspice-server1: 0.14.1-1
pve-qemu-kvm: 2.12.1-1
pve-xtermjs: 3.10.1-1
qemu-server: 5.0-45
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.12-pve1~bpo1

iSCSI session:
Code:
Target: iqn.2005-10.org.freenas.ctl:provisioning-system (non-flash)
        Current Portal: 172.16.32.12:3260,1
        Persistent Portal: 172.16.32.12:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.1993-08.org.debian:01:4b27453811a8
                Iface IPaddress: 172.16.32.52
                Iface HWaddress: <empty>
                Iface Netdev: <empty>
                SID: 27
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 120
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 131072
                FirstBurstLength: 131072
                MaxBurstLength: 16776192
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 32 State: running
                scsi32 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdab         State: running

fdisk of disk device:
Code:
root@pve002:~# fdisk /dev/sdab

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xc32c0476.

Command (m for help): p
Disk /dev/sdab: 80 GiB, 85899345920 bytes, 167772160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 16384 bytes
I/O size (minimum/optimal): 16384 bytes / 1048576 bytes
Disklabel type: dos
Disk identifier: 0xc32c0476

Any help would be appreciated

- David
 

Attachments

  • no-disk-showing-up.PNG
    no-disk-showing-up.PNG
    24.4 KB · Views: 2
  • no-disk-showing-up.PNG
    no-disk-showing-up.PNG
    24.4 KB · Views: 5
Did you add the storage for all nodes? How looks your storage config?
 
Yes it should be available to all nodes, no node was chosen when the disk was created (I'm posting from our documentation how things are setup).

There is only one node in the cluster at the moment anyway.
 

Attachments

  • proxmox-add-storage.PNG
    proxmox-add-storage.PNG
    10.6 KB · Views: 9
Well quick update, a bit of web debugging shows the storage request timing out.

Which pushes me towards the part where the "pvesm status" command is taking long (it took 2 minutes and 11 seconds, and this times out in 30 seconds).
 

Attachments

  • upload_2019-6-11_8-44-25.png
    upload_2019-6-11_8-44-25.png
    17.7 KB · Views: 10

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!