Page 3 of 18 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 172

Thread: HOWTO: Tweak your ext3 filesystem for a performance boost

  1. #21
    Join Date
    Oct 2005
    Location
    Fribourg,Switzerland
    Beans
    1,749

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    Hi everyone and thanks for this great help/howto.
    When I run the following I get this:
    Code:
    th@ubuntu:~$ sudo tune2fs -o journal_data_writeback /dev/hda1
    tune2fs 1.38 (30-Jun-2005)
    tune2fs: Bad magic number in super-block while trying to open /dev/hda1
    Couldn't find valid filesystem superblock.
    and GoldBuggie wrote:
    (There have been reports of problems when rebooting if the following is not done)
    Before rebooting change the filesystem manually to writeback.
    I'm a newbie and I would apprciate any help you'd pass on to me.
    From what I understand, it seems important to run sudo tune2fs....and I don't understand what is meant by "bad magic number" and what can be done to fix this?

  2. #22
    Join Date
    May 2005
    Location
    Sydney, Australia
    Beans
    19
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    to my horror it deleted the windows partition from the grub menu on my friends pc, luckily enough i saved a copy of the grub menu b4 hand, so all i have to do is add the info into the the new menu.lst

    ciao

  3. #23
    Join Date
    Aug 2005
    Location
    USA
    Beans
    369
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    Quote Originally Posted by xyz
    Hi everyone and thanks for this great help/howto.
    When I run the following I get this:
    Code:
    th@ubuntu:~$ sudo tune2fs -o journal_data_writeback /dev/hda1
    tune2fs 1.38 (30-Jun-2005)
    tune2fs: Bad magic number in super-block while trying to open /dev/hda1
    Couldn't find valid filesystem superblock.

    I'm a newbie and I would apprciate any help you'd pass on to me.
    From what I understand, it seems important to run sudo tune2fs....and I don't understand what is meant by "bad magic number" and what can be done to fix this?
    the bad magic number error is because hda1 isnt your root (/) partition. look in your /etc/fstab file and look for a forward slash (/) and see what drive/partition it corresponds to. that should fix it

  4. #24
    Join Date
    Apr 2005
    Location
    Not-So-Sunny Hawaii
    Beans
    Hidden!

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    looks like a decent chance of problems... i'll skip.

    /me waits for dapper to download... i want reiser on that install!
    So... a 1337 java programmer walks into a bar...

  5. #25
    Join Date
    Jan 2006
    Beans
    10

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    do i just use this command to reverse the tune2fs setting?
    sudo tune2fs -o journal_data_ordered /dev/hda1

  6. #26
    Join Date
    Apr 2005
    Location
    Stockholm, Sweden
    Beans
    331
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    do i just use this command to reverse the tune2fs setting?
    sudo tune2fs -o journal_data_ordered /dev/hda1
    That and removing the fstab and grub changes will do it.
    /me waits for dapper to download... i want reiser on that install!
    Everyone has his or her choice but I've noticed that on some commands ext3 is noticably faster then reiserfs. So reiserfs doesn't mean a faster filesystem. It just means different fs. It all depends on your need and what you do to your system. ext3, reiserfs & xfs are all good fs. I currently have reiserfs on this install but I will change on next install since for me I have found some things that isn't to my liking. But to each his own.

    Cheers

  7. #27
    Join Date
    Sep 2005
    Location
    Chicago, IL USA
    Beans
    218
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    this is proly a really stupid question (im a total noob )

    when i do sudo kate /etc/fstab, it says kate isn't a command. im using ubuntu 5.1....is kate a kubuntu only command or something?

  8. #28
    Join Date
    Jan 2006
    Location
    Mississippi
    Beans
    907
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    Your correct, Kate is KDE specific. You'd need to run:

    sudo nano /etc/fstab

    you could also do

    sudo gedit /etc/fstab

    The latter may be more user friendly if you've not used command line editors before.
    ... in myself i am nothing exactly no thing i am only a mirror in which others see aspects of themselves and attribute the resulting concepts to me but i am also an other to my self

  9. #29
    Join Date
    Sep 2005
    Location
    Chicago, IL USA
    Beans
    218
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    nm, i figured out kate was kde text editor. i just used gedit. suprisingly, i didn't screw up my system! I'm not sure yet how much faster its running....

    do i need to worry about something happening if i update the kernel? or should i update it with no worries?

  10. #30
    Join Date
    Apr 2005
    Location
    Stockholm, Sweden
    Beans
    331
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Tweak your ext3 filesystem for a performance boost

    do i need to worry about something happening if i update the kernel? or should i update it with no worries?
    Update with no worries

Page 3 of 18 FirstFirst 1234513 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •