Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! zarMarco's Avatar
    Join Date
    Oct 2017
    Location
    Italy
    Posts
    14

    From ext4 to btrfs


    Hi all, I have a laptop with arch and OpenSuSE.
    On OpenSuSE I've started at loved btrfs. Can I changed my root partition from ext4 to btrfs? I know that on wiki it's a page for this operation, but someone had do it?

  2. #2
    Linux User
    Join Date
    Dec 2017
    Location
    Argentina
    Posts
    271
    Do you want to format and keep all your data?

    Sent from my Moto G Play using Tapatalk

  3. #3
    Just Joined! zarMarco's Avatar
    Join Date
    Oct 2017
    Location
    Italy
    Posts
    14
    No, I would like convert my partition on btrfs, without format. If it is possible

  4. $spacer_open
    $spacer_close
  5. #4

  6. #5
    Just Joined! zarMarco's Avatar
    Join Date
    Oct 2017
    Location
    Italy
    Posts
    14
    the conversion was be quickly and easy. After, I made a new installation on my new laptop always btrfs.

  7. #6
    Linux User
    Join Date
    Dec 2017
    Location
    Argentina
    Posts
    271
    Quote Originally Posted by zarMarco View Post
    the conversion was be quickly and easy. After, I made a new installation on my new laptop always btrfs.
    And why is that?

    Sent from my Moto G Play using Tapatalk

  8. #7
    Just Joined! zarMarco's Avatar
    Join Date
    Oct 2017
    Location
    Italy
    Posts
    14
    do you mean btrfs? Because I find the snapshot system very helpful. And then I've root and home separate on only one partition

  9. #8
    Just Joined!
    Join Date
    Jul 2005
    Location
    Montreal Quebec Canada
    Posts
    35
    -->
    Quote Originally Posted by zarMarco View Post
    do you mean btrfs? Because I find the snapshot system very helpful. And then I've root and home separate on only one partition
    When using btrfs, it uses copy on write (COW). COW creates and writes a new output to a new location in the partition, and then changes the link to it. It uses twice the space (momentarily) than does ext4 or xfs. If you are using btrfs with an older SSD, it may be that btrfs is not for you. The life of your SSD will be reduced due to the extra writes. You can reduce the rewrites to the SSD by moving /var to a spinning disk.
    with COW, consider running fstrim weekly.

Posting Permissions

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