Skip to main content

ZFS on MacOSX – latest bits

Свежее обновление – версия ZFS-111 .

Что пофиксили :

  • make mmap’d pages for zfs play nice
  • copyfile(3) fails on symlinks on ZFS
  • zfs send won’t die
  • No negative namecache for ZFS
  • zfs should tune the number of threads it initially generates
  • zio_checksum_sha256() incorrect if buffer size not a multiple of 64
  • zfs panic when swap file resides on zfs
  • Fix zfs build targets
  • need to fix Leopard only build target due to symbol change
  •  ZFS should remove its kqueue support
  • define MAX_UPL_TRANSFER for open source builds
Собственно .

Download here – http://trac.macosforge.org/projects/zfs/wiki/downloads .

Обратите внимание , что …

… было письмо в рассылке :

From: bwaters@nrao.edu

Subject: Re: [zfs-discuss] ZFS new bits on the wiki

Date: 17 апреля 2008 г. 0:38:12 GMT+04:00

To: zfs-discuss@lists.macosforge.org

Yay, new bits!
I installed the binary by using the instructions on the Wiki.. “sudo cp zfs /usr/sbin/zfs” etc.
This causes a problem, because the files were owned by me (bwaters:staff) and not root:wheel.
MAKE SURE THE NEW BITS ARE OWNED BY root:wheel BEFORE YOU INSTALL THEM!
If it’s too late, and you need to recover from this, here’s how I did it:
On reboot, Leopard marked everything zfs with com.apple.quarantine xattr and refused to load it.
Since my home directory is now on the ZFS volume, things got interesting! 🙂

  1. I logged into the console by entering “>console” as the username.
  2. Logged in as me; the console login allowed me to log in even though it could not find my home directory.
  3. sudo -i  to “log in” as root and cd to /var/root
  4. find /usr/sbin/z{pool,fs} /System/Library/Extensions/zfs.kext /System/Library/Filesystems/zfs.fs | xargs xattr -d com.apple.quarantine
  5. find /usr/sbin/z{pool,fs} /System/Library/Extensions/zfs.kext /System/Library/Filesystems/zfs.fs | xargs chown root:wheel
  6. reboot

внимательно ! Я лично делаю все от root (sudo -s) .