External Storage Configuration

kiwito

New Member
Sep 17, 2020
2
0
1
37
Hi,

I decide to try proxmox. I installed Proxmox VE 6.2. When i click on "nodes-->myserver-->disks--> " I can see my external storage there. But it has 6 different name.

/dev/sdc
/dev/sde and goes on.

I checked them from CLI as blkid and they all have same id. I need to map them to storage.

How can i do that? My external storage model is NGX-IO_ISCSI . I am looking for solution for 2 days. I dont have much knowledge i hope u can understand my problem :)

Thank you.
 
Hey,

could you post the output of lsblk. Do you have data on them? I assume you have multiple drives and you would like to add them as one big, the easiest way to achieve that is probably by using LVM.

  1. pvcreate /dev/sda /dev/sdb /dev/sdc ...
  2. vgcreate <volume_group_name> /dev/sda /dev/sdb /dev/sdc ... create a volumegroup
  3. lvcreate -n <logical_volume_name> -l100%FREE <volume_group_name> create one logical volume on the volumegroup
Now you can add the created logical volume to proxmox. LVM offers a lot of functionality I recommend to take a look at https://www.digitalocean.com/commun...on-to-lvm-concepts-terminology-and-operations for a short overview.

EDIT: make sure you have lvm2 installed
 
You need to have multipath installed and configured so that it maps all possible paths to one device, which then can be used as @Hannes Laimer (ui, new Proxmox staff member? Welcome!) explained.
Yeah i was looking for that.
Multipath is done.

But after pvcreate command i get the response Device /dev/dm-7 excluded by filter.

I looked google. May it be because of the size? Because i have 2 storage one 12 TB the other one 8 TB.

lsblk output
Code:
sdc                            8:32   0     8T  0 disk
├─sdc1                         8:33   0     8T  0 part
└─mpath1                     253:7    0     8T  0 mpath
  └─mpath1-part1             253:9    0     8T  0 part
sdd                            8:48   0    12T  0 disk
├─sdd1                         8:49   0    12T  0 part
└─mpath0                     253:8    0    12T  0 mpath
  └─mpath0-part1             253:10   0    12T  0 part
sde                            8:64   0     8T  0 disk
├─sde1                         8:65   0     8T  0 part
└─mpath1                     253:7    0     8T  0 mpath
  └─mpath1-part1             253:9    0     8T  0 part
sdf                            8:80   0    12T  0 disk
├─sdf1                         8:81   0    12T  0 part
└─mpath0                     253:8    0    12T  0 mpath
  └─mpath0-part1             253:10   0    12T  0 part
sdg                            8:96   0     8T  0 disk
├─sdg1                         8:97   0     8T  0 part
└─mpath1                     253:7    0     8T  0 mpath
  └─mpath1-part1             253:9    0     8T  0 part
sdh                            8:112  0    12T  0 disk
├─sdh1                         8:113  0    12T  0 part
└─mpath0                     253:8    0    12T  0 mpath
  └─mpath0-part1             253:10   0    12T  0 part
sdi                            8:128  0     8T  0 disk
├─sdi1                         8:129  0     8T  0 part
└─mpath1                     253:7    0     8T  0 mpath
  └─mpath1-part1             253:9    0     8T  0 part
sdj                            8:144  0    12T  0 disk
├─sdj1                         8:145  0    12T  0 part
└─mpath0                     253:8    0    12T  0 mpath
  └─mpath0-part1             253:10   0    12T  0 part
sdk                            8:160  0     8T  0 disk
├─sdk1                         8:161  0     8T  0 part
└─mpath1                     253:7    0     8T  0 mpath
  └─mpath1-part1             253:9    0     8T  0 part
sdl                            8:176  0    12T  0 disk
├─sdl1                         8:177  0    12T  0 part
└─mpath0                     253:8    0    12T  0 mpath
  └─mpath0-part1             253:10   0    12T  0 part
sdm                            8:192  0     8T  0 disk
├─sdm1                         8:193  0     8T  0 part
└─mpath1                     253:7    0     8T  0 mpath
  └─mpath1-part1             253:9    0     8T  0 part

multipath -ll output
Code:
mpath1 (3589c003677d081025d209a22ff92ca23) dm-7 NGX-IO,NGX-IO ISCSI
size=8.0T features='0' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| `- 9:0:0:17 sdc 8:32  active ready running
|-+- policy='service-time 0' prio=50 status=enabled
| `- 9:0:1:17 sde 8:64  active ready running
|-+- policy='service-time 0' prio=50 status=enabled
| `- 9:0:2:17 sdg 8:96  active ready running
|-+- policy='service-time 0' prio=10 status=enabled
| `- 9:0:3:17 sdi 8:128 active ready running
|-+- policy='service-time 0' prio=10 status=enabled
| `- 9:0:4:17 sdk 8:160 active ready running
`-+- policy='service-time 0' prio=10 status=enabled
  `- 9:0:5:17 sdm 8:192 active ready running
mpath0 (3589c0009ad5abb6804fda1464d1a0315) dm-8 NGX-IO,NGX-IO ISCSI
size=12T features='0' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| `- 9:0:0:18 sdd 8:48  active ready running
|-+- policy='service-time 0' prio=50 status=enabled
| `- 9:0:1:18 sdf 8:80  active ready running
|-+- policy='service-time 0' prio=50 status=enabled
| `- 9:0:2:18 sdh 8:112 active ready running
|-+- policy='service-time 0' prio=10 status=enabled
| `- 9:0:3:18 sdj 8:144 active ready running
|-+- policy='service-time 0' prio=10 status=enabled
| `- 9:0:4:18 sdl 8:176 active ready running
`-+- policy='service-time 0' prio=10 status=enabled
  `- 9:0:5:18 sdn 8:208 active ready running