Slashdot Mirror


XFS 1.0 is Released

Isldeur was the first of many to note that SGIs now open source Journaling File System "XFS" has announced the release of version 1.0. It, Reiser, the new ext format continue to be an area of debate, but regardless, Journaling file systems are nice to eliminate those slow fsck boot ups, and to protect all your pr0n when you lose power and realize that you plugged the UPS into your stereo by mistake (not that I've done that. No sir.)

173 comments

  1. Re:Booting by Anonymous Coward · · Score: 1

    SGI has a modified version of the anaconda installer from Redhat 7.x that allows you to install a 100% XFS system. I have three servers running all XFS filesystems and I love it. Full lilo support, no problems. It would be nice to have XFS added to the stock kernel. Maybe someday.

  2. Re:okay okay.... I'm not informed... by Anonymous Coward · · Score: 1

    A lot of sourceforge.net servers have been running reiser for many months. not a bad proving ground

  3. Re:Standardization by Anonymous Coward · · Score: 1
    There really isn't any reason for your concern. You may remember that EXT2 was not Linux's first and only filesystem. There have always been competitors and predecessors: minixfs, xiafs, ext. If you care to flesh your worries out and explain SPECIFICALLY why and in what situations you think having more than one excellent filesystem for Linux is going to be a problem, it could then be discussed further - otherwise you're either posting mindless drivel or deliberately trolling. Many people I know use Reiserfs or EXT2 in combination with Reiserfs. And so far there's yet to be any compatibility problem at all between them. Reisefs has incompatibities with certain software RAID setups and NFS, so if those things are more important to you than Reiser's journalling, you use ext2. XFS is a truly excellent fs, as is IBM's JFS. EXT3 may provide people with EXT2 systems a painless conversion path to a journalling system. They are all better at different things.

    This filesystem agnosticism is a wonderful and fairly unique feature of Linux, not a problem, and it's not a new thing - just the luxury of many journalling systems is new.

  4. Real issue is HARD DRIVE CACHEs. by Anonymous Coward · · Score: 1

    The kernel can only ask the hard drive to flush the data to disk. The disk need not comply, despite returning a "yes I did" result. And as large drives have 5 and 10MB caches now, how can the consumer really know what the drive decides to do? It may do write caching so marketroids can boost performance specs. This stuff is not document on the box the hard drive comes in nor on the mfg web site.

    1. Re:Real issue is HARD DRIVE CACHEs. by Salamander · · Score: 4
      The kernel can only ask the hard drive to flush the data to disk. The disk need not comply, despite returning a "yes I did" result.

      That's an important issue. I'll try to provide a couple of answers.

      how can the consumer really know what the drive decides to do?

      Well, there are at least two ways:

      1. Turn off write caching.
      2. Set the "Force Unit Access" (FUA) bit on the Write command, if it's a SCSI/FC disk.

      SCSI gives you other options as well. For example, if you're using tagged command queuing, you can set FUA only on the last command of a sequence (e.g. a transaction). That way, you can allow the disk or storage subsystem to do appropriate reordering, combining, etc. and you'll still be sure that by the time that last command completes all the commands logically ahead of it (as specified by the tags) have completed as well. It's tres cool, and it's one of SCSI's biggest benefits compared to IDE.

      Tagged command queuing also comes in handy if you have to force write caching off - which BTW is common and not particularly difficult on either SCSI or IDE drives. Since you're now forced to deal with full rotational latency, the importance of overlapping unrelated operations (by putting them on different queues) becomes even greater.

      This stuff is not document on the box the hard drive comes in nor on the mfg web site.

      Tsk tsk, that's a shame. It's pretty common knowledge among storage types, but still far from universal. Go look on comp.arch.storage and you'll see a recurring pattern of people finding this out for the first time and sparking a brief flurry of posts by asking about it.

      The problem with having the drive notify the host that a write has been fully destaged is that target-initiated communication (aside from reconnecting to service an earlier request) is poorly supported even in SCSI. Hell, it's even hard to talk about it without tripping over the "initiator" (host) vs. "target" (disk) terminology. Most devices lack the capability to make requests in that direction, and most host adapters (not to mention drivers) lack support for receiving them. AEN was the least-implemented feature in SCSI.

      There's also a performance issue. Certainly you don't want to be generating interrupts by having the disk call back for *every* request, but only for selected requests of particular interest. So now you need to add a flag to the CDB to indicate that a callback is required. You need to go through the whole nasty SCSI standards process to determine where the flag goes, how requests are identified in the callback, etc. Then you need every OS, driver, adapter, controller, etc. to add support for propagating the flag and handling the callback. Ugh.

      It's a great idea, really it is. It's The Right Way(tm). But it's just never going to happen in the IDE world, and it's almost as unlikely in the SCSI/FC world. 1394 seems a little more amenable to this, but I have no idea whether it's actually done (I doubt it) because even though I know they exist I've never actually seen a 1394 drive close up.

      I hope all this helps shed some light on the subject.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    2. Re:Real issue is HARD DRIVE CACHEs. by be-fan · · Score: 2

      I really don't know how much of an issue this is. Normally, I don't ever bother using the reboot command in BeOS, I simply hit the reboot key on my computer. I've been doing this for more than a year now, and I have yet to lose any data.

      --
      A deep unwavering belief is a sure sign you're missing something...
  5. Re:do nothing, successfully by Anonymous Coward · · Score: 1
    Hmmm... so how do you repair the filesystem if the drive is going bad, your IDE controller got UDMA133 turned on accidently, or you ran a buggy version of the kernel?

    ext3, JFS, and ReiserFS all have "real" fsck programs

  6. Re:okay okay.... I'm not informed... by Anonymous Coward · · Score: 2

    Can we please /please/ have an "Uninformed" or "Ignorant" or "Just Plain Wrong" moderation option for posts like the above? That crap got modded /up/ because the moderators don't have a clue either, but it's just /full/ of misinformation.

  7. Re:Nice FS, shame about the license by Anonymous Coward · · Score: 2

    Could you PLEASE come to the realization that "microsoft or any other company" CANNOT "close" open source BSDL'd software? Software is not physical object. When someone takes a copy, regardless of what they do to it, the original is STILL THERE.

  8. Re:okay okay.... I'm not informed... by Anonymous Coward · · Score: 3

    Yes, XFS is proven on IRIX, XFS is not proven on Linux, Reiserfs is proven on Linux (shipping with SuSE for almost two years now).

  9. Re:Nice FS, shame about the license by Anonymous Coward · · Score: 3
    Had they placed it under a BSD license perhaps it might actually get some use. But oh well.

    Had they placed it under a BSD license, effort that has been put into producing an open and free filesystem could be closed by a company such as Microsoft. Why should I let them profit if they don't contribute or at least acknowledge my work?

    As it is, xfs is under the GNU GPL and is thus protected from being made proprietary. The GPL protects the rights of free software authors. Myself, and thousands of other free software developers worldwide, wouldn't have it any other way.

  10. Re:journaling is nice, but how about a better RAID by Anonymous Coward · · Score: 3
    I just upgraded my home network to 100baseT. Now, how the hell am I going to saturate a 100Mbps link with a shitty IDE hard drive, or even a faster SCSI?

    #hdparm -Tt /dev/hda

    /dev/hda:
    Timing buffer-cache reads: 128 MB in 0.89 seconds =143.82 MB/sec
    Timing buffered disk reads: 64 MB in 2.94 seconds = 21.77 MB/sec

    Observe the time taken during the buffered disk read test - 21.77 MB/sec. This is on my year-old Athlon system. AFAIK 100mbit networks don't tend to transfer data at speeds faster than 10 MB/sec. Perhaps you meant that you upgraded your home network to gigabit. Or not.

    Use hdparm to ensure that your hard drive is set to use DMA.

  11. Filesystem info by Anonymous Coward · · Score: 5

    For those of you looking for comparisons, why not check http://www.softpanorama.org/Internals/filesystems. shtml which appears to have links to information on a variety of filesystems (most of the journalled FSs under Linux) and even NTFS.

  12. Re:okay okay.... I'm not informed... by Anonymous Coward · · Score: 5

    SGI is going to put Linux on their Big Systems(tm) when the Itanium-class CPUs start shipping. They've been planning this for a while now. The current generation of Onyx/Origin boxen are designed with multiple CPU architectures in mind -- e.g. you will be able to have a MIPS system or an IA-64 system just by swapping a single brick.

    The eventual plan is to have Linux for the Intel servers and IRIX on the MIPS ones, with IRIX being phased out over a long period of time so as to keep the old customers from getting paranoid. There's even rumors internally about servers with *BOTH* intel and MIPS processors in them running Linux. If you watch SGI's Linux pages, you'll notice that more and more support is made available for running Linux on R10K, R12K and other heavy-duty processors, not to mention SGI's memory architectures (e.g. ccNUMA).

    My own theory is that the now-EOLed 320/540 workstations were an experiment to see how SGI's customer base would react to non-MIPS/IRIX workstations and to get everyone warm to the idea of SGI branching out.

    SGI is a company to watch over the next few years, and releasing things like open-sourced XFS for Linux are just teasers of what's to come.

  13. Re:okay okay.... I'm not informed... by Russ+Steffen · · Score: 1
    Someone once told me SGI has a smart disk controller backed up with a battery,...

    That's not unique to SGI. Any qualtity hardware RAID controller has an onboard battery backup. Even the ones meant for PeeCees.

  14. Re:2.4.4 is 3 days old. by Micah · · Score: 1

    So one can only patch a stock Linus kernel with XFS? What about the Red Hat 7.1 kernel? Would be nice if there was a patch for that (although I doubt I'd use it now unless there was an easy way to convert existing partitions).

  15. Re:Get SGI's installer by Micah · · Score: 1

    > The other option, of course, is to have lots of extra space, install your distro, boot an XFS capable kernel, make some XFS filesystems, and copy everything over.

    Hmm. I have a few gigs extra space so I might do just that, once a patch for 2.4.4 is out. I have a nicely working RH 7.1 system and *really* don't want to reinstall everything. But fscks sure are annoying!

  16. Careful moderators!!!!! by Micah · · Score: 2

    Sigs don't appear during the metamoderation. If you moderate #1 up, you will likely be MM'd as unfair.

  17. SGI's XFS page: by Wakko+Warner · · Score: 4
    For more about XFS, SGI's official page is here.

    - A.P.

    --
    Forget Napster. Why not really break the law?

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  18. OT:VMWare by DrSpoo · · Score: 1

    Where are you finding these VMware beta releases? I'd like to try them out (RedHat 7.1 host)

    --
    Sig (appended to the end of comments you post, 120 chars)
  19. Re:The Current Tally... by John+Allsup · · Score: 1

    With all these coming to fruition, it will be possible to really compare the different filesystems that were previously tied to their own operating systems, together with some new ones.

    It will be interesting if we get some `cross breeding' between the filesystems once people get to see which features of each give improvements where.
    John

    --
    John_Chalisque
  20. Re:Tux2 by gjohnson · · Score: 1
    I wondered, too. See my comment.

    Turns out the author got sidetracked, but is about to continue work on it.

    The homepage is here.

  21. Re:What happend to Tux2? (link) by gjohnson · · Score: 3
    Well, I found its webpage.

    http://www.kernelnewbies.org/~phillips/

  22. What happend to Tux2? by gjohnson · · Score: 4

    Speaking of journaling filesystems, what ever happend to tux2? Was any code ever released?

    tux2 looked really good. Supposed to be faster than traditional journaling, and preserves file data as well as metadata.

    Anyone?

  23. The Current Tally... by jd · · Score: 5
    There are a LOT of journalling filesystems for Linux. Excluding extensions (which effectively double the number of unique systems), there are five "genuine" journalling filesystems for Linux.

    (I don't count NTFS, because that is hard-pushed enough to be called a genuine filesystem, never mind a journalling one.)

    Feel free to reply to this, adding any that I've missed.

    The Logging filesystem does much the same thing as Ext3 - it is an extension to Ext2 - but it looks like it would be a lot more useful than Ext3. IMHO, it'd be much better if neither of them were so FS-specific and could be used as a generic wrapper. SnapFS does exactly this, for example.

    Anyway, on with the list of Journalling Filling systems...

    ... -IN- the main kernel tree:

    ... at a stable release:

    ... at a developmental release:

    ... currently abandoned:

    ... extensions for:

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:The Current Tally... by NCamero · · Score: 1

      NTFS does count as a genuine journaling filesystem. But Microsoft's Linux/GNU driver is of inferior quality.

    2. Re:The Current Tally... by Professor+Calculus · · Score: 1
      It think you are confusing NTFS with FAT. NTFS is a full journalling filesystem complete with large volume support, file permissions and all that. While it is not very portable or particularly fast at anything, it is stable and works very well for desktop systems. FAT, on the other hand, is so ancient it should never be used for any system other than in a museum display.

      There is a big difference, and NTFS is a force to be reckoned with, although it pales in comparison with XFS.

  24. Re:pondering by Paul+Jakma · · Score: 1

    The only SGI systems that run Linux right now are the low-end Intel workstations

    balderdash... SGI have people working on MIPS and they have linux running on Origin2000 with *128* CPUs. Granted, the work seems primarily intended to develop linux so that it can be suitable for use on the IA64 O3000s, but you're still talking bollocks.

    See:

    http://oss.sgi.com/projects/LinuxScalability/downl oad/mips128.announce

    and

    http://oss.sgi.com/projects/LinuxScalability/downl oad/mips64.announce

    And linux also runs fine on many /low-end/ MIPS boxen too. Eg, handhelds, embedded boards, etc. Also runs fine on my MIPS R4k Indy...

    --paulj

    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  25. Re:2.4.4 is 3 days old. by Paul+Jakma · · Score: 1

    is there a timeline for trying to get XFS into the stock linus tree?

    as a user, i'd really love to have XFS. I use it on SGI and think it is excellent. However, I have usually have several patches to apply to my kernels, eg LVM being one, and XFS is so big and touches so much that i doubt that i will add it into my local src/patches dir. :)

    So when will you submit it to Linus? Hopefully ASAP so that i can try it out ASAP. :)

    --paulj

    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  26. Re:pondering by Paul+Jakma · · Score: 1

    that's not clarifying what you said. that's changing what you said.

    Linux runs fine on MIPS, and has done for years. The Cobalt Cubes were MIPS based until Sun bought them, so Linux/MIPS has been at the core of a commercial product for many /years/.

    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  27. Re:2.4.4 is 3 days old. by Paul+Jakma · · Score: 1

    excellent... it will benefit users and yourselves to get into the linus tree.

    thanks for linux XFS!

    --paulj

    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  28. -1, Plagarist karma whore by roystgnr · · Score: 2

    So I find myself suspicious of some of the claims in the parent post, and do a google search to see if I can find some benchmarks. What do I find instead? A nearly identical post, written by a different user, from last February. Would someone please moderate AntiBasic into deserved oblivion? Thank you.

  29. Re:works with samba 2.2 acl's ? by Booker · · Score: 2

    test-2, test-3, and 1.0 have been released since then, and that includes an acl fix. Without knowing for sure what your problem is, hard to say for sure if your specific problem has been resolved...

  30. Oh, and as for fs conversion... by Booker · · Score: 2

    Can you convert a drive you've already got data on? Could I simply point at my disk drive and say, "turn that into an XFS drive," edit a few boot params, and be done?

    No, sorry. :) that'd be quite an undertaking. You can dump/restore between filesystems, or just copy over, but there is no magic "ext2 to xfs converter."

  31. Re:Mime types built into the file system? by Booker · · Score: 2

    XFS features extended attributes, so you could use this for mime types, I suppose. Any application would need to be aware of this, though, and would need to support it as well. Interesting idea though...

  32. Debian Install Disks? by Booker · · Score: 3

    At this point, SGI has only provided an unsupported Red Hat system installer for XFS. However, there are a couple people in the Linux community who have been working on Debian packaging & installers, and also someone working on slackware. Check the xfs mailing list archives for more info...

  33. GRIO / Realtime by Booker · · Score: 3

    FWIW, GRIO and realtime subvolumes (err... partitions in the Linux case) are not yet implemented in Linux.

  34. Re:2.4.4 is 3 days old. by Booker · · Score: 3

    So one can only patch a stock Linus kernel with XFS?

    You can patch whatever you want, it's a question of how many conflicts you need to resolve. :) As with any patch, you will have varying success patching source trees that differ from that which was used to generate the patch.

    What about the Red Hat 7.1 kernel? Would be nice if there was a patch for that.

    ftp://linux-xfs.sgi.com/projects/xfs/download/Re le ase-1.0/patches/RHlinux-2.4.2-core-xfs-1.0.patch.g z

  35. Re:Tar Ball, etc by Booker · · Score: 4

    The kernel & userspace utils are packaged several different ways - cvs, patches, tarballs, rpms etc.

    Go to http://oss.sgi.com/projects/xfs for the info.

  36. Get SGI's installer by Booker · · Score: 4

    We have a system installer that works with Red Hat 7.1 to do exactly what you're asking about. Grab our iso, burn a cd, boot from it, and you're on your way. You'll need the Red Hat 7.1 cds as well.

    The other option, of course, is to have lots of extra space, install your distro, boot an XFS capable kernel, make some XFS filesystems, and copy everything over.

    1. Re:Get SGI's installer by DrKirwin · · Score: 1

      Wow! Thanks. I guess in this case, reading the docs would have told me exactly what I wanted.

  37. Re:Booting by Booker · · Score: 5

    Lilo in the MBR works just fine with XFS. There are no issues, I have 3 machines that boot that way.

  38. 2.4.4 is 3 days old. by Booker · · Score: 5

    A lot of people have been complaining that there is no 2.4.4 patch - but bear in mind that 2.4.4 is only 3 days old. We'd be a bit nuts to release 1.0 on a kernel as untested as that.

    On the other hand, the devel cvs tree is usually updated within a few days of a new kernel release. As soon as the kinks get out of XFS+2.4.4, it'll be in the devel cvs tree.

    The majority of our 1.0 testing has been done on 2.4.2, so we have the most confidence in XFS there. We also have a 2.4.3 patch which should be fine, although it has not had as much direct testing.

    We realize that there are issues with 2.4.2 (loop device, anyone?) If you're concerned about fix-ups, and you run an RPM-based systems, you might take a look at the Red Hat kernel RPMs we offer - those include a ton of patches from Red Hat - essentially the same kernel as shipped with 7.1, with XFS added.

    If you're concerned about netfilter, just get the patch - I would be very surprised if it conflicted in any way with an XFS-enabled kernel.

    1. Re:2.4.4 is 3 days old. by Booker · · Score: 5

      So when will you submit it to Linus?

      It's certainly a priority, but I can't really give you a timeline - we're working on it.

      XFS is so big and touches so much

      XFS is big, no getting around that, but we're making efforts to keep our modifications in the kernel to a minimum (actually, a lot of that work is done already). The patch is also now split into 2 pieces, one for "core linux" changes and one for the filesystem itself. That was done for a couple of reasons, but a nice side effect is that it's a little easier to see how much is XFS itself, and how much is linux changes.

  39. Re:Nice FS, shame about the license by Mr.+Frilly · · Score: 3

    Yeah, but they can make their version of a BSDL'd software incompatible with what's in the open. And if they control 90% of the market, guess who's getting screwed?

    For a different scenario, imagine a BSD licensed unix. Now imagine several large corporations taking that great technology and using it. Sounds great, right? Now fast forward a couple of years, and you find that every one of these corporations has expanded on the original BSD licensed unix in a proprietary fashion in attempts to maintain and expand their customer base. Even if most of the corporations would have preferred to maintain their software as BSD licensed, their hands are forced when the first of the corporations starts spitting out proprietary, incompatibly feature enhanced versions. Admins find themselves trapped, having to either understand and maintain several incompatible systems, or going with one vendor and getting gouged for prices. Suddenly, WinNT 3.51 pops up, and although much worse technology, it runs on cheap hardware, costs less, and is far easier to administer.

    Sure, you can say the customer should have used the original, still BSD licensed software, but in reality, most customers can't code, and are going to go with the commercially supported software, because the added features and/or lower administrative costs of the commercial software is (at least initially) cheaper then going with the BSD stuff.

  40. Re:Booting by DavidTC · · Score: 1

    Of course, some of us use devfs for /dev. ;)

    -David T. C.

    --
    If corporations are people, aren't stockholders guilty of slavery?
  41. Re:NT by Mike+Buddha · · Score: 1

    How is this an advancement on NT, which has had journaling features since NT 4.0

    Well, you can use this with a useful OS for one, instead of a knucklehead joke OS like NT or W2K.

    --
    by Mike Buddha -- Someday the mountain might get him, but the law never will.
  42. Re:NT by Mike+Buddha · · Score: 2

    Right. That was worth a waste of your breath (and Slashdot's bandwidth).

    Umm, you asked, little brain. I responded. Yes, it was worth a breath to explain that an open standard filesystem has more value than a proprietary filesystem on a shitOS that's a fair to middlin' product when configured "optimally". I wouldn't expect a naive schoolgirl to understand that.

    --
    by Mike Buddha -- Someday the mountain might get him, but the law never will.
  43. patch wants to put it all in /tmp/null? by klevin · · Score: 1

    Ok, so I downloaded the patches and tarballs, checked to make sure the md5 sums matched and then went to patch my kernel source. linux-2.4-xfs-1.0.patch.gz wants to put everyting in /tmp/null. I'm running patch as `patch -p0`, which what I used for linux-2.4.3-core-xfs-1.0.patch.gz, and that went fine.

  44. Hope this is good! by Tony+Hoyle · · Score: 1

    I've kinda given up on Reiser, after it just trashed my firewall for the third time in a fortnight... it just doesn't handle crashes/reboots well (which seems to defeat the object of journaling really).

    If XFS works it could be the FS I've been looking for.

  45. Re:Booting by pivo · · Score: 1

    As far as I know Reiser does not yet support root file systems (necessary for booting) but according to the story, XFS does so yes, you should be able to have a completely journaled FS.

  46. Don't forget GFS by gorgon · · Score: 2

    You forgot to mention the Global File System (GFS). Not only is it a journalling file system, but it also allows speedy access to network drives. Its NFS on 'roids.

    --
    I hope we shall crush in its birth the aristocracy of our monied corporations ...

    --

    And I'd be a Libertarian, if they weren't all a bunch of tax-dodging professional whiners.
    Berke Breathed
  47. Re:do nothing, successfully by Sloppy · · Score: 1

    Who knows, your favorite might be implemented as a symlink to this classic?

    I hope not. Wouldn't want to inherit all the bugs!


    ---
    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  48. Tux2 by geoffeg · · Score: 4
    I keep hearing little tidbits about Tux2 (Tux2: The Filesystem That Would Be King). I can't find Daniel Phillips's website anymore nor have I seen any more information about it in the last few months. What I have read and heard about it sounded very interesting (I would say it's sounds promising but I don't know enough about file systems to know how good an idea it is realistically).

    Would this be under "currently abandonded" or "abducted by aliens"?

    GeoffEG

    1. Re:Tux2 by Daniel+Phillips · · Score: 4
      I keep hearing little tidbits about Tux2 (Tux2: The Filesystem That Would Be King). I can't find Daniel Phillips's website anymore nor have I seen any more information about it in the last few months. What I have read and heard about it sounded very interesting (I would say it's sounds promising but I don't know enough about file systems to know how good an idea it is realistically). Would this be under "currently abandonded" or "abducted by aliens"?

      I took a several-month detour to build a new directory indexing system (Htree) for Ext2, something it needs badly. Now it's back to Tux2, keep tuned. The new homepage for the project is:

      href=http://nl.linux.org/~phillips/tux2

      The mailing list is still hosted by innominate, but I am not with innominate any more. When I get time I'll move the list and resubscribe everybody.
      --

      --
      Have you got your LWN subscription yet?
  49. Re:But how do you USE it? by Lennie · · Score: 1

    You can if you are using EXT3, after all it's just EXT2 with a special file You can even easily 'convert' it back... just unmount (maybe even remount ?) and mount it again, that's all. (you can't ofcourse mount a unchecked ext3 as ext2, but that's pretty much the only restriction!)

    --
    New things are always on the horizon
  50. Re:VMWare by meridian · · Score: 1

    huh?
    are you running xfs linux as the guest or host os? the most recent 2.04 beta1 vmware just out a few days ago is the first to support 2.4.x kernels in guest os's and didnt work at all with 2.4.x for me. perhaps its the options im building it with.

    --
    meridian at tha.net
  51. Re:okay okay.... I'm not informed... by lupetto · · Score: 2

    I have not used Reiser, so I can't speak to it's performance.

    However, I can tell you that XFS is a really great filesystem. We have over 100 Irix/XFS systems deployed at television stations around the world. These systems are very I/O intensive, and I have never had a corrupt filesystem. Performance is also very good.

    I would really like to see SGI copy more features from Irix into Linux, such as fine control over process priorities, something standard linux distributions are severely lacking, imo.

  52. Re:Performance by Petrus · · Score: 1

    I gess, that he did not mean to say that the link is broken. He means, that while the mail claims, that there are comparisons of XFS to other journaling FS, which is worong. It compares another journaling fs (ReiserFS) with non-jurnaling ext2fs, instead.

    Yet I liked to know about that comparison, too.

  53. my exp with reiser by Scudsucker · · Score: 1

    Reiser is pretty nifty on my two 40 gig mp3 drives; I'm also using it for /home and /usr and am pretty happy with it.

    One cavet: the version of reiser that comes with 2.4.x is incompatible with the versions for 2.2 kernels. Strange, as most distro's still use 2.2.... It was quite frustrating to back up my 50 gigs of mp3's to reformat my ext2 partitions, only to have to rebackup and reformat to the older reiserfs so it would work with 2.2.19.

    1. Re:my exp with reiser by SnapperHead · · Score: 1

      Thats pretty odd. I have a Mandrake 7.2 install using rfs, when I upgraded to Mandrake 8.0. I didn't have to reformat or anything like that. Worked like a charm.

      But, on the other hand. I tried recompleing the kernel on my laptop (Mandrake 7.2, rfs) from the stock 2.2 kernel -> 2.4.3. I never did get it to boot, after recomplieing a few times, I gave up. I had more important things to do.

      On my workstation, I can switch from 2.2 and 2.4 only by selecting it at lilo. No changes are required.


      until (succeed) try { again(); }
      --
      until (succeed) try { again(); }
    2. Re:my exp with reiser by SnapperHead · · Score: 1

      Odd, becuase I went from 2.4 -> 2.2 without any problems.


      until (succeed) try { again(); }
      --
      until (succeed) try { again(); }
    3. Re:my exp with reiser by Cardhore · · Score: 3
      I've tried ReiserFS since Linux 2.4.1 . . . big mistake. 2.4.1 corrupted the filesystem. 2.4.2 corrupted every one of my Resier filesystems beyond recovery. Then I switched to Mandrake 8.0 (which caused an extremely large amount of corruption). It corrupted my EXT2 filesystems as well (which were fixable) due to IDE problems. 2.4.3 finally fixed these problems, but it had a new set of problems with threaded processes that got hung in the 'D' state. (A process in the 'D' state can not be killed; it is necessary to reboot the machine. Processes like Mozilla were especially suseptible.) Also, if there were a problem with the filesystem, it was near impossible to fix with the ReiserFS tools.

      Finnaly, 2.4.4 was released, and it is fixed: it's the first "stable" kernel in the new series.

      I never read a single bad review of ReiserFS until I actually used it--it worked "flawlessly" for everyone who had tried it. I didn't find out that it had these problems, and that it doesn't work over NFS, until it was too late.

      The thing I learned is that when things--especially filesystems--claim stability, the user still has to test things out for himself.

      ReiserFS is a good filesystem; don't get me wrong, but it may not be the best for you. (In fact, Red Hat does not plan to use ReiserFS in its distribution, because in the event of filesystem failure, it is near impossible to recover the filesystem with standard tools.)

      I have used XFS in the past on Irix machines and have been very happy with it. But be careful before you deploy this filesystem--even on your home machine--without thoroughly testing it. And not simply creating two files and saying, "Hey! They're still there! I guess it's stable." I fell into that trap.

      I would highly reccomend anyone running the 2.4 kernel to upgrade to at least 2.4.4, especially if he uses IDE or ReiserFS.

      If you're going to use XFS, test it first.

      By the way, does anyone know what's going on with moderation? I've had mod points three times this week, and there are a huge amount of +5 comments.

  54. But can I use XFS with Raid 1 or 5 by jamesk · · Score: 1

    Just installed RH 7.1 and decided to use Raid 1 with 2 hard disks but I think it still uses ext2 filesystem. Can I run XFS (or ReiserFS) with Raid? Does anyone have this info or know where to find it?

  55. IRIX 6.5.11? by cpeterso · · Score: 1

    I don't know much about IRIX. If SGI is up to IRIX 6.5.11, does that mean they have not shipped even a +0.1 minor release in 11 quarters? yikes. That's about when Microsoft released Windows NT4.

    Is SGI still actively developing IRIX? Do you know if SGI has plans for any more IRIX releases? (seeing how your username is irix and all... ;-)

    thanks!

    1. Re:IRIX 6.5.11? by irix · · Score: 2

      11 quarters = 2.75 years. IIRC, NT 4.0 was released in 1996 or so, and 6+ service packs later we have Win2K :)

      IRIX 6.5 was a major release - a lot changed from 6.2, which was their previous major release.

      I'm not sure if SGI is planning any major new releases for IRIX in the immediate future - you can read about their roadmap here (pdf). My nick is irix becuase it is the first UNIX I used back when. I'd change it now if I could ;)

      --

      Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
    2. Re:IRIX 6.5.11? by green+pizza · · Score: 2

      IRIX 6.5 can best be described by the neat poster SGI made about a year ago... it features a train chugging along past 5.3 all the way to 6.5 and through the 6.5.X updates. The front of the locomotive sports the designation "6.5.oo" (infinity). While 6.5 most likely won't be around forever, there are NO current plans to release a 6.6 or a 7.0.

      Why?

      Becasue 6.5 is the best thing SGI has ever done. There is an update released quarterly, on time, along two different streams: [M]aintenance and [F]eature. No patch dependency hell (though urgent patches are posted between 6.5.X updates). The Feature release gets new goodies every quarter, some of which are slowly rolled into Maintenance. Both streams are HEAVILY tested, tuned, reviewed, and compiled using the latest available MIPSpro compilers. In fact, SGI likes to stay a release or two ahead of their users, using it on most of their production systems to ensure a rock solid release.

      The (large) IRIX 6.5 team has been plodding away ever since 6.5.0. When asked "where's 6.6" they will usually respond: "you didn't ask us to break application compatibility, so we aren't working on a 6.6".

      I wouldn't want it any other way. Aside from a few small networking issues early on, 6.5 has been rock solid for me over the years. Each quarterly update has been surprise-free and without incident.

      SGI MIPS/IRIX Roadmap:
      http://www.sgi.com/developers/feature/2000/irix_ mi ps.html

      The Mandate of Application Compatibility in SGI IRIX 6.5
      (An excellent whitepaper on the goals and future of IRIX 6.5, written by an IRIX 6.5 engineer)
      http://techpubs.sgi.com/library/tpl/cgi-bin/brow se .cgi?coll=0650&db=bks&cmd=toc&pth=/SGI_Developer/m andate_IRIX

  56. broken fsync()? by cpeterso · · Score: 1


    Does Linux's fsync() actually lie optimistically to the calling application that the user's data has been fsync'd to disk?? Do you have any links to information about this? scary stuff!

  57. cool, thanks. by cpeterso · · Score: 1

    .

  58. SGI Linux on Intel processors? by cpeterso · · Score: 1


    they can't stay in business running their own software on their own hardware

    So now SGI's plan is to sell Linus's Linux on Intel processors. SGI is screwed.

  59. Criteria how to choose file systems? by Stentapp · · Score: 2

    Since some file systems fits some purposes better than other file systems, and other file systems fits other purposes better than some file systems, what criterias do you have to consider when selecting a file system from another?

    1. Re:Criteria how to choose file systems? by Alien54 · · Score: 5
      Since some file systems fits some purposes better than other file systems, and other file systems fits other purposes better than some file systems, what criterias do you have to consider when selecting a file system from another?

      Some basic info and a couple of links for folks:

      • file system - basic defition -the general name given to the logical structures and software routines used to control access to the storage on a hard disk system. Operating systems use different ways of organizing and controlling access to data on the hard disk, and this choice is basically independent of the specific hardware being used--the same hard disk can be arranged in many different ways, and even multiple ways in different areas of the same disk.

      • Journaled file system - Basic definition (as seen here)

        A file system in which the hard disk maintains data integrity in the event of a system crash or if the system is otherwise halted abnormally. The journaled file system (JFS) maintains a log, or journal, of what activity has taken place in the main data areas of the disk; if a crash occurs, any lost data can be recreated because updates to the metadata in directories and bit maps have been written to a serial log. The JFS not only returns the data to the pre-crash configuration but also recovers unsaved data and stores it in the location it would have been stored in if the system had not been unexpectedly interrupted.

      • IBMs JFS webpage on their system, along with links for for downloads and turtorials online,etc

      There is an awfull lot of info at the SGI site. Just poke around.

      As far as the question about how to choose file systems, that is often a matter of what the OS will let you get away with, and your needs. Using FAT 16 is recommended if you need to maintain compatibility with MSDOS, for example. Usually, this is something like if you have a multi boot scenario, and which OSen can mount which partitions with which partitions. MS is notoriously picky in this regard, with a "My way or the Highway approach". For example, if you have a single hard drive hooked up to your computer for configuration purposes, You cannot just create anextended partition unless that drive is a salve with another master. If you want to create just an extended partition it will not permit, and tell you that you can only create a primary dos partition instead.

      So you Live and you Learn

      Check out the Vinny the Vampire comic strip

      --
      "It is a greater offense to steal men's labor, than their clothes"
  60. Re:pondering by irix · · Score: 2

    All this moderation is getting bad posts modded up waaay too much...

    As it stands right now the majority of their hardware run Linux

    Umm, not really. And the hardware that does run Linux runs it with beta-type quality.

    the last version of Irix released was to mainly fix bugs.

    No shit. They release quarterly maintenance releases - in the 6.5.X series - up to 6.5.11 now.

    They will probably drop IRIX someday down the road. But since the workstation marked imploded on them, SGI is trying to make money off of servers. I don't think that Linux is going to be running (release quality) 256-way Origin servers any time in the "near future".

    --

    Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
  61. Re:Booting by churchr · · Score: 2

    GRUB is great. I love GRUB. However, GRUB has this problem _even more_ than LILO. LILO is FS agnostic. It tries to load the kernel from a specified _disk block_.

    GRUB, on the other hand, actually reads the file system, like the BSD bootloaders, and at this point, it doesn't know how to read XFS.

  62. Re:okay okay.... I'm not informed... by ianezz · · Score: 1
    How can the filesystem code possibly know when data is on the disk when the kernel is caching it

    Simple: it doesn't know when data is on the disk, because with common hardware you can't. Hard disks have their onboard (volatile) memory, and write operations report as completed when data reach the cache of the disk, which IIRC can't be controlled by software.

    Someone once told me SGI has a smart disk controller backed up with a battery, so in the event of a blackout, the controller would keep for some hours the data still not written on the disk, flushing it on the disk on the next power up.

  63. Re:okay okay.... I'm not informed... by ianezz · · Score: 1

    Thank you, I didn't know.

  64. Re:VMWare by jmauro · · Score: 1

    I'm running 2.4 as a host. I only tried to run linux 2.2 as a guest. I mainly use VMWare to run Windows 2000 to write documenation in Word for work. Sorry for the confusion.

  65. Re:VMWare by jmauro · · Score: 2

    It works fine, but is a little unhappy because it does not recongize the filesystem and spits out information asking if locking is ok or not. Kind of sucks, but other than that it works.

  66. Booting by Spyffe · · Score: 5

    It seems like one of the nastiest problems when you want to promote a new filesystem is getting LILO, SILO, MILO... to load a kernel image off of the filesystem. What are the issues involved here? Do these loaders really only support ext2fs? If so, this would prevent a user from having a completely journalled system, right? Perhaps there are ways of fixing this (like backups of the /boot partition on a journaled fs) but it would be cool (I think) to have a mini-fsck run on the boot partition before the kernel boots. There may be issues here; perhaps a MD5 sum or something of the sort might be better to check that the boot partition is uncorrupted. The sum would be checked against... what? This post is as much an RFC as anything else. Go at it!

    --
    Sigmentation fault - core dumped
    1. Re:Booting by rgmoore · · Score: 4
      ReiserFS really shines with lots of small files. (your mp3 collection for example)

      Since when do mp3s count as small files? Most of the interesting ones are several MB in size- much larger than a typical block size- so the extent to which ReiserFS would actually help is minimal. Where something like ReiserFS would be really helpful is in dealing with directories like /etc and /dev that are full of a large number of very small files. It might also be useful for /var, as ISTR that it has some anti-fragmentation aspects to it that would help with the rapidly changing data there.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    2. Re:Booting by wobblie · · Score: 1

      you're right ... mp3's are small files? they average 5MB in size.

      But where reiser really makes a difference is on /var/and /usr, especially /usr/doc ...

      For a while I was running /usr on 2 4GB UW scsi drives striped w/ reiserfs ... that was fast.

      But reiser sadly has extreme corruption problems, at least for me.

      --

    3. Re:Booting by halfelven · · Score: 1

      Well, if you keep the kernels into the /boot partition, which is small and is almost never written, i think you should better format /boot as Ext2. Problem solved. ;-)
      More than that, you can mount /boot with the sync flag, so this way you can be sure nothing bad will ever happen.
      If /boot is Ext2, you can make it bootable, and install lilo in its superblock. Double niceness. :-)

    4. Re:Booting by Xibby · · Score: 4

      You can boot off of ReiserFS just fine with lilo. Ealier versions or lilo and Reiser required that you used the --notail option when mounting the root partition. Since this negates the usefulness of reiser, it was recomended that you lop off a /boot partition and mount that with the notail option. I belive newer versions of lilo don't need the notail option, but the ReiserFS docs haven't been updated.

      ReiserFS really shines with lots of small files. (your mp3 collection for example) You'll generally reclaim some space on your drive when you go from ext2 or vfat to reiser.

      XFS is good when high performance is needed when dealing with large file systems (terabytes) and large files (1,2 gb files.) For a standard home user, it's overkill. :) But many slashdot readers like overkill...

      --
      I'm going to go back in my box and will think within the limits of my box: MS Sucks Linux Good I read too much Slashdot.
    5. Re:Booting by Chakat · · Score: 1
      I don't know about the rest of the loaders, as my experience is more with x86 boxes, but the newer revs of LILO support booting from a reiser root partition. However, the problems remains as to how to handle a new partition type. I don't know about what other people do, but the what I do on my Linux boxes is to create a ~10MB ext2 partition on the first available sectors as a /boot partition. You really don't need to worry about corruption, because the only real time you need to read/write to it is when you're booting or upgrading the kernel; the rest of the time it's idle.

      An added benefit of placing the /boot partition is you can boot your hard drive off of any box without having to worry about broken bioses, etc, which can't handle past certain "magic" disk setups.

      --

      If god had intended you to be naked, you would have been born that way.

    6. Re:Booting by dinivin · · Score: 1


      You know wrong... Reiser most certainly supports root file systems. Even /boot filesystems.

      Dinivin

  67. Performance by eric2hill · · Score: 2

    So does anyone know (benchmark wise that is) how XFS performs compared to reiser, ext3, etc.?

    --
    LOAD "SIG",8,1
    LOADING...
    READY.
    RUN
    1. Re:Performance by barneyfoo · · Score: 2

      Anonymous Coward writes: upmoderating generic technical-sounding hooha delivered with a URL that you do not check is BAD.

      Uhm, I just tried the link. It's not broken. It works. Maybe you should restart your proxy or something.

    2. Re:Performance by barneyfoo · · Score: 4

      Minor quibble, I checked the reference, and that is reiserfs3.5 not 3.6 (the difference is that 3.5 is the linux2.2 reiser, and 3.6 is for linux2.4). When looking at 3.6 results, they appear marginally better, but your point still holds.

      Create____203.88 / 171.95 = 1.19
      Copy______411.67 / 384.59 = 1.07
      Slinks____3.23 / 2.81 = 1.15
      Read______1165.61 / 1291.76 = 0.90
      Stats_____1.49 / 1.17 = 1.27
      Rename____1.81 / 1.32 = 1.37
      Delete____14.46 / 3.95 = 3.66


      As an aside, it's pretty hard to get much faster than ext2 for this statistic, reading of bulk files greater than 10k less than 100k. You need to weigh what reiserfs gives you against what it could slow down. Reiserfs has truely awesome small file speed, and very nice tail packing.

    3. Re:Performance by barneyfoo · · Score: 5

      I dont know how it compares to XFS. But go here to see how ReiserFS compares to Ext2, Ext3. (Hint: it kicks its ass). Add in journaling and you have a killer combo. XFS is a little more industrial strength as opposed to general purpose. If you're streaming gigabyte files and processing them on the fly, I imagine XFS is the way to go.

    4. Re:Performance by bmajik · · Score: 3

      its meant to be a hi perf filesystem, from the start.

      I mentioned this in another post, but SGI claimed internally to have it sustaining 2gb/sec of _write_ performance across a suitably large number of spindles.

      Also, one thing i dont see people mentioning is XFS's support for GRIO (guarnateed rate I/O). No linux filesystem has that, and the linux kernel plumbing to support it i think is SGI contributed (if its on xfs for linux yet, i can't recall).

      The idea of grio is an app says ahead of time "i need this much disk performance - figure it out", and the OS will say "yes, i can hook you up" or "sorry, throw more money at the problem".

      --
      My opinions are my own, and do not necessarily represent those of my employer.
    5. Re:Performance by j-pimp · · Score: 1

      I dont know how it compares to XFS. But go here to see how ReiserFS compares to Ext2, Ext3.
      He claims it compares Reiser to ext2 and ext3.

      --
      --- Justin Dearing http://www.justaprogrammer.net/ We're just programmers.
    6. Re:Performance by fatphil · · Score: 1

      (Sorry if reference went astray, ooops, I 'm blaming nutscrape and it's inability to cut and paste properly...)
      Anyway, I agree with your points. Tail packing is perfect for _many_ of the _most common_ files (in particular there are ones that are nothing but tail).
      It appears that there's no reason at all why ext2 doesn't have tail packing apart from never getting round to it. Shame.

      All respect to the coders who decided that 'it works' isn't good enough.

      FP.
      --

      --
      Also FatPhil on SoylentNews, id 863
    7. Re:Performance by fatphil · · Score: 4

      Be wary of statistics...

      For example, picked pretty much at random from the mongo results, Linux-2.4.2 Ext2 vs. ReiserFS-3.6:

      parameters:
      files=15168
      base_size=10000
      bytes
      dirs=86

      Create 203.88 / 187.01 = 1.09
      Copy 411.67 / 411.28 = 1.00
      Slinks 3.23 / 2.99 = 1.08
      Read 1165.61 / 1325.27 = 0.88
      Stats 1.49 / 1.48 = 1.01
      Rename 1.81 / 1.30 = 1.39
      Delete 14.46 / 5.64 = 2.56

      So the total time of the test is 1802.15 / 1934.97
      = 0.93. (i.e. Reiser is 7% slower performing the whole test.)

      I don't care if they make the thing that takes a tenth of a millisecond twice as fast, it's the reading of the bulk of the file that takes the most time, and for that part, Reiser is slower.

      However, each individual has got to look at what is most important for them, for me it's 99% file read time on medium to large files (30K source code, 200K log files, that kind of thing), and judge accordingly.

      FatPhil
      --

      --
      Also FatPhil on SoylentNews, id 863
    8. Re:Performance by foobar104 · · Score: 1

      The idea of grio is an app says ahead of time "i need this much disk performance - figure it out", and the OS will say "yes, i can hook you up" or "sorry, throw more money at the problem".
      Oh, so THAT explains what EMOMONEY means....
  68. Re:okay okay.... I'm not informed... by Salamander · · Score: 3
    Wouldn't you just be mirroring if you wrote user data to the log?

    Not quite. The log/journal is structurally different than the main data areas, with different synchronization and performance characteristics. Writing once to the log and once to the main data area is quite different than writing twice to the main data area.

    However, an observation very similar to yours is behind log-structured filesystems. In other words, if you're going to write all the data to the log in a highly robust etc. way, why not just make the log the authoritative copy of the data? There's a whole lot of gunk that has to be worked out after that, such as how you find data and how you reclaim log space, but it all flows pretty cleanly from that initial idea. The result is pretty nifty for some kinds of workloads, but in general changing OS structures and their effects on I/O patterns have sort of left log-structured filesystems behind.

    If you're interested in exploring further, the seminal papers in this area are The Design and Implementation of a Log-Structured File System by Rosenblum et al, and (IMO even better) An Implementation of a LogStructured File System for UNIX by Seltzer et al. Enjoy!

    --
    Slashdot - News for Herds. Stuff that Splatters.
  69. Re:okay okay.... I'm not informed... by Salamander · · Score: 3
    Someone once told me SGI has a smart disk controller backed up with a battery, so in the event of a blackout, the controller would keep for some hours the data still not written on the disk, flushing it on the disk on the next power up.

    Interesting. I dunno about the SGI product, but the EMC Symmetrix takes a different approach. It has enough reserve power so that if it detects loss of external power it will immediately flush its cache to special areas on disk. Then, the first thing it does when it comes back up is slurp all that data back into cache - which not only ensures data stability but preloads the cache for you as well. Cool. I've heard that in a simulated blackout in a big data center everything would get eerily quiet *except* for the Symmetrix, which would actually get extra-loud as it does the flush.

    Disclaimer: I work for EMC. I don't speak for them, they don't speak for me, yadda yadda yadda.

    --
    Slashdot - News for Herds. Stuff that Splatters.
  70. Re:okay okay.... I'm not informed... by Salamander · · Score: 5
    The difference is that Reiser is NOT a journaling filesystem (well, not any more that, say, NT or BSD UFS filesystems are), since it only journals the meta data

    So does XFS. From one of SGI's own presentations:

    5.6. Supporting Fast Crash Recovery
    ...To avoid these problems, XFS uses a write ahead logging scheme that enables atomic updates of the file system. This scheme is very similar to the one described very thoroughly in [Hisgen93].
    XFS logs all structural updates to the file system metadata. This includes inodes, directory blocks, free extent tree blocks, inode allocation tree blocks, file extent map blocks, AG header blocks, and the superblock. XFS does not log user data.

    [emphasis added]

    This is *normal* for a journaling filesystem. Very very few actually log or otherwise protect file data, because of the cost. Maintaining a metadata-only log is already a significant performance limiter, and journaling data as well would just be prohibitively expensive. Most users wouldn't even want it, if they had to pay the performance cost.

    --
    Slashdot - News for Herds. Stuff that Splatters.
  71. Re:NT by ttfkam · · Score: 1

    NT 4 w/ journaling hunh? I've heard the same rumor, but I've also waited quite a while while waiting for the filesystem check after a BSOD (and yes, they were NTFS partitions).

    And has anyone ever had a boot partition go south on NT 4? I have a few times. Once by my fault and twice by some weird NT voodoo after a blue screen of death.

    Win2000 is definitely an improvement, but you have way too much love for NT 4.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  72. XFS installer by ttfkam · · Score: 5

    I have been using XFS on my home machines since v0.9. The installer has had a couple of glitches in the past (0.9 left me without access to the network and my cdrom drive by default). The recent beta fixed a lot of problems and was based on RedHat 7.1 (as opposed to 7.1 betas from earlier releases).

    I haven't tried the 1.0 release yet. There's only so many hours in the day. On the other hand, the last install I did with the beta, after installing everything I wanted, I fired up a dozen programs such as Mozilla, GIMP, Nautilus, etc. While the drive was churning, I hit the power switch. For those of you who have used ReiserFS, I'm sure this is no big deal. ;)

    It should be noticed that on my Athlon 800MHz w/ 128MB of RAM and a 27GB hard drive, I almost missed the filesystem check as it scrolled by on bootup. That had me sold forever on journaling filesystems.

    I haven't seen any visible performance differnece though. There may be, but so much has changed on my system that any subjective comparisons are almost impossible/meaningless. For example, devfs is enabled by default, there's a more up-to-date kernel and the drive has a different partition layout. Who could tell what the FS performance difference may be. I definitely don't need to go back to ext2 just to see if my switchover was justified. Any more info will just be icing.

    If someone wants to post "real" benchmarks (lies, damn lies, and all that) I'd love to see them too.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  73. Re:journaling is nice, but how about a better RAID by Tower · · Score: 1

    My old Connor 212MB IDE can't... it still works though... half height, doesn't hold data, works great on a 386...

    though any EIDE drive since ~1997 should be able to keep up with a 100Mb channel...

    --

    --
    "It's tough to be bilingual when you get hit in the head."
  74. Ext3 by macdaddy · · Score: 2
    Does anyone have a good comparison of XFS, Ext3 and other journaling filesystems? I know Ext3 is being used on rpmfind.net, also know as rufus.w3.org, and it works very well there. I'd like to give XFS or Ext3 a whirl but I don't have time to search out all the gotchas myself.

    --

    1. Re:Ext3 by halfelven · · Score: 1

      XFS is good when you have massive data streams to/from large files, especially in a multiCPU environment. It works well with NFS and provides ACLs.
      ReiserFS is good when dealing with extremely large numbers of small files. It still has problems with NFS and doesn't provide ACLs.
      Ext3 is a toy. Really. It's only Ext2 with some journalling stuff thrown into.

  75. But how do you USE it? by DrKirwin · · Score: 2

    I've not looked at the docs, but this question is kind of applicable to all the journalled file systems and something I've been curious about:

    How do you get them to work with, say, RedHat, from an installation standpoint? (I imagine it's relatively easy to convert an extra disk attached to an already installed Linux box, but what about making your whole system with the new FS?)

    At no point does RedHat ask me which filesystem I'd like to install, so that option is out (except for Mandrake and Suse?).

    Can you convert a drive you've already got data on? Could I simply point at my disk drive and say, "turn that into an XFS drive," edit a few boot params, and be done?

    Surely, it's more complicated.

    Have any of you done something similar?

    Any recommendations on how to get it working with the least amount of hassle?

    Just curious.

  76. Re:pondering by bdrago · · Score: 1
    Jeez. I think your being a bit pedantic.

    How about "The only SGI systems that SGI sells and supports with Linux are the low-end Intel workstations and Intel servers." Is that clear enough for you, or should I use smaller words?

  77. Re:pondering by bdrago · · Score: 2
    Wow. This is MS-qualify FUD.

    I wonder if folks over at SGI plan on dropping Irix in the near future for Linux entirely. As it stands right now the majority of their hardware run Linux, and the last version of Irix released was to mainly fix bugs.

    The only SGI systems that run Linux right now are the low-end Intel workstations (230, 330, and 550) and the Intel rack-mount servers (1100, 1200, 1400, 1450) - certainly not a "majority of [our] hardware.

    IRIX on MIPS is not going anywhere. Take a look at SGI's IRIX/MIPS roadmap.

  78. Omigosh! by joeytsai · · Score: 1

    Who would figure there would be impressive benchmarks on the Namesys page? ;)

    In all fairness, though, I don't see any filesystem benchmarks done by anyone else... some good comparisons of all the new filesystems (not just ext3) would be pretty useful.

    --
    http://www.talknerdy.org
  79. Unofficial patch by chrysalis · · Score: 4

    XFS is still an external patch, it's not included in the official kernel. And it seems that there is a delay between a new kernel release and a new XFS version for that kernel.
    XFS 1.0 is against kernel 2.4.2 . Or 2.4.3, but SGI says it may be instable with this version.
    But the current kernel is 2.4.4 (or 2.4.4-ac2) .
    And 2.4.4 fixes important problems that previous kernels had. For instance, it fixes serious security flaws in Netfilter.
    So, today, you can either run XFS, or get a fixed kernel. Not both.
    This is why I'll stay with ReiserFS, until XFS get officially included in the kernel.

    --
    {{.sig}}
  80. LILO Works Fine with ReiserFS... by NetJunkie · · Score: 1

    My notebook and desktops are 100% ReiserFS, and LILO boots them fine.

  81. Yes. by NetJunkie · · Score: 3

    I used it on my companies web servers at my last place. We had millions of tiny files, and EXT2 wasn't cutting it. ReiserFS worked great.

    And if you want someone better... SourceForge's FTP site is half on ReiserFS. So it works for them.

  82. Install Disks? by NetJunkie · · Score: 3

    I used some of the install disks someone made to install Debian to a 100% ReiserFS system. Does anyone know of any disks to do this for XFS?

    The Debian disks are on Freshmeat and work GREAT.

  83. Re:okay okay.... I'm not informed... by be-fan · · Score: 2

    IIRC, SGI had to hack the VM a little bit to allow it to notify the filesystem when a page was actually flushed to disk.

    --
    A deep unwavering belief is a sure sign you're missing something...
  84. Re:okay okay.... I'm not informed... by be-fan · · Score: 2

    Don't forget attributes.

    --
    A deep unwavering belief is a sure sign you're missing something...
  85. works with samba 2.2 acl's ? by mbyte · · Score: 2

    There are some known problems with earlier version of xfs (did try Test-1 myself, and it did not work :)

    so did anyone try it yet ? does it work ?

  86. Re:do nothing, successfully by Emil+Brink · · Score: 2

    Avoiding any possible Microsoft-jokes, I think this qualifies... Although I'm not 100% sure it's bigger, documentation-wise. Who knows, your favorite might be implemented as a symlink to this classic? ;^)

    --
    main(O){10<putchar(4^--O?77-(15&5128 >>4*O):10)&&main(2+O);}
  87. RedHat + XFS + LVM by wowbagger · · Score: 2

    Now, if only RedHat (or SGI) would integrate support for installing to an XFS filesystem on an LVM volume.

    For those of you who don't know what LVM is: with LVM, you make a disk into a pile of storage blocks, then you put those blocks into a pool. That pool is a block device, and you can create a file system on it.

    The nice thing is that you can add blocks from many different drives into the pool, so a volume can span multiple physical disks. Need more space on root? Just pop a new disk into the system, add it to the pool, and expand the XFS filesystem into the new space. All without losing any data (indeed, even without downing the system...)

    This is different from RAID in that with RAID, you cannot add disks to the array and get more storage. You can add more disks to serve as hot spares, but you don't get any more space without rebuilding the array (and losing your data).

    Of course, the best thing is RAID-->LVM-->XFS, but....

  88. VMWare by Phaser6047 · · Score: 1

    Sorry for an off-topic comment.

    Has anyone gotten VMWare working with XFS? I tried once and it wouldn't work.

  89. Re:okay okay.... I'm not informed... by altair1 · · Score: 1
    > I believe it is the only ACL-enabled file system
    > for Linux which has such utilities (unless you
    > count AFS).

    well, AFS is really a network filesystem (kinda like NFS or SMB), rather than a "local" filesystem, like ext2, NTFS, reiserfs, etc. AFAIK XFS is among the later. An AFS server stores the files it holds in an ordinary local filesystem, like ext2 or xfs. Its ACLs are implemented in network daemons.

  90. Re:Booting is tough by botemout · · Score: 2

    I was running 2.4.3 with reiser and knfsd patches for a week or so with NO problems. I first tried NFS over reiser 6 months ago (or so) and this is the FIRST TIME that I've had no problems.

    I also, just today, compiled 2.4.4/w knfsd patches; seems fine too.

  91. Re:Standardization by barneyfoo · · Score: 2

    hahaha

    Seriously, anyone who is so uneducated to be confused or bewildered by having to choose from Gnome and KDE will not be fiddling around with filesystems anyway. They'll use whatever mandrake gives them on "beginner" or "automatic" install.

  92. Re:Booting is tough by barneyfoo · · Score: 3

    Unlike Reiser, it currently works with NFS.

    Yes this was an issue with Reiser, but they have had patches for it since 2.4.2 to work with NFS, and I beleive that full NFS support might be in 2.4.4 (not sure).

  93. Don't bother with journalling! by AntiBasic · · Score: 2
    The future, IMHO, is a log structured file system with NO journaling and atomic updates. This creature already exists, and it is called FFS with Soft Updates, from the FreeBSD developers. Here is the breakdown.

    Journalling is tricky, as it requires lots of intervention at other places in the kernel. You need to keep something synchronous - journalling just makes that something very small. Atomic updates avoid synchronous issues altogether. Instead, they structure the file system in groups of data and metadata. In each group, there is an atomic bit. When set, it means the group is intact. So, upon looking through the groups, you can immediately determine which ones are intact and which are incomplete. Recovery is REALLY fast after a power outage, in theory even faster than a journal recovery.

    ReiserFS and XFS are also really great, so these have log structure (or btree) and journalling. However, ReiserFS is broken with NFS constanly, and that is a BIG problem. Not to mention the version in 2.4.x is incompatible with the version in the 2.2.x tree. Don't let the XFS 1.0 version fool you. Ever see the fallout when Alexander Viro (kernel VFS hacker) takes a newly merged filesystem to task ?? It is not pretty.

    Tux2 is still vaporware. But it will be great when it comes out. Ext3 has some advantages. It has been running stably for a long time now under development. It is journaled, and has a small code base. It also only exists for the 2.2 kernel series. Phillips is also making a judgment call. He wants to build on ext2 with tux2. Ext2 is not log structured, which is why ReiserFS can beat it in well-structure benchmark tests run by Hans.

    And the future for linux file systems?? I don't know, it is always interesting to see where things will head. The world is clamoring for easy crash recovery, and ext2's days are numbered. I think most people would be quite happy to simply add journaling to ext2. Or atomic updates. So I predict, after consulting the crystal ball, that tux2 develops a large following after release, and that Phillips then adds btree searches and log structuring, making it the first linux file system with all that. That would then bring the state of the art file systems for linux up to par with those of FreeBSD. Of course, in linux at that time you can also use JFS, XFS, ReiserFS, or ext3 journaled file systems. But journaling is worse than atomic updates, both for complexity and speed. Soft updates are more flexible than journaling, and - with a filesystem whose basic structures are designed to take advantage - perform better than journaling. I find it just slightly weird that there's so much focus on journaling when a superior alternative is known.

  94. Re:okay okay.... I'm not informed... by merky1 · · Score: 1

    Wouldn't you just be mirroring if you wrote user data to the log?

    --
    --WooooHoooo--
  95. Re:Time tested by adric · · Score: 1
    So what is one of its strongest strengths over the other journaling fs's?

    Time tested reliability.

    On IRIX maybe. I'm pretty sure that the Linux port was more involved than a simply recompile, however. The test of time has barely started.
    --
    --
    not plane, nor bird, nor even frog...
  96. Re:journaling is nice, but how about a better RAID by sheckard · · Score: 2

    Software and hardware RAID support is already in the kernel and in use. LVM supports data striping if you don't want to go the full RAID route.

    I don't see how things can possibly get much better.

  97. Re:XFS by sheckard · · Score: 4

    ext3 is a hack to add journaling to ext2. An ext3 partition is backwards-compatible with ext2, so in a worst-case scenerio you could just mount it as ext2 and lose nothing but journaling. However, the support right now is 2.2 only, and personally, I don't think it's such a great idea to maintain backwards compatibility when so many underlying things change. This will only lock us into any bad compromises that were made in the design of ext2/3.

  98. Re:okay okay.... I'm not informed... by sheckard · · Score: 5

    Well, the biggest difference is that XFS is proven and Reiser isn't yet. XFS has been the IRIX filesystem for something like 6 years now, and the on-disk filesystem format does not change between revisions, even during the development stage. You can even mount an IRIX disk under linux and read and write normally. The only thing in development in XFS were the userland and kernel-space tools. Compare that the Reiser where things tend to change a fair bit much.

  99. Re:journaling is nice, but how about a better RAID by jemfinch · · Score: 2
    Um, 100baseT is 100 megabits per second. That's 12.5 megabytes per second. Even a "shitty ide hard drive" can saturate that.

    Jeremy
    --

  100. Re:journaling is nice, but how about a better RAID by jemfinch · · Score: 2
    Very fast?

    I don't know what world you're living in, but I get 20mb/sec throughput on my ibm 75gxp. And that's on a plain old ATA33 controller with dual celerons 366.

    5400rpm drives haven't been "very fast" for at least 5 years.

    Jeremy
    --

  101. Re:journaling is nice, but how about a better RAID by Serpent+Mage · · Score: 1

    Results from my shitty IDE hard drive.

    /dev/hda:
    Timing buffer-cache reads: 128 MB in 0.91 seconds =140.66 MB/sec
    Timing buffered disk reads: 64 MB in 17.54 seconds = 3.65 MB/sec

    3.65 MB/sec on my 100mbit network means that my hard drive is the slower of the two :(

  102. Re:okay okay.... I'm not informed... by bmajik · · Score: 3

    Well, thats not _entirely_ true :) There was one absolutley devastating patch in the IRIX 6.2 time frame where 6.2 boot media couldn't boot machines that had the XFS patch applied to it.

    That sucked :)

    But i agree with you in general: XFS rocks. We were one of the first XFS customers on irix 5.3, and it didn't rock quite as much back then, but by the time irix 6.2 shipped it was pretty fantastic :)

    I remember reading a post in comp.sys.sgi.{something} from one of the SGI guys... to the effect of "we have XFS doing sustained write performance of 2gb / second here in the lab"

    That rules. :)

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  103. Sistina/UMN GFS too by dbrower · · Score: 3
    And the sistina GFS, which also supports clusters of machines having concurrent access to SAN storage.

    -dB

    --
    "It if was easy to do, we'd find someone cheaper than you to do it."
  104. Re:Nice FS, shame about the license by bolthole · · Score: 2
    Could you PLEASE come to the realization that "microsoft or any other company" CANNOT "close" open source BSDL'd software?

    What he means is that they could do an M$-kerberos on it. Take it, tweak it to be incompatible to external parties, and then M$ effectively gets a free, better performing proprietary filesystem, for close to zero research dollars.

  105. Re:okay okay.... I'm not informed... by SuiteSisterMary · · Score: 2

    Any decent RAID card'll have memory with a battery backup. The PERC 2 cards in my Dell servers have 128 megs of RAM, and a three day battery.

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  106. Soon by Ka0s · · Score: 1

    From a debian planet article:

    The third in as many prominent efforts into releasing ReiserFS Debian Install Disks has been made by Zoltan Kraus. Though Zoltan has improved on his predecessor, John H. Robinson, IV's previous work substantially. Most notably Zoltan's disk are using 2.2.19 and ReiserFS 3.5.32 accompanied by the latest reiserfsprogs. His disks are at http://debianboot.digitaltux.com/.

    They are also mirrored at http://www.markybob.com/zoltan/2.2disks In an email from him, he claims that "They have been tested and work perfectly on both desktops and laptops." Other patches that have also been included in the disk set are: Raid Patch 0.9, Raid1 ReadBalance, Hedrick's IDE Backport, Solar Designer's Secure Linux Patch, among other miscellaneous performance related patches.

    In what could be a coup for Zoltan, he may become one of the first people to release a 2.4.x Debian install disk for public consumption as well as a set of XFS Debian Install disks which will be keenly sought after by many cutting edge Debian users. "I plan to make a set of XFS disks when they bump up their CVS to kernel 2.4.3 and a set of ReiserFS 2.4.3 disks when I have time to debug it." Seeing that 2.4.3 is out now, be on the lookup in the next few weeks.


    Maybe he was waiting for XFS 1.0 - should be real soon now at any rate.

  107. Re:Booting is tough by Srin+Tuar · · Score: 4
    Itll work with LILO installed in the MBR. But if you want LILO in your root partition it wont work. Mostly this is due to the fact that SGI wishes XFS to be disk-compatible across systems.

    Its probably still a way to go until its well integrated with the distributions, but I think this FS has potential. Unlike Reiser, it currently works with NFS.

    I guess its a race to see which of these will ultimately become the common denominator FS for linux. Reiser currently has the lead, due to Suse and being in the kernel.

  108. Mime types built into the file system? by lightspawn · · Score: 1
    Can anybody who's used these new FSs can comment on whether they have the file's mime type as a 'field'? I find this feature absolutely essential for stopping the 'web server has to guess a mime type, web browser tries to guess a mime type, file managers try to guess too...'. Ugh! And don't tell me about magic numbers.

    A BeOS-wielding friend informs me it does that right, but I haven't had personal experience with it for more than a few minutes.

  109. url problems by green+pizza · · Score: 1

    Please note that there are some gaps (spaces) in the middle of the two URLs I pasted. They need to be removed in order for the URL to play nice with your web browser.

    SGI MIPS/IRIX Roadmap

    The Mandate of Application Compatibility in SGI IRIX 6.5 (An excellent whitepaper on the goals and future of IRIX 6.5, written by an IRIX 6.5 engineer

  110. Re:do nothing, successfully by 3247 · · Score: 1

    Hm, that really looks like a plagiarized GNU false.

    --
    Claus
  111. A new pop craze? by The+Night+Watchman · · Score: 4

    Yes, finally! Vince McMahon has come through to give us XFS: the eXtreme File System! Complete with new rules and directory structures, this will appeal to even the most hard-core file system fans. Under the new rules, all crosslinked files WILL be deleted on the spot, multiple programs attempting to write to the same block will be penalized for thirty million clock cycles, and all deletions are FINAL. And just check out the i-nodes on the cheerleaders. I think you'll agree this will be the new pop phenomenon.

    Oh. Wait. Journaling file system? oops... never mind.

    /* Steve */

    --
    "Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of"-TMBG
  112. okay okay.... I'm not informed... by Sir_Real · · Score: 3

    What's the big diff (pun intended) between Reiser and XFS? Which is better? (I realize that this may start a holywar, but I want the brief synopsis and analysis since I'm not a sysadmin.)
    Thanks

    1. Re:okay okay.... I'm not informed... by SuperBug · · Score: 5

      XFS has a few things that Reiser doesn't. One of the biggest things I can think of is Syncrhonous/Asynchronous IO, Modifiable Journal sizes(at create time), and the journals are entirely different. So, while reiser is WAY kewl, XFS offers more in the way of the capabilities Veritas offers. This I like because it's more like having a FREE version of veritas. Most people don't use all the capabilities of that slow bloated beast anyway, so something which still journals like a champ, and a bit faster overall than reiserfs, is ok by me. I'd been using ReiserFS for several months now, and am running it on my oracle server. I recently reinstalled with the RedHat XFS install cd that SGI put out and I must say it is definitely faster in many respects than reiser. Also, the error instance boot time startup log checks are almost 'un-noticeable'. This I feel is a much needed change compared to that of reiserfs or ext3. I still await Tux2 However, to hopefully be an inline replacement to ext2. But for now, my systems will use both Reiserfs, and XFS for sure! Nothing but goodness so far!

      --
      --SuperBug
    2. Re:okay okay.... I'm not informed... by sales_worldwide · · Score: 1

      The difference is that Reiser is NOT a journaling filesystem (well, not any more that, say, NT or BSD UFS filesystems are), since it only journals the meta data (filenames, directory names, permissions, timestamps etc.) This should be a bare minimum absolute requirement for a filesystem in any case. Reiser is simply bringing linux up to the same state as NT or BSD, in that a system crash will leave the filesystem in a sensible state even if a bit of data is lost (by sensible we mean that directory and file nodes all match or are at least fixable - with linux in the current state it is all too easy to get the fielsystem in a seriously bad state)

      XFS however is a true journaling filesystem. The filesystem will not take an hour to fsck 100Gig+ disks. It will take a minute or two. This is because the filesystem data is journaled (as well as the meta data).

      However, I still am puzzled as to how the hell XFS (or even reiser) can get around the fact that linux doesn't have an raw devices or a working fsync call. How can the filesystem code possibly know when data is on the disk when the kernel is caching it (and lies wrt to stuff like fsync()s?) Answers on a postcard please.

      --
      "Making linux GPL was the best thing I ever did" - Torvalds. I'd hate to see the worst thing...
    3. Re:okay okay.... I'm not informed... by pat_1729 · · Score: 5

      XFS has ACLs, unlike ReiserFS and ext3 (last time I checked).

      Also, XFS comes with xfsdump and xfsrestore, which can back up and restore the ACLs. I believe it is the only ACL-enabled file system for Linux which has such utilities (unless you count AFS).

      So for a production environment where you want ACLs, XFS is the only choice right now. And it seems likely to remain so for a while.

      Also, Samba 2.2 has built-in integration with XFS ACLs, making Linux+XFS+Samba a very interesting option for replacing NT file servers.

    4. Re:okay okay.... I'm not informed... by Professor+Calculus · · Score: 3
      ReiserFS is a unique(AFAIK) new design intended to boost performance for small file accesses. It is highly optimized not only to reduce the number of seeks necessary to get to a small file but also to continually re-arrange the data for faster access using very advanced(and kinda slow) algorithms. It's approach is to use spare disk and CPU time to decrease file access time. It is not focused on large files and does little optimization for them.

      XFS, on the other hand, was designed with today's multimedia systems in mind. It supports systems in the millions of terabytes range, and has highly scalable, optimized data structures for metadata and journaling. Thus it is able to run on multiple CPU and RAID servers, with the intention to actually be serving multiple raw video or other high bandwidth streams. It has a special subsystem that handles Guaranteed Rate I/O, both soft(error checked) and hard(will deliver bad data if needed) data rate guarantees. I'm not sure if the GRIO stuff is fully supported in linux right now, but it requires special system calls which linux software obviously doen't have support for yet anyway.

      ReiserFS and XFS are both VERY cool, but they address completely different areas of file system optimixation, desktops and multimedia servers. Use the right tool for the right task, etc. means that XFS is the only choice for high bandwidth linux data servers at this point. That's why this is a big deal.

  113. Re:Performance difference by wytcld · · Score: 1

    "I haven't seen any visible performance difference though."

    Recently switched a few servers and a workstation to Reiser from ext2 (using 2.2.19 kernels), and the performance difference is significant - surprisingly so. Output from Apache (AMD 450 and Pentium 700) off of SCSI-2 disks over the local net begins instantly rather than after a brief pause. Boot-up on the workstation (ATA-66 disks, P-Pro 180) runs faster (even disregarding the ext2 checks), as does loading KDE2 from tty. (Yeah, these are subjective reports, don't believe me. But I wasn't expecting speedup, just the journaling advantages.)

    So is that the difference? Reading here, it looks like XFS might be more solid in some ways (particularly if you need NFS), but it may lack Reiser's performance boost?

    --
    "with their freedom lost all virtue lose" - Milton
  114. Time tested by Thax · · Score: 4
    One of the big plusses that XFS has over Reiser and ext3 is that it is time tested. It has been used on IRIX machines for a long time and is rock solid on those platforms, its been running under linux for a long time in a beta stage and now SGI appears to believe that its as robust and useable in production environments.

    So what is one of its strongest strengths over the other journaling fs's?

    Time tested reliability.

  115. Reiser... by A**Grind · · Score: 1

    Is anyone using this in a production environment yet? I've toyed with the idea but all machines that I have tried it on end up with corrupted data...

  116. It's exactly the opposite by halfelven · · Score: 1

    ReiserFS is still a work in progress. Just see how often they changed essential parts of it.
    While XFS and JFS are old, long-tested file systems. And now XFS-Linux reached 1.0 (while, indeed, JFS-Linux is in a too early stage to be used).

  117. not so by halfelven · · Score: 1

    Have you tried it? :-)
    After dealing with the bugs from ReiserFS for such a long and painful time, XFS was like the promised land. No NFS madness, no weird kernel messages... It just works.
    Try first, and speak only after that, please.

  118. yes by halfelven · · Score: 1

    Here is the link. You can download the whole ISO image, burn it into a CD, boot the installer from it, then use the stock RH7.1 CDs to get a nice RH7.1-on-XFS ;-)
    http://linux-xfs.sgi.com/projects/xfs/1.0_installe r.html

  119. XFS is fast when... by halfelven · · Score: 1

    ...you're dealing with large streams of data to/from big files, especially on multiCPU environments.
    ReiserFS is fast when you're dealing with lots of small files.
    Ext2 is fast during the flying season for pigs.
    That's the difference.

  120. yes, XFS and RAID are ok by halfelven · · Score: 2
  121. XFS by pcidevel · · Score: 2

    Well.. as long as it's not affiliated with the XFL I guess it will be okay! Seriously, how does this file system compare to ext3? Should I just wait? :)

    --

    I thought someone said there was going to be free beer!

  122. JFFS and JFFS2 by BlowCat · · Score: 1

    You have missed JFFS and JFFS2 - journaling flash filesystems. Both are in the kernel (2.4.4-ac2).

  123. YES!!! FONTS! by Cardhore · · Score: 1
    Now I can finally have TrueType fonts in X Windows*!! I've been waiting for this since XFree 3.3!! I'm so happy! However, I don't think Linus Torvalds will be too happy to include a font server in his kernel...

    *Yes, I know it's called the "X Window System." Yes, I'm joking.

  124. do nothing, successfully by mojo-raisin · · Score: 5

    My favorite utility of the xfs distribution. Where else could you find so much joy about a program that does nothing?

    1. Re:do nothing, successfully by Socializing+Agent · · Score: 2

      Avoiding any possible M$ jokes? You must be kidding. M$ is capable of producing software that will do nothing, unsuccessfully, a la "An unknown program has terminated in an unknown module with an unknown error. Please reboot your system."

  125. hdparm on 2.4.x ? by ltjohhed · · Score: 1

    Is it just for me that hdparm just wont work under the 2.4 kernel ? I've tried the last version and it just doesn't work :/

    --
    All generalizations are false
  126. Re:journalling file systems are pretty useless by droolfool · · Score: 1

    First of all, I don't have $$ to get a RAID or an UPS.

    I was just sick of waiting for fsck to check my system because of a power failure, then watching a Kernel panick and... kaboom! All my data is gone, I couldn't fix it, it was just fscked up.

    I'm using ReiserFS for about 1 year, and I still didn't have a single problem. It's very reliable (at least for me). I'm thinking about trying XFS too, because I like to test new stuff :)
    ---------------------------------------------- --
    You think Bill Gates is evil?

  127. Re:Standardization by UberLame · · Score: 1

    First, keep in mind that JFS and ext3 are not yet up to production quality. Currently the only choices are reiserfs, ext2, ramfs, or XFS. I think that those four file systems can coexist together better than GNOME and KDE have been coexisting these past few years.

    I intend to be using all 4 in production systems before then end of the year. On both my primary workstation and my primary file server I will be using ext2 for boot. The file server will run reiserfs on a lvm system on a hardware raid5. reiserfs is chosen (currently I'm testing it on a seperate machine) because of it's excellence at handling thousands and thousands of small files. This important for a source code and data repository. The file server is expected to have about 200gigs.

    The workstation will have an XFS striped set of IDE harddrives on a promisetech IDE controller. This will probably be a 60-80gig stripe. It will used to hold video and other other media data while it is being worked on.

    The firewall will have an ATA compact flash drive formated with ext2 and a ramfs file system for /var which will be periodicall backed up to the file server.

    I don't know where ext3 or JFS will fit into the picture, but the current major file systems all have their place, and people don't need to fight over what to use where.

    --
    I'm a loser baby, so why don't you kill me.
  128. Re:pondering by cmowire · · Score: 5

    If you watch SGI's strategy, they seem to be moving towards that direction. They are keeping Irix around primarily because Linux isn't ready and there aren't any good 64-bit processors out that fit with their business model other than a MIPS, right now.

    I mean, think about it. Why bother writing all of the kernels and utilities when you can have the hackers of the world pick up the slack? SGI can't put as many developers on Irix as MS can put on Windoze. So they are developing Irix only for the MIPS machines and keeping Linux for their Intel machines.

    And the strategy is pretty evident. They have been very supportive of good OpenGL under Linux. They have XFS, clustering software, etc. All of the Irix advantages are getting ported over.

    The problem is that they haven't been able to move over to the Intel platform properly. Their first attempt was a fiasco. The Onyx 3000 series was designed to be a transitional system. It can work with either a MIPS processor or an Itanium. But the Itanium delays are making that hard. And, unlike the desktop workstations, you can't stuff a Pentium 4 in a Onyx because you need 64 bit addressing to make their NUMA architecture work -- each processor gets a piece of the address space. With a 512 processor Onyx 3000, that makes 8 megs of RAM per processor. So Intel is holding up SGI's full migration to Linux.

    Now, as far as the stability of SGI, I'm not entirely sure. They are still bleeding money, and at a faster rate than last year, too. Given the downturn in the tech economy, they are going to be hit with it, too. It's very shakey.

  129. Re:Standardization by stanfinger · · Score: 1
    And that will be?

    I think that part of the problem he's addressing is that there may be controversy over what SHOULD be the "automatic" or "beginner" install's fs.

  130. journaling is nice, but how about a better RAID? by typical+geek · · Score: 1

    A journaling file system is grea,t but Linux needs better RAID support, maybe even data striping.

    Where I'm coming from:

    I just upgraded my home network to 100baseT. Now, how the hell am I going to saturate a 100Mbps link with a shitty IDE hard drive, or even a faster SCSI?

    I need some way to stream my DIVX:) at 100Mbps, so I can transfer a movie to my set side box in 10 seconds.

  131. pondering by deran9ed · · Score: 4


    I wonder if folks over at SGI plan on dropping Irix in the near future for Linux entirely. As it stands right now the majority of their hardware run Linux, and the last version of Irix released was to mainly fix bugs.

    Its a shame that SGI has done pretty poor the past few years, when they're such kick ass machines, and personally I think they should kick the marketing teams asses.

    I know previously they've used a customized version of Windows exclusively on their 320/540 servers, I guess they changed em all around to avoid fireselling them at crackhead prices. Maybe someday I'll see a BSD running on an Irix machine to see how it would run in comparison to Linux (don't bother to troll this post this is not an OS war-penis-envious-linux-vs-bsd-post) as far as benchmarking is concerned. As for XFS support I though it was supported for reading and not writing? Oh well I don't use Linux anymore ;)

  132. Re:journaling is nice, but how about a better RAID by __aaahtg7394 · · Score: 1

    perhaps i'm just shining with ignorance here, but does DiVX not stream?

    personally, i'm planning on using MPEG2 over 100Mb as a stream, if/when i bother to build a set-top box. on my sony dvd player, it has a nice "bandwidth monitor", which tops out at about 10Mbps.

  133. Re:FP! [OT] by SpeelingChekka · · Score: 1

    I think its quite clever .. he gets modded up, then when mods are frozen, he changes his sig, and a stupid meaningless FP is modded up for eternity :) I'm actually somewhat impressed that this guy managed to change his sig to a link to something meaningful related to XML and post a FP in the short time available before anyone else got to FP.

  134. Re:journaling is nice, but how about a better RAID by SpeelingChekka · · Score: 1

    Switched helps. ftp can compress files, so you might be getting some "fake" results there, unless every one of those files was already compressed (e.g. mp3s). I discovered this when I ftp'd a 1 MB file at 32 KB/sec on my 28.8 modem! The maximum my modem does is a little over 3 KB/sec.

    I do network programming, and the applications I develop require me to do a lot of file copying. Copying large numbers of files (over 1GB, this is a mixture of lots of small files and some very large files) in Win2K I realistically get about 3-4 MB/s. When a Win98 machine is involved, its around 50 - 75% of that speed. This is on a switched LAN too. I haven't done proper tests involving SMB on Linux, so I don't have numbers on that.

  135. Hmm .. some distinctly biased moderating here by SpeelingChekka · · Score: 1

    I fail to see the justification for calling this post a troll. Off-topic, maybe, but troll, no.

  136. Re:journaling is nice, but how about a better RAID by SpeelingChekka · · Score: 2

    In theory, yes (i.e. if you could stream data straight off the HD and out onto the wire). In practice, no. The data must first be read by an OS, is seldom contiguous, has additional FS overhead to be read, there are additional delays in network protocols (e.g. in the protocol layering (SMB/TCP/IP/802.3, also for a reliable protocol like TCP, every byte that gets sent must be acknowledged), in processing interrupts, the computer must also process other things (GUI, mouse etc, and perform scheduling). Also, multiply all the overhead by 2, because the other computer needs to be *reading* that data, and usually also saving it to a hard disk. Add to that network collisions - on an 802.3 100 MB LAN, the high number of collisions that start to occur as the LAN approaches > 70% usage starts to seriously degrade the network (there will be collisions even with only 2 PCs on the LAN copying between each other, because remember, you have addition protocol overhead for ACKs etc).

    So in practice it is nearly impossible to copy files from one PC to another over a LAN at anywhere near 10 MB/s. If you manage between 3 and 5 MB /s, then you are doing quite well. If you don't mind unreliable and you are streaming the data in one direction (e.g. with UDP), then you may be able to do a bit better than that, but in my experience I've found that it is *very difficult* for one computer to even approach saturation of 100 MB, even with data unicast with UDP that isn't being read off a hard disk. You can try this yourself, write a simple UDP sockets app that just sends data on one end, and receives data on another, then output some stats on the number of bytes sent/received.

    See Tanenbaums "Computer Networks" (3rd Ed), he has a useful section on the performance of networks, basically discussing why most of the latency is in software, in the protocols etc.

  137. Standardization by andrewscraig · · Score: 1

    While ordinarily, I think that the freedom-of-choice with Open Source Software is a good idea, in cases so close to the "core" OS (e.g. filesystems or GUI's) it might be better to have a "standard" one.
    We've lived for so long with primarily ext2 - but now we have the choice of XFS, reiserfs, and ext3...which could result in confusion.
    We are already seeing this happen with the Gnome/KDE flame-wars - lets hope it doesn't happen with filesystems. Hopefully there'll be a merge of the different filesystems to take the best from each (at least this time they are all issued under the same licence!)

    --
    Andrew

    1. Re:Standardization by andrewscraig · · Score: 1

      I do remember that ext2 was not the only fs that Linux uses (hence the '2' bit :-) ) -- in fact I'm very glad that it supports multiple fs's (the sooner it supports writing to W2K NTFS, the better...(I forgot to make a communal vfat storage area last time I did a re-install)...
      What I was concerned over was that by fragmenting the filesystem development, there is some obvious duplication of work involved (although much less given the common licence among them).
      However, from reading the other posts here I see that in this case, perhaps continuing development on the other filesystems might be a good plan.

      --
      Andrew

  138. journalling file systems are pretty useless by janpod66 · · Score: 3
    As far as I'm concerned, journalling file systems are pretty useless. They only protect against a limited set of failures, so you still need backups or RAID for important data. They do save the overhead of running fsck at startup, but you spend more time in aggregate overhead than the occasional fsck. And journalling file systems generally only journal file system structure, not content, which means that partially written files may contain garbled content. Some file systems that claim they are journalling (NTFS, for example) don't even guarantee that operations are carried out (and journalled) in order, so they make essentially no meaningful guarantees compared to a non-journalling file system other than an unproven belief that they may be more robust.

    In addition to the overhead, you also have to deal with the risks to your data from the fact that both the file system code itself is more complex and that utility programs and administrative tools may do the wrong thing with journalling file systems.

    Altogether, I think you are better off with a RAID and a UPS; unless you have some serious failure, that will pretty much avoid the need for running fsck. If you have really critical needs, you will want a hot backup system that you can switch to if your primary system goes down anyway; that takes care of a lot of other problems and also lets you spend however much time you need on fsck.

    (As an aside, fast reboots can't have been a driving factor for JFS on AIX: while JFS may have spared people the time for an fsck on reboot, many AIX server machines spent minutes or hours (!) scanning their SCSI buses on each reboot. I think many people who use journalling file systems don't do it because they need it but because it sounds "safer".)

  139. Investigating RAID solutions by TopherC · · Score: 2
    This becomes a serious question if you consider things like gigabit ethernet. We're also starting to see some hardware out there that makes IDE raid systems a little more reasonable.

    I looked into this a little bit for my research group at UIUC. We were wanting to buy some more disk space, somewhere between 400GB and 1TB. There were two options I considered.

    • Buy a bunch of SCSI disks and put them in our existing SCSI controller which has some free space. We would get a set of 6 drives, either 70GB or 160GB each. One would be redundant.
    • Buy an IDE raid server and run Linux on it. We could connect 6 80GB IDE drives to a 3ware IDE SCSI card or some such thing. Since IDE drives are about 1/4 the cost of SCSI drives, and 6 80GB drives cost about the same as the computer to support them, this ends up being half as expensive per GB. Some collaborators at Vanderbilt did this a year ago.

    In our situation we wanted to be able to process data as fast as possible. We have a growing collection of dual-PIII "compute servers" and divide our data amongst the computers. Typical jobs will run on a dozen of these computers (24 CPUs) and rip through data in either minutes, hours, or even months depending on the job. We are often I/O-bound.

    We went with the SCSI disks for a few reasons:

    • SCSI disks have their own internal cache and can read or write chunks out of sequence to minimize head travel. We were only guessing that this could be a big deal since we were often reading and writing a few dozen data streams at once, saturating the server. But we haven't done any tests so I don't know how big a factor this is in reality.
    • SCSI disks were hot-swappable - no downtime.
    • This solution is more scalable and convenient. One doesn't want to manage several disk servers if it's not necessary.
    • Our Sys. Admin. insisted, for these reasons and more.

    Of course without the infrastructure of our existing RAID box, the economy would slant much more toward the IDE RAID solution. And for a home environment I think smaller-scale things like the ABIT KT7A-RAID card might also become very handy. Last I heard, the RAID controller it used wasn't fully supported in Linux, but that information is probably out of date by now.

    We are currently using OSF1 for our server instead of Linux primarily because of the advanced filesystem: a 64-bit filesystem, ACLs, partitions that span multiple disks, and so on. It's good to hear that most of these advantages are now available to Linux, and XFS looks extremely promising. Keep up the good work, everyone!