Sun CEO Says ZFS Will Be 'the File System' for OSX 384
Fjan11 writes "Sun's Jonathan Schwartz has announced that Apple will be making ZFS 'the file system' in Mac OS 10.5 Leopard. It's possible that Leopard's Time Machine feature will require ZFS to run, because ZFS has back-up and snapshots build right in to the filesystem as well as a host of other features. 'Rumors of Apple's interest in ZFS began in April 2006, when an OpenSolaris mailing list revealed that Apple had contacted Sun regarding porting ZFS to OS 10. The file system later began making appearances in Leopard builds. ZFS has a long list of improvements over Apple's current file system, Journaled HFS+.'"
Booting from ZFS? (Score:5, Interesting)
Re:The were going to use Reiser (Score:3, Interesting)
I like having an mp3 player that doubles as a backup device for my important files. But some of my files are > 4Gb, so FAT32 doesn't work.
Is that all? (Score:2, Interesting)
Switch all filesystems to ZFS... (Score:5, Interesting)
Re:I doubt it (Score:3, Interesting)
All over the place Apple advertises that OS X is "Industrial UNIX at the core".
Now, with ZFS, Apple can advertise having a next-generation omega filesystem to replace the long-in-the-tooth Journaled HFS+, which was significantly better than NTFS.
NTFS versus ZFS is a joke
Re:oblig... (Score:4, Interesting)
I'm not sure if that's the way they talk about it internally at Sun, but that's how their instructors portray it out in the field.
Video Demo of ZFS (Score:3, Interesting)
Re:The were going to use Reiser (Score:3, Interesting)
Re:Switch all filesystems to ZFS... (Score:1, Interesting)
From what I've heard, ZFS is being promoted over a much better (i.e. backwards-compatible) in-house filesystem by a bunch of ex-Sun zealots who now work at Apple...
Re:I'm giving odds... (Score:5, Interesting)
OSX 10.5 ain't due 'til Fall, either.
Re:oblig... (Score:4, Interesting)
Re:Booting from ZFS? (Score:5, Interesting)
Re:oblig... (Score:5, Interesting)
To bad no windows port is available. It would be nice to see my unix drives from windows.
Re:oblig... (Score:3, Interesting)
Re:This can, potentially, make upgrades a pain.. (Score:3, Interesting)
You are right that ZFS can handle volume size changes live (and HFS+ can sort-of do it), but this does not mean it is a slam-dunk. I would not want to be a product manager in charge of providing the transition code.
Re:oblig... (Score:3, Interesting)
Aren't there still licensing issues to iron out?
Ext2/3 and ReiserFS have all been ported to Windows, so I don't see there would be any problem porting the Linux ZFS implementation as an IFS driver for Windows Vista/XP/2000
Re:oblig... (Score:2, Interesting)
Ext3, on the other hand, has been rock solid for me.
Re:oblig... (Score:4, Interesting)
Depends - whatcha building? An app server, a web server, a database server, or a file server? Different strokes for different folks, and I'm not clear yet if I'd like the overhead of ZFS on a database server. The jury's still out on ZFS+Oracle...
I'm not 100% on which file system I'd like. Certainly the integrity of ZFS is quite pleasing for a DBA, questions is if the overhead is worth it...
Re:I'm giving odds... (Score:5, Interesting)
The Move from Classic (OS 9) to OS X forced people to Recompile/Port or Die from obsoleteness modernized almost all the software for Mac OS X. This removed a lot of Old Hacky code from the code base and forced developers to follow a more modern programming style.
Next it was the move from Power PC to Intel. This once again required a full recompile but this time is assured that the recompile was with their own development tools. So more hacky code was removed and replaced with more standardized system calls.
Now with ZFS on Mac OS X it is more likely that most things will work just fine with ZFS because Apple Knows what most of the calls to the OS will be. And the bulk of the legicy code has been updated.
Windows, Linux and traditional Unix OS Devlopers don't normally Break Compatibility so often so their hacks to work around a shortfall in an OLD version of the OS holds threw to the following versions of their software on newer versions of the OS. So migrating OS ZFS on Linux is much more risky then moving to ZFS on OS X.
But it is a trade off of getting Modern Software and paying more $$$ for the software. or Pay less for the software but make it hard to upgrade to a better system in the future.
Re:Oh, great: another DiskWarrior lag (Score:3, Interesting)
You are aware that ZFS - and, for that matter, Solaris's UFS - supports an arbitrary number of named forks in files? (Sun calls them "extended attributes", probably because that's what NFSv4 calls them, but they're really named forks/named streams/whatever you want to call them.)
Re:Booting from ZFS? (Score:5, Interesting)
I don't know any of the technology of ZFS, so I can only guess.
For a boot loader like LILO, it will need to create a list of exact hardware datablocks to read the kernel in from. ZFS might move those blocks around after the "lilo" command built the block map. Then it can't load the kernel.
For a boot loader like GRUB, it will need to have a read-only subset of the filesystem inside so it can find the kernel image file. That might be doable, but it hasn't been done, yet.
So create a small boot partition on the first few megabytes of the drive, and make another partition for the rest and let it be a part of the ZFS pool (if ZFS can accept a partition, and not just a whole disk).
A better option would be to get a computer that has legacy IDE support with bootability, in addition to the main SATA or SCSI support for major hard drives. Then add a Compact Flash adapter to the IDE [addonics.com] port and use a small Compact Flash module to load the kernel from using your favorite boot loader. Or just use an all-SATA mainboard with a different Compact Flash adapter for SATA [addonics.com]. A tiny CF memory module with 16MB or so would be enough to load a nice sized kernel. Or go with a 16GB one and have a copy of /opt and /usr on there as well (structured to work when mounted read-only).
The best of Unix? (Score:5, Interesting)
Re:I'm giving odds... (Score:4, Interesting)
Re:I'm giving odds... (Score:3, Interesting)
Apple has traditionally been in favor of forcing devices, such as not putting arrow keys on the original Mac keyboard.
Their philosophy tends to be of a benevolent dictator like Linus. Apple is going to make you do some things, and it's for your own good. If you're not happy with it, usually you can do something else if you have the technical skill, or you can just go get a Winders box. This has meant Apple's been able to do things no other company could, and is also why, IMO, they're the top of the heap for consumer OSes.
Re:oblig... (Score:4, Interesting)
So porting a filesystem as complicated as ZFS could take some time.
Re:The were going to use Reiser (Score:3, Interesting)
Sun's patents prevent a compatible reimplementation of ZFS from being imported into the Linux kernel, so you won't see that, either. The most we'll get is a CDDL-licensed FUSE module. And that sucks.
Re:I'm giving odds... (Score:3, Interesting)
Re:Is that all? (Score:2, Interesting)
Re:I'm giving odds... (Score:4, Interesting)
NTFS has data checksums to detect and repair corruption caused by any component?
You can add and remove disk space from an NTFS volume dynamically?
NTFS does data-level journaling not to mention without the overhead of multiple writes of the data?
NTFS can use compression without getting horrible fragmented or other negative side effects?
NTFS snapshots do not affect performance of the normal system?
NTFS has variable block sizes?
NTFS is open source and took less than a decade to get support on multiple systems?
As far as I know that's a big no on all those. I mean NTFS is very complex and has a lot of bullet points, but to claim that ZFS is just 'ntfs with larger address space' is really missing the boat.
short memories (Score:3, Interesting)
It did not shock those of us who know that NEXTSTEP was transparently portable to at least four architectures.
Re:I'm giving odds... (Score:1, Interesting)
-Steve
Re:Is that all? (Score:2, Interesting)
Suppose you start with a pool that is a RAIDZ set with 5x250GB SATA drives (4 data + 1 parity), giving 1TB of data
3 years later, your needs have grown to 3TB and you need better performance and double parity. The right drives for you now are 1TB SATA4 drives. You really want to get rid of your old and slow SATA array, but your system is 24x7, so you cannot take it offline to do a backup.
Your only option is to add an array of 3x1TB (2 data+ 1 parity) drives as a RAIDZ set to the pool and keep the old array around until you go out of business or take the system offline for a backup and you cannot move to double parity.
If your original array gets so old that you can no longer find drives for it, your sunk.
Re:I'm giving odds... (Score:3, Interesting)
http://youtube.com/watch?v=1zw8V8g5eT0 [youtube.com]
There's an english translation available for that somewhere.
ZFS can do a lot of things with ease that other file systems either can't, or it takes quite an effort.
Re: As Homer would say... (Score:3, Interesting)