[OpenIndiana-discuss] ZFS Snapshot question

2012-08-02 Thread Mark Creamer
I'd like to see if I can easily go back and fix a design error I made. I have a zpool called datastore, and under that a filesystem called vmimages. I'm auto-snapshotting at that level, and that's all working fine. However, there are twenty or so sub-directories under datastore/vmimages, each of wh

Re: [OpenIndiana-discuss] ZFS Snapshot question

2012-08-02 Thread Jan Owoc
Hi Mark, On Thu, Aug 2, 2012 at 2:53 PM, Mark Creamer wrote: > What I should have done (I think) is set up the zfs file system for each VM > at the level below ../vmimages, that is: "zfs create > datastore/vmimages/server1". That way, auto-snapshot would be creating > snapshots for each VM, rath

Re: [OpenIndiana-discuss] ZFS Snapshot question

2012-08-02 Thread Mark Creamer
Thanks Jan, that sounds easy enough. I'll try it with a non-critical one that I use for testing but your explanation looks like it will be more straightforward than I expected. I appreciate the help. On Thu, Aug 2, 2012 at 4:59 PM, Jan Owoc wrote: > Hi Mark, > > On Thu, Aug 2, 2012 at 2:53 PM, M

Re: [OpenIndiana-discuss] ZFS Snapshot question

2012-08-03 Thread Kees Nuyt
On Thu, 2 Aug 2012 14:59:13 -0600, you wrote: >Hi Mark, > >On Thu, Aug 2, 2012 at 2:53 PM, Mark Creamer wrote: >> What I should have done (I think) is set up the zfs file system for each VM >> at the level below ../vmimages, that is: "zfs create >> datastore/vmimages/server1". That way, auto-sna

Re: [OpenIndiana-discuss] ZFS Snapshot question

2012-08-03 Thread Jan Owoc
On Fri, Aug 3, 2012 at 6:43 AM, Kees Nuyt wrote: > On Thu, 2 Aug 2012 14:59:13 -0600, you wrote: >>Having said that, I believe they need to be mounted in empty >>directories, so you'd have to do: >># mv datastore/vmimages/server1 datastore/vmimages/server1.bak >># zfs create -o [options here] data

Re: [OpenIndiana-discuss] ZFS Snapshot question

2012-08-03 Thread Mark Creamer
Excellent information. Thanks again all On Fri, Aug 3, 2012 at 9:06 AM, Jan Owoc wrote: > On Fri, Aug 3, 2012 at 6:43 AM, Kees Nuyt wrote: > > On Thu, 2 Aug 2012 14:59:13 -0600, you wrote: > >>Having said that, I believe they need to be mounted in empty > >>directories, so you'd have to do: > >