Hi James,

Of course, changing the recordsize was the first thing I did, after I  
created the original filesystem. I copied some files on it, made a  
snapshot, and then performed the zfs send (with the decreased  
recordsize). After I performed a zfs receive, the recordsize was the  
default (128k) on the new filesystem.

On Jun 25, 2008, at 8:27 AM, James Andrewartha wrote:

> Peter Boros wrote:
>> I perform a snapshot and a zfs send on a filesystem with a recordsize
>> of 16k, and redirect the output to a plain file. Later, I use cat
>> sentfs | zfs receive otherpool/filesystem. In this case the new
>> filesystem's recordsize will be the default 128k again. The other
>> filesystem attributes (for example atime) are reverted to defaults
>> too. Okay, I can set these later, but I can't set the recordsize for
>> existing files. Are there any solutions for this problem? This is the
>> case on Solaris 10u5 and on Nevada b91 too.
>
> My impression is you should change the recordsize on the first  
> filesystem
> before performing the zfs send. This will then be used for all files  
> when
> you receive the filesystem. I haven't tested this with recordsize,  
> but I did
> with compression and I imagine recordsize (and others) will behave  
> the same way.
>
> -- 
> James Andrewartha
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

           ______
          /_____/\           Peter Boros
         /_____\\ \
        /_____\ \\ /         Technical Specialist
       /_____/ \/ / /
      /_____/ /   \//\       Sun Microsystems Inc.
      \_____\//\   / /       Hungary-1027 Budapest, Kapas u. 11-15.
       \_____/ / /\ /        Phone:   +36 1 489-8900
        \_____/ \\ \
         \_____\ \\
          \_____\/

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

Reply via email to