[PVE-User] Proxmox VE 3.0 RC1 released! - ZFS quick&dirty howto snapshot

Pongrácz István pongracz.istvan at gmail.com
Thu May 9 23:23:44 CEST 2013


 
 
----------------eredeti üzenet-----------------
Feladó: "Christian Blaich" christian at blaich.eu 
Címzett: pve-user at pve.proxmox.com 
Dátum: Thu, 09 May 2013 18:20:01 +0200
-------------------------------------------------
 
 
> hey,
> 
> how can zfs help with delta snapshots ?
> Never used zfs before.
> 
> chris
> 
> 

Hi,

ZFS using copy-on-write, never overwrite existing data -> no data corruption on the disk -> no fsck. 
So, snapshot is fun:

- you have a pool, let's call it tank.
- you setup several volumes to hold images, private, iso, dump etc., like:
 tank/
 tank/vz/
 tank/vz/images/ (compression disabled)
 tank/vz/images/100 (compression enabled: lz4)
 tank/vz/images/101 (compression enabled: gzip 3)
 tank/vz/private/102 (compression enabled: lz4)
 tank/vz/cache/template (compression disabled)
 tank/vz/cache/iso (compression disabled)
 
- you want to create a snapshot VM100 today:
 zfs snap tank/vz/images/100 at snapshot-before-upgrade-20130509 
 just some seconds

- you want to clone (like linked clone in the new pve):
 zfs clone tank/vz/images/100 at snapshot-before-upgrade-20130509 tank/vz/images/1001
 just some seconds


Bye,
István





More information about the pve-user mailing list