Page 2 of 10 FirstFirst 1234 ... LastLast
Results 11 to 20 of 93

Thread: btrfs makes old hdds appear to operate faster

  1. #11
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,435
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    Quote Originally Posted by castrojo View Post
    You might want to install `apt-btrfs-snapshot`, it'll create a snapshot every time you upgrade, which means theoretically you can undo a bad apt upgrade.

    I've had it installed for a month now but I haven't found the time to actually try rolling back.

    I installed it on a DT. Could you share with us a few commands on how to operate it? I assume it is running (at current) How do I roll it back (any links please).

    thankyou.

    edit :

    Ok .. found this ..
    http://www.howtoforge.com/rollback-t...n-ubuntu-12.10
    Last edited by ventrical; February 6th, 2013 at 03:54 PM.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  2. #12
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,435
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    This has been just an awesome experience:

    Code:
    Supported
    Create a snapshot of '/tmp/apt-btrfs-snapshot-mp-an2qd2/@' in '/tmp/apt-btrfs-snapshot-mp-an2qd2/@apt-snapshot-2013-02-06_10:12:55'
    Code:
    Reading package lists... Done
    root@ventrical-P4M266A-8237:/home/ventrical# sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages will be upgraded:
      language-selector-common language-selector-gnome syslinux syslinux-common
    4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 1,361 kB of archives.
    After this operation, 797 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    Get:1 http://ca.archive.ubuntu.com/ubuntu/ raring-proposed/main language-selector-gnome all 0.100 [20.2 kB]
    Get:2 http://ca.archive.ubuntu.com/ubuntu/ raring-proposed/main language-selector-common all 0.100 [331 kB]
    Get:3 http://ca.archive.ubuntu.com/ubuntu/ raring-proposed/main syslinux-common all 2:5.01+dfsg-1 [879 kB]
    Get:4 http://ca.archive.ubuntu.com/ubuntu/ raring-proposed/main syslinux i386 2:5.01+dfsg-1 [131 kB]
    Fetched 1,361 kB in 6s (219 kB/s)                                              
    Supported
    Create a snapshot of '/tmp/apt-btrfs-snapshot-mp-an2qd2/@' in '/tmp/apt-btrfs-snapshot-mp-an2qd2/@apt-snapshot-2013-02-06_10:12:55'
    (Reading database ... 157178 files and directories currently installed.)
    Preparing to replace language-selector-gnome 0.99 (using .../language-selector-gnome_0.100_all.deb) ...
    Unpacking replacement language-selector-gnome ...
    Preparing to replace language-selector-common 0.99 (using .../language-selector-common_0.100_all.deb) ...
    Unpacking replacement language-selector-common ...
    dpkg: considering deconfiguration of syslinux-common, which would be broken by installation of syslinux ...
    dpkg: yes, will deconfigure syslinux-common (broken by syslinux)
    Preparing to replace syslinux 2:4.06+dfsg-3 (using .../syslinux_2%3a5.01+dfsg-1_i386.deb) ...
    De-configuring syslinux-common ...
    Unpacking replacement syslinux ...
    Preparing to replace syslinux-common 2:4.06+dfsg-3 (using .../syslinux-common_2%3a5.01+dfsg-1_all.deb) ...
    Unpacking replacement syslinux-common ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for gnome-menus ...
    Processing triggers for man-db ...
    Setting up syslinux-common (2:5.01+dfsg-1) ...
    Setting up syslinux (2:5.01+dfsg-1) ...
    Setting up language-selector-common (0.100) ...
    Setting up language-selector-gnome (0.100) ...
    root@ventrical-P4M266A-8237:/home/ventrical# mount /dev/sda1 /mnt
    root@ventrical-P4M266A-8237:/home/ventrical# ls -l /mnt/
    total 0
    drwxr-xr-x 1 root root 208 Feb  5 19:14 @
    drwxr-xr-x 1 root root 208 Feb  5 19:14 @apt-snapshot-2013-02-06_10:12:55
    drwxr-xr-x 1 root root  18 Feb  5 19:11 @home
    root@ventrical-P4M266A-8237:/home/ventrical# mv /mnt/@ /mnt/@_badroot
    root@ventrical-P4M266A-8237:/home/ventrical# mv /mnt/@apt-snapshot-2013-02-06_10:12:55 /mnt/@
    root@ventrical-P4M266A-8237:/home/ventrical#
    Code:
    Ign http://ca.archive.ubuntu.com raring-proposed/multiverse Translation-en_CA  
    Ign http://ca.archive.ubuntu.com raring-proposed/restricted Translation-en_CA  
    Fetched 13.8 MB in 1min 19s (173 kB/s)                                         
    Reading package lists... Done
    ventrical@ventrical-P4M266A-8237:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages will be upgraded:
      gir1.2-signon-1.0 language-selector-common language-selector-gnome
      libsignon-glib1 syslinux syslinux-common
    6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 48.1 kB/1,409 kB of archives.
    After this operation, 797 kB disk space will be freed.
    Do you want to continue [Y/n]?
    Then , theoretically , if I did an install of Quantal Quetzal using btrfs and then Upgraded to raring after install the snapshot, then, I should be able to rollback to Quantal !!
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  3. #13
    Join Date
    Oct 2004
    Location
    Hockeytown, MI
    Beans
    561
    Distro
    Ubuntu

    Re: btrfs makes old hdds appear to operate faster

    No manpage.

    But this has the basic commands:

    sudo apt-btrfs-snapshot --help

  4. #14
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    6,534
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    I thought that I would give today's daily image ago on btrfs. Bad experience.

    Messages

    executing 'grub-install' /dev/sda failed.

    At least it did not mess up the Grub menu controled by another Raring.

    Installer Crash

    When I tried to boot into that partition I got no such device need to load kernel first /boot/vmlinuz-3.8.0-4-generic not found

    I guess it overwrote the Raring install that I put in that partition yesterday. I was hoping there might have an installation there that would boot. Disks utility is showing the partition as formatted as btrfs. I wonder if a re-install without a format will produce something.

    First, I will try and update grub to see if it picks up the broken install. No. It does not find a Raring Ringtail on sda9. At least I have removed the broken menu link.
    Last edited by grahammechanical; February 6th, 2013 at 06:50 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


  5. #15
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,435
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    Quote Originally Posted by castrojo View Post
    No manpage.

    But this has the basic commands:

    sudo apt-btrfs-snapshot --help
    Thanks. Already found a link as posted in previous. Rollback is a success.

    Now my attempt to install Quantal with btrfs, upgrade to Raring and then rollback to Quantal.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  6. #16
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,435
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    Quote Originally Posted by grahammechanical View Post
    I thought that I would give today's daily image ago on btrfs. Bad experience.

    Messages

    executing 'grub-install' /dev/sda failed.

    At least it did not mess up the Grub menu controled by another Raring.

    Installer Crash

    When I tried to boot into that partition I got no such device need to load kernel first /boot/vmlinuz-3.8.0-4-generic not found

    I guess it overwrote the Raring install that I put in that partition yesterday. I was hoping there might have an installation there that would boot. Disks utility is showing the partition as formatted as btrfs. I wonder if a re-install without a format will produce something.

    First, I will try and update grub to see if it picks up the broken install.

    I am having great success, Keep trying. I just used 'something else'. I deleted all the partitions and got 'free-space'. Then choose 'change'. Choose btrfs, format and '/' as mount point. Can't go wrong.

    I am now going to attempt to upgrade from a fresh install of Quantal to Raring and then rollback to Quantal.

    This is more fun that I had in a long time.

    Doh!
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  7. #17
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    5,442
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: btrfs makes old hdds appear to operate faster

    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.

  8. #18
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,435
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    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?
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  9. #19
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,435
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    Upgrade to raring.
    Attached Images Attached Images
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  10. #20
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,435
    Distro
    Ubuntu Development Release

    Re: btrfs makes old hdds appear to operate faster

    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
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

Page 2 of 10 FirstFirst 1234 ... 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
  •