This is one of the reasons I love being an OS X user. Can't wait to see what Apple eventually does with it.
From the Wikipedia article: "Populating 128-bit file systems would exceed the quantum limits of earth-based storage. You couldn't fill a 128-bit storage pool without boiling the oceans."
each snapshot is a snapshot of how the blocks look, not your files. So the size of each snapshot is only however much space it takes to record what blocks have changed.
Doesn't Time Machine ask to configure a hard drive once it's attached? Would likely be ZFS, no?
Somewhere out there John Siracusa just wet himself.
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?
This is one of the reasons I love being an OS X user. Can't wait to see what Apple eventually does with it.
Let's run through a simple example.
You have 1 hard drive right? You are running out of space. You go buy another drive. You want to add it to the system but now you have to decide whether you want that drive to just handle storage of files, and if so which files? Well, how about this instead? You can add the drive as a pool. It then "magically" appears as if your original drive is now x gigabytes larger than it is since it is using two drives as a pool. Convenient no?
Or how about you want to backup that drive instead? Ok, add a drive to the system. Add it to the pool, tell it to mirror the drive instead. It now copies the data from one drive to the other and any changes mirror the other. If a corrupt file is on drive 1 (your original working copy) it checks the other to see if the backup is non-corrupt. If so, it opens that file, and copies the good data to the original drive as good data. It does this with Checksums of the files.
Another for the geekiness factor is RAIDZ. One drive or two can be a parity drive. Ever use PAR files? Yup very similar. You have files or a whole drive disappear? You can pretty much restore it from the parity drive if enough of the data still exists, etc.
Or how about you like having "versions" of your filesystem. You're about to update OS X to 10.5.2 and you're afraid it might break your system. So you create a ZFS snapshot. It now olds this "snapshot" of your filesystem and the files in it. You install the new update, it does indeed bork your computer. So you tell OS X and ZFS to use a previous snapshot, boom. You're back to 10.5.1 and it works.
Also the idea of using ZFS with time machine, is really really cool. Also, on the fly compression of your files. With no real performance hit. Another neat one is built in encryption. So you'll be able to have file vault at the filesystem level rather than the OS X application/OS level.
So in very simplified terms, snapshots are basically like wikipedia? It just keeps tracks of changes instead of creating a whole new copy of it, correct?
Actually you are mixing up "copy on write" with snapshotting capabilities (however the former does help with the later). The COW aspect is talking about how file blocks are managed when they are changed including "file" blocks related to the file system itself. As a result the data on disk is always coherent which avoids the need for journaling and fsck.Did you read this?
http://opensolaris.org/os/community/zfs/whatis/
1) All operations are "copy on write".
data are never over written you can always go back to last month's version . The system saves space by only writing changes.
am i getting this wrong, or could I format my 100GB HD to ZFS and have it store as much data as a 1TB+ HFS drive? If so, then wow. Simply wow.
It depends. If you are mirroring data between the two drives then no. If you are using RAIDZ (likely not applicable in this simple example of yours) then likely no, your data would still exist and be accessible (has a storage and IO cost overhead to do this). If you are using simple concatenation (not sure of ZFS terminology) then a subset of your files (or file data) would disappear.ok but say i buy an external hard drive, and "pool" it with the internal hard drive. the external hard drive craps out and dies (like most hard drives do). is all my data then gone? or is some data still there from the HD that didnt fail
am i getting this wrong, or could I format my 100GB HD to ZFS and have it store as much data as a 1TB+ HFS drive? If so, then wow. Simply wow.
am i getting this wrong, or could I format my 100GB HD to ZFS and have it store as much data as a 1TB+ HFS drive? If so, then wow. Simply wow.
Yes ZFS supports that type of operation. You can migrate data off of a storage device that you want to retire.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?
This would be very exciting feature to have. The ability to have one single Macintosh HD and just keep adding drives (internal or external) to increase the space.
Sweeeet.
No, the supported compression is not nearly that good (and already compress files for example are sufficiently random that it couldn't compress then further).am i getting this wrong, or could I format my 100GB HD to ZFS and have it store as much data as a 1TB+ HFS drive?
ZFS is cool but I'm afraid that the concept of pools is a bit complicated for the average consumer. How to manage backups ? What happens when a drive fails ? Time Machine has to be intelligent enough that it doesn't place data and backup on the same physical drive. Otherwise you could lose your original data AND the backup.
But, if it's thought out well then I'm all for it.