Slashdot Mirror


OpenSolaris Boot Support For ZFS Root FS on x86 and SPARC

Derkjan de Haan writes "I am glad to see progress is being made on the the ability of OpenSolaris to boot from a ZFS filesystem: 'This putback provides the ability to boot the Solaris Operating System from a ZFS root file system on both x86 and SPARC platforms. Full ZFS boot and install support will be available in a subsequent build. Because of the phased putback, we recommend waiting for the full boot and install support rather than attempting to use the ZFS boot features separately.'"

39 of 50 comments (clear)

  1. Am I missing something? by TheRaven64 · · Score: 3, Informative

    This is an article about System V UNIX, and it's in the BSD category and tagged bsd. WTF?

    --
    I am TheRaven on Soylent News
    1. Re:Am I missing something? by ozamosi · · Score: 2, Funny

      I don't understand your problem. It is not about Linux, but one of those Linux clones. BSD, Solaris, that's just marketing anyway...

      ...right?

    2. Re:Am I missing something? by tripwirecc · · Score: 1

      Solaris has some roots in BSD, so it's not wrong.

    3. Re:Am I missing something? by nevali · · Score: 2, Insightful

      Given that it doesn't state OpenSolaris in the title, I clicked through to this hoping that support had been added to one of the BSDs.

      OpenSolaris finally being able to boot from ZFS is cool, but⦠has dick-all to do with BSD :\

    4. Re:Am I missing something? by JamesTRexx · · Score: 3, Funny

      I hope you've got asbestos underwear, calling BSD and Solaris Linux clones. :-)

      --
      home
    5. Re:Am I missing something? by maeltor · · Score: 1

      Um...what?

    6. Re:Am I missing something? by yomegaman · · Score: 2, Informative

      You're thinking of the original SunOS. Solaris is SVR4.

      --
      ...wearing a skin-tight topless leather jumpsuit, with cutaway buttocks and transparent crotch panel.
    7. Re:Am I missing something? by TheRaven64 · · Score: 1

      Wow, the mods in the BSD section really don't have a sense of humour. Must be all of the BSD is dying trolls.

      --
      I am TheRaven on Soylent News
    8. Re:Am I missing something? by aliquis · · Score: 1

      It's about ZFS, not only Solaris. And ZFS are ported to FreeBSD and OS X.

    9. Re:Am I missing something? by RiotingPacifist · · Score: 1

      zombies dont laugh ?

      --
      IranAir Flight 655 never forget!
    10. Re:Am I missing something? by ozamosi · · Score: 1

      Think of my post as aid for their anger management therapy ;)

    11. Re:Am I missing something? by BrainInAJar · · Score: 1

      and /usr/ucb is quite broken. ps(1) works, but not much else

    12. Re:Am I missing something? by filipl · · Score: 1

      broken? i prefer it over ps(1) and use it outside of any wrapping scripts. moreover, ps(1b) and ps(1) are the same binary.

  2. Honk! Honk! by tripwirecc · · Score: 5, Informative

    The OpenSolaris distribution can already install ZFS root and boot, based on the previous putback. This current putback makes it more robust, especially when it comes to finding the root device after having been swapped to a different port. What's still missing is multidisk pool and RAID-Z boot support.

  3. Re:WTF is putback ? by d3vi1 · · Score: 4, Informative

    Sort of a checkin in Sun terms.

    --
    UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever ones.
  4. Booting isn't so interesting by bhima · · Score: 3, Interesting

    I don't think booting from ZFS is all that interesting. I think expanding a RAID-Z pool is far more interesting: http://blogs.sun.com/ahl/entry/expand_o_matic_raid_z

    --
    Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.
    1. Re:Booting isn't so interesting by TheRaven64 · · Score: 2, Insightful

      The reason booting is important is twofold. First, it means that you can simplify your configuration by having all of all of your disks managed by the ZFS storage pool manager. Secondly, it means that you get all of the nice transactional features from ZFS on your boot partition. If you upgrade your kernel or some modules to a broken one (for example) then you can easily restore to a previous snapshot at the next boot.

      --
      I am TheRaven on Soylent News
    2. Re:Booting isn't so interesting by NateTech · · Score: 1

      Yawn. People willing to pay for Veritas File System have been able to do this for 10 years on the Solaris platform.

      While I like ZFS, it's really not all that "NEW". It's just a re-implementation of things available commercially.

      That makes it inexpensive, which is good for many -- but critical systems have been doing this kind of disk management for a very long time now.

      --
      +++OK ATH
  5. Re:WTF is putback ? by TheGratefulNet · · Score: 4, Informative

    ob disc: I work at sun

    a 'putback' is just a formal way to submit your updated source code to a source code control system (what is called a 'gate').

    and in fact, the matching command is (yes, you guessed it) 'bringover'. seriously, it is.

    --

    --
    "It is now safe to switch off your computer."
  6. [ot] *BSD is Dying by wild_berry · · Score: 1

    SunOS and subsequently Solaris, as inherited in OpenSolaris, the subject of this article, are AT&T UNIX System V derivatives, not from the Berkely Software Distribution (BSD) of UNIX. You're offtopic, my dear.

    1. Re:[ot] *BSD is Dying by jgrahn · · Score: 1

      SunOS and subsequently Solaris, as inherited in OpenSolaris, the subject of this article, are AT&T UNIX System V derivatives, not from the Berkely Software Distribution (BSD) of UNIX.

      SunOS was BSD. Solaris is AT&T. See Wikipedia or something for the details of Sun's confusing naming and numbering scheme.

  7. Who cares about BSD... by Marcion · · Score: 2, Interesting

    ... when does Linux get ZFS?

    1. Re:Who cares about BSD... by Anonymous Coward · · Score: 1, Informative

      Never, it is CDDL, and Linus won't have that in his baby.

    2. Re:Who cares about BSD... by TheRaven64 · · Score: 4, Informative
      First, in spite of the section, this article has nothing to do with BSD - it is about Solaris, which is a System V derivative. FreeBSD also has ZFS support, but does not have more than very limited support for ZFS booting (and none in the stable release, I believe).

      As to when Linux will get support for ZFS, it requires one of two things to happen. Either Linux developers need to do a clean-room reimplementation of ZFS, or they need to modify their license to one that isn't incompatible with many other Free Software licenses , including the CDDL.

      --
      I am TheRaven on Soylent News
    3. Re:Who cares about BSD... by lakeland · · Score: 1

      You missed the most likely option...

      Or Linux needs to get user mode filesystems up to the point you can store your mission-critical data on them.

      ZFS has been written ported to linux, I tried it last year but one of my tests was to pull power to the drive while it was mounted (but not doing anything) I lost all data on the drive beyond (easy) recovery. My conclusion, it isn't ready for use on a Linux server yet.

    4. Re:Who cares about BSD... by aliquis · · Score: 2, Interesting

      http://zfs-on-fuse.blogspot.com/

      Except on fuse either when Sun goes GPL 2, or when both Sun and Linux goes GPL 3, or if Linux stop being GPL at all but uhm, yeah right ..

    5. Re:Who cares about BSD... by Solra+Bizna · · Score: 1

      FUSE is quite stable. It's ZFS FUSE that's unstable.

      -:sigma.SB

      --
      WARN
      THERE IS ANOTHER SYSTEM
    6. Re:Who cares about BSD... by cptnapalm · · Score: 1, Funny

      "It requires some rouge kernel hackers that dont care about licensing"

      Unfortunately, Linux kernel hackers are mostly license conscious. I also hear that they are mostly azure, like the Smurfs.

    7. Re:Who cares about BSD... by lakeland · · Score: 1

      I can believe that, though I haven't tested FUSE for much other than ZFS (just mythtvfs and sshfs and both for fun at home rather than production use). I also believe the ZFS code is stable and not prone to corrupting drives when power is lost.

      The problem is the current linux implmenetation of ZFS-FUSE.

    8. Re:Who cares about BSD... by SimonTheSoundMan · · Score: 1

      You know we wont know 'til the day Steve Jobs announces it. I'm guessing it will be a while.

    9. Re:Who cares about BSD... by hedwards · · Score: 1

      This is one of my main criticisms of the GPL, the licensing is overly strict. It just makes no sense whatsoever to have to rewrite things which have source available under an open source license just because it has to be GPL. Writing that into the license itself is just a nice way of saying sod off to projects that use other licenses. Apart from that, it could have its own home in the source and just be linked in where necessary. Depending upon the license, it isn't necessarily even going to change anything about business as usual.

      Rewrites and reverse engineering really ought to be reserved for times when the owner of the code isn't willing to allow access to the code.

      I'm pretty sure that ZFS is sufficiently cool that somebody will reverse engineer it and rewrite it, but it will take extra time and effort to do so.

    10. Re:Who cares about BSD... by DurendalMac · · Score: 1

      I'm guessing it'll be 10.6 before it becomes official. Apple will let it hit the wild and see if there are any issues. I don't think they'll roll that out in a 10.5.x update. It'll be a big feature announcement when Steve demos 10.6 for the first time.

    11. Re:Who cares about BSD... by swordgeek · · Score: 2, Insightful

      Whenever the Linux zealots feel like putting down the "one-True-Holy-license" pitchforks and start to implement it.

      The code is out there. You're welcome to use it following the license under which it was released.

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
    12. Re:Who cares about BSD... by JohnFluxx · · Score: 1

      If the CDDL and GPL were compatible, then Sun would have chosen a different license that was incompatible with the GPL.

    13. Re:Who cares about BSD... by JohnFluxx · · Score: 1

      Um, what? It is not possible to put the zfs code into the kernel. It would be illegal to do so. Putting down pitchforks would not solve this problem.

    14. Re:Who cares about BSD... by truthful+cynic · · Score: 1

      ergo, when penguins fly? :)

    15. Re:Who cares about BSD... by filipl · · Score: 1

      who is dying now ... :)

  8. Re:WTF is putback ? by Anonymous Coward · · Score: 2, Funny

    What do they call a quarter pounder at Sun? A burgerpoundquarter?

    Big Mac's a Big Mac, but they call it JBigMac.

  9. Re:WTF is putback ? by OldManAndTheC++ · · Score: 2, Funny

    What do they call a quarter pounder at Sun? Solaris with Cheese.
    --
    Soylent Green is peoplicious!