<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>SHAME on me....</div><div><br></div><div>Need to report back, reluctantly....</div><div><br></div><div>Snappshotting and rollback of volume based LUN`s work just fine!</div><div><br></div><div>I did a mistake I'm not proud over, but want to report what I did.</div><div><br></div><div> Some servers, i.e. the ones I use for LTSP, I use to setup with one separate LUN for /home. In my stupidity, I didn't think about this, and made the changes to /home in the test process of snapshotting and rollback. So of coarse I couldn't see any changes when I snapped and rolled back the OS LUN...</div><div><br></div><div>Anyway, it works fine now. The only thing I don't like about this process is that I need to remove the view and the LU before rollback, and create a new LU and view after rollback. It doesn't take too much time, but it is a possible error source.</div><div><br></div><div> Anyone know if it is possible to do it in any other way?</div><div><br></div><div>Rgrds Johan<br><br><br></div><br><font color="#990099">-----Eric Sproul <esproul@omniti.com> skrev: -----</font><div style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">Till: Johan Kragsterman <johan.kragsterman@capvert.se><br>Från: Eric Sproul <esproul@omniti.com><br>Datum: 2013.01.11 17:41<br>Kopia: omnios-discuss <omnios-discuss@lists.omniti.com><br>Ärende: Re: [OmniOS-discuss] snapshot and rollback of volume<br><br><div><font face="Courier New,Courier,monospace" size="3">On Fri, Jan 11, 2013 at 11:13 AM, Johan Kragsterman<br><johan.kragsterman@capvert.se> wrote:<br>> Is there anybody that knows if there is any differencies between snapping a<br>> filesystem or a volume? According to oracle admin guide for zfs it seems not<br>> any diff.<br><br>That is correct.  ZFS filesystems and volumes are just different<br>representations of the underlying object store.<br><br>> What I done so far, is to make snapshots of an OS LUN volume, change the OS<br>> like putting a new file there, and then rollback the snapshot. But after I<br>> booted the server again, on what I thought was the "old" LUN/volume from the<br>> snapshot, it shows that the new file is there, so it hasn't been any<br>> change...<br><br>That seems the reverse of what I would expect.  I could understand the<br>snapshot *not* having a file that was thought to exist at the time of<br>the snapshot, due to buffering by the host OS, but to *have* a file<br>that was thought *not* to exist at the time of the snapshot sounds<br>odd.  Can you illustrate the sequence of events that led you to<br>conclude there was no apparent change?<br><br>In general, as with other SAN systems, getting a consistent snapshot<br>of the block storage device requires coordination with the client OS<br>that is using it, to ensure that in-flight state changes are committed<br>and further changes postponed until the snapshot operation completes.<br><br>Eric<br><br></font></div></div></div><div></div></font>