Slashdot Mirror


ZFS Shows Up in New Leopard Build

Udo Schmitz writes "As a follow-up to rumours from May this year, World of Apple has a screenshot showing Sun's Zettabyte File System in "the most recent Build of Mac OS X 10.5 Leopard". Though I still wonder: If it is not meant to replace HFS+, could there be any other reasons to support ZFS?"

351 comments

  1. Only 16 exabytes files? by tom17 · · Score: 0, Redundant

    How will I store my 32 exabyte "movie" files?

  2. ZFS would be cool by sigzero · · Score: 0

    I hope they make it a default.

    1. Re:ZFS would be cool by Anonymous Coward · · Score: 2, Informative

      That would be nice, but since ZFS can't be used as boot partition even in Solaris (they'll fix it). it's better to let it stabilize a couple of releases (ZFS is a young FS even in Solaris, after all) and then switch.

    2. Re:ZFS would be cool by furry_wookie · · Score: 2, Informative

      Actually, you CAN use ZFS for everything except boot...so all you need is a tiny little grub boot partition and your golden. This is a tried and true method of booting NIXen with other filesystem formats.

      --
      -- Given enough time and money, Microsoft will eventualy invent UNIX.
    3. Re:ZFS would be cool by multipartmixed · · Score: 2, Funny

      Whatabout sun cluster 3? I particular, for the global filesystem?

      Last I looked, they said, "NO! NO ZFS! IF YOU TRY, THE MOONS OF URANUS WILL CRASH INTO PLUTO!"

      --

      Do daemons dream of electric sleep()?
    4. Re:ZFS would be cool by SB_SamuraiSam · · Score: 1, Funny
      Though I still wonder: If it is not meant to replace HFS+, could there be any other reasons to support ZFS?
      Ohmygosh yes this means they are most definitely shipping an Apple phone and like a 30" wide-screen iPod first quarter next year!!!!!
    5. Re:ZFS would be cool by Anonymous Coward · · Score: 0

      Well, I'd like to point out that a screenshot of a portion of a window that uses somewhat dubious terminology (Zettabyte? Would Apple really call it that?) doesn't prove anything. This could be faked in Interface Builder in about 30 seconds. I have yet to see any corroborating evidence, just this one dodgy screenshot.

    6. Re:ZFS would be cool by Anonymous Coward · · Score: 1

      Someone mod the parent 'Moron'.

    7. Re:ZFS would be cool by Anarchitect_in_oz · · Score: 1

      So that tiny partition could be a small bit of flash memory or similar, such as Intel Robinson technology.

      Hey does Mac OS X have a boot partition of it's own anymore or is the EFI partition the boot partition?
      Either way a couple of gig of flash 1 for the EFI partition the other for kernal/core os.
      That would give you fast boot and a flexable file system.

      --
      "Call us when the New age is old enough to drink" Beck
    8. Re:ZFS would be cool by Anonymous Coward · · Score: 1, Interesting

      From what I've heard, future versions of Sun Cluster 2.x will support ZFS. I don't know in what fashion, exactly.

    9. Re:ZFS would be cool by Trillan · · Score: 1

      Yeah, I could do this in 20 seconds.

    10. Re:ZFS would be cool by hukl · · Score: 1

      Check out this article: http://themachackers.com/2006/12/19/zfs-on-mac-os- x-105-a-closer-look/ They show that ZFS is already working fine under the hood, meaning command line utilities. I think the upcoming seeds will tell more about apples plans on how to actually make use of ZFS.

  3. Zettabyte? by bigtomrodney · · Score: 3, Informative

    Isn't the term 'Zettabyte File System' actually inaccurate now? I thought they dropped that and ZFS now only remains as a pseudo initialism

    --
    I never get used to these constant resurrections
    1. Re:Zettabyte? by Anonymous Coward · · Score: 0

      Do you mean "ACRONYM?"

    2. Re:Zettabyte? by bubbl07 · · Score: 1

      It's both, see the other comment above this. And also, because it's a pseudo-initialism, it doesn't actually stand for anything, which is a requisite for an acronym. If you really wanna get specific, it's an orphan acronym.

  4. Exciting! by statusbar · · Score: 4, Interesting

    Now that Vista is finalized, expect Apple to show more and more of the 'secret' features of leopard!

    --jeffk++

    --
    ipv6 is my vpn
    1. Re:Exciting! by 0racle · · Score: 1

      I'd just like a release date.

      --
      "I use a Mac because I'm just better than you are."
    2. Re:Exciting! by foniksonik · · Score: 1

      Too true, now when MS rolls out their new ZFS filesystem in Vista we can all point and laugh, saying "They just copied Apple again!"

      --
      A fool throws a stone into a well and a thousand sages can not remove it.
    3. Re:Exciting! by __aaclcg7560 · · Score: 1

      Mac OS X "Leopard" will officially comes out of Spring 2007. However, there are rumors that "Leopard" will be released at the MacWorld Expo in early January to steal Microsoft's thunder for Windows Vista.

  5. oh yes by Anonymous Coward · · Score: 0

    oh yes, for servers! server gurus may prefer it.

    1. Re:oh yes by Anonymous Coward · · Score: 0

      OSX servers, hehe... haha... hahahahahahaha... HAHAHAHAHAAHAHAHAHAHAA.......

    2. Re:oh yes by Stormwatch · · Score: 1
      OSX servers, hehe... haha... hahahahahahaha... HAHAHAHAHAAHAHAHAHAHAA.......
      Indeed. That's such an absurd idea... isn't it?
    3. Re:oh yes by Anonymous Coward · · Score: 0

      The GP's point wasn't that they don't offer them, it's that it's an absurd idea to run a gui on your servers.

  6. Otherwise... by DrYak · · Score: 5, Funny
    Now that Vista is finalized,

    Because if Apple showed them before, there was a risk that Microsoft tried to announce them as future features in their soon-to-be-released perfect Windows Vista ?
    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Otherwise... by statusbar · · Score: 4, Funny

      Nah, Microsoft would never do anything like that... They are a respectable company that does not misrepresent their products.

      --jeffk++

      --
      ipv6 is my vpn
    2. Re:Otherwise... by Sancho · · Score: 2, Insightful

      That said, there's zero chance (IMO) that Microsoft would add ZFS to Vista. They already dropped their transaction-based filesystem in order to get Vista out the door this decade. Adding ZFS support (much less using it as the default or recommended FS) would simply take too long, even if Apple had announced support a year ago.

    3. Re:Otherwise... by partenon · · Score: 1

      Adding ZFS support (much less using it as the default or recommended FS) would simply take too long, even if Apple had announced support a year ago Not so sure about that... The ZFS is ready, MS needs only a "driver" in order to support ZFS in Vista. But I don't think it is *interesting* to MS. Look at extN, reiserfs and others. None of them have support from MS, but most of them have third-party drivers. So, I'd say there will be some support for ZFS, but not from MS.

      The problem w/ "WinFS" (or whatever they called it) is: it needs to be build from scratch. From the FS specification to the implementation to the drivers. So, the development itself would take too much time, not the support inside Vista.
      --
      ilex paraguariensis for all
    4. Re:Otherwise... by Anonymous Coward · · Score: 0
      Which is the point. There was zero chance that MS could get the transactional file system to work. It simply still requires too much power to work. It is like the original GUI for MS Windows. Not bad in itself, but required hardware that most were not willing to pay for, at least in the 80's. So, since there was no competitive reason for it to happen, it didn't.

      But that did not stop them from announcing it, and it was the one thing that differentiated the OS from the competitors. OTOH, the ZFS likely is not nearly so difficult, as it has already been implemented. MS could have done some half ass implementation to compete with Apple, just like the dock, the widgets, spotlight, simplified networking, etc.

    5. Re:Otherwise... by popeyethesailor · · Score: 1
      They already dropped their transaction-based filesystem in order to get Vista out the door
      Um, they did ship TxF; do you mean WinFS?
    6. Re:Otherwise... by Sancho · · Score: 1

      Yeah, guess I got some terminology and features mixed up, sorry!

  7. Just to get it out of the way... by Anonymous Coward · · Score: 1, Funny

    The letter "Z" is pronounced "Zed" in Canada, UK, and other funny British Colonies, former funny British Colonies, and Colony-wannabies
    The letter "Z" is properly pronounced "Zee" in the USA and Iraq (after 2003)

    1. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      The letter "Z" is properly pronounced "Zee" in [...] Iraq (after 2003)

      When you have been shot by an invading force, you do not pronounce "Z".

    2. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      Nitpick time:

      Parts of the US are former funny British Colonies.

    3. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      The letter "Z" is properly pronounced "Zee" in the USA and Iraq (after 2003)

      I thought "Zee" was something that Frenchies said...

    4. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      Are you saying that they are not funny anymore or that they are former colonies?

    5. Re:Just to get it out of the way... by 0racle · · Score: 4, Informative
      Since we're nitpicking:
      The letter "Z" is properly pronounced "Zee" in the USA and Iraq (after 2003)
      That would correctly read "The letter "Z" is improperly pronounced "Zee" in the USA and Iraq (after 2003)"
      --
      "I use a Mac because I'm just better than you are."
    6. Re:Just to get it out of the way... by amliebsch · · Score: 1

      Rules of grammar FTW!

      If he had meant "former" modify "funny," it would be an adverb, "formerly". It's not, so it can't, and it doesn't.

      --
      If you don't know where you are going, you will wind up somewhere else.
    7. Re:Just to get it out of the way... by bigtomrodney · · Score: 0

      How could it be 'properly' pronounced in the USA dialect of English rather than the British 'Zed'? I mean it is after all a derivative of British English. Actually 'Zed' is probably closer to the source from which it comes - the Greek letter 'zeta'.

      --
      I never get used to these constant resurrections
    8. Re:Just to get it out of the way... by gwayne · · Score: 1

      Smile when you say that, or you'll be pronouncing it "Zee" too!

    9. Re:Just to get it out of the way... by gb506 · · Score: 4, Funny

      Zed's dead, baby.

    10. Re:Just to get it out of the way... by clarkcox3 · · Score: 3, Informative
      Actually 'Zed' is probably closer to the source from which it comes - the Greek letter 'zeta'
      ... and "Bed" is closer than "Bee" to "Beta", yet everyone says "Bee". At least the American pronunciation of the alphabet is internally consistent. ;)
      --
      There are no tiger attacks in my area and it's all because this rock I'm holding keeps the tigers away.
    11. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      Many of the differences between British English and American English were changes on the British side of the pond. For example, with -ise/-ize, both were used frequently in England. Even Shakespeare used -ize in his writings. When the Americans switched to -ize completely, the Brits started using -ise exclusively in reaction.

    12. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      'Zeta' was originally pronounced 'Zee ta'. The mpdern accepted pronounciation is 'zay ta'. Do you pronounce 'Zed' as 'Zayd' ?

    13. Re:Just to get it out of the way... by toph42 · · Score: 1

      At least the American pronunciation of the alphabet is internally consistent. ;)

      You must not have travelled much throughout the several States.

      Before I came to the south, I never knew anybody could pronounce "R" with two sylables: "Arr-uh" instead of the "Arr" most folks use.

    14. Re:Just to get it out of the way... by Lord+Kano · · Score: 1

      In France, the letter "Z" is also pronounced "Zed".

      LK

      --
      "Hi. This is my friend, Jack Shit, and you don't know him." - Lord Kano
    15. Re:Just to get it out of the way... by a.d.trick · · Score: 1
      ... and "Bed" is closer than "Bee" to "Beta", yet everyone says "Bee". At least the American pronunciation of the alphabet is internally consistent. ;)

      And the great thing is that as far as linguistics is concerned. It doesn't matter. All that matters is how the people use it.

      Linguistics is a great field: if you make a mistake once (or just a few times), your wrong; but once you've make a mistake enough times, it's not a mistake anymore, and you become right.

    16. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      I belive the correct pronunciation is Zeta.

    17. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      What about the pronunciation... zulu?

    18. Re:Just to get it out of the way... by Flwyd · · Score: 1

      Because the Zed File System sounds like it's a new version of an old line editor.

      --
      Ceci n'est pas une signature.
    19. Re:Just to get it out of the way... by Kenshin · · Score: 1

      Duh. It doesn't take a nucular scientist to figure that out...

      --

      Does it make you happy you're so strange?

    20. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      In general grammar rules, like spelling, are descriptive - they attempt to codify general usage. Actual usage will always be ahead of any written grammar rules.

      When writing for a specific audience it pays to find out which particular set of rules (style) that audience expects.
      For Slashdot "appears to be semi-literate" is sufficient.

      The fact that there was question about the meaning in this case indicates that this may well be one of the areas in which general usage is changing grammar. There's not much point in a rule existing if no one knows about it.

    21. Re:Just to get it out of the way... by Anonymous Coward · · Score: 0

      In that case I have finally discovered the problem with my time machine!

      I simply haven't mispronounced it enough!

      or at least my time machine would work it the problem was linguistics...

  8. Re:FIRST POST by Anonymous Coward · · Score: 0

    Stop feeding the trolls.

  9. Reason to support ZFS... by Churla · · Score: 0

    Not enough good acronyms with Z in them. This adds an aire of leetness to the whole thing.

    --
    I'm a fiscal conservative, it's a pity we don't have a political party anymore
    1. Re:Reason to support ZFS... by Boghog · · Score: 3, Informative
    2. Re:Reason to support ZFS... by shawnce · · Score: 2, Informative

      I doubt Apple is going to require ZFS for Time Machine anytime soon. I fully expect HFS+ to continue to be the default file system for Mac OS X for a while (years). I believe ZFS support in Mac OS X is solely for the high-end / server space of the customer spectrum.

    3. Re:Reason to support ZFS... by Junta · · Score: 1
      I agree to your doubts that ZFS will be involved in Time Machine (since Time Machine was seemingly demoed before ZFS support was added, their ZFS support would be too new to bank a new feature on that many people will use, and there are many many more traditional ways of implementing snapshots using block layer tricks and filesystem-aware tricks). However, based on the description, ZFS *could* have been required for Time Machine:

      Right from the start, Time Machine in Mac OS X Leopard makes a complete backup of all the files on your system. That includes your system files, applications, accounts, preferences, music, photos, movies, documents -- everything you keep on your Mac. As you make changes, Time Machine only backs up what changes, all the while maintaining a comprehensive layout of your system. In this case, it talks about requiring a new, unformatted drive. It could format the new block device as ZFS, copy all the current data to that backup volume, then leverage ZFS snapshotting features rather than whatever mechanism they probably did use. If it used ZFS, doesn't mean it requires the source volume to be ZFS formatted....
      --
      XML is like violence. If it doesn't solve the problem, use more.
  10. copy-on-write by Mr2cents · · Score: 3, Insightful
    FTA:

    Makes use of copy-on-write; rather than overwriting old data with new data, it writes new data to a new location and then overwrites the pointer to the old data Wouldn't that pose a problem for mmap?
    --
    "It's too bad that stupidity isn't painful." - Anton LaVey
    1. Re:copy-on-write by Anonymous Coward · · Score: 0

      Actually, despite all the references to "copy on write", I believe it's "allocate on write" since no copying is going on. But then again, this would make it even more similar to a certain existing filesystem. **WAFL** **cough** **NetApp**

    2. Re:copy-on-write by MotownAvi · · Score: 2, Informative

      Why? In today's world, writing to an mmap-ed file most certainly doesn't hit the disk for each write. Instead, a block of memory from the buffer cache is used to hold the changes. The only difference is that instead of being backed (VM-wise) by the swap file, the block is backed by the mmap-ed file.

      There's no real change here for ZFS, and it's unlikely that anything at the memory cache level even knows about the copy-on-write-ness of ZFS (or even cares).

      a

    3. Re:copy-on-write by TheRaven64 · · Score: 4, Interesting
      No. Mmap lives above the filesystem layer. Unless you are doing mmap on the block device, in which case you should realise that not everyone works for oracle...

      Mmap simple maps pages of a disk file into memory. If the disk file changes its physical location then the mapping is updated. When you call mmap, you give it a disk file, an offset, and an extent. It is up to the VFS layer to translate this into physical mappings. LFS has the same issues, and these were solved well over a decade ago.

      If you invoke mmap with MAP_PRIVATE, this actually makes it easier; if someone else updates the file then you just keep the existing mapping.

      --
      I am TheRaven on Soylent News
    4. Re:copy-on-write by Midnight+Thunder · · Score: 4, Interesting
      FTA:

      Makes use of copy-on-write; rather than overwriting old data with new data, it writes new data to a new location and then overwrites the pointer to the old data

      Wouldn't that pose a problem for mmap?


      It may do, but like many things there are alternative approaches.

      From working on embedded hardware with flash memory, this makes me wonder whether possible addition of ZFS is meant to be for flash storage? Let me explain: flash memory has a fairly limited write-count, relative to hard disks, so to compensate for this memory is written in a circular fashion, to ensure that a given sector is written the least often possible. In addition to this, from what I can tell, Apple's main sales point are low profile computers and portables. The latter would benefit from flash storage as means of extending battery life, even if it is for a certain elements, such as for the OS which is accesed far more frequently than anything else on disk. Given this I wouldn't be surprised to see flash memory in future models of Apple portables, using ZFS, while HFS+ is still used for the hard disks.

      This is pure speculation, but I feel that it has a high probabilty of being near the mark.
      --
      Jumpstart the tartan drive.
    5. Re:copy-on-write by multipartmixed · · Score: 2, Informative

      Right.

      Similar issues exist without problems when mmap()ing files from NFS. You cannot update just a few bytes with NFS, you have to write the whole disk block out.

      I'm fairly confident that the current "standard" way to implement mmap at the moment is to update the pages, mark them dirty, and let the VM subsystem write them to disk.

      I haven't had to look at mmap's implementation in a long time, though.. but IIRC Rich Teer and/or Adrian Crocroft had good articles about it a few years back.

      Obviously, I arrive at this problem space with a huge Solaris influence. But this is a well-understood problem, and I don't think Sun's implementation is particularly revolutionary.

      --

      Do daemons dream of electric sleep()?
    6. Re:copy-on-write by iabervon · · Score: 1

      Recent flash devices do write-leveling internally in hardware. The necessary logic isn't all that complicated, and it's not that different from the logic needed to handle modern hard drives, which remap bad blocks internally. Flash devices are often removable, and people generally use FAT on removable storage (for compatibility and ease of implementation), and FAT does a whole lot of writing to a few sectors. So flash device manufacturers wanted to make their devices not seem unreliable and implemented write-leveling. Bare flash chips don't do it, but it's simpler to implement than the protocols that the devices support (USB, SD, or CF, generally).

    7. Re:copy-on-write by Anonymous Coward · · Score: 2, Informative

      Er.. a copy of the modified data is saved to a new location, as opposed to overwriting the original data, which is exactly what happens with COW memory pages in VMM's too. Sounds more like NetApp just like using a slightly different term to make them sound different :P

    8. Re:copy-on-write by caseih · · Score: 2, Informative

      ZFS currently wouldn't work very well for flash storage systems under a certain size because of initial overhead. ZFS requires each device to be at least 64 MB in order to be added to a pool. Also the minimal overhead of ZFS is 32 MB. In other words if you take a 64 MB disk, format it to ZFS, you'll only have 32 MB of space available. As you add devices to the pool, this overhead grows, but at a pretty small rate.

  11. Reason? by sam0vi · · Score: 1

    Here's their reason: They are just showy!

    --
    When my Karma level reaches 0 I feel in piece with the Universe
  12. Re:FIRST POST by Anonymous Coward · · Score: 1, Funny

    Stop trolling the feeders.

  13. What a moron by Anonymous Coward · · Score: 2, Insightful

    "Though I still wonder: If it is not meant to replace HFS+, could there be any other reasons to support ZFS?"

    Duh... It's called compatibility.

    1. Re:What a moron by Udo+Schmitz · · Score: 4, Insightful
      It's called compatibility.

      Wouldn't full NTFS support (or well, support for any FS more in use then ZFS today) make more sense?
    2. Re:What a moron by jonesy16 · · Score: 0

      EXT2 would be a good start . . .

    3. Re:What a moron by metamatic · · Score: 5, Insightful
      Wouldn't full NTFS support (or well, support for any FS more in use then ZFS today) make more sense?

      Yeah, I mean it's not like NTFS is defined and controlled by an organization renowned for its hostility to other platforms, reluctant to document things in a way that other people can implement them, and scared of interoperability, is it?

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    4. Re:What a moron by Udo+Schmitz · · Score: 1

      Well, I mean it's not like other OSs are able to read from and write to NTFS, is it?

    5. Re:What a moron by AcidLacedPenguiN · · Score: 2, Funny

      my knoppix disc cries when I try that. It didn't before, but now it's just an emo jerk.

      --
      disclaimer: I've been known to store numbers in my ass for which to dig out when quantities are required.
    6. Re:What a moron by macs4all · · Score: 1

      Um, OS X has had read-only support for NTFS for quite some time. Here's an article regarding NTFS support in OS X.IV (Tiger). Writing and formatting are quite another matter.

    7. Re:What a moron by Dan+Ost · · Score: 1

      I vote for this too. Except for my flash drive, all my external storage is EXT2 or EXT3.
      It's frustrating that OSX doesn't know how to handle these.

      --

      *sigh* back to work...
    8. Re:What a moron by iPaul · · Score: 4, Informative

      You both miss the point of HFS+ and ZFS. In Solaris ZFS has not replaced UFS. ZFS is an elegant way to manage large amounts of storage tied together with inexpensive and simple SATA drives. If you have one disk in your Mac, ZFS probably will not be your choice. HFS+ will work very well and be very easy to manage. A file server with 3 or 4 750 GB drives however, might be cut up so that part of the storage is mirrored for safety, limited for certain uses, and spanned over drives for size. For example, 3 750's could be divided into 1 TB unmirrored storage, 250 GB mirrored, a temp area of up to 100GB and the rest (650+ GB depending on temp are usage) held in reserve. In addition ZFS does quite a bit of error checking on the data to avoid any possible corruption during reads. However, it will never replace HFS+ on an iMac for your average user.

      --
      Leave the gun, take the cannoli -- Clemenza, The Godfather
    9. Re:What a moron by mmeister · · Score: 1

      Plus, as I understand it, you cannot boot from a ZFS volume -- which would make it pretty hard to run your OS on.

      I think this is a first step. Initial ZFS support now for non-boot volumes and then when boot volumes are supported, they have the option to move to the new format.

    10. Re:What a moron by Finque · · Score: 1

      http://sourceforge.net/projects/ext2fsx/
      Works pretty well for most general purposes, and it finally supports writing.

    11. Re:What a moron by Anonymous Coward · · Score: 1, Insightful

      Well, I mean it's not like other OSs are able to read from and write to NTFS, is it?

      And why is that? Maybe because Microsoft never released any specs, and keeps changing stuff in their implementations without notice, uses hidden API-calls themselves in Windows and do their best NOT to make NTFS widely accepted as a filesystem? In their blind crusade against dual-booters, they alienate everyone who might see value in their technology (NTFS is actually quite good in many ways).

      However, NTFS is not a filesystem for any other OS than Microsoft OSes, so can hardly be called a filesystem _at all_.

      There are ways around it, but I wouldnt count my business data on reverse-engineered solutions for something as critical as a filesystem. Most implementations cant even handle encryption and compression etc either, because those are even more secret add-ons to NTFS. Not even Knoppix are able to handle NTFS in any sane manner, and sadly NTFS is needed for XP / Vista. Maybe the features covered are about 40%, and youll be lucky if the data wont dissappear one day, or Microsoft changes something and it all falls apart.

      Paranoid companies such as Microsoft that works against everyone else should NOT be supported back, because theyre not supporting the community. They deserve to die as the dinosaurs they are. They patented stuff in FAT32 too, which only show how hostile parasites theyve become. Theyve used this patents against Flash / Camera-card companies, which has to pre-format FAT32 to be able to support Windows-users. When they can use a patent of the horrible hack that is FAT32 and long filenames, to extort money from companies supporting their own OS, Windows, how can we be able to support NTFS, even if Microsoft would let us?

      Writing this from my new shiny Macbook Pro 17".

    12. Re:What a moron by KonoWatakushi · · Score: 1

      The only reason ZFS has not replaced UFS in Solaris, is because it is not yet bootable. It offers many of its advantages even on a single disk, and before long, it will be the default. There is no reason to expect it won't be the default on MacOS as well by 10.6. Even on an iMac for your average user. The only reason UFS will remain around, is for compatibility, and those certain workloads where the in-place block update model is still preferable.

    13. Re:What a moron by Anonymous Coward · · Score: 0
      If you have one disk in your Mac, ZFS probably will not be your choice.


      Right, because checksums to guarantee data integrity are useless in that case. So are unlimited snapshots and transactional writes to ensure constant file system consistency. Never mind the upcoming work on compression and encryption.
  14. Reasons to support? Servers by ShyGuy91284 · · Score: 5, Interesting

    I will be soon converting my Linux server to Solaris just for ZFS. Although ZFS may not terribly useful on a normal desktop, on a server, it's very powerful.... The idea of parity data actually being used actively to ensure data isn't corrupted is brilliant imho. So is the idea of on-the-fly recovery (I remember a video of some guy writing 30 megs of junk to a partition using dd, ZFS detecting it, and repairing it). *ends rant since all this can be read up about online*

    --
    In undeveloped countries, the consumer controls the market. In capitalist America, the market controls you.
  15. For some reason... by uohcicds · · Score: 2, Interesting

    ...the words "Time Machine" are jumping up and down in front of my face trying to attract my attention. I can't think why that might be.

    --
    It's not you: I'm just this horrifically socially awkward with everybody.
    1. Re:For some reason... by turnipsatemybaby · · Score: 1

      Time Machine only works if you can maintain a thoroughput rate of 88Mbps.

    2. Re:For some reason... by Coward+the+Anonymous · · Score: 2, Funny

      You also need 1.21 gigawatts of power.

      --
      -- Jason
    3. Re:For some reason... by Anonymous Coward · · Score: 1, Funny

      And a flux capacitor.

    4. Re:For some reason... by kevorkian · · Score: 1

      jiga .. not giga

    5. Re:For some reason... by drinkypoo · · Score: 1

      It's spelled giga, it's pronounced jiga. But thanks for trying.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    6. Re:For some reason... by kevorkian · · Score: 1

      Nope. At least not according to imdb ( and my memory ) and its quotes section from back to the future.

        http://www.imdb.com/title/tt0088763/quotes

      Younger Dr. Emmett Brown: [running out of the room] 1.21 jigawatts? 1.21 jigawatts? Great Scott!
      Marty McFly: [following] What the hell is a jigawatt?

      But anyway.

    7. Re:For some reason... by An+ominous+Cow+art · · Score: 1

      Try blocking Flash and turning on Popup Blocking.

    8. Re:For some reason... by caseih · · Score: 1

      Those who have NDAs on Leopard have said on the Apple mailing lists that Time Machine will not use the file system to accomplish versioning. They will not say how it is done, but it has nothing to do with ZFS. I give it as my opinion that Time Machine is implemented at the OS level, intercepting calls to open and write.

    9. Re:For some reason... by drinkypoo · · Score: 1

      Uh, you would trust a user-entered quote on imdb over the dictionary? WTF is wrong with you? Actually the encyclopedia link (to wikipedia) there helps us out:

      In the movie, the power required is pronounced "one point twenty-one jigowatts". Although this pronunciation of "gigawatt" was once considered the correct one, it is no longer the most common. (In addition, since Robert Zemeckis and Bob Gale were unfamiliar with the term, they misspelled it in the script.) Because of this, a "jigowatt" will sometimes be referred to on Internet forums as a fictional unit or to make fun of someone's electrical knowledge. The spelling "jigowatt" is used in the novelizations of films 2 and 3. However, the book of the original film uses the correct spelling "gigawatt".
      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    10. Re:For some reason... by Anonymous Coward · · Score: 0

      Those who have NDAs on Leopard have said on the Apple mailing lists that Time Machine will not use the file system to accomplish versioning. They will not say how it is done, but it has nothing to do with ZFS. I give it as my opinion that Time Machine is implemented at the OS level, intercepting calls to open and write.

      Uhmm, I'm pretty sure it will be based on kqueue, which was introduced in 10.3, and is the basis of how Spotlight tracks changes to files.

  16. A-peeling. by Anonymous Coward · · Score: 0

    "Though I still wonder: If it is not meant to replace HFS+, could there be any other reasons to support ZFS?""

    Geek cred.

  17. Not a likely replacement... by qwertphobia · · Score: 4, Insightful

    If it is not meant to replace HFS+, could there be any other reasons to support ZFS?" Well, OSX 10.4 already supports FAT16, FAT32, and HFS, HFS+ (case sensitive and case-insensitive) and UFS. I don't see any obvuious conclusion that HFS+ is on the way out. Now if the OSX kernel AND os both support a ZFS-formatted partition as a boot partition, we might find it as an accceptable replacement, but otherwise I would think ZFS will be added for large enterprise SAN RAIDs and such.
    --
    Never ask for directions from a two-headed tourist! -Big Bird
    1. Re:Not a likely replacement... by numbski · · Score: 1

      I hate to be pedantic, but despite claiming UFS compatibility, the UFS that OSX uses is incompatible with everyone else. I tried formatting a UFS1 volume in FreeBSD, OSX wouldn't recognize it. Tried doing the same on OSX, FreeBSD couldn't read it. :\

      I forget the reason now, but point is, UFS it may claim to be, but if you're using UFS for compatibility, sucks to be you. :(

      --

      Karma: Chameleon (mostly due to the fact that you come and go).

    2. Re:Not a likely replacement... by larkost · · Score: 2, Insightful

      Actually, if you are using UFS on any platform for "compatibility", then "sucks to be you". NeXT's/Apple's version may be a little farther out than other implementations, but UFS in general suffers from many mutually incompatible variants. In fact it is better to assume that any compatibility is purely accidental, you will have a better expectation level that way.

    3. Re:Not a likely replacement... by qwertphobia · · Score: 1

      I forget the reason now, but point is, UFS it may claim to be, but if you're using UFS for compatibility, sucks to be you. :( Bummer... I have to say I only used it once, as an experiment on a test server, and it was reinstalled on an HFS+ partition soon after. So I admit to using it, but I can't say I have much experience using it.
      --
      Never ask for directions from a two-headed tourist! -Big Bird
    4. Re:Not a likely replacement... by NatasRevol · · Score: 1

      It supports a few other file systems too. Including read-only on NTFS.

      http://www.kernelthread.com/mac/osx/arch_fs.html

      --
      There are two types of people in the world: Those who crave closure
    5. Re:Not a likely replacement... by Anonymous Coward · · Score: 0

      Have you ever *used* HFS+ in a high-volume, high-throughput environment with more than 100 clients? It's AWFUL and has frequent filesystem corruption problems. For the enterprise server and science markets HFS+ is a dog. ZFS will be a God send!

    6. Re:Not a likely replacement... by makomk · · Score: 1

      Actually, if you are using UFS on any platform for "compatibility", then "sucks to be you". NeXT's/Apple's version may be a little farther out than other implementations, but UFS in general suffers from many mutually incompatible variants. In fact it is better to assume that any compatibility is purely accidental, you will have a better expectation level that way.

      Yeah - Linux lists 8 different supported or semi-supported variants (which have to be selected between using a mount option - no auto-detection), and there are probably more it hasn't heard of. According to mount(8), the BSDs use a variant it calls "44bsd", whereas OS X uses "openstep" (not to be confused with "nextstep", which is the variant used by NeXT).

    7. Re:Not a likely replacement... by jhesse · · Score: 1

      I've seen a couple systems where UFS was used as a OSX boot volume.

      Of note: Some software packages (Macromedia, don't know about later releases.) have *severe* trouble executing from UFS volumes. T'was a bitch getting that figured out. Also, instructions for modding the startup image (modding bootx) don't work. (hidden bootx)

      --

      --
      "I have also mastered pomposity, even if I do say so myself." -Kryten
    8. Re:Not a likely replacement... by Anonymous Coward · · Score: 0
      Have you ever *used* HFS+ in a high-volume, high-throughput environment with more than 100 clients?
      Yes, it runs quite alright on Linux.
      It's AWFUL and has frequent filesystem corruption problems.
      Hmmm, not here.
    9. Re:Not a likely replacement... by numbski · · Score: 1

      Anything that requires resource forks won't execute from UFS. I used UFS explicitly for things that I *didn't* want to deal with resource forks, primarily home directories. That, and where I wanted a fully case-sensitive filesystem. OSX has since added an explicitly case-sensitive journalling HFS+, to go along with the HFS+ that was case-respecting but case-insensitive. No reason to use UFS1 anymore...especially since there's no journalling. UFS2 adds that, but with the advent of this, I don't see them adding UFS2.

      --

      Karma: Chameleon (mostly due to the fact that you come and go).

  18. Obligatory by value_added · · Score: 3, Informative

    A clicky to the Wiki article on ZFS.

  19. Any other reason by Anonymous Coward · · Score: 0

    Though I still wonder: If it is not meant to replace HFS+, could there be any other reasons to support ZFS?"

    Apple Developer Connection released this VFS plug-in to support MFS (the original Macintosh File System). Does this mean Apple is going to replace HFS+? No. It means Apple is happy to employ its programmers working on making its operating system more useful for more people.

  20. ZFS is overkill for a laptop - for now by TheRaven64 · · Score: 4, Interesting
    A few years ago, I sat down and worked out exactly what I thought a filesystem should do, and how I would implement it. At the time no filesystem came close. Then Sun released ZFS. Real documentation on it is hard to find (behind the marketing hype), but when I did track it down I discovered two things:
    1. They had implemented everything I thought they should, and
    2. That only accounted for about 40% of the features of ZFS.
    Calling it the last word in filesystems might be hyperbole, but I expect ZFS to last a good 10-20 years, which is quite respectable for a filesystem, and I wouldn't be surprised if it lasted longer. Is it a replacement for HFS+? Not yet.

    HFS+ is a very nice filesystem for single user systems with a single disk. It implements journalling, has reasonable performance, and has good metadata support. For the average users at the moment, the only real advantage of ZFS would be snapshots, and these are not too difficult to implement for other filesystems.

    ZFS, however, is much better when you have multiple physical disks. At the moment, only the top-end Macs have more than one disk. This is likely to change in two ways:

    1. Cheap flash,
    2. Network storage
    For a home user, ZFS could handle backups trivially by plugging in a large flash drive and adding it to the pool. I suspect this will be one mechanism Time Machine will use. Due to the way ZFS works, you can just mirror a part of the directory tree (e.g. /Users/aUser) onto the external disk. With a big external drive, you could mirror the entire disk onto it and also save snapshots (another Time Machine feature...). The same could be done with network storage. With the current price of hard drives, I wouldn't be surprised if .Mac started offering 10-20GB of storage space for remote backups using this mechanism (take a look at the NFS4 integration in ZFS to see how this could be done).

    ZFS is not needed as a replacement for HFS+ in 2007, but it probably will be in 2008-9. ZFS is a 128-bit filesystem, which means it is designed to last for a long time. We will probably never need a 128-bit filesystem (unless we actually want to build hard drives the size of planets with single-atom sectors), but we will need a 65-bit filesystem once we get to around 10 Exabytes. This won't happen with single drives for a while, but it will with RAID arrays.

    --
    I am TheRaven on Soylent News
    1. Re:ZFS is overkill for a laptop - for now by immovable_object · · Score: 1

      For a home user, ZFS could handle backups trivially by plugging in a large flash drive and adding it to the pool. I suspect this will be one mechanism Time Machine will use. Due to the way ZFS works, you can just mirror a part of the directory tree (e.g. /Users/aUser) onto the external disk.

      It doesn't work that way. As an alternative you could use ZFS send/receive, but adding a disk to a pool temporarily is similar to adding a disk to a RAID-5 set temporarily.

      Another option would be to add it as a mirror disk, but that gets pretty complicated pretty fast. I'd recommend adding another disk and using ZFS send/receive.

      Personally, I can't wait until I can use ZFS on my external firewire drives. The ability to check the drives for errors periodically is a great feature. It helps to diagnose connectivity and/or hardware issues.

    2. Re:ZFS is overkill for a laptop - for now by laffer1 · · Score: 1

      I suspect it was added to 10.5 for Mac OS X Server! I'm sure home users could eventually need it, but I'm sure an xserve is a data center attached to an xserve raid might be a better target. Lets face it, HFS+ isn't going anywhere just yet. They also include UFS support which is sometimes used on servers as well. I'm interested in this for the CS servers I administer and not for any client uses at this time.

      Most (if not all) posts seem to direct this to a Mac Book Pro or something. I don't get it.

    3. Re:ZFS is overkill for a laptop - for now by BeerCat · · Score: 1

      We will probably never need a 128-bit filesystem (unless we actually want to build hard drives the size of planets with single-atom sectors)

      Which would spend 10 million years to come up with "What do you get when you multiply six by nine", no doubt
      --
      "She's furniture with a pulse"
    4. Re:ZFS is overkill for a laptop - for now by Jeff+DeMaagd · · Score: 1

      I don't think anyone has suggested it for notebook or typical desktop computers. I would imagine that HFS+ will scale well for a long time.

      I think ZFS is probably for their servers and workstations, especially when you connect to stuff like the Xserve RAID.

    5. Re:ZFS is overkill for a laptop - for now by bakerzdosen · · Score: 1

      I doubt anyone will read this far down, but this is a good explanation of one reason why that assumption is incorrect. http://uadmin.blogspot.com/2006/05/why-zfs-for-hom e.html

    6. Re:ZFS is overkill for a laptop - for now by TheRaven64 · · Score: 1

      That doesn't really apply to OS X. All that complexity for creating a RAID array is hidden behind about three mouse clicks in Disk Utility. Backups are also pretty easy. Snapshots are useful to a home user but, as I said, you don't need ZFS for those; FreeBSD supports them for UFS2 and adding them to HFS+ would not be too difficult.

      --
      I am TheRaven on Soylent News
    7. Re:ZFS is overkill for a laptop - for now by Fr.+Teddy · · Score: 1

      Perhaps not. After all, one would hope that the authors of a file system would know that 6*9 is 54. 6*7 is 42.

    8. Re:ZFS is overkill for a laptop - for now by adrianmonk · · Score: 1
      For the average users at the moment, the only real advantage of ZFS would be snapshots, and these are not too difficult to implement for other filesystems.

      Another possible benefit is write performance. Because ZFS does writes by copying the updated data to a new location (instead of going back to the original location to update it), it can essentially turn random writes into sequential access. That should be a good thing on a laptop since laptop hard drives typically have low rotational speeds and thus less than impressive performance.

      Or to put it another way, to the extent that ZFS provides better performance than HFS+ (which is a complex thing!), it is an excellent candidate for use on a laptop, because laptop hard drives are some of the slowest drives in use these days.

    9. Re:ZFS is overkill for a laptop - for now by BeerCat · · Score: 1

      6 x 9 = 42, but only in base 13. (Douglas Adams had that one pointed out to him after he wrote it)

      --
      "She's furniture with a pulse"
    10. Re:ZFS is overkill for a laptop - for now by Fr.+Teddy · · Score: 1

      If only filesystems utilised base 13 in a big way.

    11. Re:ZFS is overkill for a laptop - for now by TheRaven64 · · Score: 1

      The disadvantage of the copy-on-write thing is that it leads to fragmentation (write a file contiguously, re-write a block in the middle, and now the file is in three non-contiguous parts), which gives slower read times. If you look closely at the design of ZFS, you will see that it makes quite a few assumptions that only really make sense with solid state storage. Wait a couple of years until we start seeing Flash drives on laptops and it will give much better performance (and longer disk life).

      --
      I am TheRaven on Soylent News
  21. I read that as Z.P.M... by mtec · · Score: 0, Offtopic

    I thought, "That'd be powerful"...

    I'm such a geek.

    --
    Cake or Death? Cake Please!
    1. Re:I read that as Z.P.M... by Anarke_Incarnate · · Score: 1
      High level awesomeness for both the ZPM reference and your sig.

      Have you got a flag?!

  22. ZFS vs HFS vs NTFS? by Bonker · · Score: 5, Insightful

    The tech behind ZFS at least sounds very impressive, but I have to wonder how useful it is for workstation drives.

    I've never found plain-Jane posix permissions to be all that useful on anything other than the most basic of server environments.

    HFS has going for it all the fun stuff we've come to love apple for, such as transparent file customization like icons, labels, meta data, and whatnot through resource forks. I assume that these can be made to work with ZFS by making hidden files.

    What I'd really like to see is both that kind of functionality along with NTFS's really excellent ACL permission system implemented. ACL permissions are a godsend for people responsible for running a file store that's used by humans as opposed to automated processes. NTFS also has a great deal of capacity for meta-data, although not to the same level as HFS.

    NTFS is one of the few worthwhile things that's ever come out of Redmond. I wish more people would spend a bit learning from it without throwing it away simply because it's MS bloat.

    --
    The next Slashdot story will be ready soon, but subscribers can beat the rush and slashdot the links early!
    1. Re:ZFS vs HFS vs NTFS? by pesc · · Score: 5, Insightful

      NTFS is one of the few worthwhile things that's ever come out of Redmond. I wish more people would spend a bit learning from it without throwing it away simply because it's MS bloat.

      I wish MS would let us. NTFS is worthless if you don't run Windows. And it hinders interoperability with other systems because its implementation and disk layout is secret/patented.

      Why, do you think, there is no stable implementation that can write NTFS volumes (other than the MS implementation)?

      Contrast this with ZFS which is released under an open source license.

      --

      )9TSS
    2. Re:ZFS vs HFS vs NTFS? by UtucXul · · Score: 4, Insightful
      NTFS is one of the few worthwhile things that's ever come out of Redmond. I wish more people would spend a bit learning from it without throwing it away simply because it's MS bloat.
      I think the negative opinion some people (including me) have of NTFS come not directly because it is from MS, but come from the incompatibility with everything else. I can't (reliably) read/write to it from a Mac, Linux, or Sun. That leaves only people totally in the MS camp able to use it. It may have some nice technical features, but I can't ever see them, so it is a little hard to be impressed or care about them too much.
    3. Re:ZFS vs HFS vs NTFS? by pesc · · Score: 4, Informative

      I've never found plain-Jane posix permissions to be all that useful on anything other than the most basic of server environments. ...
      What I'd really like to see is both that kind of functionality along with NTFS's really excellent ACL permission system implemented.


      I wish you could read more about ZFS before suggesting how you could improve it by adding ACLs. It already supports them!

      http://blogs.sun.com/marks/entry/zfs_acls

      --

      )9TSS
    4. Re:ZFS vs HFS vs NTFS? by More+Trouble · · Score: 4, Insightful
      HFS has going for it all the fun stuff we've come to love apple for, such as transparent file customization like icons, labels, meta data, and whatnot through resource forks. I assume that these can be made to work with ZFS by making hidden files.

      You assume correctly, since most of that business is taken care of with Bundles. This is why it more or less works on UFS, which is already supported on Mac OS X, and has been for years. Forks & whatnot are really a legacy idea.

      What I'd really like to see is both that kind of functionality along with NTFS's really excellent ACL permission system implemented.

      That's funny! The HFS+ ACL system is Microsoft's ACL system, much to the chagrin of the Unix community.

      :w
    5. Re:ZFS vs HFS vs NTFS? by walt-sjc · · Score: 1

      I assume that these can be made to work with ZFS by making hidden files.

      Using hidden files for the resource forks would also make backups WAY WAY easier and more reliable than what is available now.

    6. Re:ZFS vs HFS vs NTFS? by orgchartleafnode · · Score: 3, Interesting
      What I'd really like to see is both that kind of functionality along with NTFS's really excellent ACL permission system implemented.

      Mac OS X Server 10.4 (Tiger) already has this. See: http://www.apple.com/server/macosx/fileprint.html

      There is a "File Services" white paper linked off of he above page but here is the relavant marketing:

      New in Mac OS X Server v10.4 are access control lists (ACLs), providing flexible file system permissions that are fully compatible with Windows Server 2003 Active Directory environments and Windows XP clients.
    7. Re:ZFS vs HFS vs NTFS? by Circuit+Breaker · · Score: 3, Informative

      A deadline scheduler (a-la ZFS) is wonderful when multitasking disk heavy apps. That does not happen too often on a laptop (or a desktop, for that matter), but I've had Windows (and on rare occasions, even Linux) work horribly under such load. ZFS' "worst case behaviour" is supposed to be significantly better than any other system in use today.

      NTFS's ACL system is horrible. While it has a lot of descriptive power, it's a pain to manage, the result being that it is almost never used. The old Unix model, while simple, is easy to manage, and as a result is often set up reasonably. Novell's "Trustees" model works much better than either, but for some reason it wasn't adopted by others.

      NTFS is slow and inefficient, fragments horribly, and lacks fundamental features such as proper symlinks (and only supports directory hardlinks). It has a reasonable journal implementation, and it supported large files before other systems did, but it's very outdated and does not compare favourably with any of the modern high performance file systems.

    8. Re:ZFS vs HFS vs NTFS? by Anonymous Coward · · Score: 0

      ACL's are supported in almost every modern FS nowadays. HFS+, ext2/3, ReisferFS, XFS, JFS, they all support powerful ACL systems so I don't know what you are talking about (I suspect you don't either). Ever hear of POSIX ACL's?

    9. Re:ZFS vs HFS vs NTFS? by mrsbrisby · · Score: 1
      I've never found plain-Jane posix permissions to be all that useful on anything other than the most basic of server environments.
      And what kind of expert are you exactly?

      What I'd really like to see is both that kind of functionality along with NTFS's really excellent ACL permission system implemented.
      NTFS ACLs are confusing. As useful as they may be, real human beings don't know about them or care about them. You know, the kinds of real human beings that use workstations.

      Never mind that ZFS actually does support the expressive power of NT's ACL format, but like most modern POSIXish filesystems, allows you to use those "plain-jane posix permissions" that are simpler, and more apparent (and therefore much less error-prone) when they will be satisfactory.

      NTFS also has a great deal of capacity for meta-data, although not to the same level as HFS.
      What time warp did you fall out of? NTFS has many more places to smuggle metadata away than HFS. The problem with metadata on NTFS is that nothing on Windows supports the concept of sharing metadata. Your NTFS has had streams for years and you never even knew it (more than the "two" streams that HFS supports no less!). Streams and metadata are useless if nobody uses it.

      The best thing about HFS is Apple, encouraging everyone by example to make excellent applications and provide the best possible experience to the user. Technical expertise aside, NTFS's streams support is actually a security risk simply because nobody knows about them (so nobody knows that file.exe::hidden-secret-data is a real file!).

      If you had real complaints about ZFS, they might be that growing still sucks, so having to simulate quotas still sucks.

      ... I assume that these can be made to work with ZFS by making hidden files.
      I saved this for last because it's important: The real difference between resource/data forks, and hidden files isn't a technical one, but a practical one. If every mac administrator knows how to use resedit to look for metadata, then metadata is an unlikely place to hide things. But if nobody running windows knows about named streams, the only thing that'll be in a named stream is evil- so one day, people simply decide that all named streams are evil and ban them forever. Once this occurs, virus scanners "quarantine" named streams, and even start scaring the pants off the user about them. ... and at this point, it's too late: named streams are useless because nobody can use them anymore.

      NTFS is one of the few worthwhile things that's ever come out of Redmond. I wish more people would spend a bit learning from it without throwing it away simply because it's MS bloat.
      The best parts of NTFS are the parts that are exactly the same as HPFS386. The parts they absolutely needed to fulfil their grandious claims of the CAIRO project are what's worthless.
    10. Re:ZFS vs HFS vs NTFS? by Anonymous Coward · · Score: 0

      ACL support has been in UFS2 for a good while. It's enabled by default on FreeBSD; I don't remember if that's the case on OS X, but it's been possible to enable it for a couple of releases.

    11. Re:ZFS vs HFS vs NTFS? by EXrider · · Score: 1

      One of my gripes about NTFS is the fragmentation is often ridiculously out of control.

      I have several server volumes that look like this for example.

      --
      grep -iw skynet /etc/services
    12. Re:ZFS vs HFS vs NTFS? by 99BottlesOfBeerInMyF · · Score: 1

      What I'd really like to see is both that kind of functionality along with NTFS's really excellent ACL permission system implemented. ACL permissions are a godsend for people responsible for running a file store that's used by humans as opposed to automated processes.

      Others have already pointed out that ZFS supports fine grained ACLs, but I thought I'd add an interesting sidenote to that. Apple also listed support for ACLs in the form of Mandatory Access Controls ported from TrustedBSD to the official feature set of Leopard, but just recently pulled all mention of this framework from their public documents for developers not under NDA. Whether this means they are part of a "top secret" addition that leaked, or simply are not going to be ready for Leopard is anyone's guess.

      NTFS is one of the few worthwhile things that's ever come out of Redmond. I wish more people would spend a bit learning from it without throwing it away simply because it's MS bloat.

      NTFS is a reasonable filesystem as far as features are concerned, but not really ahead of the pack as far as what is "out there" IMHO. Also, the giant anti-feature of it being patented, obfuscated, and intentionally incompatible with other players pretty much makes it a non-starter for everyone.

    13. Re:ZFS vs HFS vs NTFS? by Ash-Fox · · Score: 1
      NTFS ACLs are confusing. As useful as they may be, real human beings don't know about them or care about them. You know, the kinds of real human beings that use workstations.
      I do think they're easier for a novice to understand than Unix's extra/user/group/other permissions.
      --
      Change is certain; progress is not obligatory.
    14. Re:ZFS vs HFS vs NTFS? by fuzzylollipop · · Score: 0, Flamebait

      NFS didn't "... come out of Redmond ..." Microsoft _bought_ it from another company. so nothing worthwhile has actually " come out of Redmond " in the sense you use.

    15. Re:ZFS vs HFS vs NTFS? by Anonymous Coward · · Score: 0

      resource forks are pretty much deprecated in os x.

    16. Re:ZFS vs HFS vs NTFS? by mrsbrisby · · Score: 1
      One of my gripes about NTFS is the fragmentation is often ridiculously out of control.
      Yeah, I don't hear this as being uncommon either.

      But the real question is, does iobench show performance loss as the result of that fragmentation?
    17. Re:ZFS vs HFS vs NTFS? by EXrider · · Score: 1

      Is there a win32 version of iobench? I thought it only ran on Unix, last I heard.

      --
      grep -iw skynet /etc/services
    18. Re:ZFS vs HFS vs NTFS? by mrsbrisby · · Score: 1
      NTFS ACLs are confusing. As useful as they may be, real human beings don't know about them or care about them. You know, the kinds of real human beings that use workstations.
      I do think they're easier for a novice to understand than Unix's extra/user/group/other permissions.
      I don't think so.

      I think novices have an easier time clicking buttons randomly and getting a wrong (but working!) ACL set, than they do picking random numbers to feed into chmod, but I wouldn't say for a minute either novice really understands them.

      Besides, novices aren't really exposed to ACLs all that often. If they are, something else is wrong, because on a personal computer, there are no other "entities" that need access to files, so ACLs aren't terribly used anyway, unless of course your novices know what changing the rights for IWAM_DS261841 might do, and in the workgroup environment, if you have a novice managing your fileserver security, you deserve whatever comes of it.

      In practice, I've taught users to share files on unix and to share files on windows, and believe it or not, you can tell novices "to share a file with everyone type ``ln filename /public''" and they'll get it right 100% of the time, but you say "now open //files/public in a new window, now resize them so they're not fullscreen, okay, now hold alt and drag from one to the other, and then stop using the original and only edit on the server" (etc), and you'll find them holding shift, or trying all kinds of other things.

      They get confused easily, not just because it's not their job, but because explaining spatial tasks is harder than telling them what to type.

      Now, novices tend to feel more comfortable exploring spatially on their own, that doesn't really mean they understand it, nor are translating what they want to do into the actions to perform any more effectively. Maybe exploration is what people mean by "easy to use", but in the real workplace, I don't want my users to explore- they've got work to do.
    19. Re:ZFS vs HFS vs NTFS? by mrsbrisby · · Score: 1
      Is there a win32 version of iobench? I thought it only ran on Unix, last I heard.
      It seems to me that you might be right. Oh well, there should be a good I/O testing framework for windows that should be able to answer the question :)
    20. Re:ZFS vs HFS vs NTFS? by 2ms · · Score: 1

      NTFS is one of the few worthwhile things that's ever come out of Redmond. Except that what became NTFS was originally developed at DEC. It only became NTFS after MS hired away DEC's file system guys, if I'm not mistaken.

    21. Re:ZFS vs HFS vs NTFS? by guruevi · · Score: 1

      NTFS is to HPFS what FAT32 to FAT12 is... a stolen, outdated technology with an extension and some proprietary stuff. The implementation is limited to some 16TB (ask any (enterprise) Exchange Admin why that matters), it isn't a transactional filesystem, it misses POSIX-compliance and half of the implementation is closed to anyone but Microsoft.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    22. Re:ZFS vs HFS vs NTFS? by asuffield · · Score: 1

      NTFS shares a lot of common structures with IBM's HPFS, from OS/2. This isn't very surprising, because Microsoft have full access to the HPFS source. The exact geneology of this misbegotten filesystem is murky, but it would probably not be too inaccurate to say that it's HPFS, chewed a bit by the DEC crew, and then with ACL support crudely nailed to it.

    23. Re:ZFS vs HFS vs NTFS? by Russ+Nelson · · Score: 1

      "Chagrin"? Unix filesystems don't need ACLs; they already have fine-grained permissions in user / group / other permissions. Yes, it requires better (translation: automated) management of groups than most people pursue, but everything you want is there.

      --
      Don't piss off The Angry Economist
    24. Re:ZFS vs HFS vs NTFS? by mr_zorg · · Score: 1
      What I'd really like to see is both that kind of functionality along with NTFS's really excellent ACL permission system implemented. ACL permissions are a godsend for people responsible for running a file store that's used by humans as opposed to automated processes.
      Actually, OS X.4 (Tiger) supports ACL's too.
    25. Re:ZFS vs HFS vs NTFS? by Anonymous Coward · · Score: 0

      > Unix filesystems don't need ACLs; they already have fine-grained permissions in user / group / other permissions.

      Clearly you lack the faintest clue of what "fine grained" means. Don't need no iron tools, got my rock. Good ol rock.

    26. Re:ZFS vs HFS vs NTFS? by Anonymous Coward · · Score: 0

      Is there a free HFS+ read/write utility for windows/linux environments?

    27. Re:ZFS vs HFS vs NTFS? by the_B0fh · · Score: 1

      Umm, please, NTFS is VMS FS. People who took a look at NTFS in NT4 said it looked *very* similar to VMS even down to the disk level. And if you look at ACLS, it's ACLs from VMS.

      *sigh* Please remember, Microsoft does not create or invent anything new. They either copy, or buy it. Try to keep up.

    28. Re:ZFS vs HFS vs NTFS? by More+Trouble · · Score: 1

      Perhaps you should review what "chagrin" means. Unix has ACLs. HFS+ has non-Unix ACLs. Get the point, now? Also, there's a (usually pretty small) limit to the number of groups you can be in.

    29. Re:ZFS vs HFS vs NTFS? by Bake · · Score: 1

      Ah, this must be some strange use of the term "fine-grained" I wasn't previously aware of.

      Tell me, using your "fine-grained" user/group/other permissions, how would you go about implementing granting read/write access to a folder to 5 users and read-only access to another 3 users while denying everyone else access to said folder.

      This is a fairly simple example.

    30. Re:ZFS vs HFS vs NTFS? by irgu · · Score: 1

      ntfs-3g has stable write for months. Many distro use it already: http://ntfs-3g.org/
      It's also open source, so you can learn from it as you wished ;-)

    31. Re:ZFS vs HFS vs NTFS? by TilJ · · Score: 1

      If what you want is fine-grained ACLs, why would you specify ntfs? Standards based, man, standards based. IEEE 1003.1e (aka POSIX.1e) defines filesystem ACLs and much more.

      --
      "The purpose of argument is to change the nature of truth." -- Bene Gesserit Precept
    32. Re:ZFS vs HFS vs NTFS? by Anonymous Coward · · Score: 0

      ok, without ACLs, how do you set things up so userA owns a directory, everyone in group B can rw the directory, and userC, userD (both not in group B) can rw the directory, and userE (who isn't in groups B or F) and group F can only read the directory, and no one else can access it at all?

      Tard.

    33. Re:ZFS vs HFS vs NTFS? by Anonymous Coward · · Score: 0

      Better still, one user r/w/x (owner); twelve users with r/w, one user with read only and only domain users (others)write only access.

      NTFS, especially in conjunction with Active Directory, will do it. Still waiting for more fine grained permissions/groups/universal groups etc for HFS+ and OS 10 in general. Open Directory is no help here and I won't even begin to explain my frustrations with OD and permissions - can you have Directory Services admins, or do I need to hand out the root PW to every admin in the enterprise?

      Please tell me I'm wrong and point to a URL saying that HFS+ or anything else under Mac OS X can be done as mentioned above.

    34. Re:ZFS vs HFS vs NTFS? by norkakn · · Score: 1

      Hi AC, you will probably never read this, so I won't waste much time.

      man chmod
      chmod "everybody allow read" directory

      ditch the WGM
      if you want them to be admins, which you don't, use the "administer this directory domain"
      It's better to do it in ldap though.

    35. Re:ZFS vs HFS vs NTFS? by Ash-Fox · · Score: 1
      Besides, novices aren't really exposed to ACLs all that often. If they are, something else is wrong, because on a personal computer, there are no other "entities" that need access to files, so ACLs aren't terribly used anyway, unless of course your novices know what changing the rights for IWAM_DS261841 might do, and in the workgroup environment, if you have a novice managing your fileserver security, you deserve whatever comes of it.
      Guess you've never seen a 'family' computer.
      In practice, I've taught users to share files on unix and to share files on windows, and believe it or not, you can tell novices "to share a file with everyone type ``ln filename /public''" and they'll get it right 100% of the time, but you say "now open //files/public in a new window, now resize them so they're not fullscreen, okay, now hold alt and drag from one to the other, and then stop using the original and only edit on the server" (etc), and you'll find them holding shift, or trying all kinds of other things.
      I've managed to get people who aren't really computer literate to use ACLs from the security preferences tab under Windows, without teaching them. They've figured out themselves how to deny/allow specific groups and users. I haven't even had to tell them that deny takes presidence over allow, since the system warns them about it.

      Doing the same with Unix extra/user/group/other permissions... Well -- even I have problems doing that. Allowing all users, but denying a specific user? I actually have to think very hard on the best way to-do that.
      --
      Change is certain; progress is not obligatory.
    36. Re:ZFS vs HFS vs NTFS? by drsmithy · · Score: 1

      NTFS shares a lot of common structures with IBM's HPFS, from OS/2. This isn't very surprising, because Microsoft have full access to the HPFS source.

      Of course they have "full access" to the HPFS source - they wrote it (heck, IBM were still paying Microsoft royalties for HPFS with Warp 4.0).

      The similarities between HPFS and NTFS are superficial, at best.

      The exact geneology of this misbegotten filesystem is murky, [...]

      I suggest "Inside NTFS". It should help you out with that "murkiness" you think exists.

      [...] but it would probably not be too inaccurate to say that it's HPFS, chewed a bit by the DEC crew, and then with ACL support crudely nailed to it.

      It would be incredibly inaccurate. There's nothing "crude" about NTFS - it was designed from scratch for Windows NT (although late in the NT development cycle) and was extremely advanced for its day.

    37. Re:ZFS vs HFS vs NTFS? by adrianmonk · · Score: 1
      Contrast this with ZFS which is released under an open source license.

      Indeed. If you should wish to make your own implementation of ZFS, you don't even need to look at the source code. Just read the (draft) spec of how things are laid out on disk with ZFS. Warning: the spec document is a PDF.

    38. Re:ZFS vs HFS vs NTFS? by Anonymous Coward · · Score: 0

      It is really great for workstations, snapshots and clones are ideal for experimenting and they just work instantly with zfs.

    39. Re:ZFS vs HFS vs NTFS? by bensch128 · · Score: 1

      Doing the same with Unix extra/user/group/other permissions... Well -- even I have problems doing that. Allowing all users, but denying a specific user? I actually have to think very hard on the best way to-do that.

      Thats because Unix e/u/g/o premissions are used to give access, not deny access. There is no concept of deny access.
      The best answer is to group all of the users you want to have access to a resource into a group and then make the resource group rwx.
      Of course, normal users can't create groups and add users to it so this isn't very flexible...

      Cheers
      Ben

    40. Re:ZFS vs HFS vs NTFS? by afidel · · Score: 1

      Limiting a volume to 16TB doesn't matter a lick for Exchange, no single DB should be anywhere NEAR that big, past a couple tens of GB you can't do maintenance on the DB within any reasonable maintenance window. I have known some Exchange admins that say to just use a scratch DB and move the users then drop and recreate the DB, but that is simply masking the problem, and possibly taking the corruption with the moved data. I have seen some spectacular failures with the extremely large single cluster model of Exchange design and so I would not recommend it to anyone who values their job.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    41. Re:ZFS vs HFS vs NTFS? by afidel · · Score: 1

      That would be Iometer, originally an Intel product, now an open source project. It actually runs on a number of platforms including Windows, Solaris, Linux, and Netware.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  23. It's to support Time Machine by FunWithHeadlines · · Score: 4, Interesting
    See this Ars Technica article where John Siracusa said back in August:
    "For Mac geeks of a certain persuasion, the first mention of a soon-to-be-revealed feature of Leopard during the WWDC keynote set off a mental chain-reaction. That feature was Time Machine, and the name alone was enough to cause one particular phrase to hammer in the mind of many people, including me: "New file system in Leopard!" It was even a bingo square. In fact, it was my personal favorite bingo square, and the one that I most looked forward to marking.

    But let's back up a bit. Why should the mere name "Time Machine" scream "new file system" to anyone? And why the excitement about a new file system in the first place? What's wrong with HFS+, Mac OS X's current file system? It's got journaling. It supports arbitrarily extensible metadata. It can even be case-sensitive to satisfy the Unix geeks. Does Mac OS X really need a new file system?

    In a word, yes. HFS was a state-of-the-art personal computer file system when it was first released...twenty-one years ago. HFS+ is only eight years old, but it's built on many of the design decisions of HFS. Progress marches on. Today, there are new capabilities that the best modern file systems have, but that HFS+, even with all of its recent additions, does not. Here's a short list.

    • Efficient storage and handling of very small files.
    • Logical volume management through a pooled storage model.
    • Improved data integrity using checksums on all data.
    • Snapshots.

    So it's about the snapshot ability of ZFS, and that's exactly what will be needed for Time Machine.

    1. Re:It's to support Time Machine by dr.badass · · Score: 1

      So it's about the snapshot ability of ZFS, and that's exactly what will be needed for Time Machine.

      A little bird told me that the current implementation of Time Machine operates on a much simpler and backwards-compatable principle. It doesn't need ZFS. That said, Time Machine is really more of an interface concept and API -- the back-end could be replaced by ZFS in the future.

      --
      Don't become a regular here -- you will become retarded.
    2. Re:It's to support Time Machine by FunWithHeadlines · · Score: 1
      A little bird told me that the current implementation of Time Machine operates on a much simpler and backwards-compatable principle. It doesn't need ZFS.

      That makes sense since Time Machine will be out with Leopard, and so will ZFS, but most people will not run ZFS drives. Apple will still have to support Time Machine on all the other machines as well. But going forward, it sounds as if ZFS will be ideal for apps such as Time Machine, and in time those apps will run much more efficiently when people move to ZFS.

    3. Re:It's to support Time Machine by asuffield · · Score: 1

      So... Apple needs a new filesystem to accomplish something that I have been doing for years on ext3?

      Here's a one-line implementation of "Time Machine", works on any UNIX filesystem: rsync -a --link-dest=/mnt/backup/yesterday /home /mnt/backup/today

      Or there's about a dozen alternative implementations that do basically the same thing, with more or less degrees of sophistication. The one I use is about 20 lines of shell script and shuffles the backups to keep 35 days worth, plus the first day of each month until it runs out of space. You don't need filesystem support for this. It's what hardlinks are for.

    4. Re:It's to support Time Machine by Wesley+Felter · · Score: 1

      Here's a one-line implementation of "Time Machine", works on any UNIX filesystem: rsync -a --link-dest=/mnt/backup/yesterday /home /mnt/backup/today

      That scans your entire directory structure, which may take a while and pollute your cache (especially if you do it every hour). Time Machine uses callbacks from the kernel to know when files are modified (AFAIK).

    5. Re:It's to support Time Machine by Anonymous Coward · · Score: 0

      What you did was make a copy. Congratulations. However, that is not was a snapshot is. Thank you for playing.

    6. Re:It's to support Time Machine by asuffield · · Score: 1

      You have failed to read the rsync manpage. If you wanted an atomic copy, evms can give you that on any filesystem you like (there is absolutely no sanity in implementing atomic copy at the filesystem level, it's naturally a device-level concept).

    7. Re:It's to support Time Machine by asuffield · · Score: 1

      It's about three lines of shell script longer to do it that way (basically, you shove an inotifywatch call in front of it - only works on linux, but other platforms have equivalents). I prefer not to do it incrementally like that, because it disrupts normal operation by spending CPU and IO time on running backups - I schedule my backups for when I am sleeping to avoid this - but it's really really easy to do if you want to.

  24. Addition by Udo+Schmitz · · Score: 1

    In this forum they duiscuss build 9A326 and ZFS. Some posters mention, that you can choose ZFS but it doesn't work (yet) and/or that you can't install OS X on it.
    And then I notice that the official name of ZFS is ZFS these days: "The name originally stood for "Zettabyte File System", but is now a pseudo-initialism." Someone should tell Apple.
    P.S.: What about my rewritten in cocoay goodness Finder? Pretty please?

    1. Re:Addition by egomaniac · · Score: 1

      In this forum they duiscuss build 9A326 and ZFS. Some posters mention, that you can choose ZFS but it doesn't work (yet) and/or that you can't install OS X on it.

      I'm running 9A326, and I can confirm that while ZFS does indeed show up, it basically doesn't work at all. It's possible to (if the planets are properly aligned) format a partition ZFS, but it's incredibly unreliable -- I've gotten hangs, kernel panics, long delays trying to mount the drive, and reports that the drive is unreadable. It shows up on my desktop (with a folder icon rather than a volume icon), and it won't let even my Admin account modify it without authenticating. The filesystem doesn't show up under /Volumes, the physical disk no longer shows up under /dev... the list goes on.

      But at least when I copy data into the "folder", it's unquestionably ending up on my ZFS-formatted external hard drive, so at least that much works. However, it's as far as I can tell pretty much impossible to "really" use due to the permissions issues. Some actions, like deleting files, don't give me the chance to authenticate, they just tell me I don't have sufficient permissions. Normally I'd just use the command line, where I can sudo, but because the drive doesn't show up under /Volumes, I don't know how to access it from the command line. I haven't yet tried using the zfs utility to specify a mount point for it, but I did verify that zfs' man page specifies a default mount point of /Volumes/<fs>, so it should already be there.

      Of course, none of this should be taken as a complaint against Apple. They never said, even in the developer seed notes, that ZFS was working yet, so it's hardly surprising that it's so broken at the moment. I have no doubt that it will be rock-solid by the time Leopard ships, and I can't wait. Honestly ZFS is the most important new feature in Leopard from my perspective... and if they just get Time Machine working with ZFS snapshots (instead of separate copies as it does today) then I am in OS nirvana.

      --
      ZFS: because love is never having to say fsck
    2. Re:Addition by egomaniac · · Score: 1

      Ok, it turns out that the filesystem is mounted at the root rather than under /Volumes, and that I can indeed move the mount point around. The zfs command seems to mostly work, but I got a couple of kernel panics while playing with it (most recently from trying to destroy a snapshot). So, while the fact that ZFS is coming is very exciting, I don't really think it's worth messing with at the moment. It's far too flaky to trust with any meaningful data, so beyond a "cool, it's going to work eventually!" there's not much else to do with it.

      --
      ZFS: because love is never having to say fsck
  25. ZFS + Timemachine by jbolden · · Score: 2, Interesting

    With ZFS we might be able to get some very powerful backup features into OSX. Most binaries files don't change most of their content, ZFS makes it possible to due meaningful differential backups on large binary files. So for example 200 versions of a word doc with sounds and pictures that got revised over 6 months get stored in maybe 3x the space of the last revision. Emails with the same attachments get stored in just a few k rather than taking a meg each.... If Apple has this all working together by 10.5 then TimeMachine will work far far better then people currently expect it to. A 50g drive will be backing up a terabyte of worth of files.

    1. Re:ZFS + Timemachine by Wesley+Felter · · Score: 1

      So for example 200 versions of a word doc with sounds and pictures that got revised over 6 months get stored in maybe 3x the space of the last revision.

      Applications usually rewrite the whole file when you save, which causes ZFS to allocate a complete new copy on disk. ZFS doesn't know that the new data happens to be the same as the old data.

      Emails with the same attachments get stored in just a few k rather than taking a meg each....

      Nope; if you write the same contents to two different files, ZFS stores two copies. What you're talking about is de-duplication, which ZFS does not do.

  26. What? Of course it is by masklinn · · Score: 2, Interesting

    if it is not meant to replace HFS+, could there be any other reasons to support ZFS?

    The answer is that it probably is meant to replace HFS+, but since ZFS is not bootable yet (including for Solaris 10) Apple can take the time to introduce ZFS, build tools for easier management, and let people get familiar with the FS before they have to drop HFS+.

    HFS' lifetime has already stretched far beyond what it should have, it's time for Apple to think of its next generation FS, and ZFS is an extremely promising FS with heaps of amazing features Apple has already started to integrate into its UIs with Leopard (Time Machine + ZFS Snapshots anyone?).

    ZFS also shows strong promises as both a home and a server FS.

    --
    "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    1. Re:What? Of course it is by Bake · · Score: 1

      Maybe not bootable in the wild, but about a little over a year ago ZFS was successfully booted on Solaris on X86 according to this blog:

      http://blogs.sun.com/tabriz/entry/zfs_boot

    2. Re:What? Of course it is by Anonymous Coward · · Score: 0

      Yes, because there's so many people running Solaris at home. It's the games. Like the game of trying to find a port of a Linux program you need, that one's the best.

  27. Re: Why? by Anonymous Coward · · Score: 0

    "Though I still wonder: If it is not meant to replace HFS+, could there be any other reasons to support ZFS?" Boot Camp?
  28. Some reasons... by AceJohnny · · Score: 1

    ... because they want an extra edge in the server market? ... because they wanted to grab some free headlines?

    And last but not least: ... because an engineer was bored?

    On a side note, I've read a lot about how ZFS is supposed to be reliable and flexible as hell. Nowhere, however, have I found information about read/write performance. I guess it's a great filesystem for huge mission-critical datasets, but for anybody else? I have my doubts.

    Or can somebody enlighten me?

    --
    Misleading titles? Inflammatory blurbs? Keep in mind that Slashdot is a tabloid.
    1. Re:Some reasons... by geniusj · · Score: 1

      On Solaris I've seen greater read performance (less locking) with worse write performance. However, when you bring the management aspects of it into the picture and all the ease and flexibility it brings, it's worth the very small performance hit we saw with our workload (versus UFS).

    2. Re:Some reasons... by Anonymous Coward · · Score: 0

      Performance is pretty lousy if you're actually using your disk. The allocate-on-write strategy destroys any contiguity that a file might have as soon as you go back and modify it (making it lousy for things like databases). Any time you rewrite blocks in a file, your performance is going to look like random-access to files written in 16k chunks ('cuz it is).

      The checksums also take up a modest amount of compute power, and the commit model implies that for low levels of activity you're writing several times more blocks than you modify (this diminishes to some degree under load). Many users have noticed this in the form of a regular 5-second surge in I/O.

      Overall, it does a pretty good job of keeping things cached, but it wants a lot of memory; if you push on that, it's likely to make your performance suffer.

    3. Re:Some reasons... by mrsbrisby · · Score: 1
      On a side note, I've read a lot about how ZFS is supposed to be reliable and flexible as hell. Nowhere, however, have I found information about read/write performance. I guess it's a great filesystem for huge mission-critical datasets, but for anybody else? I have my doubts.
      It's not really that slow. Writing to the disk sounds bad, but when you understand that writing can occur less frequently with ZFS, it actually ends up feeling faster.

      It of course, doesn't hurt that HFS and UFS are both painfully slow to begin with...
    4. Re:Some reasons... by Anonymous Coward · · Score: 0

      I can. Don't trust everything you read. Take OpenSolaris for a spin, or, if you can't do that yet, try out ZFS fot yourself when it becomes available in OS X.

      ZFS is actually supposed to be the fastest RAID-5 like system yet, because RAID-Z *always* writes full stripe writes. How? Easy. Dynamic striping.

      Which is why one can get away with using disks and even slices of disks combined with whole disks of different sizes and RAID-Z. I tried it. It works. Fast.

      How fast? As fast as your CPU(s) and storage is.

  29. I wonder... by Daishiman · · Score: 1

    I really don't see much use for this in workstations, but for us having a real-life need for this, I'd like to know how it compares in performance to Linux LVM, Veritas File System, AIX LVM with JF2, and NTFS Dynamic Volumes.

    1. Re:I wonder... by Anonymous Coward · · Score: 0

      I see plenty of use for it in workstations.

      Take for example a script that I run when doing some serious software development. Snapshots once a minute for X number of hours is pretty handy when I realize I've gone down the wrong path but don't want to wipe out /all/ of my changes.

      Installing some dodgy software into your home directory? I'd much rather snapshot than tar it prior to installation.

  30. Re:going for Linux incompatibility, it seems by geders · · Score: 1

    I'm actually very curious why Apple does not support ext2/3 "out of the box"? Currently you can "try" to use ext2fs, but that only works from time to time. I would never trust it with real data that cannot be corrupted.

    What is the rational behind not supporting ext2/3 natively in OSX? No demand? It would make our lives a lot easier...

  31. Re:going for Linux incompatibility, it seems by Bralkein · · Score: 1

    ZFS is an impressive filesystem, and Apple have every reason to be interested in it over and above, say, ext3. Of course, Apple aren't the only ones interested in ZFS - I have seen a great deal of excitement in the Linux community, too. I am pretty confident that a Linux driver for ZFS will emerge, and in the long run, I wouldn't be at all surprised if it ended up being a very common filesystem on Linux systems. For anyone wanting (read-only, ATM) access to ZFS partitions on Linux today, there is a ZFS FUSE driver available.

  32. Re:going for Linux incompatibility, it seems by davecb · · Score: 1

    No, they just wanted something that could implement "time machine", their backup-done-right proposal.

    I expect Solaris to be switchd to GPL some time in the GPLv3 era, at which point there won't be a problem porting ZFS to Linux. Not that it was technically difficult to port it to Apple/BSD (;-))

    --dave

    --
    davecb@spamcop.net
  33. Re:Reasons to support? Servers by Anonymous Coward · · Score: 0, Flamebait

    A RAID array won't survive someone dding 40 megs or so to a partition, and reiserfs can hardly be called reliable, seeing as sometimes it just decides to hose the entire partition for no apparent reason. But glad to see you're using them for that, one more retarded uninformed clueless ignorant asshat to deal with.

  34. Re:going for Linux incompatibility, it seems by Anonymous Coward · · Score: 1, Insightful

    Going off on a tangent, it's a little funny that everyone is always going on about how "free" the GPL is, and yet ZFS is open-source, but not useable by Linux because of the GPL. I'm liking the BSD license more every day.

  35. Xsan by Bastian · · Score: 1

    While ZFS might be useful for supporting Time Machine, it's not necessary and I would think that if Apple were including it by default on all Leopard distributions (as they'd have to if it were the underlying technology for Time Machine), they'd probably be talking it up a little bit more right now.

    ZFS is still overkill for most home computing needs, so I'm not sold on it being the default filesystem for OS X installs. My first guess is that it's going to be an option for network-acceccible storage. Something like this would be really killer on an Xsan volume.

    1. Re:Xsan by KonoWatakushi · · Score: 1

      How can a good filesystem be overkill? In any case, a filesystem's primary goal is to store and retrieve data correctly. HFS+ makes no guarantees about this.

      Data integrity is just as important for home computing needs, perhaps more so.

  36. Checksumming != no data corruption by Viol8 · · Score: 1

    From the article:

    "Finally the most important feature of data integrity os check summing and everything on ZFS is checksummed meaning zero data corruption."

    Umm , last time I looked checksumming merely told you if there WAS data corruption , it doesn't prevent it. Does ZFS has some other method to prevent data corruption (eg for a gone bad sector etc) or does it just flag a file as corrupted and leave it up to you what to do next?

    1. Re:Checksumming != no data corruption by Anonymous Coward · · Score: 1, Informative
      Umm , last time I looked checksumming merely told you if there WAS data corruption , it doesn't prevent it.


      If you have a mirror (RAID 1), you have two copies of the data. When a process requests a read, it gets a copy of the data and does a checksum. If the checksum fails ZFS is smart enough to know that since there's a mirror there's a second copy of the data. It then goes to the second copy and checksums that. If it passes the data is passed to the process, and the bad data is updated with the good data. If the second copy fails its checksum then ZFS returns an error to the process and you've lost your data (which is no worse then what most file systems do today since they don't have checksumming).

      If your data is on a ZFS RAIDZ volume (~ RAID 5), then if the checksum fails you can rebuild the data from the parity information.

      Most (all?) file systems available today don't have built-in checksumming, so you when request/get data you actually don't know if it's valid. You simply assume that everything from the read from the disk is okay.
    2. Re:Checksumming != no data corruption by multipartmixed · · Score: 1

      Depending on the checksum type, it is indeed possible to recover corrupted data. For a concrete example, consider the case of RAID 5.

      --

      Do daemons dream of electric sleep()?
    3. Re:Checksumming != no data corruption by Wesley+Felter · · Score: 1

      If your data is on a ZFS RAIDZ volume (~ RAID 5), then if the checksum fails you can rebuild the data from the parity information.

      Since the checksum is over the whole stripe, if the checksum is wrong you don't necessarily know which sector within the stripe is corrrupted and needs to be recovered. However, silent disk corruption seems to be much rarer than outright disk failures.

    4. Re:Checksumming != no data corruption by prosys · · Score: 1

      Every Block is checksummed in ZFS, and the checksum is held in a different part of the disk, not just tacked on the end of the block of data you just read.. so silent corruption is far less likely.. so you KNOW that everything you read from ZFS is good or bad, and if ZFS has a copy of data flagged as bad, due to the user setting up a mirror, then ZFS will try copy that and, if possible, provide you with the good data and fix the bad data in the broken copy in the background... The RAID 5 implementation (RAID-Z in ZFS terms) goes a step further and allows correction of corrupted stripes from mirrors or parity copies, and stripes are variable width, not fixed width like RAID 5.

    5. Re:Checksumming != no data corruption by Anonymous Coward · · Score: 0

      No.

      Checksumming is just what the name implies - a check.

    6. Re:Checksumming != no data corruption by squiggleslash · · Score: 1
      Checksumming is frequently used to recover data. You can get especially good results when you use it with a matrix of checksums. For example (using ordinary checksums below for readibility, rather than CRCs which are more common):

      + 4 9 5 5 9 8
      9 1 2 2 0 3 1
      8 2 0 0 3 3 0
      5 0 1 1 1 1 1
      9 0 4 0 0 0 5
      6 1 2 2 0 1 0
      3 0 0 0 1 1 1

      The data is the 1 2 2 0 3 1 2 0 0 3 3... bit.

      Now, suppose you try to read the below, and several bytes are missing/corrupted, in various places:

      + 4 9 5 5 9 8
      9 1 2 2 0 3 1
      8 2 0 0 X 3 0
      5 X X X X X X
      9 0 4 0 0 0 5
      6 1 2 2 0 1 0
      3 0 0 0 1 1 1
      You can recover the above fairly easily. Most of the numbers on the third row can be calculated by summing the other columns and subtracting it from the checksum, for example, the first column is 4-(1+2+1) = 0, the next is 9-(2+4+2)=1, etc. Using this method, you can recover the values for all but column 4.

      Now, in column four, the number missing on the second row can be calculated again by taking the checksum of that row and subtracting the total of the remaining values. 8-(2+3)=3, so that number's 3. You can then do the same operation on the remaining missing value on the third row, either vertically or horizontally.

      The system can be made more and more robust by increasing the number of dimensions of the matrix. The above wouldn't survive, say, two whole rows or columns missing, but add a third dimension and you can make it more difficult to lose blocks of data in that way. And the dimensions don't have to be defined in simple cartesian terms either - obviously the less the dimensions resemble the structure of the disk storing the data, the less likely it is that blocks will be lost that can't be recovered easily.

      This is not a new mechanism. Some of the file transfer and error correction protocols for modems in the mid-eighties made use of the technique and it probably dates back earlier than that. A system called "PAR2" is popular on Usenet for transmitting large binaries, the idea being that if someone can only download 90% of a file, downloading most of the PAR2 blocks that go with it will be enough to recover the remainder of the file, regardless of what part of the file was missing.

      It's rather cool really.

      --
      You are not alone. This is not normal. None of this is normal.
  37. They already have UFS, and don't use it... by argent · · Score: 2, Interesting

    They already have UFS and don't make it really usable, even after making a big deal about it being updated to the latest version from FreeBSD in Panther. It's a shame, too, because while HFS+ has a lot of nifty features all of them could be emulated over UFS or ZFS or any other file system (by putting the hooks for applications like Spotlight in the vnode layer rather than the file system - the vnode layer already has most of the hooks Spotlight needs), it falls far behind UFS in terms of reliability.

    In fact HFS+ is *so* bad that if it wasn't for a couple of apps that absolutely freak out if they don't have their pet un-emulated feature I would have gone to UFS long since... even if I lost Spotlight completely. Until my Mac I had never run into a file system that wasn't so badly damaged as to be unbootable that coudn't be repaired by fsck... but apparently with HFS+ just running it "too full" can trash it, and I lost my system disk on my old G4 three months running because of that!

    So I wouldn't hold out any expectations of ZFS being implemented in any useful way. They already have better file systems than HFS+ and they're not using them.

  38. Re:going for Linux incompatibility, it seems by Anonymous Coward · · Score: 0
  39. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 1

    No, they just wanted something that could implement "time machine", their backup-done-right proposal.

    There are several open source file systems that support time-machine like functionality. Nor is there anything particularly new about "time machine"--it's a well-known approach that works fairly well in some circumstances and not at all in others.

    I expect Solaris to be switchd to GPL some time in the GPLv3 era, at which point there won't be a problem porting ZFS to Linux.

    Perhaps, or perhaps not. Either way, it won't make a big difference to Linux. Ext3 is actually a good design; its deliberately limited feature set is what makes it good.

  40. any reason by l3v1 · · Score: 1

    could there be any other reasons to support ZFS

    Could it be that the guy was raised on Windows ? Or what ? I mean, in the real world, there are more file systems that the one which your OS uses by default. And adding native support for them is not a questionable move, it's an applaudible move.

    Hell, I remember what a happy day it was when I found crossmeta's xfs reading tools for Windows. Things like this shouldn't be a thing to raise an eyebrow for. What you all should raise your eyebrows for is why some OSes repetitively do not want to add native support for widespread file systems.
     

    --
    I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
  41. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 1

    For anyone wanting (read-only, ATM) access to ZFS partitions on Linux today, there is a ZFS FUSE driver available.

    Yes, that's the typical Apple solution: you can sort of use it, but if you really want to use it, you have to commit to using OS X. It's not a good proposition.

    I am pretty confident that a Linux driver for ZFS will emerge, and in the long run, I wouldn't be at all surprised if it ended up being a very common filesystem on Linux systems.

    I seriously doubt there will be an independent implementation of ZFS; that work would probably go into ext5. Even if there were (or if ZFS becomes GPL compatible), I doubt it will get much traction: Linux has had more powerful file systems than ext3 for many years, and people choose not to use them. Impressive feature lists don't make a better file system.

  42. Maybe I'm just paranoid... by ptomblin · · Score: 1

    ...but if I were on a closed alpha or beta program, I'd be real cagey about posting screen shots. I think it wouldn't be that hard to embed a steganographic code on the screen so the company doing the beta would know who leaked. Is there some sort of random noise filter that would remove anything like that?

    --
    The next Cmdr Taco duplicate will be ready soon, but subscribers can beat the rush and see it early!
    1. Re:Maybe I'm just paranoid... by pboulang · · Score: 1

      Yep, it's called jpg

      --

      This comment is guaranteed*

      *not guaranteed

  43. Re:Reasons to support? Servers by walt-sjc · · Score: 1

    I, for one, would really like to see the Apple guys create an enterprise-class server. The XServe gets close, but fails as it is missing a OOB management processor (see HP's ILO for an example of how to do it right) and requires funky button pushing operations to do some things. No, ILO is not the same as an IP-KVM or serial console, which only handle 50% of all the functionality needed.

  44. The Sun/Apple Juggernaut. by Anonymous Coward · · Score: 0

    We might be seeing the first stages of a Sun/Apple alliance. I don't suspect we'll see a merger anytime soon, if ever, but increasing cooperating between the two would be a sensible thing to do. It's the only way they can rival Microsoft.

    Sun offers superior server performance, while Apple of course handles desktops and workstations with ease. With increased interoperability between the two, corporate customers can take advantage of high-performance Sun servers running Solaris, connected to by usable and reliable Mac OS X desktops from Apple. In short, they get everything they get from a Windows network, but with better performance and security.

  45. Re:going for Linux incompatibility, it seems by Anonymous Coward · · Score: 1, Interesting

    the X11 stuff is BS. what is apple's X server missing? Hardware acceleration, aqua integration, exporting? It works a heck of a lot better than Xming or other X-server on desktop servers. In fact, there was just an update about a month ago to improve stereoscopic applications.

    Apple needs X11 to get people building scientific apps on Linux and Solaris. Its actually one of the best X implementations I've used (X.org, XFree86, Irix X Server)

  46. Holy crap! I asked for this at WWDC '06! by csoto · · Score: 1

    Mac OS X is really lacking a modern volume manager. ZFS adds this plus a whole lot of other data integrity/portability features. And it's open source. I hope this isn't just a rumor.

    I wonder if this was one of the "new APIs" they were talking about at the Time Machine session I attended...

    --
    There exists no way of exchanging information without making judgments. --Bene Gesserit Axiom
  47. ...so how does one define "capacity" therein? by cyclomedia · · Score: 4, Interesting

    I've been wandering about this and am insanely curious: if ZFS really does intelligently copy on write how far can it take it?

    for starters, does the FS "know" that i've just clicked "Save As" in my word processor? what about copy and pasting a file back into the same directory to make a local copy? Also? is it just within variations on the same file? if i have a particular setup exe on my system but forget, and download it again to the desktop surely the FS has no initial way of knowing that they are one and the same, does some funky heuristic happen?

    basically: does the OS's read/write/copy/delete functionality have to invoke copy-on-write via a FS API or is it built in for every single sector-sized chunk that gets stuffed into the FS?

    the next question is the one in my subject: how therefore do you define "capacity"? if i've got a bunch of files that take up 700mb on a ZFS device and try to back up to a (Joliet) CD will i get a message telling me that the CD doesnt have room? i can imagine this scenario being unlikely with optimised binary data (jpegs and mpegs) but if i'm backing up a dev environment with autobackups (main.c,main.c.bak.001,main.c.bak.002,etc.) and manually created and dated directory tree "snapshots" (dev,dev_backup_2006-12-18,dev_backup_2006-12-01,e tc.) then this could probably happen quite easily.

    --
    If you don't risk failure you don't risk success.
    1. Re:...so how does one define "capacity" therein? by et764 · · Score: 1

      The Venti Filesystem also does copy on write. I don't know if it's the same mechanism that ZFS uses, but basically Venti uses the SHA-1 hash of each data block as its address, and probably has some hash->sector mapping on the disk somewhere. This way when data is written, if data with the same SHA-1 hash has already been written, there's no reason to write it again.

    2. Re:...so how does one define "capacity" therein? by jbolden · · Score: 3, Informative

      does some funky heuristic happen?

      Yes, I used something similar to ZFS for mass document storage a few years back. You do a complex checksum on the block level. Any two blocks with the same sum are the same. Each unique block is only stored once, though multiple files might link to it. You're right the file system doesn't know why you are using the same blocks over and over, but it doesn't care.

      if i've got a bunch of files that take up 700mb on a ZFS device and try to back up to a (Joliet) CD will i get a message telling me that the CD doesnt have room?

      Assuming you have repetitive block, yes.

    3. Re:...so how does one define "capacity" therein? by Tragek · · Score: 1

      How big is one of these blocks?

    4. Re:...so how does one define "capacity" therein? by jbolden · · Score: 1

      I don't remember exactly. I think 4k, and checksum was something like 512 bits = 64 bytes (so it wasn't MD5). Why?

    5. Re:...so how does one define "capacity" therein? by k8to · · Score: 1
      the next question is the one in my subject: how therefore do you define "capacity"? if i've got a bunch of files that take up 700mb on a ZFS device and try to back up to a (Joliet) CD will i get a message telling me that the CD doesnt have room?

      UNIX tools have long distinguished between "disk usage" and "apparent size". It's not that hard. When you get ready to burn a CD, your tools should just check the "apparent size", which is the total file length of all the files. Meanwhile, when you're trying to reclaim disk space out of your homedir, you'll probably be more worried about "disk usage".

      This is no different really from the age old issue that a 1 byte file takes a whole block/cluster/whatever. It might be 4k or even more of disk usage.

      --
      -josh
    6. Re:...so how does one define "capacity" therein? by Tragek · · Score: 1

      Curiosity mainly. Perhaps a little wondering about efficiency. I suppose if you're building an FS like that one hopes your hashing is fast. (But, thinking about it, hashing is probably a crap load faster than the disk write.)

    7. Re:...so how does one define "capacity" therein? by jbolden · · Score: 1

      The thing is that the hashing computation is passed off to the client during backup:

      imagine something like:

      foreach b in (blocks in file)
            compute h=hash(b) # client
            if h not in (backedup blocks) # server
                  then backup b # server
                  else file = file (sub b) # client

      or something. All that except for the query for which blocks are backed up (backup b)

    8. Re:...so how does one define "capacity" therein? by plambert · · Score: 1

      If you had read any of the many linked articles about ZFS, they'd have answered these questions, and then you wouldn't look silly, blathering in public about stuff that ZFS doesn't do.

      But since you won't, here's what they would have told you:

      When an application writes to a file, ZFS doesn't overwrite existing blocks. That's what "copy on write" is. This means, if you have a file that's 1024K long, then write one block of data (say, 4K) over part of the original file, it keeps the entire original file and your new 4K block is written somewhere new.

      ZFS does not hash every block of every piece of data you write, and search your disk, Google, and your underwear drawer to see if it happens to already be there.

      It just allocates a new block for every write, rather than overwriting data. Which is really, really, amazingly useful when you want a snapshot, or you want to recover your data when the drive lost power _during_ the write.

  48. hmmm.... by Anonymous Coward · · Score: 0

    ZFS has a data storage capacity of 256 quadrillion zettabytes

    "256 quadrillion zettabytes ought to be enough for anyone..."

  49. Send/receive useful for .mac sorts of features by csoto · · Score: 3, Interesting

    I can imagine that using zfs send/receive to export/import pools would be an extremely efficient/safe method of replicating data. Perhaps some sort of ".mac mirror" could work. This would make Time Machine exceptionally useful, and I'd definitely commit extra $ for .mac services (if reasonable) for this.

    --
    There exists no way of exchanging information without making judgments. --Bene Gesserit Axiom
  50. Being new to Slashdot, by Anonymous Coward · · Score: 0

    I now realize what a "karma whore" is.

  51. Re:Reasons to support? Servers by kestasjk · · Score: 3, Insightful

    It sounds good, but I think migrating for it just a tad extreme given that it will be implemented for Linux pretty quickly. We're talking about neat new features here, it'll re-enforce or make easier backups and redundancy, but it's not a to-die-for solution that will solve all your problems. There's no way I'd drop a fully configured server installation which does what I need for a new filesystem.

    By the way it's nice to see dtrace, open source Java, and now ZFS coming out of Sun recently. I almost feel sorry for how little they get out of a lot of their innovations, they remind me of Bell Labs just before they died.

    --
    // MD_Update(&m,buf,j);
  52. ZFS lacks decent backup support by Anonymous Coward · · Score: 1, Interesting

    ZFS is a very nice and promising filesystem but it still lacks one very important feature: decent support for offline backups. While it is possible to make an offline backup ('zfs send ...') restoring such a thing is extremely tedious since your only option is to import the entire backup back into your ZFS pool after which you can restore the snapshot (or parts of it).

    Not sure about you but I really wouldn't like to try and restore data from the /export/home slice (where all the userdata resides) this way on my company server!

    1. Re:ZFS lacks decent backup support by Wesley+Felter · · Score: 1

      Or you could just run Retrospect like other Mac users.

    2. Re:ZFS lacks decent backup support by Anonymous Coward · · Score: 0

      ZFS best practice recommends dedicated user home filesystems rather than a single one for /export/home. This somewhat avoids the problem you describe, and is required for per-user quotas.

      The only real issue I am aware of in doing so is that if you have a Linux server with a large number of users simultaneously NFS (auto)mounting their home directories, you will get burned by it's ability to only have 255 mounts of any given type of filesystem.

  53. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 1

    what is apple's X server missing?

    Desktop integration, pre-installation, automatic on-demand launching, consistent window management, keyboard layout integration, to name just a few. Performance could also be improved further.

    Apple needs X11 to get people building scientific apps on Linux and Solaris. Its actually one of the best X implementations I've used (X.org, XFree86, Irix X Server)

    Yes, and that's pretty much all they are supporting: scientific apps. If you want to use X11 desktop apps, you're out in the cold because they don't integrate well with the rest of OSX.

  54. Re:going for Linux incompatibility, it seems by Anonymous Coward · · Score: 0

    ext2/3 is a child's toy filesystem.

  55. Re:Reasons to support? Servers by Anonymous Coward · · Score: 0

    why would you dd to a partition? Oh cuz you run as root and are a smacktard losemongerer. I use RAID as an automatic reliability system, and rsync/cds as a backup method. if I did dd for whatever reason over the partition I could just restore from the BACKUP. I don't see how ZFS would remove the need for backups though. So the move away from Linux to whatever else to use ZFS because it's oh so much better doesn't make sense.

    As for reiserfs, I've been using whatever comes with the 2.6 kernel for over a year and I have yet to lose a single bit even amongst various physical failures (and power outages). Maybe you're using the experimental branch v4 reiser or just are, well, how do I put this delicately, a retard?

    Tom

  56. Re:going for Linux incompatibility, it seems by egomaniac · · Score: 1

    Yes, that's the typical Apple solution: you can sort of use it, but if you really want to use it, you have to commit to using OS X. It's not a good proposition.

    The GP is talking about how to (partially) use a Sun-created filesystem under Linux; why are you bringing Apple into it?

    --
    ZFS: because love is never having to say fsck
  57. Re:going for Linux incompatibility, it seems by Bralkein · · Score: 2, Interesting
    Yes, that's the typical Apple solution: you can sort of use it, but if you really want to use it, you have to commit to using OS X. It's not a good proposition.
    Well, I would think that if you were going to move from Linux to an OS which supports ZFS, you would move to Solaris.

    I seriously doubt there will be an independent implementation of ZFS; that work would probably go into ext5. Even if there were (or if ZFS becomes GPL compatible), I doubt it will get much traction: Linux has had more powerful file systems than ext3 for many years, and people choose not to use them. Impressive feature lists don't make a better file system.
    I agree that ext3 isn't the best thing out there for Linux, and I don't even use it myself. However, I would suggest that the reason for so many people still using ext3 is that most other filesystems aren't better enough to encourage people to move away from ext3. Look at some of the posts under this story - you will find stories of people moving from Linux to Solaris, really just because they want the features of ZFS. There is demand for ZFS in the Linux kernel, and if it becomes a common filesystem on OSX, I predict the demand will only increase. I don't expect ext4 will satisfy this demand, either.
  58. Re:going for Linux incompatibility, it seems by Bralkein · · Score: 1

    Damnit, replied to the wrong post :-S

  59. Re:going for Linux incompatibility, it seems by Bralkein · · Score: 1

    Aargh no I didn't! I am very hung-over.

  60. Re:going for Linux incompatibility, it seems by egomaniac · · Score: 1

    Apple's attitude towards many FOSS standards vacillates between indifference and hostility.

    For example, they view X11 as a dead end and want to actively convert people to using Cocoa; hence, Apple's X11 support sucks and they have no interest in making it better.


    You mean Quartz, not Cocoa. And Quartz is unarguably far more powerful than X11 as well as faster; I think they're absolutely correct in promoting it over X11. I'm not sure what "sucks" about their X11 support, as it certainly seems to work just fine on my system.

    OpenDoc compatibility would be natural for Pages and Keynote, but I suspect apart from being a lot of work, they don't want it: Microsoft Word matters commercially, and they likely view OpenDoc as supporting FOSS competition (since NeoOffice is actually quite sweet on MacOS).

    People still use OpenDoc? Wow. I rather thought it was an experiment gone horribly, horribly wrong.

    As for ext3, I think there are two reasons. First, using ZFS, Apple has a feature-list advantage over ext3 (never mind that that doesn't translate into any real world advantages).

    Are you seriously -- SERIOUSLY -- suggesting that ZFS has no real-world advantages over ext3? That crosses the line from "Linux advocate" into "bat-shit insane".

    Second, I think Apple really doesn't want to make it easy for people two switch between OS X and Linux; despite the bluster, they must recognize that Linux is a serious alternative to OS X, in particular given the current and upcoming releases of Gnome and KDE.

    Yep. I'm sure Apple is quaking in fear at the threat of Gnome and KDE. You nailed it.

    In a nutshell, the company just isn't committed to FOSS, they are just using FOSS when they see a short-term business advantage.

    Apple is the only organization that has managed to make Unix completely appealing and usable to average non-technical users. Yes, they chose to use a better graphics library than X11, and a better (also open-source!) filesystem than ext3 -- and good riddance on both counts, I say. Why all the hostility?

    --
    ZFS: because love is never having to say fsck
  61. Any drawbacks to using ZFS? by tji · · Score: 1

    ZFS sounds very interesting, although I don't see a lot that would be useful on my MacBook Pro (a lot more would be useful on my Linux server / MythTV backend).

    The main benefit I saw is the 'snapshot' support (copy on write). I used this a long time ago on AFS, and found it very handy.

    So, are there any compelling reasons _not_ to use ZFS?

    1. Re:Any drawbacks to using ZFS? by Sloppy · · Score: 1

      The only one I can think of, is that it's still relatively new, so the usual newness issues apply: it might still have a few bugs, rescue CDs don't have it yet, other people you might want to work on your computer don't know how to deal with it yet, etc. These problems will fade with time, some very rapidly, especially is someone as mainstream as Apple is going to be handing it out to millions of people.

      Well, and the other issue is that I've read a lot of impressive things about ZFS' features, but I don't think I've seen benchmarks. I know that any one filesystem isn't going to beat everything else at everything, so that raises questions about just what tradeoffs did they make, how fast is it in various cases, etc.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    2. Re:Any drawbacks to using ZFS? by ir · · Score: 0

      obnoxious CDDL license

      --
      Irina Romanov
  62. Re:going for Linux incompatibility, it seems by andreyw · · Score: 1

    The hell are you smoking? How do they not integrate well? I use GIMP on OS X on a nearly day to day basis...

  63. Secure Delete? by HTH+NE1 · · Score: 3, Insightful

    Wouldn't that pose a problem for mmap?

    I think it would pose a problem for secure deletes. Try to obliterate a file by overwriting it with garbage, you end up writing somewhere else instead? Would the next overwrite attempt get the original location or would you have to write enough garbage to cycle over all the free space of the volume? Considering how large these volumes can get, that's a lot of boiled oceans for a multi-pass secure delete.

    --
    Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    1. Re:Secure Delete? by Anonymous Coward · · Score: 1, Informative
      think it would pose a problem for secure deletes.

      Secure deletes are already a 'future version' feature.

      http://www.serverwatch.com/tutorials/article.php/3 612066

      Not only secure delete but more general crypto support is planned

      http://opensolaris.org/os/community/os_user_groups /nlosug/nlosug-zfs-lofi.pdf [ a pdf presentation on crypto features]
      http://www.opensolaris.org/os/community/os_user_gr oups/sgosug/10-zfs.pdf [ more general pdf presentation on ZFS ]

      ZFS is relatively new (in comparison to most of the commonly used file systems). It isn't really "done" yet by any means.

    2. Re:Secure Delete? by Anonymous Coward · · Score: 0

      Secure delete isn't really secure anyway... at least if you're working for the NSA or something. Hard drives contain hardware to remaap sectors when they go bad, so it's possible your hard drive is doing this sort of thing behind your back anyway. Software secure delete always comes with the proviso that it might not work. They often have issues with journaling file systems, for example.

      ZFS is really pretty cool, although it admittedly makes more sense to me on Solaris than on OS X. Maybe a feature for the Xserves...

    3. Re:Secure Delete? by Anonymous Coward · · Score: 1, Interesting

      Use encryption of the volume. Drop so called 'secure' delete.

    4. Re:Secure Delete? by HTH+NE1 · · Score: 2, Insightful

      One, transparent encryption is still under development for ZFS, and two, encryption is only good for data that needs to be confidential in the relatively short term. Anything for which you really need total deniability in perpetuity, encryption is insufficient to protect you.

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    5. Re:Secure Delete? by Anonymous Coward · · Score: 0

      secure delete (DoD 5220) is built into the solaris ZFS implementation.

    6. Re:Secure Delete? by blank+axolotl · · Score: 2, Interesting
      Well, according to the manual page for 'shred', you can't do that reliably on ANY filesystems such as
      • log-structured or journaled filesystems, such as those supplied with AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.)
      • filesystems that write redundant data and carry on even if some writes fail, such as RAID-based filesystems
      • filesystems that make snapshots, such as Network Appliance's NFS server
      • filesystems that cache in temporary locations, such as NFS version 3 clients
      • compressed filesystems

      So in other words you can't reliably delete a file on many modern filesystems anyway (unless there are more advanced programs than shred?), and ZFS is no different. I think that melting your hard drive is the suggested solution.
  64. Re:Reasons to support? Servers by NatasRevol · · Score: 2, Informative
    --
    There are two types of people in the world: Those who crave closure
  65. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 0, Offtopic

    Yes, they chose to use a better graphics library than X11, and a better (also open-source!) filesystem than ext3 -- and good riddance on both counts, I say. Why all the hostility?

    Typical: when someone points out that Apple keeps pursuing proprietary solutions and when someone disagrees with your view that Apple has the best of everything, you call them "hostile". It's you who is hostile, not me.

  66. Re:going for Linux incompatibility, it seems by Space+cowboy · · Score: 1

    Desktop integration

    Dunno what you mean by this. Perhaps copy/paste ? That works for me just fine. I always use xterm/nedit (it's a hangover from a previous life) and apple-C will do a copy in nedit, apple-V will paste into (whatever).

    pre-installation

    You get to choose whether to install it when you install the OS. It's a package that 99% of the user-base won't need or want, but it's a choice.

    automatic on-demand launching

    Oh dear. Open up the System Preferences panel, click on the Accounts icon, click the Login Items tab, add X11 to the list of apps installed on login. Problem solved. Why would they *not* use the standard way to start apps on login ? It's not as though it's the default window server or anything...

    consistent window management

    Consistent with what ? X11 doesn't have a consistent window management policy (even if you just consider X11 apps, there are different ways of managing windows). Apple's way is simply to make an X11 app respond just like a native window AFAICT. Works just fine for me.

    keyboard layout integration

    Since I've never had any problems with keyboard layout (I can type Option-3 to get a £ symbol in nedit, for example, even on my US keyboard, which is usually a problem for me in Linux) I don't know what you're talking about...

    Performance could also be improved further

    When couldn't it ?

    If you want to use X11 desktop apps, you're out in the cold because they don't integrate well with the rest of OSX.

    As someone who uses X11 apps all day every day, this is bullshit.

    Simon.

    --
    Physicists get Hadrons!
  67. Re:FIRST POST by Anonymous Coward · · Score: 0

    Stop feeding the troll feeders!

  68. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 1

    Look at some of the posts under this story - you will find stories of people moving from Linux to Solaris, really just because they want the features of ZFS

    There are always some. The question is whether the mainstream needs or wants ZFS features, and I don't see it; that's not where storage is heading.

  69. Re:Reasons to support? Servers by Sparohok · · Score: 1

    If I did dd for whatever reason over the partition I could just restore from the BACKUP.

    If you were aware that the data was corrupted. Hard drives can silently lose data for a variety of reasons, ZFS will discover that damage whereas Linux filesystems will silently ignore it.

    Honestly, read up on ZFS. Your ignorance is palpable.

  70. Re:Reasons to support? Servers by xehonk · · Score: 2, Interesting

    I wish that was the case. I really don't want to set up my linux root partition on fuse.
    "Porting ZFS to Linux is complicated by incompatibilities between CDDL, the license its source is released under, and GPL, the license which governs the Linux kernel. To work around this problem the Google Summer of Code program is sponsoring a port of ZFS to Linux's FUSE system[10] so the filesystem will run in userspace instead. However, running a file system outside the kernel on Linux has significant perfomance impact." (from http://en.wikipedia.org/w/index.php?title=ZFS&oldi d=95110224#Platforms)

  71. Storeage size - speak for yourself by SuperKendall · · Score: 1

    We will probably never need a 128-bit filesystem (unless we actually want to build hard drives the size of planets with single-atom sectors)

    Spoken like someone who obviously has not done much work with digital video - I could at the very least use a small moon sized drive at the moment. :-)

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Storeage size - speak for yourself by bar-agent · · Score: 5, Funny

      "That's no moon -- that's a file server!"

      --
      i'd hit it so hard, if you pulled me out you'd be the king of britain [bash.org]
  72. Re:going for Linux incompatibility, it seems by Anonymous Coward · · Score: 0

    The hell are you smoking? How do they not integrate well? I use GIMP on OS X on a nearly day to day basis...

    So do I. I needed to install X11 by hand. It got blown away by upgrading the machine. Drag-and-drop and cut-and-paste don't work. Focus doesn't quite work. Window groups/icons don't quite work. And I suspect what does work works because MacGimp folks already put in platform specific stuff.

  73. Re:Reasons to support? Servers by Sparohok · · Score: 1

    Let me tell you a cautionary tale. Some six months ago I decided to do exactly what you're suggesting for exactly the same reason. I got OpenSolaris and installed it on a spare drive on my fileserver. It was a pain in the ass figuring out how to administer a Solaris system, which despite all the documentation seemed opaque and baroque, but I persisted. Unfortunately, the damn thing wouldn't configure the network. I couldn't figure it out. I was reduced to tracing through the init scripts line by line figuring out where they failed. It turned out that the file which contained the hostname had a trailing carriage return. I'd pressed "enter" an extra time when I was editing it. As a result the system decided it's hostname was the empty string, which it couldn't find in the hosts database and gave up. At that point I nerfed the partition in a fit of pique and went back to Linux + software RAID + reiserfs. Any software which is that brittle and administrator-hostile honestly does not deserve to live, certainly not on my server, no matter how nice its filesystem.

  74. Re:Reasons to support? Servers by profplump · · Score: 1

    Hard drives silently losing data is a problem solved by RAID. I really don't see what additional protection this provides against hardware failures over any other filesystem on a RAID disk -- AFAICT it only protects against writes that bypass the file system without bypassing RAID.

    There may be other benefits to ZFS, but I don't want to bog down my filesystem with data integrity calculations -- I have dedicated hardware for that.

  75. Re:going for Linux incompatibility, it seems by palndron · · Score: 1

    "Yes, that's the typical Apple solution: you can sort of use it, but if you really want to use it, you have to commit to using OS X. It's not a good proposition."

    What does this have to do with what you quoted, or what Apple is doing? Apple's solution is using the ZFS. They don't own ZFS, they didn't create it, SUN did. And sun's solution isn't that if you want to use ZFS you have to use Solaris.

    Again, wtf are you talking about?

    --
    a man, a plan, a canal, panama
  76. StorageMojo's take on ZFS in Leopard by Samrobb · · Score: 1

    "ZFS On Leopard: How Cool Is That?"

    You can probably guess the author's opinion about the move from the title of the post :-)
    --
    "Great men are not always wise: neither do the aged understand judgement." Job 32:9
  77. Support for != Replace current system by UnknowingFool · · Score: 1

    As far as I know Mac OS X supports X11. That doesn't mean that Apple will replace Aqua with it. Same thing with file systems.

    --
    Well, there's spam egg sausage and spam, that's not got much spam in it.
    1. Re:Support for != Replace current system by Anonymous Coward · · Score: 0

      ZFS will eventually replace HFS as the default file system on OS X. It offers too many features that remove complexity from the user, and many OS X users are not power user types of folks. Besides the data integrity features, things like Volume expansion are much easier for the non technical user under ZFS. No more having to figure out how to use the new disk you just added. New disks can be added to your "root volume" using ZFS, etc.

      If ZFS actually makes the 10.5 cut and is released (please!), then I predict it will be bootable in 10.6 and the default in 10.7. (Right now it is in a developer release and it can always be removed again).

      Chad

  78. Re:Reasons to support? Servers by anaesthetica · · Score: 2, Insightful

    Indeed, we may see Mac OS X Server supporting default ZFS before Mac OS X proper. It would make sense to deploy it first in a limited market with technical expert users as your target market.

  79. Re:Reasons to support? Servers by walt-sjc · · Score: 1
    Either one is not complete unless they have features not listed. I have the original G5 XServe that had nothing at all.


    On an HP, I can:

    • PXE netboot / install
    • Get a remote graphical console (or text if you don't pay for the advanced license key)
    • Power cycle / reset
    • Utilize virtual media (CD / floppy image on a web server or on the management client's drive)


    Can I do ALL those things on the mac with it's management processor? Didn't see the remote graphical console - do I need a separate IP KVM to get that? Can I even get a text console with it? The original xserve didn't have a video card - is that now embedded? Don't see it. If I have to add one, it wastes one of two available slots. Given the GUI centric design of the mac, remote graphical console is important. ARD is not enough (which is what I use now) and I end up having to manually restart the service all the time via ssh because it keeps locking up.

    The HP ILO is a truly awesome remote management system.
  80. Re:Reasons to support? Servers by oldmanmtn · · Score: 1

    "given that it will be implemented for Linux pretty quickly."

    Why is that a given? ZFS has been out for more than a year, and there's no sign that the Linux people are even attempting to copy it yet. Remember how long it took them to integrate XFS? In that case, they had the source, and it still took them years.

    Suggesting that I base my deployment decisions on something that some theoretical Linux developer might decide to do at some unspecified point in the future, is just stupid.

    --
    - Old Man of the Mountain ---- "I want to disturb my neighbor"
  81. Re:Reasons to support? Servers by Sparohok · · Score: 3, Informative

    Hard drives silently losing data is a problem solved by RAID.

    That is profoundly wrong. Vanilla RAID will not discover and cannot automatically correct silent data loss. The reason is that RAID has no way of knowing which data is correct. For example, if two mirrored copies disagree on the contents of a block, the data is unrecoverable without manual intervention or external knowledge. Furthermore, in normal operation your RAID subsystem will simply read data from whichever drive is idle at the time the read request comes in; it does not ordinarily compare the two mirrors. The data will remain corrupted until the user notices a problem, at which point they have no practical recourse. Essentially the same problem occurs with parity RAID.

    There is no dedicated hardware in your system that provides the end to end data integrity that ZFS does. I honestly suggest you learn more about it before airing your opinions. Here is a start:

    http://blogs.sun.com/bonwick/entry/zfs_end_to_end_ data

  82. Re:Reasons to support? Servers by profplump · · Score: 2, Informative

    If two mirrored copies disagree on the contents of a block, the data is unrecoverable without manual intervention or external knowledge.

    Or, you know, a checksum. Or more than one level of redundancy.

    I agree that RAID-1 cannot, by itself, correctly recover from error-free reads of mis-matched data. But RAID 5 and 6 are both capable of verifying the primary data source against the parity data and transparently correcting errors that occur on less than the critical number of disks. In the common configuration this is only done when a hardware-level error is detected to keep things fast, but it's quite possible to verify every read if so your system is so configured. Mutli-layer RAID also provides this same sort of protection.

  83. Re:Reasons to support? Servers by Anonymous Coward · · Score: 0

    Reasons zfs isn't popular among "Linux people" are e.g. license issues and the lack of need for zfs in Linux (yep yep).

  84. don't blame Apple if UFS sucks by r00t · · Score: 1
    The Linux driver has to deal with about 10 different types. There is no standard endianness. Even the superblock and inode structures differ. Here is the list of varients that Linux supports:


    old
    Old format of ufs default value. Supported as read-only.

    44bsd
    Used in FreeBSD, NetBSD, OpenBSD. Supported as read-write.

    ufs2
    Used in FreeBSD 5.x. Supported as read-only.

    5xbsd
    Synonym for ufs2.

    sun
    Used in SunOS (Solaris). Supported as read-write.

    sunx86
    Used in SunOS for Intel (Solarisx86). Supported as read-write.

    hp
    Used in HP-UX. Supported as read-only.

    nextstep
    Used in NextStep. Supported as read-only.

    nextstep-cd
    Used for NextStep CDROMs (block_size == 2048). Supported as read-only.

    openstep
    Used in OpenStep Supported as read-only.

  85. What about performance? by arifirefox · · Score: 1

    I have a feeling all of those high end features will make zfs really slow for ordinary desktop users

    --
    Firefox Power http://firefoxpower.blogspot.com/
  86. Re:Reasons to support? Servers by NatasRevol · · Score: 1

    Not sure why you'd want to do bullet point 1. What do you want to install to a console? Or has HP expanded the definition of LOM?
    I can kind of see why for #2, but then that's just for techs - who most likely shouldn't be messing with LOM anyway.
    It can do #3.
    Again, not sure why you'd need #4.

    Apple's LOM is about equivalent to HP's LO Standard. Considering that it's Apple's version 1, and HP's (probably) version 20, I think they're coming along nicely. Not perfect, not overkill featured, but not useless by any means.

    --
    There are two types of people in the world: Those who crave closure
  87. Re:Reasons to support? Servers by ShyGuy91284 · · Score: 1

    Ditto to that. I've toyed around with it, and the insides are painful to work with when I'm used to Linux (not to mention the vague hardware support). I'll still have to see if I can get everything I want on it working. If I can, I will switch. If not, I'll probably wait.

    --
    In undeveloped countries, the consumer controls the market. In capitalist America, the market controls you.
  88. Re:Reasons to support? Servers by tbuskey · · Score: 2, Informative

    [ZFS] will be implemented for Linux pretty quickly.

    *sigh*. I wish. ZFS is being implemented on FUSE. This automatically creates limitations in performance and function (no root ZFS). IMO ZFS on FUSE will be a no starter in production.

    I don't think we'll see ZFS in the kernel proper either, given the history of incorporating XFS and ReiserFS 4. Along the same lines, DTRACE will probably never make it in. It's being cloned in the form of Systemtap.

    Meanwhile, FreeBSD has been porting ZFS and DTRACE. MacOSX is (partly) based on FreeBSD and DTRACE has shown up in MacOSX.

    I agree that ZFS is a good reason to convert a file server to Solaris from Linux. FreeBSD may become a good candidate also. I'm a Solaris admin and haven't done much with FreeBSD so I'll lean that way. I'd love to see ZFS in the Linux kernel, but I'm not waiting for it.

    Perhaps the way to go is Solaris x86 with ZFS file server then a BrandZ zone running Linux to provide other functions?

  89. time machine/zfs by AlreadyStarted · · Score: 1

    From the description of Time Michine on apples site, it looks like it requires an external drive on which all the backup data is stored. I would infer from this that ZFS would only be used on the backup drive. This way they get all the snapshot tricks from ZFS without needing to implement it for boot/root in their kernel. Seems pretty smart to me, most of the benefit without any real hard work:)

    1. Re:time machine/zfs by Thrudheim · · Score: 1

      Actually, I don't believe it requires an external drive. As the Apple site says in a little sidebar on the Time Machine page, "Backup Disk: Change the drive or volume you're backing up to. Or back up to a Mac OS X server computer." Since an internal drive can be partitioned into multiple volumes, Time Machine should work just fine with a single, internal drive. Of course, if that drive goes down, your backup goes down too, but that's another matter entirely! I suppose it remains possible that the backup volume would be ZFS formatted . . .

  90. Re:Reasons to support? Servers by Sparohok · · Score: 2, Insightful

    But RAID 5 and 6 are both capable of verifying the primary data source against the parity data and transparently correcting errors that occur on less than the critical number of disks.

    With RAID-5, as with RAID-1, the critical number of disks is one. RAID-5 cannot transparently correct errors that occur on even a single stripe, unless you know a priori which stripe is affected.

    With RAID-6 you can automatically correct errors that occur on a single stripe, but it still does not automatically detect such errors on read the way ZFS and RAID-Z do.

    Or, you know, a checksum.

    That's a great idea. Too bad those ZFS guys didn't think of it. Oh, wait. :)

  91. HFS has ACL support by 5n3ak3rp1mp · · Score: 1

    http://maczealots.com/articles/acl/

    It's there but it's not really supported at the interface level yet. FYI

  92. Re:Reasons to support? Servers by Znork · · Score: 1

    "I don't think we'll see ZFS in the kernel proper either,"

    I'd have to agree. Personally, while the ZFS featurelist is nice, cramming everything into the filesystem might not really be the brightest architecture choice yet.

    For technical merit, I'd consider block device layering like the linux devicemapper and management ala EVMS to be far more powerful and flexible. Want a new feature? Put it in a layer, neither the devices above or below need to know about it. It leaves each component to be good at what it does (lvm for volume management, various filesystems for file management, block encryption layers to do their thing, etc) while keeping them apart and online/live replaceable and interchangeable.

  93. There's a LOT more to ZFS than snapshots... by toby · · Score: 4, Informative

    Over past months, I've read a lot of people commenting on ZFS who have no idea what it is. What it is, is the next generation of filesystems, not a "tweak" of current fs technology. It just happens to "look like" an ordinary POSIX fs, from a distance (if you ignore the administration/pool stuff...) But inside, it's something new under the Sun, folks.

    RAID experts don't grok it, because it does things RAID can't do (end-to-end).

    Devotees of ext2fs, reiserfs (yay!), NTFS (LOL!), or HFS+ don't grok it, because none of those filesystems do what ZFS does.

    Read about it before you write it off as old wine in a new bottle. To ask the question, "Does OS X need a new filesystem?" is a perfect example of missing the point. Once you've looked at what ZFS really brings to the table, you'll see why it's an inevitable future, sooner or later, and you'll stop looking foolish.

    Some links I posted this week:

    - http://www.osnews.com/story.php/16739/Screenshot-Z FS-in-Leopard - http://mac4ever.com/news/27485/zettabyte_sur_leopa rd/ (older rumour http://www.osnews.com/story.php?news_id=14473)

    For OS X people wondering why the fuss about ZFS - summaries include: - http://www.sun.com/2004-0914/feature/ - http://www.sun.com/bigadmin/features/articles/zfs_ part1.scalable.html

    "Why ZFS for home": - http://uadmin.blogspot.com/2006/05/why-zfs-for-hom e.html

    "Here are ten reasons why you'll want to reformat all of your systems and use ZFS.": http://www.tech-recipes.com/rx/1446/zfs_ten_reason s_to_reformat_your_...

    And some more technical explanations from Chief Engineer: - http://blogs.sun.com/bonwick/entry/zfs_end_to_end_ data - http://blogs.sun.com/bonwick/entry/smokin_mirrors

    --
    you had me at #!
  94. Re:Reasons to support? Servers by daff2k · · Score: 1

    I couldn't agree more.

    --
    And which parallel universe did you crawl out of?
  95. Time Machine + ZFS?! by Tragek · · Score: 1

    Time machine + ZFS seems to be quite the perfect combination. A file system that supports not only snapshots internally, but also allows the addition of entire new disks (zpools) with next to no effort, added together with a backup solution that's exactly what most people need.... seems good to me :D

  96. get a clue by toby · · Score: 1

    If you don't realise where ZFS goes beyond ext3fs, you got some readin' to do, Lucy.

    --
    you had me at #!
  97. Re:Reasons to support? Servers by walt-sjc · · Score: 1

    Apple's LOM is about equivalent to HP's LO Standard.

    Except for the missing remote console which IMO is critical for dealing with equipment that is in a different physical location, or headless in a closet / rack. Not everyone works on the data-center floor (in fact, you generally try and spend as little time as possible there, being noisy and cold.) In apple's case, they really need a remote graphical console.

    All I'm saying, is learn from HP. They did it right. If Apple cares about the enterprise at all (which I'm not sure if they do to be honest) they need to compete a little better and start making sure their boxes are more enterprise friendly. I'm sorry you can't see the utility of all the enterprise-class features HP offers in their remote management system. When you deal with as many servers as I do, it matters as it greatly improves productivity and gives me and my staff a lot more flexibility. I'll will say that I won't buy another server that doesn't have at least 95% of their feature set however.

    There is a lot more to being "designed for the enterprise" than being rack-mountable.

  98. Re:Reasons to support? Servers by profplump · · Score: 1

    With RAID-5, as with RAID-1, the critical number of disks is one. RAID-5 cannot transparently correct errors that occur on even a single stripe, unless you know a priori which stripe is affected.

    Well, cannot correct errors that occur on a single stripe without being detected by the hardware. It's not like the underlying hardware won't notice bits being swapped about. But for the sake of argument I'll limit the scope to filesystem-bypassing block writes or the transformation of bits into so other configuration such that the disk still reads without error.

    In that case you're right of course -- there's still less than 2 independent copies of the data in a standard RAID-5 array. I got excited with my RAID-6 an multi-layer RAID line of reasoning.

    With RAID-6 you can automatically correct errors that occur on a single stripe, but it still does not automatically detect such errors on read the way ZFS and RAID-Z do.

    What makes you say that? The choice to verify every read is purely an implementation decision -- RAID-6 provides all the necessary data. And in multi-layer RAID you likewise have enough copies of the data to transparently reconstruct after a single (or sometimes multiple) filesystem-bypassing write.

    That's a great idea. Too bad those ZFS guys didn't think of it. Oh, wait. :)

    I never suggested that ZFS didn't use a checksum. I was just arguing the novelity you seem to think ZFS has -- using checksums to verify data integrity is not exactly cutting-edge computer science.

    I'm also not arguing the usefulness of having sufficiently redundant data storage so that you can transparently recover from a variety or errors. I'm just saying ZFS is neither the first nor the only way to accomplish this, and other solutions provide both maturity (at least on non-Sun platforms) and hardware acceleration.

    And ZFS might have lots of other useful features that make it a great choice. I just don't think this particular feature is unique or superior to other available solutions for the same problem.

  99. Re:Reasons to support? Servers by Anonymous Coward · · Score: 0

    What makes you say that? The choice to verify every read is purely an implementation decision -- RAID-6 provides all the necessary data. And in multi-layer RAID you likewise have enough copies of the data to transparently reconstruct after a single (or sometimes multiple) filesystem-bypassing write.

    Because it seems to be universally true in practice. I don't know of any hardware or software implementation of R5 or R6 that reads parity in order to either verify or even spit out an error on read, only on some sort of dedicated parity check/scrub process. I hope some do that I haven't heard of.

  100. Re:Reasons to support? Servers by NatasRevol · · Score: 1

    I'm not sure that you know what Apple's LOM does. It does provide remote console login.

    And I agree, Apple could learn a lot from HP too.

    --
    There are two types of people in the world: Those who crave closure
  101. Re:Reasons to support? Servers by Sparohok · · Score: 2, Insightful

    Have you read the link I posted? It is getting old to keep repeating Jeff Bonwick's arguments when you can just read what I already pointed you to.

    The underlying hardware will not necessarily notice errors. Hard drives are only designed to error protect the magnetic domains on the disk. There are all sorts of other places in the increasingly long datapath to disk where data can be lost, and, in fact, routinely does get lost.

    The choice to verify every read is purely an implementation decision

    RAID-6 does not verify every read because it is a stupid way to achieve data integrity. It wastes two thirds of your aggregate IO read bandwidth when you can just use checksums virtually for free. CPU cycles for checksumming is dirt cheap whereas IO bandwidth is extremely expensive.

    I was just arguing the novelity you seem to think ZFS has -- using checksums to verify data integrity is not exactly cutting-edge computer science.

    Yet strangely there aren't any other widely available storage solutions that provide transparent data integrity from the filesystem down.

    I just don't think this particular feature is unique or superior to other available solutions for the same problem.

    Then name another one. I think we've already shown that vanilla RAID does not qualify.

  102. Re:Reasons to support? Servers by afidel · · Score: 1

    Not sure what Linux distro you are using but when implementing Rehdat 8/9 at Cisco I used our Solaris install as the reference for things like NFS+ configuration and had little trouble translating between the two systems. Config files were generally in the same place, or close enough that figuring it out wasn't that hard. Perhaps things have changed since Solaris 8/9 and RH 8/9 but at that time the differences were fairly minimal for someone with a passing understanding of each.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  103. Re:Reasons to support? Servers by Anonymous Coward · · Score: 0

    You admitted yourself that you

    a) didn't know what you were doing

    b) didn't understand what was going on

    c) thought that you traced the problem (empty line), when that wasn't the problem at all, however you thought it was
     
    ...I used to be a Linux engineer. And I hated every second of it. Having come from Solaris, HP-UX and IRIX, working with Linux had been a very miserable existence. I went back to Solaris after a while, and I never regretted it.

    In fact, I have never had a problem that you just described... but then again, I've been doing this Solaris gig for almost 12 years now.

  104. Xraid? by smoon · · Score: 1

    I'd guess ZFS would be pretty handy for those of us with a lot of XRaid enclosures -- use them as JBOD with ZFS handled by the mac host, and you eliminate all sorts of annoying problems (e.g., each xraid is actually two separate arrays of 7 drives each, so raid-5 with a hot spare means losing 4-drives worth of capacity on each shelf.)

    Also as xraid transitions (it must, right?) from 3.5" SATA to 2.5" SATA or SAS drives, they'll be able to pack 10 into a 1U enclosure, or 40 into a 4U enclosure. If the host supports ZFS then they could probably skimp on the "raid controller" contained in this hypothetical xraid replacment even more than they already have.

    --
    "But actually trying to use m4 as a general-purpose langage would be deeply perverse" --ESR
    1. Re:Xraid? by OS24Ever · · Score: 1

      Do you mean RAID 50 or something else? Last I saw RAID5 was N-1 and a HS was 1. So 7 drives is 5 drives of usable space, not 3.

      I've never used one, would love one for photo storage/backup but they're a bit out of my price range at the moment.

      --

      As a rock-in-roll Physicist once said, No matter where you go, there you are.

    2. Re:Xraid? by smoon · · Score: 1

      I meant 4 drives for the entire shelf, 2 on each side. So you're getting the capacity of 10 disks instead of 14. With better raid controllers, or (in this case) a better filesystem, you'd get the capacity of 12 disks per shelf.

      Since each disk is quite large, you're talking around 1TB wasted.

      --
      "But actually trying to use m4 as a general-purpose langage would be deeply perverse" --ESR
    3. Re:Xraid? by OS24Ever · · Score: 1

      So the xraid doesn't let you do a single 14 drive array and loose just 2 drives? Wow, bad feature. I'm all for protection if I want it, but don't make me loose that much space, yuk.

      --

      As a rock-in-roll Physicist once said, No matter where you go, there you are.

  105. Duh! by Brandybuck · · Score: 1

    Though I still wonder: If it is not meant to replace HFS+, could there be any other reasons to support ZFS?

    Of course there is! How about simply supporting ZFS?

    --
    Don't blame me, I didn't vote for either of them!
  106. Data Scrubing Anyone? by OS24Ever · · Score: 1

    I'm not sure about most RAID cards, but I know that HP's SmartArray and IBM's ServeRAID have a background process on the adapter that continually tries to read and re-write each sector one block at a time in an effort to maintain data integrity. While not a complete solution for data integrity issues it is a strong step in that direction.

    --

    As a rock-in-roll Physicist once said, No matter where you go, there you are.

  107. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 1

    You get to choose whether to install it when you install the OS.

    No, you don't "get to choose it", you have to track it down on the install CD. Furthermore, it gets blown away on upgrades. What does this mean? Nobody can actually ship a mass-market product for OS X that's based on X11. Apple treats X11 purely as a compatibility product for UNIX geeks.

    Oh dear. Open up the System Preferences panel, click on the Accounts icon, click the Login Items tab, add X11 to the list of apps installed on login. Problem solved. Why would they *not* use the standard way to start apps on login ? It's not as though it's the default window server or anything...

    Yes, and that's a problem: X11 should just "be there". You don't start up Quartz in System Preferences, it's just there and runs.

    Consistent with what ?

    Consistent with Macintosh.

    Apple's way is simply to make an X11 app respond just like a native window AFAICT. Works just fine for me.

    Apple's way is to treat all of X11 as a single app; that's not consistent.

    Since I've never had any problems with keyboard layout (I can type Option-3 to get a £ symbol in nedit, for example, even on my US keyboard, which is usually a problem for me in Linux) I don't know what you're talking about...

    When you change keyboard layouts in OS X, the X11 layouts don't change.

    It's a package that 99% of the user-base won't need or want, but it's a choice.

    Yes, and Apple's policies are working towards keeping it that way by setting up things such that X11 apps always remain foreign to OS X. It would be easy for Apple to put X11 on equal footing with Classic, Carbon, and Quartz/Cocoa and to ship Gtk+ (and maybe even Qt) with the system. Thousands of high quality Linux desktop apps would instantly run on OS X with a native look and feel. The fact that that isn't happening is Apple's choice. Apple, instead, wants to ensure that X11 remains a special-purpose tool for workstation users "switching" to OS X. That's not my guess, Apple employees have told me so.

  108. not improper... by Anonymous Coward · · Score: 0

    It's not improper... it makes the alphabet song rhyme...

  109. Re:Reasons to support? Servers by profplump · · Score: 1

    The underlying hardware will not necessarily notice errors. Hard drives are only designed to error protect the magnetic domains on the disk. There are all sorts of other places in the increasingly long datapath to disk where data can be lost, and, in fact, routinely does get lost.

    Routinely does get lost is a bit of strech at best. If my data routinely got lost between the disk and the motherboard I'm pretty sure I'd notice. There are occasional transmission errors along physical data paths; if only someone had used your magical ZFS checksums when designing Ethernet or IP or SCSI to deal with these sorts of errors.

    I know your link talks about how terrible firmware in SAN devices can be, but I have a hard time beliving that data integrity errors in a data storage device would go undiscovered for too long. If you're complaining about that you might as well whine about bad hard drive firmware or bad Ethernet firmware or bad RAM. In theory you could add protections for all those things, but it doesn't seem very useful to me; why not just test the system an to empirically discover such faults?

    RAID-6 does not verify every read because it is a stupid way to achieve data integrity. It wastes two thirds of your aggregate IO read bandwidth when you can just use checksums virtually for free. CPU cycles for checksumming is dirt cheap whereas IO bandwidth is extremely expensive.

    I don't know what kind of RAID-6 you use, but mine creates parity data that's significantly smaller than the original. I can't even guess at where you got the 2/3 number; the one I come up with is more like 1/3 worst-case-scenario, and that's only at the physical disk level, not at the host-interface level. And that worst-case scenario assumes that you haven't recently and weren't going to read the partiy data in the first place, and that reading parity data prevents you from completing other operations. I'll grant you that checksums are potentially more efficient from a data throughput standpoint, but let's try to stick to realistic numbers.

    It's also worth noting that, while the checksum in ZFS is small, the entire data set much be read from memory and processed to calculate the checksum, in addition to whatever you plan to do with the data after you've done the integrity check. I/O starvation is not limited to disks; almost any busy system spends a huge amount of time waiting for data to come across the system bus from the RAM to the CPU. This is also not a task that can be entirely offloaded, even if you added a dedicated checksumming card or processor; given the end-to-end nature of ZFS, data would still have to come across the system bus to get to the card.

    I'll admit there are things ZFS protects against that other systems do not, but those things don't seem any more likely to me than the possibility of a similar error in the ZFS system. For example, Mr. Bonwick sights bad firmware as a possible error. But how is an implementation error that causes a ghost write in my hard drive any more likely or difficult to detect than an implementation error that introduces a ghost write at the ZFS level?

    If the data-integrity benefits of ZFS require that ZFS be implemented perfectly and only protects me from implementation errors in other, generally simpler systems, I'm not seeing a lot of practical benefit here. Belt-and-suspenders I guess, but nothing very pragmatic, since we're already talking about the very small percentage of the time that A) an error occurs and B) cannot be detected by all the existing data-integrity checking already in place. Not to mention the fact that, at least until ZFS is mature on non-Sun systems, I see the possibility of an error in the implementation of ZFS as much greater than the possibility of an error between my physical disk and my motherboard.

    Yet strangely there aren't any other widely available storage solutions that provide transparent data integrity from the filesystem down.

    No, but I can name several that provide it at both a higher and

  110. Re:going for Linux incompatibility, it seems by WiseWeasel · · Score: 1

    You are correct. Apple wants X11 to remain a special-purpose tool for using UNIX apps in OSX. Obviously, they want to encourage the use of Aqua for anyone targetting the Mac platform, as they should. I would hate for companies to start releasing general-use apps for OSX using X11, as, like you mentioned, they don't play well with regular OSX-native apps. They will never have all the niceties of a native Aqua app, and so Apple is right to force developers to code for Aqua if they want to release a Mac app. X11 is there as an option if you really need to use an X11 app, but it will never be on the same level as Aqua as a vendor-supported deployment option.

    --
    "I like systems, their application excepted", George Sand (French)
  111. Re:Reasons to support? Servers by Anonymous Coward · · Score: 0

    ReiserFS should handle something dying quite well!

  112. Re:Reasons to support? Servers by larry+bagina · · Score: 2, Funny

    ....raid-{1,5,6,10}.... + reiserfs == survive crash at anytime including a drive physically dying.

    It won't survive a marriage to Hans Reiser!

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  113. Question: Pool of CD-R or DVD's by Anarchitect_in_oz · · Score: 1

    I am not a computer technical person, but reading about ZFS and similar i wonder one question.

    Could i use a pool of disk images and Burnt CD's?

    OK so maybe DVD's would be better or there might be Write once technology turn up sometime.
    It seems to me if the information is not overwritten on copy then does it matter if that drive space never comes back in to the pool?
    Have a pool of disk images, (50gig of hard drive space would give 10-12 DVD images) as the disk image gets full burn it, put it in a stack keep the image on the computer for a while as well then just drop them off as you need to free up the allotted drive space.

    Why not burn a couple have one on hand put the other one elsewhere?

    For a small bit of disk space, and on going cost of DVD's, you'd get a massive time machine backup disk.
    Ideally you'd be burning a disk once a week at least, even once a day would still be good.

    Is this at all feasible using ZFS or another FS?

    --
    "Call us when the New age is old enough to drink" Beck
  114. Good Reasons To Support ZFS on Mac by modapi · · Score: 2, Insightful

    Don't any of you guys use Macs?

    Here are five good reasons for Apple to go to ZFS:
    -No more Disk Warrior. The entire data store is self-validating. No bit rot.
    -No RAID controllers needed: ZFS gives you fast RAID for free. Just add drives. Why would anyone care? See #5.
    -No more volumes and, therefore, no more volume management. ZFS eliminates the whole volume concept. Add a disk to your system and it joins your storage pool. More capacity. Not more management. What home user would want that?
    -Continuous Data Protection out of the box. Time Machine could give you a view of your data every time you update a file.
    -ITV, or whatever it is going to be called. Multi-GB files that each cost $10-20, that can't be backed up - thanks DRM! - and therefore need a cheap and highly reliable RAID. ITV, two firewire drives, ZFS and you are in business.
    -Not to mention the existential pleasure of having great technology that Vista doesn't have. In fact, since consumer technology is driving the enterprise, expect ZFS on Mac to raise the bar for every OS and file system.

    I suspect that Time Machine is simply the first of several beautifully designed storage utilities that we'll see on Leopard. How about automatic synchronization when you plug in an external drive? Snapshots automatically exported to .Mac? ZFS enables all kinds of coolness and I, for one, can't wait to get it on my laptop.

    Read more at ZFS On Leopard: How Cool Is That? Means, Motive & Opportunity: Apple Kills the Media Center PC and the latest ZFS On Mac: Now All-But-Official.

    And you heard about the native iSCSI support in Leopard, right?

    1. Re:Good Reasons To Support ZFS on Mac by Junta · · Score: 1

      No RAID controllers needed: ZFS gives you fast RAID for free. Just add drives.

      Not particularly new, systems have been fast enough for general software raid for a long time. ZFS has the opportunity to leverage FS-level knowledge to milk some efficiency out of things that block-level approaches cannot, but ultimately ZFS isn't obsoleting the need for RAID controllers any more than software RAID already has. I admit that there are a lot of proprietary RAID controllers employed where they shouldn't be, but that's not a technical problem, it's a perception problem, ZFS won't fix that.

      -No more Disk Warrior. The entire data store is self-validating. No bit rot.

      ZFS doesn't mandate the storage pool be implemented in any particularly redundant way. If you have just one drive, it's fairly obviously non-redundant. If you add a second drive, it may or may not be a mirror of the first one, depending on how each was added to the pool. Every indication I have seen shows that ZFS checksumming helps detect data integrity errors, and does not implement ECC. It detects block-level silent data corruption, and if the pool is configured just so, the subsystem can reroute things and alert user to service need. If Apples always ship with two drives, it could get clever, but it isn't magical.

      -No more volumes and, therefore, no more volume management. ZFS eliminates the whole volume concept. Add a disk to your system and it joins your storage pool. More capacity. Not more management.

      For the most part ZFS simplifies it, but not all storage will be wanted in the pool. One shining long term example is removable media (optical and flash). Another is so far, even Sun hasn't figured out how to boot from it, so you will have some volume management still, just adding an external hard disk can be made much much easier than under Linux or Windows.(New uninitialized device detected, add to (cute volume name) or...

      -Continuous Data Protection out of the box. Time Machine could give you a view of your data every time you update a file.

      ZFS as far as I can see is not a versioned filesystem where every single modification is tracked. It has built-in snapshotting functionality, and therefore makes an easy way to implement time machine backend (or at least offloaded to Sun to sweat the details instead of Apple), perhaps even lower impact at snapshotting time than Time Machine's current implementation, but it won't continuously track changes.

      -ITV, or whatever it is going to be called. Multi-GB files that each cost $10-20, that can't be backed up - thanks DRM! - and therefore need a cheap and highly reliable RAID. ITV, two firewire drives, ZFS and you are in business.

      Not enough details are available to ascertain how it will work, but while the savvy get the point (my Myth setup separates backend and frontend to have more robust, but noiser measures to protect stuff), by and large mass-market set top boxes get away without redundancy.

      -Not to mention the existential pleasure of having great technology that Vista doesn't have. In fact, since consumer technology is driving the enterprise, expect ZFS on Mac to raise the bar for every OS and file system.

      ZFS on Mac will likely do little to nothing to raise the bar in the enterprise beyond Solaris doing it. I admit ZFS is the one nugget Sun has brought out for Solaris that has me curious, but OSX's embracing it didn't extend it more. ZFS is among their biggest assets, and they clearly want either revenue or Solaris acceptance from it (hence licensing that precludes it from linux, their primary competitive solution). I think someone was on to something when they discussed the Sun/Apple relationship long term. Solaris, *particularly* thanks to ZFS can perform server-side tasks competently and still has some mindshare. Solaris workstations, however, are largely considered unneeded and counter-productive in ease of use nowadays. Apple has

      --
      XML is like violence. If it doesn't solve the problem, use more.
    2. Re:Good Reasons To Support ZFS on Mac by modapi · · Score: 1

      Hard to know where to start. Do you work for Microsoft? You aren't stupid, and are well-written, so I won't sugar coat this.

      -ZFS RAID: ZFS does full stripe writes, all the time, which are the fastest software RAID writes, thanks to variable stripe writes. This does, in fact. obsolete mid-range HW RAID, let alone the cheap PCI RAID cards.

      -Self-validating the data store is independent of RAID. If you don't understand this, it is back to school time. File systems are supposed to be independent of the underlying infrastructure.

      -Apple engineers can figure out how to boot from it. Not a priority for Sun, whose E10K's required an internal SCSI disk for years to boot.

      -Versioning isn't the same as CDP, as you well know. Since snapshots in ZFS are cheaper than overwrites, it would be simple - and I have no idea what APPL engineers are implementing - to snapshot before every ~Documents write.

      -Today's set-top boxes aren't hoping you will spend thousands of dollars purchasing copies of content that they won't let you backup. ITV is. So Apple is suddenly going to offer a generic set-top box? WTF?

      -You don't know a frikkin' thing about technology diffusion, do you? A hint: when you get hundreds of thousands of people going to work and telling the CIO that my home system does this and this and your expensive proprietary system doesn't, that raises the bar. Remember when PC's and VisiCalc were new, and smart guys would rip IT a new one because their batch IBM 4300s couldn't respond as quickly as a $3k PC? No bells ringing?

      Apple doesn't care about the enterprise. The enterprise is the elephant's graveyard of IT companies. The enterprise is coming to Apple, and companies like Apple, not vice-versa.

    3. Re:Good Reasons To Support ZFS on Mac by Junta · · Score: 1

      Hard to know where to start. Do you work for Microsoft?

      Hardly. I know MS software implements *some* of the alternatives I suggested, but I don't think they have a very robust storage management (i.e. at last check I did they lacked standardized multipath, snapshots, some other things.

      -ZFS RAID: ZFS does full stripe writes, all the time, which are the fastest software RAID writes, thanks to variable stripe writes. This does, in fact. obsolete mid-range HW RAID, let alone the cheap PCI RAID cards.

      I think what you are getting at is the filesystem-level knowledge ZFS has available to optimize performance above and beyond block-level possibilities that I mentioned. Ultimately its complicated, don't have hard performance data on the 'RAID-Z' stuff, but already software raid was a viable solution, depending on CPU time spent nominally idle vs. what could be offloaded by a dedicated XOR engine. Even given equal performance, I'd pick software RAID for hardware independence. RAID-Z likely outdistances traditional RAID[345] approaches in theoretical best, but don't know if the offset is really that much to be excited about.

      -Self-validating the data store is independent of RAID. If you don't understand this, it is back to school time.

      But you seemed to indicate self-recovery/healing beyond validation ("no bit rot"). I was simply saying that ZFS requires the pool be built in specific ways for self-recovery, which is to be expected, but ZFS does nothing magical to fix data if no redundancy is in place, which is a fair assessment, but statements like 'no bit rot' imply ECC strategy to correct errors rather than simple checksumming for more absolute error detection. This isn't a bad thing, but ZFS should be presented correctly.

      File systems are supposed to be independent of the underlying infrastructure.

      Ah, but this isn't a good thing, and one of the huge benefits of ZFS is just that it is not so independent of the underlying structure, so they can leverage stuff. Hence why they recommend adding individual disks in raidz to the pool over setting up a block-layer RAID5 underneath the storage device.

      -Apple engineers can figure out how to boot from it. Not a priority for Sun, whose E10K's required an internal SCSI disk for years to boot.

      Hard to say, they may continue to have a simple small bootstrap partition, or else they may need openfirmware updates if they do want ZFS boot. Current openfirmware implementations may not be able to boot ZFS directly, but that doesn't mean a small simple volume could begin to even be noticable to users. Volumes will continue to exist, but that doesn't mean the storage pool concept won't make things immensely easier.

      -Versioning isn't the same as CDP, as you well know. Since snapshots in ZFS are cheaper than overwrites, it would be simple - and I have no idea what APPL engineers are implementing - to snapshot before every ~Documents write.

      Possible, but snapshots may not be *so* trivial or important to do so frequently. Time machine seemed to have daily granularity. I've implemented down to hourly snapshots with dirvish within a day, and ZFS would be a lot lighter weight than that, so I wouldn't doubt hourly, but there probably should be a limit.

      -Today's set-top boxes aren't hoping you will spend thousands of dollars purchasing copies of content that they won't let you backup. ITV is. So Apple is suddenly going to offer a generic set-top box? WTF?

      I'm saying the market expectation is low, so Apple doesn't need to cram two hard drives in there and by extension price themselves up. Look at iPods for precedent, they are by no means redundant by default. I would expect 'iTV' to be very closely modeled off of the iPod strategy, except it probably will allow users external storage options. Personally, no level of making my one basket secure makes me feel better about having all my DRMed eggs being force

      --
      XML is like violence. If it doesn't solve the problem, use more.
    4. Re:Good Reasons To Support ZFS on Mac by Quila · · Score: 1
      (and in fact makes crappy server products hardware wise relative to the competition including Sun)


      The XServe specs look good, and all of the reviews from an admin's perspective are extremely positive. What's crappy about them that I haven't read? I'm not looking for an argument, I'm genuinely interested.
    5. Re:Good Reasons To Support ZFS on Mac by Junta · · Score: 1

      I'll go to the website at a glance to see if the biggest gripe is still valid...

      Ok, so the Intel XServe does away with the biggest complaint I *think*. Looks like they have an IPMI 2.0 compliant BMC, and the complaint I had heard before was a severe lack of out of band management. I shouldn't be surprised that in moving to the Intel design intel helping them correct this. So their server hardware is not as out of touch as they used to be, but interest remains low among the customers I deal with. Note I couldn't get the info easily from Apple's web site, I went to external review sites to find out what management they had. Apple's marketing for a server isn't the best for anything larger than small business. They gloss over details that are critical to IT organizations. Saying "IPMI compliant" may not be plain enough speak for the PC market, but in the server market that detail should be more clearly stated..

      --
      XML is like violence. If it doesn't solve the problem, use more.
    6. Re:Good Reasons To Support ZFS on Mac by Quila · · Score: 1
      Apple's marketing for a server isn't the best for anything larger than small business.


      Very true. They don't do much at all to market their server hardware in a way that will get enterprise buyers interested. I showed an admin guy where I work (who didn't even know Apple made servers) the specs on the new 1U, including the hardware ease of use stuff, and he was pretty impressed.
    7. Re:Good Reasons To Support ZFS on Mac by Junta · · Score: 1

      I do have two comments on them:
      -LED replication in the front, good thing. I don't know many servers that bother to put all the typical operation LEDs up front. Honestly, though, I haven't heard people want more than all the error LEDs up front. IBM servers do that part (easy to tell if the server thinks something is wrong at least, no LEDs=good thing, but having the NIC LEDs up front could be helpful (or a negation of the link light...)

      -Lack of apparent front side video, bad thing. 1U servers are frequently cabled up without any KVM or anything. Unless their BMC implements remote video, and for the most part even if it did, hot plugging monitor and keyboard to the front of the server to not disturb cabling in the back is handy.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    8. Re:Good Reasons To Support ZFS on Mac by Quila · · Score: 1
      -Lack of apparent front side video, bad thing. 1U servers are frequently cabled up without any KVM or anything. Unless their BMC implements remote video

      Now you have me really interested. I'm not sure about video, but I do know the XServe uses EFI instead of BIOS, so when you get to it through IPMI you're sitting in a full command shell where you can load and unload drivers, etc. It doesn't make sense that Apple didn't put video on the front, since they use the tiny mini-DVI plug, and they already put a FireWire port on the front (which you can run TCP/IP over).

      Strangely, what I appreciate most is the build of the hardware. Simple things like thumbscrews to release the mobo so it can be pulled straight out (nothing in the way) and just the general ability to pluck and chuck anything quickly and easily. And no more cage nuts!
    9. Re:Good Reasons To Support ZFS on Mac by Junta · · Score: 1

      Now you have me really interested. I'm not sure about video, but I do know the XServe uses EFI instead of BIOS, so when you get to it through IPMI you're sitting in a full command shell where you can load and unload drivers, etc. Not really relevant to IPMI, IPMI is too low level to interact much with the OS/drivers. Interaction with BIOS/EFI is generally limited (i.e. setting some boot options, clearing CMOS config. Interaction with the running OS would be very limited generally (though with a BMC driver loaded, OEM commands could exist to do stuff, but the most I've seen is a BMC as watchdog to reset/power down hung systems and panic handler that logs what the kernel will give it, in a standard SEL event, and optionally encoding the panic string as an OEM event).

      Now with IPMI 2.0, the serial port should probably be exported by the BMC via the network, which would give you a serial console regardless of EFI or BIOS (any BIOS on a IPMI system should support serial console, and any decent server OS has serial console support). Easy access to the system serial console may be what you are thinking of.

      EFI does, however, provide a much more standard interface for the OS to the low level stuff, similar to OpenFirmware. On most PC BIOS systems, there are solutions like ASU that IBM does, but each vendor has his own. Of course, since Intel and Apple are the only ones providing EFI systems, it really isn't better than the vendor specific stuff unless more vendors adopt it...
      --
      XML is like violence. If it doesn't solve the problem, use more.
  115. Re:Reasons to support? Servers by Bert64 · · Score: 1

    Mainly so you can (re)install a system remotely... Very useful in a lights-out datacenter, especially one which is miles from where you are.
    I have a number of sun systems which were physically installed into a rack by the fairly clueless on-site techs, they did little more than plug cables in, everything else i did remotely, that is power the systems up, install the OS, configure the OS, etc..

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  116. OS X 10.4 workstation too by Anonymous Coward · · Score: 0
    The client or workstation version of OS X 10.4 also supports ACLs. You just have to turn them on. You can do so with a command along the lines of:

    /usr/sbin/fsaclctl -p / -e
    Manipulating the ACLs can be a little nerve wracking if you don't like using the terminal, but they're there, work correctly, and are reflected correctly in the GUI.

  117. Re:Reasons to support? Servers by Sparohok · · Score: 1

    In theory you could add protections for all those things, but it doesn't seem very useful to me; why not just test the system an to empirically discover such faults?

    Yes; that's exactly what ZFS does: test the integrity of your data to empirically discover faults. On the other hand, most RAID implementations and filesystems don't test the integrity of your data; that is left up to the application layer and hardware.

    I can't even guess at where you got the 2/3 number; the one I come up with is more like 1/3 worst-case-scenario, and that's only at the physical disk level, not at the host-interface level.

    I came up with 2/3 because you need to read the data and both parity stripes. Actually it's worse than that, you need to read all the stripes to validate any given block, just as you do in a write operation. For example in the minimal 4 disk RAID-6 array, reading and verifying will be 4 times slower than reading without verifying. That's why nobody does it. (Also because in any level lower than RAID-6 you are still screwed; you don't know whether the data or the parity is correct.)

    It's also worth noting that, while the checksum in ZFS is small, the entire data set much be read from memory and processed to calculate the checksum, in addition to whatever you plan to do with the data after you've done the integrity check.

    ZFS calculates checksums on a (variable size) block level. Compared with IO bandwidth, CPU and memory bandwidth are virtually free and getting cheaper all the time.

    If the data-integrity benefits of ZFS require that ZFS be implemented perfectly and only protects me from implementation errors in other, generally simpler systems, I'm not seeing a lot of practical benefit here.

    You know, there are so many problems with that statement that I don't even know where to start. If you believe that implementing a reliable filesystem is on the same order of magnitude of difficulty as perfectly error-hardening every piece of firmware and hardware that will ever be used with that filesystem, there's nothing I can do to convince you otherwise.

    md5sum comes to mind -- that provides file-level data integrity checking, which is superior even to the filesystem-level checking that ZFS provides. And it's pretty commonly used in an automated fashion to verify that executables and archives are intact.

    ZFS has an enormous advantage over md5sum: it is completely transparent to the user. I'd say that md5sum is the problem, and ZFS is the solution.

    (Of course md5sum is primarily used to solve higher level problems.)

  118. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 1

    I would hate for companies to start releasing general-use apps for OSX using X11, as, like you mentioned, they don't play well with regular OSX-native apps.

    They "don't play well with" other OS X apps because Apple doesn't invest time to make things work together well. With a modest amount of work, Apple could make X11 and Gtk+ apps better integrated into OS X than Carbon apps are.

    They will never have all the niceties of a native Aqua app, and so Apple is right to force developers to code for Aqua if they want to release a Mac app.

    Aqua is just the UI; there are many toolkits and APIs implementing Aqua. Apple themselves has Cocoa and Carbon, two completely different APIs and libraries. Making an Aqua-integrated version of Gtk+ is fairly straightforward, in particular given Cairo and the existing work on KDE/Gnome integration. Even non-Gtk+ X11 apps could integrate much better with the Apple desktop than they do, through improvements to Apple's X11 server implementation.

    The fact that Apple keeps choosing to maintain proprietary APIs, and that X11 apps are so poorly integrated on Macintosh, is a business and marketing choice, not a technical one; Apple deliberately keeps it that way. And that brings me back to my original point: ZFS is an analogous choice. It's not that it's technically better in any meaningful sense, Apple just doesn't want too much Linux compatibility.

  119. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 1

    Apple has a choice between lots of file systems to succeed HFS+, among them ext3 and ZFS, and they chose ZFS, a file system that has no good Linux implementation and a Linux-incompatible license. That tells you how much they value Linux interoperability. How hard is that to understand?

  120. Mac OS X, ZFS, and the DragonFly BSD kernel by Anonymous Coward · · Score: 0

    It's my understanding that the developers at DragonFlyBSD are already in the process of porting ZFS to DragonFly. Maybe they're already done. Either way, my point is that I keep wishing there was a way for Apple to dump the Mach microkernel in favor of something a bit speedier. That's where DragonFly comes in. From my limited understanding of what they're doing it sounds like they've been adding a message passing system similar to what most microkernals use. So Mac OS X uses a Mach microkernel with FreeBSD wrapped around it, maybe they could dump that and just adapt everything to the DragonFly kernel which sounds like it will be much faster and was also based upon FreeBSD 4.8.

  121. Re:Reasons to support? Servers by profplump · · Score: 1

    I came up with 2/3 because you need to read the data and both parity stripes.

    You only need to read one parity set unless you detect on error, and you need to read the original stripe regardless. You would only need the second set of parity data to determine which set of data is accurate in case of a conflict; in the general case the first parity set will match with data, and the second parity set can be ignored.

    Actually it's worse than that, you need to read all the stripes to validate any given block, just as you do in a write operation. For example in the minimal 4 disk RAID-6 array, reading and verifying will be 4 times slower than reading without verifying.

    When I read from RAID-6 without verifying I need to read the stripe itself. When I read with verification I need to read the stripe and one of the parity sets, which is 1/2 the size of the stripe. I come up with 100% + 50% = 150%. That's only 1/3 of the disk bandwidth going to parity data. Obviously you've got some other read/verify algorithm in mind, but I don't know why.

    And that 50% overhead is still assuming that the parity data isn't cached and that the parity read (which is on a physically seperate disk) blocks other operations.

    ZFS calculates checksums on a (variable size) block level. Compared with IO bandwidth, CPU and memory bandwidth are virtually free and getting cheaper all the time.

    I don't know what systems you've been using, but it's been a long time since my memory bandwidth has jumped up any considerable amount. Overall bus speed is slowly gaining, but processor speed is still pulling away from bus speed, and unless there's some breakthough in bus technology that's like to continue to be true.

    ZFS has an enormous advantage over md5sum: it is completely transparent to the user. I'd say that md5sum is the problem, and ZFS is the solution.

    In many applications, md5 is completely transparent to the user. Run any modern package management system -- it fetches archives and their checksums and notes errors and in many cases refetches automatically in an attempt to correct the error. And it actually provides higher data integrity than ZFS's filesystem-level checking, because it actually knows what's supposed to be in the file, not just what the file system last thought was supposed to be in the file. As others have noted, it's not really end-to-end unless one of the ends is "program consuming data" -- with md5 that's possible, with ZFS it's not.

  122. Am I the only one who saw this? by Salmar · · Score: 1

    One of the two links at the bottom of the article describes the addition of HiDPI, making the UI resolution-independent. It explains why they're changing its name.

    --
    This is not the signature you're looking for.
  123. Sun and Apple by larry+bagina · · Score: 1
    Sun and Apple have an interesting history. Consider:
    1. Back when Apple was a potential takeover target, Sun was usually mentioned. (these days, Sun is sometimes mentioned as a potential Apple buy).
    2. OpenStep was a collaboration between Sun and Next. Sun eventually abandoned it in favor of Java; Next was purchased by Apple and OpenStep became Cocoa.
    3. In early/mid 90s, MAE -- Macintosh Application Environment -- allowed Macintosh software to run on Solaris.

    My Prediction: Apple and Sun will come to an agreement whereby Solaris improves it's OSX support to help OS X on the corporate desktop.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  124. Removable Storage and a Storage Pool by Anonymous Coward · · Score: 0

    So, if I were to stick a USB thumbdrive into my computer, how would I copy files to it? The way I understand ZFS, the thumbdrive would be added to my storage pool, and the file system would somehow know what I want on it. And when time came to eject the thumbdrive...?

    Could someone clear this up for me?

    1. Re:Removable Storage and a Storage Pool by bn-7bc · · Score: 0

      Ok thos is just speculation on my part, but t least on athe desktop version of osX ! guess adialog will pop up the fist time you plug in a storrage device. Somthing alog yhese lines:"A new storrage device os size x hace been detected, What do you want to do with it?" Add to storrafe pool or mount as a removable file system. This message can be skiped if the disk is unformated and connected to an inetrnet sata connector as it is apperant what you want with it If you dussagree plz send a comment explaining where Im wrong. Amd pleace dont mod me down my carama is low as it is.

    2. Re:Removable Storage and a Storage Pool by easter1916 · · Score: 1

      Bjarne,

      That's exactly how it works. Your explanation was succinct. Don't worry about your karma, mate! If you keep giving informative and humble answers like this it should go up quite rapaidly (not that that actually matters or means anything)...

      -Ray

  125. What I want is Plan9's WORM by mattr · · Score: 1

    I never used it myself but read that Plan9 had offices use a WORM drive that basically captured everything as you typed it and would let you undo basically forever one character at a time. If ZFS takes 1/3 second to do a snapshot of a 10 gig mp3 partition like the link someone posted above, how about something that would let it store my entire workflow at a very high granualarity say for 10 minutes, a day, a week. So I could undo whole paragraphs, redo the filters in photoshop or whatever.

    Apparently Time Machine will have an api for applications to use. I think the time has come for people to realize that while time progresses forward in a single line (at least in this universe we share) workflow does not really. It is lots of little projects interleaved in time, and in a single project maybe you go down one path of processing and then back up and realize you should be doing something different - but were you paranoid enough to back up your file at that point you need to revert to?

    Generally I am very paranoid in terms of saving lots of versions, but really the OS should handle all this. I would also like to be able to type in a label or even a short paragraph that describes what I think is a certain milestone (i.e. solved that problem, break for lunch, fixme, function x works, come back to this later). It would be saved by the OS system-wide, and could have an alarm to tell me to check if it is finished (if I say "come back in 2 hours" then it should tell me calmly in 2 hours to do so).

    To me this would be such an earth-shattering advance that it would release (most) humans from the shackles of the computer and start making computers help us be more productive and smarter. This doesn't really require ZFS though it would be extra. I'm trying to imagine a world where this works in Linux but I don't know, I think Apple has a shot at it.

  126. Re:going for Linux incompatibility, it seems by WiseWeasel · · Score: 1

    Well, they made it as good as they had to, and they're still adding to it. By the way, nothing's preventing anyone from writing their own X server if they feel Apple's is inadequate...

    --
    "I like systems, their application excepted", George Sand (French)
  127. As long as we're nitpicking ... by Anonymous Coward · · Score: 0

    That would correctly read:

    "The letter 'Z' is improperly pronounced 'Zee' in the USA and Iraq (after 2003)"

    It's improper to place double quotes (") within double quotes -- single quotes (') are used instead ...

  128. Re:Reasons to support? Servers by Sparohok · · Score: 1

    I see the confusion. You are thinking about sequential reads, where you are correct, the asymptotic bandwidth penalty is 1.5x for a 4 disk RAID-6. With small random reads the penalty is 3x because you have to read both data chunks and one parity chunk from the stripe even though you only need one of the data chunks. On any practical workload the penalty is likely to fall somewhere between those limits.

    Memory bandwidth isn't growing as fast as CPU power, but they are both growing so much faster than practical drive throughput that they have become effectively infinite by comparison. The only way you can become memory bound doing disk IO is to have a pure sequential access pattern and dozens of spindles per CPU. And as long as we are stuck with hard disks for mass storage, that imbalance is only going to get more extreme. Memory bandwidth is one of the last things a modern filesystem designer needs to lose sleep over.

    The bottom line is that ZFS establishes and maintains true data integrity from the filesystem layer down at a very reasonable cost. Neither RAID of any flavor, nor any widely used filesystem can say that. This has been an interesting discussion but I don't think there's really any more that needs to be said to defend this position.

  129. Re:going for Linux incompatibility, it seems by palndron · · Score: 1

    What if they just chose the one that was best for what they where looking for?

    Relating this to some kind of slight on linux is just plain stupid, and seems like
    a sad way of almost searching for a reason to draw the conversation away from
    two other companies ( SUN and Apple ) back to Linux.

    Give it up.

    --
    a man, a plan, a canal, panama
  130. It is not the same. by jotaeleemeese · · Score: 1

    One solution is reverse Engineered, hoping for the best, and with the Damocles sword of MS patent litigation hanging over anything that smells remotely related to MS.

    The other is an open solution provided by a company that, finally, is betting in openess and colaboration.

    Sorry, but they simple ain't the same things.

    --
    IANAL but write like a drunk one.
  131. Solaris has ACLs by jotaeleemeese · · Score: 1

    Just for the record...

    --
    IANAL but write like a drunk one.
    1. Re:Solaris has ACLs by More+Trouble · · Score: 1

      Most Unix implementations have ACLs, typically very close to the POSIX ACL draft. Mac OS X is unique among "Unix" implementation in that it does not use anything like POSIX ACLs, but instead adopted Microsoft ACLs.

  132. Re:Reasons to support? Servers by walt-sjc · · Score: 1

    Is it a graphical console? If so, it doesn't say so in the marketing lit. In fact, the marketing lit is VERY thin.

  133. Re:Reasons to support? Servers by NatasRevol · · Score: 1

    It's CLI, but my point was that it's remote, which the GP didn't seem to notice.

    --
    There are two types of people in the world: Those who crave closure
  134. Re:Reasons to support? Servers by plambert · · Score: 1

    Apple's LOM does not provide a remote console login.

    The only supported remote login solution is Apple Remote Desktop. This is not available until the system has come up completely, and is not capable of tasks like "repair the boot filesystem in single-user mode."

    There may be some limited, unsupported serial port functionality, not via the LOM. This, too, cannot allow you to select a boot device or otherwise interact the boot process.

    If you believe otherwise, I'd love to hear specifics?

  135. Re:Reasons to support? Servers by Anonymous Coward · · Score: 0

    Abstraction and factoring aren't always the right choice.

    ZFS wins big in several ways (and will likely win more in the future) because it shatters the walls between the various layers of the stack that, to the end-user, is simply "the disks". This is, at least in part, because the hardware balance has changed. (CPU vs. memory latency vs. disk latency vs. disk bandwidth vs. network bandwidth etc.) But it's superior for other reasons too. For example, the way it (or NetApp's WAFL) does snapshots is dramatically superior to volume-management-based snapshots, for most (nearly all) purposes.

  136. I wonder if non cocoa apps will run on it? by vondiggity · · Score: 1

    If I remember correctly, Carbon apps would not run on drives formatted with UFS on the Mac. (10.2 IIRC). I wondeer if only Cocoa apps will be supported on a ZFS formatted drive?

  137. Re:going for Linux incompatibility, it seems by oohshiny · · Score: 1

    What if they just chose the one that was best for what they where looking for?

    Obviously, it is. That is, they choose a few extra features (useless ones, as far as I'm concerned) over Linux compatibility.

    Relating this to some kind of slight on linux is just plain stupid,

    Companies don't "slight" open source software, they attempt to compete with it.

    and seems like a sad way of almost searching for a reason to draw the conversation away from
    two other companies ( SUN and Apple ) back to Linux.


    What's there to "draw away"? In the long term, there are going to be two operating systems: Windows and Linux. What Apple and Sun do is relevant only to the degree that they are compatible with those two operating systems. That's why I'm looking at how Apple's choices relate to Linux. Going with ZFS was a stupid mistake on their part.

  138. Re:Reasons to support? Servers by tbuskey · · Score: 1

    I think ZFS won't get into the Linux kernel for similar reasons that ReiserFS 4 is having problems. There are licensing issues too.

    I'd say putting RAID, Volume Management and the filesystem into one unit is a good idea. Right now, the file system touches the data. Then the VMS. Then RAID. Then the device driver. Maybe a compression layer. And encryption.

    This is the old BSD vs Bell Labs. ls -r vs ls | sort -r. Or monolithic vs micro kernel OS.

    BSD's FFS depended on knowledge of the underlying disk geometry to do some of its speed. The only filesystem I can think of that is optimized for RAID is WAFL in NetApp. ZFS has taken some ideas from WAFL.

    When you use RAM in your system, do you have to think about the 1st slot is a 512MB, the 2nd is a 256MB, etc? And there's another 1GB in swap. But when you go to malloc, you don't care where one device ends and another begins. You just get some memory from the pool. There might be ECC on it too. If it was on swap, it gets migrated to RAM as it gets used. ZFS does this for file systems.