Hi, I have a question, let''s say I have a zvol named vol1 which is a clone of a snapshot of another zvol (its origin property is tank/myvol at mysnap). If I send this zvol to a different zpool through a zfs send does it send the origin too that is, does an automatic promotion happen or do I end up whith a broken zvol? Best regards. Maurilio. -- This message posted from opensolaris.org
On Thu, Sep 10, 2009 at 8:03 PM, Maurilio Longo <maurilio.longo at libero.it> wrote:> Hi, > > I have a question, let''s say I have a zvol named vol1 which is a clone of a snapshot of another zvol (its origin property is tank/myvol at mysnap). > > If I send this zvol to a different zpool through a zfs send does it send the origin too that is, does an automatic promotion happen or do I end up whith a broken zvol?Neither. It''ll send all necessary data (without having to promote anything) so that the receiving zvol has a working vol1, and it''s not a clone. The original vol1 remains unchanged. -- Fajar
> Neither. > It''ll send all necessary data (without having to > promote anything) so > that the receiving zvol has a working vol1, and it''s > not a clone.Fajar, thanks for clarifying, this is what I was calling ''promotion''. It is like a "promotion" happening on the receiving side. Maurilio. -- This message posted from opensolaris.org
On Thu, Sep 10, 2009 at 8:29 PM, Maurilio Longo <maurilio.longo at libero.it> wrote:>> Neither. >> It''ll send all necessary data (without having to >> promote anything) so >> that the receiving zvol has a working vol1, and it''s >> not a clone. > > Fajar, > > thanks for clarifying, this is what I was calling ''promotion''. > > It is like a "promotion" happening on the receiving side.If you say so :D Note that a somewhat different thing happens when you use "zfs send -R", From man page : " -R Generate a replication stream package, which will replicate the specified filesystem, and all descen- dent file systems, up to the named snapshot. When received, all properties, snapshots, descendent file systems, and clones are preserved. " -- Fajar