stuart anderson writes:
 > > > > Question :
 > > > >
 > > > > Is there a way to change the volume blocksize
 > > say
 > > > via 'zfs snapshot send/receive'?
 > > > >
 > > > > As I see things, this isn't possible as the
 > > target
 > > > volume (including property values) gets
 > > overwritten
 > > > by 'zfs receive'.
 > > > >   
 > > > 
 > > > By default, properties are not received.  To pass
 > > > properties, you need 
 > > > to use
 > > > the -R flag.
 > > 
 > > I have tried that, and while it works for properties
 > > like compression, I have not found a way to preserve
 > > a non-default volblocksize across zfs send | zfs
 > > receive. the zvol created on the receive side is
 > > always defaulting to 8k. Is there a way to do this?
 > > 
 > 
 > I spoke too soon. More particularly, during the zfs send/recv
 > processes the receiving side reports 8k, but once the receive is done
 > the volblocksize is reporting the expected value as sent with -R. 
 > 
 > Hopefully, this is just a reporting bug during an active receive.
 > 
 > Note, this was observed with s10u7 (x86).
 > 

Sounds like so.

I would be very surprised if one would be able to change the
volblocksize of a zvol through send/receive (with or without
-R). It's an immutable property of the zvol.

-r


 > Thanks.
 > -- 
 > This message posted from opensolaris.org
 > _______________________________________________
 > zfs-discuss mailing list
 > zfs-discuss@opensolaris.org
 > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to