ZFS Set To Eventually Play Larger Role in OSX
BlueMerle writes with the news that Sun's ZFS filesystem is going to see 'rudimentary support' under OSX Leopard. That's a stepping stone to bigger and better things, as the filesystem will eventually play a much larger role in Apple OS versions. AppleInsider reports: "The developer release, those people familiar with the matter say, is a telltale sign that Apple plans further adoption of ZFS under Mac OS X as the operating system matures. It's further believed that ZFS is a candidate to eventually succeed HFS+ as the default operating system for Mac OS X -- an unfulfilled claim already made in regard to Leopard by Sun's chief executive Jonathan Schwartz back in June. Unlike Apple's progression from HFS to HFS+, ZFS is not an incremental improvement to existing technology, but rather a fundamentally new approach to data management. It aims to provide simple administration, transactional semantics, end-to-end data integrity, and immense scalability."
It has a "Z" in it!
Macs are really going to stink if Apple changes their default operating system to ZFS. ZFS is a file system.
Even though OSX will still be Unix, will they'll move away from BSD and toward Solaris?
I'm hoping not, since many things behave very oddly on Solaris. Non standard tools and such, but it would be one way to keep it from running on cracked PC's.
2 cents,
QueenB.
HDGary secures my bank
Turn your highlight threshold down to whatever you normally browse at. That is a workaround for the time being.
This is here so you don't ignore the last two lines of my posts.
end-to-end data integrity
You can't talk about end-to-end data integrity when this is just a filesystem. It's only one tiny place where the data you store in said file system can wreck its integrity. Are there memory bus or in-memory check for integrity of data read from ZFS? What about applications?
Also stop talking to ZFS. Very secret internal sources told me ZFS was supposed to be a bigger event in Leopard but Steve killed it because Sun scooped him. It has happened before folks!
Don't scoop the Steve. You scoop the Steve and business is over.
This is awesome and I knew there had to be something more interesting behind Time Machine. While I'm not that impressed with how it appears it's going to work in 10.5, later versions of OS X, with full ZFS support, will make Time Machine damned near magical.
BSD and Solaris have compatible licenses. So new tecchnologies developed in either can potentially migrate to the other. That is, of course, the point of Open Source isn't it?
A filesystem isn't a kernel, so leaping from the incorporation of ZFS into Darwin to a replacement of Mach and/or the BSD bits with Solaris is a bizarre one.
Where's my linux boot support?
Non standard tools and such
Uh, Mac OS X is certified standard UNIX. Solaris is also certified standard UNIX. And they're both fully POSIX compliant.
What are some examples of non-standard tools?
I can't even see my preferences link in at all with this system, the floaters do not work in Safari 3. I had to go straight to my user page by URL.
In addition, what's the point of having a checkbox "to turn off the excesses of the user interface" if it doesn't actually DO that?
Alright, who broke the comments? Seriously, I'm stuck in this "new" version and it doesn't make fuck-all of any sense to me.
Unless I'm mistaken, this will mean the true end to resource forks on the MacOS. For those of you who aren't familiar with them, resource forks were a part of a file under the Classic MacOS (OS 9 and before) that contained icon information, filetype and creator codes, etc. This part of the file was only supported under the HFS and HFS+ filesystems, meaning the resource fork would get lost if you copied a file to a non-HFS/HFS+ filesystem (this is why files copied to FAT filesystems in the old days often wouldn't reopen on a Mac. It also explains the "Mac OS X" folder with underscored-dot files from archives created with OS X's built-in zip utility). With OS X, Apple rolled the resource fork into the "data fork" portion of the file, meaning the information was still there for legacy purposes. However, this is only supported under apps that know where to find the information. This change has the potential to cause some headaches for shops that have legacy files spanning several decades. OTOH, I'll be glad to see it finally go...
This guy's the limit!
They made a big deal about the import of the latest UFS from FreeBSD in Panther, and their support for UFS was actually reduced in Tiger because they put the Spotlight hooks into HFS+ instead of using the hooks already in the vnode layer in Darwin.
So don't do anything that would depend on them supporting ZFS.
The AppleInsider article is largely vacuous...
Please do not bother with this debunking (via Macjournals) unless you are truly interested. Thanks.
http://www.macjournals.com/news/2007/10/04.html#a79
I'm hoping not, since many things behave very oddly on Solaris. Non standard tools and such, but it would be one way to keep it from running on cracked PC's.
2 cents,
QueenB. Please go and stare at this page for a while: http://en.wikipedia.org/wiki/XNU
If by "non-standard tools" you mean non-GNU, yes, but they are hardly odd.
I have no idea what your "cracked PCs" comment is all about, and what it has to do with Solaris and ZFS.
killall
How many people have learned that one the hard way?
Sun is the new Bell Labs.
Watch for the robotics coming out, very quietly, from Sun in the next 10 years.
Website Hosting
I have been playing around with ZFS on FreeBSD since the middle of this year or so.
I wonder if I should be concerned that FreeBSD is moving toward Solaris and away from FreeBSD.
"Sacrifice for the good of The State" - The State
What are you smokeing - what ever it is, pass it this way. Non-standard or 'does not conform to the bastardised standards which GNU have embraced and extended'. Case in point, look at the number of nimrods who assume gnu grep and use gnu specific switches for their make scripts.
It isn't Solaris that it is non-standard, it is those who insist on using GNU tools and their extensions to the standard which are the non-standard.
"We don't have an LVM layer to speak of, so we're going to build it into the file system."
There are a lot of things to like about ZFS. The built-in LVM isn't one of them IMHO, but I can see where it might be attractive if either you don't already have an LVM subsystem or your existing LVM subsystem is complete crap.
"My life's work has been to prompt others... and be forgotten." --Cyrano de Bergerac
It would appear that Appleinsider's writers can't tell the difference between an Operating System and a File System. Bad Science Journalism is about the same thing as Bad Information Technology Journalism. Is one more widespread than the other? If Science Journalism is worse, then I wonder what we do differently with Tech jornalism that we can apply there.
I once worked for a company where the CTO couldn't tell the difference between NNTP and HTTP. (He clicked on a link that brought up Usenet in Outlook Express, and was up in arms about how so many negative comments were "on our website!")
Hardly! ZFS have provisions for any number of "forks" in the file system, called "extended attributes" in ZFS. If Apple migrates to ZFS they have every chanse to use these attributes to provide for quite a seamless integration with previous filsystems. The file system is open source and Apple can prettymuch do what they like or need. Even NTFS have these features but MS seems to ignore them due to backwards compatability issues with FAT filsystems and Windows APIs
You know.. Wikipedia is very handy to look these things up. Please do. http://en.wikipedia.org/wiki/ZFS
- Henrik
- when the Shadows descend -
So how goes the evaluation? I've been patiently waiting for the 7.0 release (it's killing me) so I can get my hands on ZFS. Kind of ironic that you're worried about BSD moving towards Solaris, as Solaris was preceded by SunOS which was based on BSD.
Method of processing duck feet
I was amazed to discover though that ZFS can't increase the size of a RAID5 or 6 dataset. Given the ability to dynamically add storage is various other ways it is extraordinary that something as common as resizing RAID5 is missing.
Uh folks, I hate to break it to you but ZFS is a FILE SYSTEM not an OPERATING SYSTEM....
I am sure Apple isn't going to replace the core of their OS with Solaris. ZFS may be a better choice the HFS+ I don't know a lot about ZFS, but if it is better I will have no problem migrating my stuff over to it.
I wonder which one you feel is nonstandard.
What's so bad about killall?
It's good enough for Linux but not good enough for you?
Clear, Dark Skies
Actually, a built-in LVM makes a lot of sense if you stop to think about it; many of the things a LVM does could benefit from information only the filesystem has.
Click "Reply" in the "n Comments" box at the left hand side. Not extremely intuitive, but it works as advertised.
Does FreeBSD's implementation of DTrace makes it away from BSD? No, that tool is very critical and useful for their needs/focus and they implement it just like Apple planning sort of ZFS support for specific needs.
Want to upload that Keynote project to your friendly CMS via a web browser? Can't, because it's not a file, it's a #@$!ing FOLDER. You have to zip it first. Words cannot accurately describe how tiresome this becomes.
It also makes data recovery (should the file get accidentally deleted) nearly impossible- the files inside the folder are not named uniquely or in any identifiable manner.
ZFS isn't nearly all it is cracked up to be- among other things, you can't expand RAID-Z...absolutely moronic. I'm not even sure you can expand a simple mirrored pool. Users have been repeatedly asking for growing abilities, and the developer reaction was "just create a larger pool and move it over". That's hilariously stupid advice given that you usually don't have that kind of storage hanging around- not even in enterprise environments.
There's simply no comprehension amongst the ZFS developers that virtually EVERY raid card on the market supports such an operation. Even more shocking was when one developer said (paraphrasing) "gosh, how would one even go about doing that sort of thing?"
Don't get me wrong- checksumming and automatic disk scrubbing are features long overdue, but ZFS is not magic bullet.
Please help metamoderate.
Only Linux weenies get burned by that one.
Real Unix admins just get harmlessly pissed off that pkill results in command not found whenever they use a toy Unix.
I doubt that Apple is going to switch the default file system to ZFS anytime soon, but one situation where I think it might be very useful right away is in the Apple TV or possibly iPods. A lot of people were dissapointed with the small size of the disk when the Apple TV was released and it did have that mysterious USB port on the back. Could ZFS be used to make plugging disks into Apple TVs easier? Just curious...
Go here if you need this tools... at least it works on Mac.
W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
In my experiences, anyone who runs FreeBSD for srs business also has a few machines kicking around for testing and development. Why not unleash 7.0 on one of those right now? HEAD is currently frozen (and about as stable as HEAD could ever be), pending official creation of RELENG_7.
The GNU tools can also be seen as the next evolutionary step.
According to the Single Unix Standard, only Mac OS X 10.5 (Leopard) can be considered "Unix". And only when deployed on Intel-based Macs. Previous versions must be considered like Linux: "Unix-like".
FWIW, Sun's operating system (SunOS) has been fairly close to Unix standards over its lifetime. In fact, the official version of System V release 4 was written by Sun and called SunOS 5, integrated into Solaris 2
Why is anyone even having this argument? GNU means "Gnu's NOT Unix" for a reason...
The Wizard utters the word 'frobnoid!' and cackles gleefully
That being said, they may have something up their sleeves, and forgive me if the connection between ZFS and my idea is tenuous. If it seems like a silly idea, I blame the overdose of coffee I had this morning.
My understanding is that one of the features of ZFS is effectively infinite virtual device size, spread over effectively infinite numbers of physical volumes in a RAID configuration.
Since the introduction of iTMS, especially with TV and movies, Apple is now very much in the business of pushing bits, and the costs of that bit-pushing grow--maybe not linearly, but they do grow--as demand for those bits grows.
People have been suggesting that Apple might be building some sort of BitTorrent client to facilitate distribution of content, and I'm thinking that ZFS might be a key to this.
Perhaps--and this is where my understanding of the technology may be leading me down the wrong path--they could build some sort of ZFS hooks into iTunes such that, if the user chooses to do so, they could mount their purchased library as a network-shared ZFS partition and register an IP address and port with an Apple server. If someone wants to buy a TV show that 10 people have already bought, they get a magic read-only volume mounted which is effectively a network-mounted RAID1 partition striped across those 10 drives, with access only to the TV show in question.
The iTunes hosts which are providing the data shake hands and agree on some sort of wrapper that is provided by the Apple servers, and encode their data appropriately. The buyer then gets their content with minimal data flow from Apple's infrastructure.
To provide incentive for people to do this, perhaps Apple offers lower-cost or even free content to regular bandwidth contributors.
Is this feasible, or even a likely path that they would be thinking of with ZFS, or am I just on crack?
The CB App. What's your 20?
He's arguing that it would be much harder to run a cracked OS X on a regular PC if it ran more Solaris userland (?) than BSD. Thought noone on the planet can understand why that would be the case. Also why would they switch other things from BSD to Solaris just because they add support for another filesystem?
The whole post is just weird, I wonder how it even got +2 =P
You should get out more: (from the Linux manpage)
The Wizard utters the word 'frobnoid!' and cackles gleefully
D) They're both run by megalomaniacal zealots.
I thought that Apple and SGI should have merged at one time. It no longer makes sense, but at the time (say, 2000 or before) both were clear leaders in graphics and visualization. It would have been very interesting to have a common software platform from true desktop to true datacenter.
The party is kind of over now, as Apple has decided they are a consumer electronics company and not a computer company and Sun is less interested than they used to be in the desktop-type workstation market (at least from a hardware perspective, Java kind of keeps them there in a software basis).
I wonder how Mac OS X aliases will function under ZFS. With HFS no matter where you move a file or its alias, they will be correctly linked. This is because the filesystem supposedly stores everything with an abstracted unique name. Will this be the end of Mac OS style aliases?
Once you start despising the jerks, you become one.
Even though OSX will still be Unix, will they'll move away from BSD and toward Solaris?
OS X is a heavily hacked Mach kernel with a bit of BSD code thrown in. Its architecture and codebase are completely different from UNIX. So, apart from a bit of UNIX compatibility and a lot of marketing hype, OS X is not UNIX.
Will they "move towards Solaris"? I have no idea what that even would mean.
According to the Single Unix Standard, only Mac OS X 10.5 (Leopard) can be considered "Unix".
Even conforming to the standard means that it is "UNIX" only in one sense; in terms of its internal architecture, OS X is still completely different from a traditional UNIX.
FWIW, Sun's operating system (SunOS) has been fairly close to Unix standards over its lifetime
/usr/bin/sh points to a non-compliant shell, etc). I understand Sun's reason for doing it that way (don't make old customers afraid of upgrades), but it is a pain when trying to make cross-platform shell scripts.
It is still a long way from following IEEE Std 1003.1
Solaris still defaults to non-compliant tools (/usr/xpg4/bin is not in PATH,
So, Apple is supposed to start supporting a file system which nobody but some research geeks use
ACCORDING TO A RUMOR SITE.
Let me say that again.
ACCORDING TO A RUMOR SITE.
If you take their word for it that Apple is actually planning to make ZFS a big deal for the everyday user of MacOS X, you are a fool. They might, they might not, but it's just a rumor. Mac rumor websites have been notorious for inventing things on slow news days.
- but they STILL refuse to fully support NTFS, which half of the disk drives on the planet are using. What kind of sense does that make?
Are you stupid?
No really, are you?
Have you not noticed by now that full read/write support for NTFS has been a very painful thing for all non-Microsoft operating systems? Even when write support is available, it's typically a relatively recent addition, and also typically slow. There's a reason for this: NTFS is a very complicated filesystem, and there's no reference implementation available.
ZFS, on the other hand... you can download Sun's own code. It is being added to other operating systems such as Linux and MacOS X by porting Sun's own code. It should not be a surprise that full functionality will eventually be available.
(For those living in a closet: MacOSX supports reading NTFS, but not writing).
If Apple would stop being so dysfunctional and start to play nicely with others, maybe it would get invited to more offices.
Maybe you'd have a chance at being more convincing if you didn't try to spin it as Apple REFUSING to support NTFS write. Where is it they've said they don't want to do it? What's that, you don't know? Of course you don't, because they never said it.
Apple originally didn't support NTFS at all. Then they added read-only support (a typical first step in writing a complex FS driver, see: the history of Linux NTFS support) and you interpret that as them deliberately denying you functionality and refusing to play nice with others? Good lord, what a tool.
First of all, the comparison would be between BSD and SysV, not BSD and Solaris. Second, ZFS has nothing to do with either SysV or BSD. Third, Mac OS X is not the first BSD-based OS to include ZFS -- FreeBSD has already done so.
No, and that's not just due to ZFS -- that's any filesystem with EAs. rename() works, in that the EAs stay with the file, but any other method for moving or copying files around needs to be modified.
Mac OS X has a couple of different ways of handling this, based on the API set you're using. Carbon has their own method, that I don't know too much about; the POSIXy API has copyfile(), which allows you to copy data, extended metadata, or security information. (There's a man page for it in the Leopard seeds.)
The version of vim that comes with it seems to copy the extended data; I don't know if emacs has been modified to do so.
It's a sad fact, but UNIX tended to be so low-level that there weren't any routines provided to copy files around (well, you could always do system("cp src dst"); and that'll still work 8-)), and as soon as filesystems started presenting more data, that became a problem.
In addition to using a new system-provided API (as Mac OS X does with copyfile()), the system can also present the objects as directories; this works for letting tar et al copy them, but it then means that anything that examines a filesystem object type before manipulating it won't let you read or write it.
What exactly do you find "non-standard" about the tools included with Solaris (and which standards are we talking about)? Or did you really mean "non-GNU" tools?
"Alcohol, Tobacco, Firearms, and Explosives" should be a convenience store, not a government agency.
http://en.wikipedia.org/wiki/Ntfs-3g
Not exactly, all Sun operating systems are called SunOS. SunOS 4.1 == Solaris 1 and SunOS 5.x == Solaris 2.x. (Of course then Sun decided they needed some big numbers -- MacOS was up there in the 9s and 10s, and Windows was at 2000! Solaris 2.8 was renamed Solaris 8 and voila! instant credibility!)
When most people say "SunOS" they usually mean SunOS 4 which is BSD -- from a user's standpoint SunOS 4.1.3 on a Sun workstation was pretty much the same as BSD 4.3 on a VAX.
Unlimited growth == Cancer.
... that MacOS X will receive a better default operating system! Odds are good that it'll be Vista not ZFS though...
Now, mod me down freely. My karma can't get any worse...
It depends on whom one listens to; the term "operating system" is also confused with kernel when some refer to a "Linux operating system" despite that Linux has always been an important part of a complete operating system but not the entirety of it. It's not much of a stretch to understand how one could confuse a file system and an operating system, at least if one has no clear idea what the two are to begin with. Heaven forbid if another major contributor gets a share of the credit for the complete system.
Digital Citizen
True, but the capabilities of UFS don't really exceed HFS+
In one way, at least, UFS is far better than HFS+.
The internal redundancy in UFS means that so long as the basic file system structures (directories, inodes, and indirect blocks) are intact, it can be repaired. The idea of having file system damage in a bootable file system that can't be repaired by FSCK is all but inconceivable for UFS or any of its precursor file systems. In nearly 30 years working with UNIX, once FSCK was introduced I *never* had a file system so damaged that FSCK couldn't completely restore the structure to working order. Three times now I've had HFS+ file systems require a backup and restore because of some obscure damage that even rebuilding the catalog wouldn't fix. A friend of mine is currently booting his Mac Pro off the second drive because the original installed file system was trashed.
ZFS claims "you'll never have to fsck again". That's what every journalled file system proponent says. That's what they said about XFS... until they came back with tools to do repair and you still had to reinstall to recover sometimes. I'll believe it when I've seen it in practice for a decade or so. What does ZFS do when it hits unrecoverable data in the file system structure itself?
UFS's fsck deals with it by rebuilding the file system structures so that they're valid, and tells you what you lost.
HFS+ tells you that you have some obscure catalog problem and you go out and buy DiskWarrior and hope your backups are in good shape.
XFS apparently gives you a chance to do a final backup.
What does ZFS do? The write-ups on ZFS indicate that they stop short of testing that case, and that's the most important one.
--I've been anxiously awaiting FBSD7 myself; playing around with it in Vmware Server with a 7-disk SCSI rack (physical disk access) for ZFS. So far it's nice, but when a disk died I found out a huge limitation with Server - continuous prompts on the host that FREEZE the ENTIRE VM until the disk got cut from the ZFS pool and the VM was rebooted.
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
It is based on BSD. It's called Darwin.
...which might explain why many linux distributions have begun including the solaris-like "pgrep" and "pkill" commands...
IMO, the Solaris use of "killall" makes more sense than the Linux use - i.e. Kill allOn a related note, I had a weird moment reading the manpage for sshd_config on OpenBSD 4.1 - thought I'd made a mistake and was reading the same manpage from Solaris - the 'maxstartups' line appeared in sshd_config for Solaris before it showed up in OpenBSD.
Macjournals.com clarifies its earlier post.
While Time Machine's UI looks like Snapshots, Time Machine really does not implement Snapshots. It implements Backup. There's a difference: Snapshots preserve the current state of a disk locally, while Backup stores the current state of a predefined set of documents remotely (usually on another computer or on an external disk). In other words, Snapshots take up a lot of local disk space and are thus not suitable for something like Time Machine, where you want (ideally) each state of a file preserved (i.e. backups occur at regular intervals).
What Snapshots do in ZFS is simply telling ZFS to not delete any of the files currently on the disk. If a file is then changed, a copy is created (or a delta, but I think current implementations simply create copies). If it is deleted, it remains on the disk but becomes invisible. As you can see, this implies that you'll quickly use a huge amount of disk space for Snapshots, so it's simply not an option for Time Machine.
What about aliases and FileIDs? I see no mention of this anywhere.
>80 column hard wrapped e-mail is not a sign of intelligent
>life