User Tools

Site Tools


proxmox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
proxmox [2015/04/13 22:19]
127.0.0.1 external edit
proxmox [2015/07/27 11:10] (current)
jose
Line 126: Line 126:
  
   root@proxmoxescorxador:​~#​ qm start 106   root@proxmoxescorxador:​~#​ qm start 106
 +  ​
 +====== Montar recursos ======
 +Directorio configuraci√≥n y recursos montados:
 +  /​etc/​vz/​conf
 +
 +Ejemplo:
 +  102.mount
 +
 +<​code>​
 +#!/bin/bash
 +if [ ! -e /​var/​lib/​vz/​root/​102/​mnt/​sdc ]; then mkdir -p /​var/​lib/​vz/​root/​102/​mnt/​sdc;​ fi
 +mount -n -t simfs /mnt/sdc /​var/​lib/​vz/​root/​102/​mnt/​sdc -o /mnt/sdc
 +
 +if [ ! -e /​var/​lib/​vz/​root/​102/​mnt/​sdd ]; then mkdir -p /​var/​lib/​vz/​root/​102/​mnt/​sdd;​ fi
 +mount -n -t simfs /mnt/sdd /​var/​lib/​vz/​root/​102/​mnt/​sdd -o /mnt/sdd
 +
 +if [ ! -e /​var/​lib/​vz/​root/​102/​mnt/​sdd2 ]; then mkdir -p /​var/​lib/​vz/​root/​102/​mnt/​sdd2;​ fi
 +mount -n -t simfs /mnt/sdd2 /​var/​lib/​vz/​root/​102/​mnt/​sdd2 -o /mnt/sdd2
 +</​code>​
 +
  
  
proxmox.txt · Last modified: 2015/07/27 11:10 by jose