Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Data Storage Software IT Linux

How To Move Your Linux Systems To ext4 304

LinucksGirl writes "Ext4 is the latest in a long line of Linux file systems, and it's likely to be as important and popular as its predecessors. As a Linux system administrator, you should be aware of the advantages, disadvantages, and basic steps for migrating to ext4. This article explains when to adopt ext4, how to adapt traditional file system maintenance tool usage to ext4, and how to get the most out of the file system."
This discussion has been archived. No new comments can be posted.

How To Move Your Linux Systems To ext4

Comments Filter:
  • by A beautiful mind ( 821714 ) on Tuesday May 06, 2008 @01:53PM (#23314470)
    Yes, Terabyte is not entirely correct according to SI, but Tebibyte just sounds lame and language is a tool, to facilitate written and oral communication.

    Of course, in this case you have to balance the confusion stemming from the Tera in IT context meaning 1024 in some cases. To be honest, people insisting on the new naming, they should have come up with a sensible sounding name and promoted that. You have to remember that language, even technical language is for the people. There are lots of ways to craft a beautiful, logical, symmetrical language that no sane person would use because it just doesn't sound convenient.

    Maybe a linguist can pitch in to explain why tebibyte sounds so awful?
  • by DJProtoss ( 589443 ) on Tuesday May 06, 2008 @02:15PM (#23314758)
    I agree btrfs looks nice, but its somewhat behind ext4 in terms of implmentation and stability (which is saying something) - theres the small matter of not yet handling E_NOSPACE, for instance
  • by JustinOpinion ( 1246824 ) on Tuesday May 06, 2008 @02:36PM (#23315072)

    Of course, in this case you have to balance the confusion stemming from the Tera in IT context meaning 1024 in some cases.
    It's worse than that. According to SI prefixes, "Tera" should mean 10^12 (1,000,000,000,000), but in common usage applied to computers it sometimes means 2^40 (1,099,511,627,776). But it also sometimes means "1024 Giga", where the Giga could be using either convention (and, for all you know, the "Mega" implied within could have been computed using either convention). So you can get a gradient of "mixed numbers" that conform to neither standard. You might say that only a non-professional would make such a stupid mistake... but on the other hand, if you see a column of numbers listed in "Gigabytes" and you want to convert them to Terabytes, what conversion factor would you use? How would you know what conversion factor the previous author had used? How could you guarantee that you were doing it right? Would you be able to confidently convert it into an exact number of bytes?

    Personally, I think the whole thing is a mess, and computer professionals should be working harder to enforce a consistent scheme. Unfortunately, only a minority of computer professionals seem interested in changing the status quo confusion.

    Maybe a linguist can pitch in to explain why tebibyte sounds so awful?
    I'm no linguist, but I don't think "Tebibyte" sounding silly is the real problem. I admit that I laughed when I first heard the binary prefixes. They sound lame. But who cares? "Quark" was silly when it was first coined. So was "Yahoo" and "Google" and "Linux" and "WYSIWYG" and "SCSI" and "Drupal" and so on... Silly names become second-nature once they are used enough.

    I think the real problem is that people, inherently, are loathe to change. They are more apt to come up with rationalizations and justifications for doing things "the old way" rather than put in the work to learn (and code!) a new system. Sorry if this sounds harsh, but I find the people who say the binary prefixes "sound dumb" or say that "the current (inconsistent)* system works fine" are just coming up with excuses to avoid doing the work to use a properly consistent standard/notation.

    Maybe you're right, and that if the new prefixes had sounded "cooler", then adoption would have been faster... but I'm not so sure. Even if true, it doesn't absolve any of us for allowing the confusion to persist: cool or not, we (geeks especially!) should have the discipline to use proper standards.

    * The current system can be roughly described as: SI prefixes are powers of 10 everywhere except in computer science, when they become powers of 2. But only when referring to memory, and some data structure sizes, but not when referring to transmission rates or disk space (unless it's a flash drive, sometimes), and other kinds of data structures.
  • Re:Better option: (Score:2, Insightful)

    by jdinkel ( 1028708 ) on Tuesday May 06, 2008 @03:17PM (#23315608)
    Buy a Mac, then won't even be tempted with having a choice of something better.
  • by LWATCDR ( 28044 ) on Tuesday May 06, 2008 @03:35PM (#23315878) Homepage Journal
    But EXT4 because really useful when you have many terabytes of disk storage. With just one or two EXT3 is probably good enough.
    Now when we have ten TB drives....
    Good grief people Yea just keep a few thousand TV shows on your desktop.
  • Re:Why bother? (Score:3, Insightful)

    by skulgnome ( 1114401 ) on Tuesday May 06, 2008 @04:09PM (#23316382)
    It has value as an experiment, even if it ultimately doesn't turn into much. These people have ideas, and they want to implement them. They aren't maintenance programmers and should not be shoehorned into that task even at the level of J. Random Person On Slashdot's thought.

    Remember how reiserfs was the first filesystem to have journaling in Linux, and how some people were ready to state that there is no need to do an ext3 any more?
  • by glwtta ( 532858 ) on Tuesday May 06, 2008 @06:25PM (#23318180) Homepage
    ext4fs is designed to be used in systems requiring many terabytes of storage and vast directory trees

    Well yeah, but Slashdot seems like a pretty good place to find people who administer multi-TB systems, no?

    A terabyte isn't what it used to be (hell, 1TB SATA disks are pretty common) and ext3 sucks pretty hard even on a measly TB.

    Does the sub-TB desktop crowd even care about filesystems? I mean, they all pretty much work and these days the popular ones have pretty similar performance (on a single spindle, at least).
  • by glwtta ( 532858 ) on Tuesday May 06, 2008 @06:36PM (#23318276) Homepage
    On a related sidenode: I'm very happy with SGI's xfs right now.

    I seem to be plugging XFS in every fs thread recently, so I'll second that - I'm really surprised it's not more popular.

    ext3 may have, more or less, caught up to XFS in IO speed recently, but file operations on large filesystems are still a disaster - just try deleting a 2TB tree with a couple million files in ext3, I dare you.
  • by Blakey Rat ( 99501 ) on Tuesday May 06, 2008 @07:00PM (#23318506)
    Please.

    The greatest feature of modern software is "Undo." Everything I can screw up on the computer should have an Undo-- that's what the Recycle Bin (or Trash Can for Mac users) is there for, although it's a bit more awkward than pressing control-Z.

    Call it stupidity if you want, but my system files (you know, the ones that file permissions actually protect from malware) are worth approximately zero, and my personal files (the ones that malware can delete no question asked) are worth hundreds of man-hours, if not thousands, and ten times that in dollar value.

    Windows Shadow Copy has an exact template on how to implement it, now go implement it.

    (And yes, I keep backups, as should everybody. But there's no excuse not to use spare disk space as another layer of defense.)
  • by oddfox ( 685475 ) on Tuesday May 06, 2008 @11:43PM (#23320368) Homepage

    One of many reasons right here [brillig.org]

    I messed around with Ext4 for a little while on my machine (Like a couple days, just toying with it and seeing how its performance compares to Ext3 and Reiser4) a while back, like maybe a little bit before it was merged as experimental in the mainstream kernel. It is fast, backwards-compatible and extremely featureful. XFS is not a bad filesystem, but it has some problems, in my eyes. Metadata-only journaling, aggressive caching that makes it a potentially dangerous choice if you don't have a UPS, very slow metadata and deletion operations.

    That's great that XFS has a lot of features Ext4 is bringing to the playing field, and has had them for a long time. To pretend, however, that the developers of Ext4 simply have a NIH syndrome is just silly and disregards the fact that there is a lot that Ext4 already provides that XFS doesn't, and even more that it will soon. You might not see what the big deal is, but really, I can assure you that it won't be very long before the new ideas Ext4 employs are in widespread use.

    Here's an interesting article [byteandswitch.com] that really caught my eye with this: "Storage snapshot: The financial firm has more than 14 Petabytes of active storage and plans to add "several more Pbytes" within the next 12 months."

  • by MMC Monster ( 602931 ) on Wednesday May 07, 2008 @08:59AM (#23322790)
    I buy movies when the run $5-15 at the local store. I like having the physical disc. I may watch a movie just once, but good ones I'll watch at least a few times or more.

    There's nothing better than to sit down with the wife one evening and use the remote and flip through the DVD collection on the TV and start the movie without having to get up and figure out what to watch.

    It also means we're more likely to watch something we both enjoy rather than whatever happens to be on the TV at that time.

"May your future be limited only by your dreams." -- Christa McAuliffe

Working...