PVE issues
- pve添加
NFS
报错:create storage failed: mkdir /mnt/pve/NAS_share/snippets: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1374. (500)
解决方法:
I’ve self-resolved! In FreeNAS, under the share settings, I experimentally set the mapall users setting to root, which makes anyone using that directory access it with root permissions. The issue then went away, giving me full access to the share. To further lock down the security, I created a “Proxmox” user with write permissions, and mapall-users’d that user to the share. Issue resolved!
来自:https://forum.proxmox.com/threads/cant-use-nfs-share.53463/
简单来说就是TrueNAS
里面的共享设置不对,具体指定步骤为:
编辑NFS共享,打开高级选项
不要设置为root用户或者root用户组。
- 安装rockylinux报内核错误,如下图所示:
解决方法:
Try with CPU-type:
host
: https://forum.proxmox.com/threads/k…centos-9-stream-iso.104656/page-2#post-485684
- 修改vmid,使用以下脚本:
或者手动:
First, we have to take a backup of the virtual machine and its configuration.
Next, run the command below to access information about the logical volumes:
lvs -a
Now, from the output from the above step, select the VMID that we want to change.
Then, shut down the VM.
After that, run the following command to update the name of the volumes:
lvrename data/current_vmid new_vmid`
Remember to replace current_vmid and new_vmid with the current VMID and the new VMID we want to change it to respectively.
Next, we have to update the ID in the VMs configuration file as seen below:
sed -i "s/ current_vmid/new_vmid/g" /etc/pve/bob-server/ current_vmid.conf
Then, we will rename the VM configuration file as seen here:
mv /etc/pve/bob-server/ current_vmid.conf /etc/pve/bob-server/new_vmid .conf
Finally, it is time to start the VM again.
- pve克隆完之后莫名奇妙所有主机和存储图标全部变成问号了?
解决方案:
Tried this before, but now it actually worked. Got one node up and working, testing it on 2nd node now…
- 命令行终端移除页面无法删除的卷组
:warning:注意如果是重要数据,需要备份。
run
Code:
- Check to see if you have nay volume’s still in that group
If you do run
Code:
- This will remove that volume