diumenge, 6 d’agost del 2017

proxmox montar recurs lxc a l'arrancada

sobre la proxmox montar en un directore

 mount -t nfs 192.168.1.250:/mnt/externovolumen /mnt/bindmounts/shared/

al contenidor lxc 167

pct set 167 -mp0 /mnt/bindmounts/shared/,mp=shared

pct start 167
pct enter 167

root@moodle2ubu16remote:~# mount|grep shared
192.168.1.250:/mnt/externovolumen on /shared type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.250,mountvers=3,mountport=740,mountproto=udp,local_lock=none,addr=192.168.1.250)


root@moodle2ubu16remote:~# cd /shared/
root@moodle2ubu16remote:/shared# ls
hola  servidorweb


si no està montat al servidor proxmox, en el moment que estigui montat ja està accesible

recomanacions o advertència

The contents of device mount points are not backed up when using vzdump.