How Does Fedora 25 Split Large Filesystems



  • @Tim_G said in How Does Fedora 25 Split Large Filesystems:

    I didn't realize Fedora did it like that. I prefer that method most. I'd rather put it where I want after a quick default install, than it put it somewhere I don't want it automatically.

    I agree.



  • I really dislike how CentOS 7 will take a large disk and create a 50GB setup for everything and then a separate partition to everything over 50 and moutn it in /home.



  • @JaredBusch said in How Does Fedora 25 Split Large Filesystems:

    I really dislike how CentOS 7 will take a large disk and create a 50GB setup for everything and then a separate partition to everything over 50 and moutn it in /home.

    That sounds like they expect that every large install is going to be used for end users to log into. Isn't that pretty unlikely?



  • @Reid-Cooper said in How Does Fedora 25 Split Large Filesystems:

    @JaredBusch said in How Does Fedora 25 Split Large Filesystems:

    I really dislike how CentOS 7 will take a large disk and create a 50GB setup for everything and then a separate partition to everything over 50 and moutn it in /home.

    That sounds like they expect that every large install is going to be used for end users to log into. Isn't that pretty unlikely?

    This is what CentOS 7 does by default with a 150GB VHDX.

    [[email protected] ~]# df -h
    Filesystem           Size  Used Avail Use% Mounted on
    /dev/mapper/cl-root   50G  1.9G   49G   4% /
    devtmpfs             439M     0  439M   0% /dev
    tmpfs                449M     0  449M   0% /dev/shm
    tmpfs                449M   46M  404M  11% /run
    tmpfs                449M     0  449M   0% /sys/fs/cgroup
    /dev/sda2           1014M  174M  841M  18% /boot
    /dev/sda1            200M  9.5M  191M   5% /boot/efi
    /dev/mapper/cl-home   97G  6.5G   91G   7% /home
    tmpfs                 90M     0   90M   0% /run/user/0
    
    [[email protected] ~]# pvdisplay
      --- Physical volume ---
      PV Name               /dev/sda3
      VG Name               cl
      PV Size               148.80 GiB / not usable 2.00 MiB
      Allocatable           yes
      PE Size               4.00 MiB
      Total PE              38093
      Free PE               1
      Allocated PE          38092
      PV UUID               5YZ3rY-LPgV-W0Vi-LoOm-5byv-PdwA-iPaJvP
    
    [[email protected] ~]# vgdisplay
      --- Volume group ---
      VG Name               cl
      System ID
      Format                lvm2
      Metadata Areas        1
      Metadata Sequence No  4
      VG Access             read/write
      VG Status             resizable
      MAX LV                0
      Cur LV                3
      Open LV               3
      Max PV                0
      Cur PV                1
      Act PV                1
      VG Size               148.80 GiB
      PE Size               4.00 MiB
      Total PE              38093
      Alloc PE / Size       38092 / 148.80 GiB
      Free  PE / Size       1 / 4.00 MiB
      VG UUID               fuOf2r-zmeW-gCxG-b8MX-9JQ2-m3RG-S2Y2mh
    


  • @Reid-Cooper said in How Does Fedora 25 Split Large Filesystems:

    @JaredBusch said in How Does Fedora 25 Split Large Filesystems:

    I really dislike how CentOS 7 will take a large disk and create a 50GB setup for everything and then a separate partition to everything over 50 and moutn it in /home.

    That sounds like they expect that every large install is going to be used for end users to log into. Isn't that pretty unlikely?

    That's rarely the case now (at least in my recent personal experience)... maybe 10 years ago it was more likely.



  • @Tim_G said in How Does Fedora 25 Split Large Filesystems:

    @Reid-Cooper said in How Does Fedora 25 Split Large Filesystems:

    @JaredBusch said in How Does Fedora 25 Split Large Filesystems:

    I really dislike how CentOS 7 will take a large disk and create a 50GB setup for everything and then a separate partition to everything over 50 and moutn it in /home.

    That sounds like they expect that every large install is going to be used for end users to log into. Isn't that pretty unlikely?

    That's rarely the case now (at least in my recent personal experience)... maybe 10 years ago it was more likely.

    Maybe 20 years ago. 🙂



  • I seen that in Fedora 27 NetInstall, it doesn't create a /home partition automatically. It only does the following by default:

    0_1515608235923_bcfa5e5b-cf5f-4eb1-b690-2fe9b1938607-image.png

    I found RedHat's partitioning recommendations, and it recommends a separate /home partition with the follow minimum sizes. Be sure to look at the note below, as I think that's a great way to go about it.

    0_1515608352186_21f85509-21c7-431d-be32-2df1c3a525c5-image.png

    If you assign all extra space to /home, and then later you run out of room in /, then you'll wish you'll had more available.



  • @tim_g said in How Does Fedora 25 Split Large Filesystems:

    I seen that in Fedora 27 NetInstall, it doesn't create a /home partition automatically. It only does the following by default:

    0_1515608235923_bcfa5e5b-cf5f-4eb1-b690-2fe9b1938607-image.png

    I found RedHat's partitioning recommendations, and it recommends a separate /home partition with the follow minimum sizes. Be sure to look at the note below, as I think that's a great way to go about it.

    0_1515608352186_21f85509-21c7-431d-be32-2df1c3a525c5-image.png

    If you assign all extra space to /home, and then later you run out of room in /, then you'll wish you'll had more available.

    Yeah, splitting off /home comes from another era and what is today a very rare use case that almost never comes up. Reducing space in / so that you don't overfill a directory that is essentially never used is pretty silly.



  • @scottalanmiller said in How Does Fedora 25 Split Large Filesystems:

    @tim_g said in How Does Fedora 25 Split Large Filesystems:

    I seen that in Fedora 27 NetInstall, it doesn't create a /home partition automatically. It only does the following by default:

    0_1515608235923_bcfa5e5b-cf5f-4eb1-b690-2fe9b1938607-image.png

    I found RedHat's partitioning recommendations, and it recommends a separate /home partition with the follow minimum sizes. Be sure to look at the note below, as I think that's a great way to go about it.

    0_1515608352186_21f85509-21c7-431d-be32-2df1c3a525c5-image.png

    If you assign all extra space to /home, and then later you run out of room in /, then you'll wish you'll had more available.

    Yeah, splitting off /home comes from another era and what is today a very rare use case that almost never comes up. Reducing space in / so that you don't overfill a directory that is essentially never used is pretty silly.

    I like production data in it's own partition.. whether it's /data or in /home depending on the situation.



  • I see some that don't have a separate /home partition, and some that do.

    I've never actually ran into any issues upgrading those that do not have a separate /home partition. So I don't really see that as a reason to justify having a separate partition.

    I feels it's so much easier to give all your extra space to /, and not have a separate /home partition.



  • @tim_g said in How Does Fedora 25 Split Large Filesystems:

    I seen that in Fedora 27 NetInstall, it doesn't create a /home partition automatically. It only does the following by default:

    0_1515608235923_bcfa5e5b-cf5f-4eb1-b690-2fe9b1938607-image.png

    I found RedHat's partitioning recommendations, and it recommends a separate /home partition with the follow minimum sizes. Be sure to look at the note below, as I think that's a great way to go about it.

    0_1515608352186_21f85509-21c7-431d-be32-2df1c3a525c5-image.png

    If you assign all extra space to /home, and then later you run out of room in /, then you'll wish you'll had more available.

    It won't create a /home partition if you don't have enough storage space. 20GiB virtual disk will most certainly exclude a /home partition.



  • This is how I'm going to set up the next LAMP VM. I don't feel it's necessary to have a separate /home partition. It's easy enough to upgrade from Fedora 27 to the next and to the next, without any data loss due to lack of a separate /home or /data partition.

    0_1515609366985_f4fc79f0-b063-4250-b6fe-e56eeb42d82f-image.png



  • @tim_g said in How Does Fedora 25 Split Large Filesystems:

    This is how I'm going to set up the next LAMP VM. I don't feel it's necessary to have a separate /home partition. It's easy enough to upgrade from Fedora 27 to the next and to the next, without any data loss due to lack of a separate /home or /data partition.

    0_1515609366985_f4fc79f0-b063-4250-b6fe-e56eeb42d82f-image.png

    My LAMP boxes don't have separate /home either.



  • If you type some large number in the box for the / partition and then click the update button, it auto sizes to max.



  • @jaredbusch said in How Does Fedora 25 Split Large Filesystems:

    If you type some large number in the box for the / partition and then click the update button, it auto sizes to max.

    Yeah, that's how I got it to say 144.84. If I did it myself, it'd be a nice round number.