iSCSI disk showing 0B available

Boss

New Member
Apr 22, 2024
24
0
1
Hi
I've added an 15TB iSCSI disk successfully to my Proxmox Cluster - Can see the storage on all 3 nodes. However Proxmox reports that it has 0B free and reports the format as raw
I did the usual LVM config : df -l shows:
Code:
Disk /dev/sdb: 15 TiB, 16492674416640 bytes, 32212254720 sectors
Disk model: iSCSI Storage
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 1048576 bytes / 1048576 bytes
Disklabel type: gpt
Disk identifier: F763E458-3B43-774C-BFB6-5635F24EC950


Device     Start         End     Sectors Size Type
/dev/sdb1   2048 32212252671 32212250624  15T Linux filesystem




Disk /dev/mapper/NAS401-PVE_LUN_0: 15 TiB, 16492670222336 bytes, 32212246528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 1048576 bytes / 1048576 bytes

I then created an xfs filesystem using mkfs.xfs -f

Have I missed something - I would have expected that it would at least show that 15TB was available in the Storage summary?

Also, when I run lvs , I would expect it to show 0 for Data% but instead it is blank.

Code:
# lvs
  LV            VG     Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  PVE_LUN_0     NAS401 -wi-a----- <15.00t
  data          pve    twi-aotz--   1.06t             35.30  1.13
  root          pve    -wi-ao----  96.00g
  swap          pve    -wi-ao----   8.00g
 
There is a mix of outputs in your post, and it's not clear what you have done.

You said you have attached an iSCSI disk to 3 hosts, and it appears like you'd like to use it as shared storage. However, you've formatted the disk with an XFS filesystem, which is not Cluster suitable.
You also seem to have placed the filesystem directly on a partition of this device (sdb1)
At the same time, do you have another(?) 15TB disk with LVM? Or are these two outputs for the same disk mixed at different times?

I'd recommend that you make sure you did not manage to put anything valuable on that/disk/s, then wipe it/them.
Check the iSCSI Wiki, optionally follow my Multipath (if you need it), and finish up on the LVM Wiki.

Good luck
https://pve.proxmox.com/wiki/Storage:_iSCSI
https://pve.proxmox.com/wiki/Storage:_LVM
https://pve.proxmox.com/wiki/ISCSI_Multipath
https://www.youtube.com/watch?v=g5fhCiAETSU


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:
Thanks for you response and sorry for my confusing post. In my mind I knew what I was asking.
Anyway, The Youtube link you provided was where I found all the missing pieces to the puzzle.
1) I added the iSCSI storage in Proxmox
2) Added a LVM Storage using the iSCSI disk
3) I now have a shared storage across all 3 cluster nodes.

Thanks again for your advice!
 

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!