I am wondering what is the best order to delete multiple snapshots - oldest first or newest first?
I have assumed that deleting the oldest first will result in less copying of blocks between snapshots, but am wondering if this assumption is correct?
My specific platform is a FAS960 running DataOnTAP 6.5.3P3 but I'm hoping that the answer to this isn't version specific!
TIA, Jeremy
-- Jeremy Webber Senior System Administrator Animal Logic Phone: +61 2 9383 4837 Fax: +61 2 9383 4801 Switch: +61 2 9383 4800
I hope to be corrected if im wrong..but unless there is folding between snapshots, it shouldn't matter.
<Prepares for re-education of the internet kind>
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Jeremy Webber Sent: Sunday, November 06, 2005 3:56 PM To: toasters@mathworks.com Cc: Jeremy Webber Subject: Best order to delete multiple snapshots?
I am wondering what is the best order to delete multiple snapshots - oldest first or newest first?
I have assumed that deleting the oldest first will result in less copying of blocks between snapshots, but am wondering if this assumption is correct?
My specific platform is a FAS960 running DataOnTAP 6.5.3P3 but I'm hoping that the answer to this isn't version specific!
TIA, Jeremy
-- Jeremy Webber Senior System Administrator Animal Logic Phone: +61 2 9383 4837 Fax: +61 2 9383 4801 Switch: +61 2 9383 4800
jeremyw@al.com.au (Jeremy Webber) writes:
I am wondering what is the best order to delete multiple snapshots - oldest first or newest first?
I have assumed that deleting the oldest first will result in less copying of blocks between snapshots, but am wondering if this assumption is correct?
My specific platform is a FAS960 running DataOnTAP 6.5.3P3 but I'm hoping that the answer to this isn't version specific!
There is no "copying of blocks" involved in deleting a snapshot (and it shows some fundamental misapprehensions about ONTAP / WAFL to imagine that there might be). Essentially, the blocks allocated within the snapshot have a reference count decremented, and those for which the count reaches zero become available for re-allocation.
There is some I/O involved in updating the allocation maps, but the only useful advice here is "delete multiple snapshots simultaneously if possible, so that only a single pass updating the maps is required". Unfortunately, the "snap delete" command only allows deletion of one snapshot per invocation, but if they are issued fast enough the resulting passes over the allocation maps do get merged. But all this is a second-order effect.
we use filerview to delete multiple snapshots.
On 11/6/05, Chris Thompson cet1@cus.cam.ac.uk wrote:
jeremyw@al.com.au (Jeremy Webber) writes:
I am wondering what is the best order to delete multiple snapshots - oldest first or newest first?
I have assumed that deleting the oldest first will result in less copying of blocks between snapshots, but am wondering if this assumption is correct?
My specific platform is a FAS960 running DataOnTAP 6.5.3P3 but I'm hoping that the answer to this isn't version specific!
There is no "copying of blocks" involved in deleting a snapshot (and it shows some fundamental misapprehensions about ONTAP / WAFL to imagine that there might be). Essentially, the blocks allocated within the snapshot have a reference count decremented, and those for which the count reaches zero become available for re-allocation.
There is some I/O involved in updating the allocation maps, but the only useful advice here is "delete multiple snapshots simultaneously if possible, so that only a single pass updating the maps is required". Unfortunately, the "snap delete" command only allows deletion of one snapshot per invocation, but if they are issued fast enough the resulting passes over the allocation maps do get merged. But all this is a second-order effect.
-- Chris Thompson Email: cet1@cam.ac.uk