openzfsonosx / zfs

OpenZFS on OS X
https://openzfsonosx.org/
Other
824 stars 72 forks source link

Copying some unzipped files in dataset from archive utility using Finder results in zero bytes. #753

Open michael-yuji opened 4 years ago

michael-yuji commented 4 years ago

Not every zip file can reproduce the issue, but I found zip files generated from this site usually able to reproduce everytime (https://appicon.co/). cp will not reproduce this bug, nor using other third party unzip will.

Step to reproduce:

  1. Get the zip file from the site (My Downloads folder is in fact a dataset)
  2. Unzip it with native "Archive Utility" (only the stock archive utility reproduces this)
  3. Copy and paste things in the folder using Filder
  4. results in zero bytes

zfs --version zfs-1.9.2-4-g4889d276e zfs-kmod-1.9.2-4-g4889d276e

My Dataset properties: key value
type filesystem
used 126G
available 65.7G
referenced 126G
compressratio 1.03x
mounted yes
quota none
reservation none
recordsize 128K
mountpoint /Users//Downloads
sharenfs off
checksum on
compression on
atime on
devices on
exec on
setuid on
readonly off
zoned off
snapdir hidden
aclmode passthrough
aclinherit restricted
canmount on
xattr on
copies 1
version 5
utf8only off
normalization none
casesensitivity sensitive
vscan off
nbmand off
sharesmb off
refquota none
refreservation none
primarycache all
secondarycache all
usedbysnapshots 0
usedbydataset 126G
usedbychildren 0
usedbyrefreservation 0
logbias latency
dedup off
mlslabel none
sync disabled
dnodesize legacy
refcompressratio 1.03x
written 126G
logicalused 129G
logicalreferenced 129G
filesystem_limit none
snapshot_limit none
filesystem_count none
snapshot_count none
snapdev hidden
com.apple.browse on
com.apple.ignoreowner off
com.apple.mimic_hfs on
com.apple.devdisk poolonly
shareafp off
redundant_metadata all
overlay off
encryption off
keylocation none
keyformat none
pbkdf2iters 0
special_small_blocks 0