Installing Fedora onto a SSD with / and /home on btrfs
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,485

    Installing Fedora onto a SSD with / and /home on btrfs

    Why btrfs? Well, supposedly, btrfs does fewer I/Os to the SSD than does ext4. In theory, and in practice, fewer I/Os to an SSD means prolonged life of the SSD.

    From the beginning of Fedora 26, when I did have the SSD formatted as btrfs for / and for /home, gnome-shell would crash often when logging into the system after a power off period, or on relogging into the system. Some extensions would crash on btrfs during the extension's installation. The weeks between October 3 to November 10, saw a very large number of glib and gnome-shell updates.
    I am now able, with one or two reboots, (should not have to reboot), install any extension onto a "btrfs only" system. The following is copy/pasted from the bug report.

    I discovered that if I put a critical file onto an ext4 system, I can do a clean installation of all Gnome extensions without having to reboot. And that crashing ceased for the most part. That file is

    Code:
    ~/.config/dconf/user
    I relocated that file to an ext4 file system using a soft link even though all Fedora partitions save one, on my SSD are btrfs formatted.

    My steps were simple because, on Fedora, /boot is an ext4 file system
    As root.

    Code:
    1) mkdir     -p  /boot/leslie/.config/dconf
    
    Note /boot is an ext4 file system thanks to grub2 requirements
    
    2) cp -ra /home/leslie/.config/dconf/user        /boot/leslie.config/dconf 
    
    3)  mv  /home/leslie/.config/dconf  /home/leslie/.config/dconf.bak  #backup just in case.
    
    4) ln -s /boot/leslie/.config/dconf         /home/leslie/.config/dconf  
      
    5) chown -R leslie:leslie /boot/leslie/
    
    6) Log into my Leslie logon.   Success.  No gnome shell crashes since.
    Hopefully, Gnome 3.26.2 with btrfs support may not require the above steps. 3.26.2 will probably appear in Fedora 27 soon.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  2. #2
    Join Date
    Sep 2005
    Location
    Redneck Riviera
    Posts
    395

    Re: Installing Fedora onto a SSD with / and /home on btrfs

    lsatenstein,

    Glad to read that you've found a solution to your crashes!

  3. #3
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,485

    Re: Installing Fedora onto a SSD with / and /home on btrfs

    Yes, I started with frustration last June by reporting crashes. Gnome first level support was blaming the extensions and it made no sense. Extensions worked with other than btrfs. As the bug reports mounted with every crash, with my testing using the regular f26 and the f27 beta, the number of reports was mounting. And as I noted, it seems as when go-live date approached that the gnome libs and programs began to see maintenance.

    And since the past two weeks, with my above patch in place, there has not been a gnome-shell crash. I have pasted what I did into the bugzilla bug report, and hopefully, if / when there is an update to this bug report by a maintainer, or with gnome 3.26.2, I will revert my patch and test 3.26.2.

    Its been fun, and along the way I dug into logic and code, and learned a fair amount. Would I do it again? I don't know. My testing and experimenting took many days of 4 hours per day.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

Similar Threads

  1. F19: Can't mount btrfs file system - dmsg='btrfs: superblock checksum mismatch'
    By mmmmm in forum Guides & Solutions (Not For Questions)
    Replies: 2
    Last Post: 18th September 2013, 10:29 PM
  2. [SOLVED]
    Installing F16 with root btrfs?
    By nhasian in forum Installation, Upgrades and Live Media
    Replies: 5
    Last Post: 11th November 2011, 03:15 PM
  3. BTRFS Subvolume of Home?
    By Timberbrook in forum Using Fedora
    Replies: 5
    Last Post: 6th November 2011, 02:20 PM
  4. btrfs /home partition stopped mounting...
    By megaloman in forum Using Fedora
    Replies: 0
    Last Post: 7th August 2011, 12:44 PM
  5. Installing with btrfs
    By Kingoftherings in forum Fedora 13 Development Branch
    Replies: 3
    Last Post: 15th April 2010, 05:29 AM

Posting Permissions

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