How to set up the best free hypervisor Proxmox 7 Part 2

Опубликовано: 23 Август 2021
на канале: LoRes DIY
1,396
44

Install and set up proxmox 7

Connect a Mount Point to VM's

Edit the fstab file

sudo nano /etc/fstab

Add line for mount point

//(IPadress of mount point machine)/(name of mount dir or drive) /mnt/ cifs username=(YOUR USERNAME),password=(YOUR PASSWORD),iocharset=utf8,noperm 0 0

Ctrl x to save

to make the mount live

sudo mount -a

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Connect a mount point to containers

Make a privlaged container

if your container doesn't start try this command in the shell of the node

umount -f -a -t cifs -l

followed by this command

mount -t cifs

Page where I found these commands
https://engineerworkshop.com/blog/how...

go to the Container, Options, Features, Edit and choose the share type NFS of CIFS click ok

start the container

Edit the fstab file

nano /etc/fstab

Add line for mount point

Install and set up proxmox 7

Connect a Mount Point to VM's

Edit the fstab file

sudo nano /etc/fstab

Add line for mount point

//(IPadress of mount point machine)/(name of mount dir or drive) /mnt/ cifs username=(YOUR USERNAME),password=(YOUR PASSWORD),iocharset=utf8,noperm 0 0

Ctrl x to save

to make the mount live

mount -a

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If mount isn't connecting at boot try this:

Create a new file:

nano /etc/network/if-up.d/fstab

Add this content:

#!/bin/sh
mount -a

Make the file executable:

chmod +x /etc/network/if-up.d/fstab

Reboot System

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Add a cache drive to zfs pool

zpool status

lsblk

#LoResDIY

zpool add (zfs pool name) cache -f /dev/(partition you want to use)


Смотрите видео How to set up the best free hypervisor Proxmox 7 Part 2 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь LoRes DIY 23 Август 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,396 раз и оно понравилось 44 людям.