Howdy! I have a head-scratcher.
I installed 7.2-4 on new hardware and added it to my cluster. The install created three LVMs:
However, data wasn't formatted or mounted. So I:
1. mkfs.ext4 /dev/pve/data
2. added /dev/pve/data to fstab:
3. added /dev/pve/data as a directory only for this one node
What worked in giving me a place to put disk images, ISOs, etc.
But, it doesn't survive a reboot. I get an issue about dependancies failing. I suspect that's because /dev/pve isn't created yet?
Then I tried:
1. removing /dev/pve/data from fstab
2. adding the thinlvm in the GUI and assigning to only this one specific node
That results in Proxmox just mounting an empty 96g thinlvm calling it data. It is really strange. Here's what that looks like in /etc/pve/storage.conf
Next I tried renaming the thinlvm to something unique, thinking it was a namespace conflict with other nodes' data LVMs.
I tried both adding the LVM via the GUI (same result as above, small, empty). Then I tried mounting it via fstab in /mnt/data_unique rather than /mnt/pve/data_unique
I have to add it as a directory to the Proxmox GUI or I can't use it as storage. Again, this works in user space but doesn't survive a reboot.
It seems I either get a very small, empty data thinlvm that survives reboots, or I can have my true data lvm which doesn't survive reboots.
Anyone have any tips or suggestions?
I installed 7.2-4 on new hardware and added it to my cluster. The install created three LVMs:
Code:
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <794.79g 0.00 0.24
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
However, data wasn't formatted or mounted. So I:
1. mkfs.ext4 /dev/pve/data
2. added /dev/pve/data to fstab:
Code:
/dev/pve/data /mnt/pve/data ext4 errors=remount-ro 0 2
What worked in giving me a place to put disk images, ISOs, etc.
But, it doesn't survive a reboot. I get an issue about dependancies failing. I suspect that's because /dev/pve isn't created yet?
Then I tried:
1. removing /dev/pve/data from fstab
2. adding the thinlvm in the GUI and assigning to only this one specific node
That results in Proxmox just mounting an empty 96g thinlvm calling it data. It is really strange. Here's what that looks like in /etc/pve/storage.conf
Code:
lvmthin: data
thinpool data
vgname pve
nodes teatons
content images,snippets,rootdir,iso,vztmpl,backup
nodes teatons
prune-backups keep-all=1
shared 0
Next I tried renaming the thinlvm to something unique, thinking it was a namespace conflict with other nodes' data LVMs.
I tried both adding the LVM via the GUI (same result as above, small, empty). Then I tried mounting it via fstab in /mnt/data_unique rather than /mnt/pve/data_unique
I have to add it as a directory to the Proxmox GUI or I can't use it as storage. Again, this works in user space but doesn't survive a reboot.
It seems I either get a very small, empty data thinlvm that survives reboots, or I can have my true data lvm which doesn't survive reboots.
Anyone have any tips or suggestions?
Code:
root@teatons:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.30-2-pve)
pve-manager: 7.2-3 (running version: 7.2-3/c743d6c1)
pve-kernel-helper: 7.2-2
pve-kernel-5.15: 7.2-1
pve-kernel-5.15.30-2-pve: 5.15.30-3
ceph-fuse: 15.2.16-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-8
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-6
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.2-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.12-1
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.1.8-1
proxmox-backup-file-restore: 2.1.8-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-10
pve-cluster: 7.2-1
pve-container: 4.2-1
pve-docs: 7.2-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.4-1
pve-ha-manager: 3.3-4
pve-i18n: 2.7-1
pve-qemu-kvm: 6.2.0-5
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-2
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.4-pve1
Last edited: