Over my dozens of distant Proxmox install in the pacific island all around I have a very strange case today.
I have a refurbished 4 years old DL 380 with a MSA 1050 SAN from HPE,
just installed proxmox 8.2.4 (last update)
I can see my 2 HBA, connected with fibre channel to the SAN bay,
I can do a pvcreate /dev/sde1 and also for sdf1 , its says "successfull"
but pvs do NOT show /dev/sde1 nor /dev/sdf1
I can do vgcreate baie2 /dev/sde1 /dev/sdf1, its says "successfull"
but vgs do NOT show baie2
however
And to complete the confusion
there is no problem to the SAN side, volume are created , Computer can access it, write it ...
I dont understand with LVM can't retrieve its VG or PV ...
any help tips or direction will be appreciated, thanks for your time guys.
I have a refurbished 4 years old DL 380 with a MSA 1050 SAN from HPE,
just installed proxmox 8.2.4 (last update)
I can see my 2 HBA, connected with fibre channel to the SAN bay,
Code:
lspci |grep Fibre
12:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
13:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
Code:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 279.4G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 1G 0 part /boot/efi
└─sda3 8:3 0 278.4G 0 part
├─pve-swap 252:0 0 8G 0 lvm [SWAP]
├─pve-root 252:1 0 50G 0 lvm /
└─pve-data 252:2 0 777G 0 lvm /var/lib/vz
sdb 8:16 0 279.4G 0 disk
└─sdb3 8:19 0 279.1G 0 part
└─pve-data 252:2 0 777G 0 lvm /var/lib/vz
sdc 8:32 0 279.4G 0 disk
└─sdc3 8:35 0 278.9G 0 part
└─pve-data 252:2 0 777G 0 lvm /var/lib/vz
sdd 8:48 1 0B 0 disk
sde 8:64 0 2.9T 0 disk
└─sde1 8:65 0 2.9T 0 part
sdf 8:80 0 2.9T 0 disk
└─sdf1 8:81 0 2.9T 0 part
sdg 8:96 0 2.9T 0 disk
└─sdg1 8:97 0 2.9T 0 part
sdh 8:112 0 2.9T 0 disk
└─sdh1 8:113 0 2.9T 0 part
sr0 11:0 1 1024M 0 rom
I can do a pvcreate /dev/sde1 and also for sdf1 , its says "successfull"
but pvs do NOT show /dev/sde1 nor /dev/sdf1
I can do vgcreate baie2 /dev/sde1 /dev/sdf1, its says "successfull"
but vgs do NOT show baie2
Code:
pvck --dump metadata /dev/sde1
metadata text at 4608 crc 0xa9ab2f15 # vgname baie2 seqno 1
---
baie2 {
id = "H2vcgx-PruG-3Unj-rqD1-wdMn-RsSt-NXW5qn"
seqno = 1
format = "lvm2"
status = ["RESIZEABLE", "READ", "WRITE"]
flags = []
extent_size = 8192
max_lv = 0
max_pv = 0
metadata_copies = 0
physical_volumes {
pv0 {
id = "xiq7eB-Tm09-uVeX-5asf-LbUY-lAGo-0dHUgj"
device = "/dev/sde1"
status = ["ALLOCATABLE"]
flags = []
dev_size = 6240227328
pe_start = 2048
pe_count = 761746
}
pv1 {
id = "pYYpMh-uUog-C7YF-r4fz-p6rs-9jhO-Pc4df0"
device = "/dev/sdf1"
status = ["ALLOCATABLE"]
flags = []
dev_size = 6240227328
pe_start = 2048
pe_count = 761746
}
}
}
# Generated by LVM2 version 2.03.16(2) (2022-05-18): Fri Sep 13 06:34:18 2024
contents = "Text Format Volume Group"
version = 1
description = "Write from vgcreate -v baie2 /dev/sde1 /dev/sdf1."
creation_host = "vms-infomic-3" # Linux vms-infomic-3 6.8.12-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-1 (2024-08-05T16:17Z) x86_64
creation_time = 1726245258 # Fri Sep 13 06:34:18 2024
---
however
Code:
pvdisplay /dev/sde1 /dev/sdf1
Failed to find physical volume "/dev/sde1".
Failed to find physical volume "/dev/sdf1".
pvdisplay /dev/sde1 /dev/sdf1 --devices /dev/sde1 --devices /dev/sdf1
--- Physical volume ---
PV Name /dev/sde1
VG Name baie2
PV Size <2.91 TiB / not usable 2.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 761746
Free PE 761746
Allocated PE 0
PV UUID xiq7eB-Tm09-uVeX-5asf-LbUY-lAGo-0dHUgj
--- Physical volume ---
PV Name /dev/sdf1
VG Name baie2
PV Size <2.91 TiB / not usable 2.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 761746
Free PE 761746
Allocated PE 0
PV UUID pYYpMh-uUog-C7YF-r4fz-p6rs-9jhO-Pc4df0
And to complete the confusion
Code:
vgdisplay baie2
Volume group "baie2" not found
Cannot process volume group baie2
vgdisplay baie2 --devices /dev/sde1 --devices /dev/sdf1
--- Volume group ---
VG Name baie2
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 5.81 TiB
PE Size 4.00 MiB
Total PE 1523492
Alloc PE / Size 0 / 0
Free PE / Size 1523492 / 5.81 TiB
VG UUID H2vcgx-PruG-3Unj-rqD1-wdMn-RsSt-NXW5qn
Code:
hdparm -t /dev/sde1
/dev/sde1:
Timing buffered disk reads: 2214 MB in 3.00 seconds = 737.54 MB/sec
hdparm -t /dev/sdf1
/dev/sdf1:
Timing buffered disk reads: 2312 MB in 3.00 seconds = 770.03 MB/sec
there is no problem to the SAN side, volume are created , Computer can access it, write it ...
I dont understand with LVM can't retrieve its VG or PV ...
any help tips or direction will be appreciated, thanks for your time guys.