[PVE-User] Container restore with pct, --rootfs syntiax?

Marco Gaiarin gaio at sv.lnf.it
Wed Nov 6 10:18:47 CET 2019


Mandi! Fabian Grünbichler
  In chel di` si favelave...

> > What are the correct syntiax? Thanks.

> --rootfs STORAGE:SIZE_IN_GB
> e.g.,
> --rootfs local:4
> see 'Storage Backed Mount Points' in https://pve.proxmox.com/pve-docs/pve-admin-guide.html#pct_settings

OK, i think i've had to read:

	Note 	The special option syntax STORAGE_ID:SIZE_IN_GB for storage backed mount point volumes will automatically allocate a volume of the specified size on the specified storage. E.g., calling pct set 100 -mp0 thin1:10,mp=/path/in/container will allocate a 10GB volume on the storage thin1 and replace the volume ID place holder 10 with the allocated volume ID.

so the doc (and manpage) explain the configuration file format, not the
pct commandline, right?


Also, just i'm here: for VMs i can 'detach' additianal volumes, to prevent
backup/restore to destroy them; why in LXC it is not possible, eg a
restore 'destroy' all container volumes (and there's no way to detach
it)?


Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the pve-user mailing list