Alter properties within snapshot stream not possible?

Moderators: jhartley, MSR734, nola

Alter properties within snapshot stream not possible?

Post by ghaskins » Wed Dec 12, 2012 12:01 pm

Hello all,

Oracle documents a feature of "zfs recv" for the -o switch, which allows you to override properties within a received stream:

http://docs.oracle.com/cd/E19963-01/html/821-1448/gbchx.html#gjonv

However, it seems that the -o option is not available with zfs-recv within Zevo CE 1.1.1.

The reason I ran into this is I was reading the thread (http://zevo.getgreenbytes.com/forum/viewtopic.php?f=4&t=96&p=433&hilit=casesensitivity#p433) about the recommended settings for zpools under OSX and saw the recommendation for casesensitivity=insensitive. Since I already created my pool, I thought I would send+recv it into a new zfs child with the properties set properly. To my dismay, the option was missing.

Is there an equivalent way to do this in Zevo? If not, is support of the -o option (or an equivalent function) on the roadmap?
ghaskins Offline


 
Posts: 52
Joined: Sat Nov 17, 2012 9:37 am

option 'o' is invalid for zfs receive

Post by grahamperrin » Thu Dec 13, 2012 12:48 am

Under topic normalisation and restoration there's a subject:


Side note, Suggestion: subject lines should be shown

It's good to have this as a separate topic. I'll move the content of my post.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

spun off from 'normalisation and restoration'

Post by grahamperrin » Thu Dec 13, 2012 12:53 am

Spun off (moved) from normalisation and restoration

Applying different property values to a ZFS snapshot stream is not possible:

Code: Select all
macbookpro08-centrim:~ gjp22$ sudo zfs send -v tall/backups/zhandy/Pocket\ Time\ Machine@2012-12-03-090916 | zfs receive -F -v -o utf8only=on -o normalization=formD zhandy/Pocket\ Time\ Machine
invalid option 'o'
usage:
   receive [-vnFu] <filesystem|snapshot>
   receive [-vnFu] [-d | -e] <filesystem>

For the property list, run: zfs set|get


Visually (at the password prompt, I aborted):

Image

I wonder whether option -o is valid for zfs receive in OpenIndiana, FreeBSD or PC-BSD …
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 3 guests

cron