Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
oh, oops! with people saying things like, "there's not enough data in the world to fill a ZFS pool," I assumed that data could be infinitely compressed with no hit to performance. so anyway, how much more are files in ZFS able to be compressed than in HFS+ at the same performance level?

File compressibility is not file system specific. The only advantage ZFS has is that 1) is has support for compression built-in, and 2) it has better file block allocation allowing small files to waste less space (compared to a file system that uses fixed allocation blocks).
 
ZFS is a file system (a very capable modern one) so the later part of your question doesn't make sense. If you mean "will Apple make ZFS the default file system for Mac OS X?" then I would say "not likely any time soon (but I would be happy to be wrong)".

Yup - That's what I meant...if it will be the default for all users or if it will just be an option for those that understand it and choose to utilize it.
 
This is the kind of thing that Apple excels at: because the internal hard drives are inside the box, we should think of them as one -- together they are the storage space of the machine.
You mean I shouldn't think of the first internal hard drive in the system as the C: drive? The next one as D:, etc... [Head explodes].

Drive letters in Windows annoy me to no end.

B
 
By the way, you couldn't store the Earth in a 2^128 bit hard drive. Maybe you could store a person, but only with some serious compression algorithms.

So, in conclusion, the Earth has more data in it than a ZFS HD can deal with.

Just thought you should know.

I'll save you from the wierd logic and very large numbers. :D
 
This whole pooling feature seems to be the thing that has people most excited about ZFS. What happens if I have two drives inside my computer - one faster one for large files and one slower one for everything else. Now i want to know and assign where each of my files go and this feature is useless to me.
 
Let me start by saying I know VERY LITTLE about ZFS :)

This whole pooling feature seems to be the thing that has people most excited about ZFS. What happens if I have two drives inside my computer - one faster one for large files and one slower one for everything else. Now i want to know and assign where each of my files go and this feature is useless to me.
Very good question. I certainly want files I access all the time on the faster partition. If it does that automatically that's great - I'm not sure whether manually putting it on a slower drive would make much difference????

Also, does this (or can this) relate in any way to the new hard disks which have built in flash memory - to speed up the most common read requests? (eg at OS startup).

I believe that ZFS can even use network storage as part of the pool. So you could perhaps sign up for Amazon's S3 (if they had the right interface for it) and never run out of storage as your pool would just grow larger and larger as you used more space.
That'd be very interesting (though I'm not in a position to use it anymore).

I have no idea what extent this goes to. I'd love to be able to "give away" all the free space on each Mac in a network, into a central network pool. And from that have a "virtual OSX file-server" drive for every machine. Build in redundancy would be required, of course, for when a machine dies or is turned off.

Or (... a little more reliably...) if I have a central network file-server, instead of using a RAID for redundancy, how about using the excess disk space on each workstation in the network?

Does ZFS allow that kind of concept?
 
By the way, you couldn't store the Earth in a 2^128 bit hard drive. Maybe you could store a person, but only with some serious compression algorithms.
Well based on one proof of the ability of matter to store data... a fully populated ZFS file system would require around 136 billion kilograms of matter... which is about 43,970,588,235,294 times smaller then the mass of the earth but of course far larger then the mass of a person. :D

This assumes perfectly efficient storage of information by that block of matter... which isn't feasibly possible... so you likely need several orders of magnitude more matter to store a fully populated ZFS file system.
 
ZFS can hold more

For us poor plebeians, what the hell does the adoption of ZFS bring anyway? Is it just another geeky filesystem, or something that might really make a difference for ordinary users?

At least HFS enabled much bigger storage and more sensible partitioning back then...could any of you clarify this issue for the non-file server admins out there? Thanks.


No ZFS can hold more data "if 1,000 files were created every second, it would take about 9,000 years to reach the limit" (source wikipedia)
 
So if I have a 40 Gb HD, add a new 250 Gb HD to the pool that would bring my total HD space to 290 Gb. Now, if I have 20 free Gb in my 40 Gb HD, and 30 free Gb in my 250 Gb drive, can I copy a 40 Gb file without there being a problem? What if a file (a really big one) spans multiple hard drives and one drive is lost? is there a way to fix that? Obviously someone with the need for a file that big is pretty careful about backing up, but that's another story...
 
Mac os X can't boot from it

PEople do know that ZFS can't be used as root file system which means no boot capability for Mac os X right? but Apple does speed up things when they want it for them so hopefully they can get the ZFS Boot project team working an that
 
So if I have a 40 Gb HD, add a new 250 Gb HD to the pool that would bring my total HD space to 290 Gb. Now, if I have 20 free Gb in my 40 Gb HD, and 30 free Gb in my 250 Gb drive, can I copy a 40 Gb file without there being a problem? What if a file (a really big one) spans multiple hard drives and one drive is lost? is there a way to fix that? Obviously someone with the need for a file that big is pretty careful about backing up, but that's another story...

No that won't work. for two reasons
  1. The boot device can't be ZFS
  2. The operating system can't be stored on ZFS
Currently, ZFS is for data

But on to your question -- First off you don't need to have a large file to span disks. even a smaller file will span disks, parts of it will be distributed over the disks in the pool. So really ALL files are distributed over all the drives. This makes it fast as we can do reads in parallel.

What happens when a drive fails? Typically you get a notification and the failed drive is taken off line by the system. Reads can continue because data are stored redundantly. If you are lucky you have a hot spare installed and the system will spin up that drive and reconstruct the lost data on that drive in the background. If you don't have a hot spare, go buy one. You can configure various levels of redundancy so that you can survive one, two or more drive failures with out going down. In a large data centers they might keep a half dozen drives plugged in as spares, so they could loose tha many drives before needing to call the repair guy -- This is not new. We have a big array of disks downstairs. It is a 6 foot tall rack with about 80 drives. The technology is about 20 years old now.

What's new is that ZFS generalizes the concept so well and integrates it into the file system layer.

Going back to spanning drives -- if the file didn't span two or more drives then it would be lost if the drive it was on failed. right? So they are ALL spanned and written redundantly. even very small files
 
The main problem for consumers IMHO is that when they start mixing their internal drives with their external USB and FireWire drives. One day they unplug their drive and boom there goes the filesystem.

This is where Apple will need to add value over what Sun has given us. Apple will need to make a nice interface. Currently Apple allows you to build a RAID 5 system with a set of external FW drives. This is not such a great idea either.

I'dlke to see Apple ofer some better desktop storage options. They will need it if they want to sell those iTV things. Where to put 500 hours of video?
 
What happens if you add a drive into a pool, and at a later date wish to remove it from the system? Can you just tell the computer to move all of the data off of the drive and then pull it out (after turning off the computer, of course, or not if it's SATA) with no harm or lost files?

It would, but keep in mind for that to work you would have to have enough space on the remaining drives to accommodate all the data you are moving. So if I had two HD's and wanted to swap one out and add another, if both of those drives are full (which is probably why you are wanting to change HD's) you are going to have a problem. The solution would be to crack open the case, install your new drive as a third drive, then after adding it tell the file system you want to remove the one older drive so it can swap the data around.

So you would have to have a machine with at least one more internal bay than the number of drives you wish have in the machine. Except, I suppose you could use an external drive as a temporary holding place. So then you only have to crack the case open once to add the new drive and remove the old one. Hey, I wonder if it would be possible to use the new drive as the temporary drive. So you put the new drive in an external case, hook up, add to storage pool and migrate data off the old drive. Then shut down the machine and move the new drive from the external case to the internal bay after removing the old drive, and everything still matches up in the file system!
 
ZFS not for MacBook? You're kidding, right?

First of all, yes ZFS is very cool. BUT, it isn't going to be great for a portable MacBook or an iMac. It's going to be great for an XServe or a MacPro with a lot of attached storage (read: many drives).
With the smaller capacities available for laptop drives, ZFS and it's ability to compress on the fly AND not to waste space with minimum cluster sizes is going to be HUGE for portable users. Not for MacBooks? Indeed, they will benefit greatly!
 
Leopard is looking to be a much bigger update than I anticipated. It's going to have a lot more things than Tiger had. Tiger seemed more like a "features" update, whereas Leopard is overhauling a whole bunch of stuff, while still giving us some cool features. Every major update has done that, except for Tiger to an extent. So, I guess you could compare Tiger that middle movie in the trilogy that doesn't do as much but is necessary to get you from one to three. **cough, cough** Pirates of the Caribbean **cough, cough**
 
ZFS is the basis of time machine.

Rocketman
Yes, that certainly explains why Time Machine exists in the current developer's builds that are running on HFS+ :rolleyes:

ZFS would make a great basis for an implementation of Time Machine (read as: where we are going) but the program itself will not require a ZFS file system, it will be compatible with HFS+ for current users' sake.

I'm hoping for an HFS/HFS+ type transistion: ZFS will be in OS 10.5, you can choose to reformat your hard drive and start using ZFS for your boot partition, or keep using HFS+ for now. If you do change to ZFS you'll get better Time Machine performance, the pooled storage, ect.

Then at some point in the future (10.6, 10.7?) they will drop the HFS+ and you'll have to use a ZFS file system to upgrade.

Everyone keeps talking about how ZFS booting is not ready yet. Silly users, ZFS is Open-Source, is it not possible Apple has been working on booting ability on their own and have solved the issue for 10.5?

One thing that will be a problem in the beginning is there will be no DiskWarrior, ect to repair drives with. But given the features of ZFS, I wonder what use there would be for diagnostic programs to begin with. :D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.