Тёмный

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

Подписаться
Просмотров 1,4 тыс.
% 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
engineerworkshop.com/blog/how-to-add-cifs-storage-to-proxmox/
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)

Опубликовано:

 

23 авг 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@unacceptableonanon2655
@unacceptableonanon2655 2 года назад
Your channel's been a big help to me. Thank you!
@LoResDIY
@LoResDIY 2 года назад
Glad it helped. Thanks for watching!
@danbrown586
@danbrown586 2 года назад
Also, a handy shell trick: "sudo !!" re-runs the last command as sudo.
@LoResDIY
@LoResDIY 2 года назад
Dude thanks for the short cuts; Appreciated!!!
@jj-icejoe6642
@jj-icejoe6642 2 года назад
Thank you for this 👍
@LoResDIY
@LoResDIY 2 года назад
No Problem Thank you
@maherkhalil007
@maherkhalil007 2 года назад
can you explain how to add ssl certificate to proxmox v7
@jeffherdzina6716
@jeffherdzina6716 2 года назад
Is it just me. Or does Proxmox 7 seem far better than 6? Great job on the video.
@LoResDIY
@LoResDIY 2 года назад
I would agree they have made some great upgrades. Thanks for for watching!
@yerunski
@yerunski 2 года назад
No need to install the net tools to see your IP address, 'ip a' also does the trick :)
@LoResDIY
@LoResDIY 2 года назад
Awesome thanks for the info. I had no idea
@danbrown586
@danbrown586 2 года назад
@@LoResDIY Also, always a good idea to install the guest agent if it's available for the guest OS. Two steps there--first, when creating the VM, check the box for the guest agent. Then, in the guest OS, install it--for Ubuntu, "apt install qemu-guest-agent". That will show you the IP address in the VM summary (as well as let shutdowns happen more safely, help backups, etc.)
@ierosgr
@ierosgr 2 года назад
7:15 .... you started explaining each option of the command line but you left the usage of character type and noperm as well 0 0 outside of the explanation 19.06 .... did you find out why the sda1 was busy? Nevertheless it let you create the cache...hm
@LoResDIY
@LoResDIY 2 года назад
linux.die.net/man/8/mount.cifs iocharset Charset used to convert local path names to and from Unicode. Unicode is used by default for network path names if the server supports it. If iocharset is not specified then the nls_default specified during the local client kernel build will be used. If server does not support Unicode, this parameter is unused. noperm Client does not do permission checks. This can expose files on this mount to access by other users on the local client system. It is typically only needed when the server supports the CIFS Unix Extensions but the UIDs/GIDs on the client and server system do not match closely enough to allow access by the user doing the mount. Note that this does not affect the normal ACL check on the target machine done by the server software (of the server ACL against the user name provided at mount time).