Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: How big is my root partition on BTRFS ?

  1. #1

    Default How big is my root partition on BTRFS ?

    I just did a fresh install of tumbleweed. Now I want to know how big my root partition is.

  2. #2

    Default Re: How big is my root partition on BTRFS ?

    You can find information about partitions by using the YaST2 Partitions tool.

  3. #3

    Default Re: How big is my root partition on BTRFS ?

    No I can't.

    When I go into yast and use the partition tool, it tells me there is btrfs and subvolumes, one being root, bit it does not tell me how big it is.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,100
    Blog Entries
    15

    Default Re: How big is my root partition on BTRFS ?

    Quote Originally Posted by Gps2010 View Post
    No I can't.

    When I go into yast and use the partition tool, it tells me there is btrfs and subvolumes, one being root, bit it does not tell me how big it is.
    Hi
    Command line.....

    Code:
    su -
    btrfs filesystem show /
    btrfs filesystem df /
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: How big is my root partition on BTRFS ?

    Thank you

    Code:
    guus@a183222:~> su - 
    Wachtwoord:  
    a183222:~ #
    a183222:~ # btrfs filesystem show / 
    Label: none  uuid: 9c8140f9-0b81-41eb-ab94-d7342c38d218 
            Total devices 1 FS bytes used 193.59GiB 
            devid    1 size 931.01GiB used 195.02GiB path /dev/nvme0n1p2 
    
    a183222:~ # btrfs filesystem df / 
    Data, single: total=194.01GiB, used=193.05GiB 
    System, single: total=4.00MiB, used=48.00KiB 
    Metadata, single: total=1.01GiB, used=560.25MiB 
    GlobalReserve, single: total=251.00MiB, used=0.00B
    
    
    
    I am willing to admit, I totally do not understanding what it says.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,100
    Blog Entries
    15

    Default Re: How big is my root partition on BTRFS ?

    Quote Originally Posted by Gps2010 View Post
    Thank you

    Code:
    guus@a183222:~> su - 
    Wachtwoord:  
    a183222:~ #
    a183222:~ # btrfs filesystem show / 
    Label: none  uuid: 9c8140f9-0b81-41eb-ab94-d7342c38d218 
            Total devices 1 FS bytes used 193.59GiB 
            devid    1 size 931.01GiB used 195.02GiB path /dev/nvme0n1p2 
    
    a183222:~ # btrfs filesystem df / 
    Data, single: total=194.01GiB, used=193.05GiB 
    System, single: total=4.00MiB, used=48.00KiB 
    Metadata, single: total=1.01GiB, used=560.25MiB 
    GlobalReserve, single: total=251.00MiB, used=0.00B
    
    
    
    I am willing to admit, I totally do not understanding what it says.
    Hi
    Device size and used.....

    Code:
    devid    1 size 931.01GiB used 195.02GiB path /dev/nvme0n1p2 
    
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: How big is my root partition on BTRFS ?

    I am only getting more and more confused

    So there is no separate root partition anymore ? Because its the entire partition ?

    Then were is my home folder ?

    I must have missed something or just totally don't understand btrfs.

    Is it related to this ?

    https://en.opensuse.org/openSUSE:Usr_merge

  8. #8

    Default Re: How big is my root partition on BTRFS ?

    I think, I am starting to understand the problem, and my confusion.

    The Tumbleweed installer did not do what I expected it to do.
    It did not create on the SSD a home and root partition, but uses, I am guessing the home of the other tubleweed install.



    Now how to solve this ?

    Go into yast, shrink the root partition to about 60 gig ? and use whats left for a home folder ?

    This probably means I will loose the software I already installed ?

  9. #9
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,137

    Default Re: How big is my root partition on BTRFS ?

    Quote Originally Posted by Gps2010 View Post
    I think, I am starting to understand the problem, and my confusion.

    The Tumbleweed installer did not do what I expected it to do.
    It did not create on the SSD a home and root partition, but uses, I am guessing the home of the other tubleweed install.



    Now how to solve this ?

    Go into yast, shrink the root partition to about 60 gig ? and use whats left for a home folder ?

    This probably means I will loose the software I already installed ?
    This triple boot machine currently runs Tumbleweed:
    Code:
    i3-4130:~ # fdisk -l 
    Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
    Disk model: CT250MX500SSD1   
    Units: sectors of 1 * 512 = 512 bytes 
    Sector size (logical/physical): 512 bytes / 4096 bytes 
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes 
    Disklabel type: gpt 
    Disk identifier: 3B04C452-DAD9-45C6-9BD3-AE398288F628 
    
    Device    Start      End  Sectors  SizeType
    /dev/sda1       2048   1026047   1024000   500M EFI System 
    /dev/sda2    1026048 283596799 282570752 134.7G Linux filesystem 
    /dev/sda3  283596800 385996799 102400000  48.8G Linux filesystem 
    /dev/sda4  385996800 386029567     32768    16M Microsoft reserved 
    /dev/sda5  386029568 488396799 102367232  48.8G Microsoft basic data 
    i3-4130:~ # lsblk -f 
    NAME   FSTYPE FSVER LABEL      UUID                                 FSAVAIL FSUSE% MOUNTPOINT 
    sda                                                                                 
    ├─sda1 vfat   FAT16            6B6D-1CDE                             471.7M     6% /boot/efi 
    ├─sda2 btrfs        tumbleweed 227128c2-8703-4859-a006-30dccf5b299c    108G    19% / 
    ├─sda3 btrfs        leap       85d405ec-d559-49a1-b59c-5c5c9f176724                 
    ├─sda4                                                                              
    └─sda5 ntfs                    FE06394606390167                                     
    i3-4130:~ # btrfs filesystem usage -T / 
    Overall: 
        Device size:                 134.74GiB 
        Device allocated:             32.05GiB 
        Device unallocated:          102.69GiB 
        Device missing:                  0.00B 
        Used:                         25.62GiB 
        Free (estimated):            108.04GiB      (min: 108.04GiB) 
        Free (statfs, df):           108.04GiB 
        Data ratio:                       1.00 
        Metadata ratio:                   1.00 
        Global reserve:               77.88MiB      (used: 0.00B) 
        Multiple profiles:                  no 
    
                 Data     Metadata  System               
    Id Path      single   single    single   Unallocated 
    -- --------- -------- --------- -------- ----------- 
     1 /dev/sda2 30.01GiB   2.01GiB 32.00MiB   102.69GiB 
    -- --------- -------- --------- -------- ----------- 
       Total     30.01GiB   2.01GiB 32.00MiB   102.69GiB 
       Used      24.66GiB 984.19MiB 16.00KiB             
    i3-4130:~ # 
    Presumably there is no problem whatsoever with your install. For verification run all of the above commands on your machine and post both the commands and their complete and unaltered output as i did for my machine.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  10. #10
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,276

    Default Re: How big is my root partition on BTRFS ?

    Default now a days for BTRFS formatted installs is home on root. ie if you do not select something else home directory will be on root partition.

    You can change where home is by simply changing where /home lives in /etc/fstab

Page 1 of 3 123 LastLast

Posting Permissions

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