Page 3 of 10 FirstFirst 12345 ... LastLast
Results 21 to 30 of 93

Thread: btrfs makes old hdds appear to operate faster

  1. #21
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    I tried again to get a Raring install on btrfs (yesterday's daily) Same result even though I choose to continue without installing a bootloader. I get an installer crashed message at the end and sudo update-grub from another Ubuntu does not detect an OS in the partition.

    Is this because the format is btrfs? Or is it a problem with this particular daily? Will this happen on Ext4?

    Update: This daily image installs without any problems when the file system is Ext4, including installing Grub into the MBR. I have just done it. So, it is an issue between Grub and the btrfs file system.

    Regards.
    Last edited by grahammechanical; February 7th, 2013 at 04:00 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  2. #22
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,701

    Re: btrfs makes old hdds appear to operate faster

    Quote Originally Posted by ventrical View Post
    Quote Originally Posted by The Cog View Post
    I just abandoned btrfs a couple of weeks ago. It had been getting slower and slower (all the firefox sqlite tables and cached images I suspect) and so I tried a defrag. Since you can only defrag one file at a time, I did something like:
    find /home - exec btrfs defrag '{}' \;
    When I came back after dinner, the PC had shut down (desktop, not on batteries) and the partition would not mount - invalid superblock etc.
    So I restored a backup to jfs and now it feels like a new machine, much faster.

    Did you attempt to do the rollback proceedure while you were experimenting with it?
    No. This was on a separate /home partition. Although / was also on btrfs, I never tried to defrag it. I'm sure I rolled back a root partiton apt-get intsall once though. It's the defrag that scuppered me.

  3. #23
    Join Date
    Apr 2006
    Location
    New Hampshire, U.S.A.
    Beans
    2,604
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    Quote Originally Posted by The Cog View Post
    No. This was on a separate /home partition. Although / was also on btrfs, I never tried to defrag it. I'm sure I rolled back a root partiton apt-get intsall once though. It's the defrag that scuppered me.
    We defrag on Microsoft XP wjocj actually seems to do something, however the result is not what you'd expect. XP allocates files by the "scatter" method all over the disk with gaps in between, which causes a lot of grief trying to push it down to resize.

    Booting Windows 7 first thing I did after seeing it worked was to boot Ubuntu live and resize to make space for Linux. Did not want to run Windows 7 hardly any so Windows 7 wouldn't allocate files here and there and everywhere.

    Never had to defrag Ubuntu and haven't noticed the need, even when I do some resizes.

  4. #24
    Join Date
    Oct 2004
    Location
    Hockeytown, MI
    Beans
    561
    Distro
    Ubuntu

    Re: btrfs makes old hdds appear to operate faster

    Quote Originally Posted by ventrical View Post
    Attempting to rollback to quantal was an absolute and complete failure. All I have now is the Grub Rescue menu Thats what you get when you forget to :
    sudo update grub
    Did it only fail because of not upgrading grub or did the entire thing blow up? So basically if we remember to update grub then it will work?

  5. #25
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    An update to my attempts to use btrfs.

    I tried installing 12.10 on a btrfs partition. Same problem of not being able to install grub into MBR /dev/sda. This time I told it to install grub into a partition (sda9 which 12.10 was being installed on). Result = Grub rescue - unknown file system and without a Grub menu at all. Options:

    1) Press Esc to bring up the Grub menu. Failed. Still Grub rescue.
    2) Get some experience using Ubuntu Secure Remix - Boot Repair utility.
    3) Simply re-install Ubuntu into that btrfs partition but as Ext4.

    I tried using Boot Repair. What a brilliant utility! It got me booting into my standby 12.04 on sda1. Did not pick up the other Ubuntus but update-grub has fixed that.

    I am coming to the conclusion that the problem is with Grub and btrfs. On reflection and from an uneducated persons view point, I think that os-prober cannot read btrfs formatted partitions. All the folders and files seem to be on the partition but os-prober when run from Ubuntu on another partition does not detect the Ubuntu on the btrfs partition.

    Regards.
    Last edited by grahammechanical; February 8th, 2013 at 07:10 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  6. #26
    Join Date
    Mar 2007
    Beans
    676
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    Quote Originally Posted by grahammechanical View Post
    An update to my attempts to use btrfs.

    ...

    I am coming to the conclusion that the problem is with Grub and btrfs. On reflection and from an uneducated persons view point, I think that os-prober cannot read btrfs formatted partitions. All the folders and files seem to be on the partition but os-prober when run from Ubuntu on another partition does not detect the Ubuntu on the btrfs partition.

    Regards.
    I concur. I have a perfectly sound install of 12.04 on a btrfs partition, but os-prober never sees it from another Ubuntu install. I have simply added the relevant grub menu entries using /etc/grub.d/40_custom, and it boots fine.
    Sony vaio vgn-fw235j; Synaptics touchpad; triple boot: mint 12 64-bit; Precise 64-bit & Saucy 64-bit. 2TB external USB drive with more...

  7. #27
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    I have simply added the relevant grub menu entries using /etc/grub.d/40_custom, and it boots fine.
    I cannot do this as I installed 12.10 on Ext4 over that btrfs partition. I had to do that because the boot process was more messed up than I thought. Boot Repair got me into 12.04 on sda1 but after clicking Restart the machine went into a loop = reboot - flash of purple - reboot.

    An new install of something was the only way to straighten things out. I did give this new 12.10 install its own btrfs /home partition. So, that is something.

    I am thinking that the solution would be to have a small /boot partition formatted as Ext4, Ext3 or even FAT32. I think that Ubuntu will run on btrfs but Grub cannot read the boot configuration file if it is on btrfs.

    I am not sure that I want to do this experiment as I would then have sda11 before sda1. And that is not logical.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  8. #28
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: btrfs makes old hdds appear to operate faster

    We have seen os-prober not see other types like LVM. On default Fedora installs you have to install the lvm2 driver and mount the Fedora partition. Then os-prober finds the Fedora.

    It may be because grub2 now has all the add in modules to load drivers for just about everything. But if module is not loaded or it does not know to auto load it then it does not work?
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #29
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: btrfs makes old hdds appear to operate faster

    Quote Originally Posted by castrojo View Post
    Did it only fail because of not upgrading grub or did the entire thing blow up? So basically if we remember to update grub then it will work?
    Good question casrojo.

    Please allow me to rephrase my most recent comment. I *assumed* that it was not updating Grub which caused the fail. I see it now that this is highly unlikely. I then assume that there would have to be a sort of weaving method with the sources.list.

    I think the actual snapshot (of original quantal) is still on the drive but I am only getting
    grub rescue > prompt.

    I tried to repair it with SuperGrub rescue but that failed.
    Last edited by ventrical; February 11th, 2013 at 01:33 AM.

  10. #30
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: btrfs makes old hdds appear to operate faster

    Ok..yes .. the snapshot is still on the drive. I used a Quantal 'live' USB and nautilus shows it there.

    @ is the snapshot ..but it beats me how to load it at bootup. No terminal .. just Grub Rescue>

    And further more I have no idea what happened to the 'upgraded' raring ringtail!
    Attached Images Attached Images

Page 3 of 10 FirstFirst 12345 ... 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
  •