Yet another 6to7 configuration question

Dec 19, 2021
1
0
6
66
Redmond, WA USA
When executing the pve6to7 script, I get the following error. No surprise.
FAIL: storage 'local-lvm' does not support configured content type 'none'​

The related content of /etc/pve/storage.cfg is as follows.
dir: local​
path /var/lib/vz​
content iso,vztmpl,backup​
lvmthin: local-lvm​
thinpool data​
vgname pve​
content none​

As far as I can tell, failure is expected. I would like to know two things without eyeball parsing the PERL scripts:
  1. It appears the scripts want to interact with a reliable directory on the operating system volume. Can I create a random directory, say /var/lib/foo, and define it as local-lvm in the same way as "dir: local" and do so without destroying my "llvmthin" content by merely commenting it out then resetting after upgrade?
  2. Is there a command line option for 6to7 to use an alternate storage and, if so, what are the requirements?

Thanks. I am now getting around to upgrading.
 
Can I create a random directory, say /var/lib/foo, and define it as local-lvm in the same way as "dir: local" an
no, local-lvm is storage object that expects to communicate to LVM, not a directory. You could create a sparse loop device, place LVM on and point PVE to it. This would be a significant overcomplication of the situation.

Is there a command line option for 6to7 to use an alternate storage and, if so, what are the requirements?
why not just change the content line to "content images" and move on with the upgrade? As it is the defined local-lvm storage is not usable for anything. What content are you trying to preserve there?


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox