where do you see the iscsi attached storage

webservio

Renowned Member
May 13, 2009
106
1
83
Excuse my ignorance on this question. Where do I see the iscsi attached storage? I added a test iscsi target call test and directly attached to LUN without any problems. However in backup or even in the system I cannot locate the storage. Before posting I read the Storage Model:

http://pve.proxmox.com/wiki/Storage_Model

But still not sure how to access the iscsi attached storage :confused:.

Thanks in advance.
 
Excuse my ignorance on this question. Where do I see the iscsi attached storage? I added a test iscsi target call test and directly attached to LUN without any problems. However in backup or even in the system I cannot locate the storage. Before posting I read the Storage Model:

http://pve.proxmox.com/wiki/Storage_Model

But still not sure how to access the iscsi attached storage :confused:.

Thanks in advance.

Hi,
when you add a LVM-Group on the storage, you see this vg in the storage-menu.
Later, the disks from the VMs are created as logical volumes on this volume group.

Udo
 
Hi,
some month ago i had the effect, that i don't see a SAN-Partition. I think it's had something to do with the installed multipath.
But i create the volumegroup on the console and add them in the frontend.

Udo
 
UDO,

Did you iscsi based Volume group show in df command? Below is an example of a NFS mounted (using openfiler NAS) in df command. However I cannot create something like that using iscsi:

vpshost2-36:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/pve/root 38188544 3108648 33140032 9% /
tmpfs 2024072 0 2024072 0% /lib/init/rw
udev 10240 2652 7588 26% /dev
tmpfs 2024072 0 2024072 0% /dev/shm
/dev/mapper/pve-data 105876600 29426868 76449732 28% /var/lib/vz
/dev/sda1 507748 104779 376755 22% /boot
192.168.2.62:/mnt/sdb-single/vpshostbackups1/vpshost36
976388096 70951168 905436928 8% /mnt/pve/vpshostsbackups
 
UDO,

Did you iscsi based Volume group show in df command? Below is an example of a NFS mounted (using openfiler NAS) in df command. However I cannot create something like that using iscsi:

vpshost2-36:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/pve/root 38188544 3108648 33140032 9% /
tmpfs 2024072 0 2024072 0% /lib/init/rw
udev 10240 2652 7588 26% /dev
tmpfs 2024072 0 2024072 0% /dev/shm
/dev/mapper/pve-data 105876600 29426868 76449732 28% /var/lib/vz
/dev/sda1 507748 104779 376755 22% /boot
192.168.2.62:/mnt/sdb-single/vpshostbackups1/vpshost36
976388096 70951168 905436928 8% /mnt/pve/vpshostsbackups

Hi,
the lvm-groups are not displayed with df, because they are not mountet, nor they have a filesystem - it's space for logical volumes. The logical volumes on the other hand are container like a true harddisk - in the container the guest-vm wrote the filesystem (ext, or ntfs, or what else).

To get a overview, you can use the commands
Code:
pvdisplay
vgdisplay
lvdisplay

pv - device. vg - volume group. lv logical volume

You can look at /etc/pve/storage.cfg

as example one vg from storage.cfg:
Code:
lvm: vg_ams200_fc_1
    vgname ams200_fc_1_vg
    shared
    content images
Code:
vgdisplay ams200_fc_1_vg
  --- Volume group ---
  VG Name               ams200_fc_1_vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  255
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                14
  Open LV               4
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               132,82 GB
  PE Size               4,00 MB
  Total PE              34002
  Alloc PE / Size       28084 / 109,70 GB
  Free  PE / Size       5918 / 23,12 GB
  VG UUID               fosNqB-YjAB-8g49-3FXc-nEav-mlUJ-eA91Hc

But i have no iscsi - my external storage are fibre channel.

Udo