ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Linux partitioning

    IT Discussion
    partition debian linux server
    7
    24
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • WLS-ITGuyW
      WLS-ITGuy
      last edited by

      What do you choose? This particular install is going to be an on prem web server running PostgreSQL, PHP7, and Apache.

      alt text

      WLS-ITGuyW 1 Reply Last reply Reply Quote 0
      • WLS-ITGuyW
        WLS-ITGuy @WLS-ITGuy
        last edited by

        @WLS-ITGuy said in Linux partitioning:

        What do you choose? This particular install is going to be an on prem web server running PostgreSQL, PHP7, and Apache.

        alt text

        With or without LVM

        1 Reply Last reply Reply Quote 0
        • dbeatoD
          dbeato
          last edited by

          If it is on a same drive, I would just do all files in one partition. I usually use LVM. (Coming from a Debian/Ubuntu background).

          WLS-ITGuyW JaredBuschJ 2 Replies Last reply Reply Quote 3
          • WLS-ITGuyW
            WLS-ITGuy @dbeato
            last edited by

            @dbeato Thanks!

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @dbeato
              last edited by

              @dbeato said in Linux partitioning:

              If it is on a same drive, I would just do all files in one partition. I usually use LVM. (Coming from a Debian/Ubuntu background).

              That's a debian/ubuntu screenshot.

              1 Reply Last reply Reply Quote 1
              • M
                marcinozga
                last edited by

                Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @marcinozga
                  last edited by

                  @marcinozga said in Linux partitioning:

                  Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                  Better solution, don't use bad apps

                  M 1 Reply Last reply Reply Quote 3
                  • M
                    marcinozga @JaredBusch
                    last edited by

                    @JaredBusch said in Linux partitioning:

                    @marcinozga said in Linux partitioning:

                    Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                    Better solution, don't use bad apps

                    You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                    travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • travisdh1T
                      travisdh1 @marcinozga
                      last edited by

                      @marcinozga said in Linux partitioning:

                      @JaredBusch said in Linux partitioning:

                      @marcinozga said in Linux partitioning:

                      Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                      Better solution, don't use bad apps

                      You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                      Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                      Used to happen more often because bad programming was more common.

                      M scottalanmillerS 2 Replies Last reply Reply Quote 1
                      • M
                        marcinozga @travisdh1
                        last edited by

                        @travisdh1 said in Linux partitioning:

                        @marcinozga said in Linux partitioning:

                        @JaredBusch said in Linux partitioning:

                        @marcinozga said in Linux partitioning:

                        Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                        Better solution, don't use bad apps

                        You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                        Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                        Used to happen more often because bad programming was more common.

                        Take Ubuntu for example, it will fill up /boot after a few kernel upgrades, so anything is possible.

                        JaredBuschJ dbeatoD travisdh1T scottalanmillerS 4 Replies Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @marcinozga
                          last edited by JaredBusch

                          @marcinozga said in Linux partitioning:

                          @travisdh1 said in Linux partitioning:

                          @marcinozga said in Linux partitioning:

                          @JaredBusch said in Linux partitioning:

                          @marcinozga said in Linux partitioning:

                          Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                          Better solution, don't use bad apps

                          You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                          Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                          Used to happen more often because bad programming was more common.

                          Take Ubuntu for example, it will fill up /boot after a few kernel upgrades, so anything is possible.

                          /cough don't use ubuntu /cough

                          1 Reply Last reply Reply Quote 2
                          • dbeatoD
                            dbeato @marcinozga
                            last edited by

                            @marcinozga said in Linux partitioning:

                            @travisdh1 said in Linux partitioning:

                            @marcinozga said in Linux partitioning:

                            @JaredBusch said in Linux partitioning:

                            @marcinozga said in Linux partitioning:

                            Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                            Better solution, don't use bad apps

                            You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                            Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                            Used to happen more often because bad programming was more common.

                            Take Ubuntu for example, it will fill up /boot after a few kernel upgrades, so anything is possible.

                            Very few instances of this, I have ran Debian and Ubuntu for a long time and maybe a handful have had that issue.

                            1 Reply Last reply Reply Quote 0
                            • brandon220B
                              brandon220
                              last edited by

                              Every Ubuntu server I have ever installed has filled up the /boot after a few updates/upgrades. I know it is normally easy to resolve but it is a pain.

                              1 Reply Last reply Reply Quote 0
                              • travisdh1T
                                travisdh1 @marcinozga
                                last edited by

                                @marcinozga said in Linux partitioning:

                                @travisdh1 said in Linux partitioning:

                                @marcinozga said in Linux partitioning:

                                @JaredBusch said in Linux partitioning:

                                @marcinozga said in Linux partitioning:

                                Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                                Better solution, don't use bad apps

                                You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                                Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                                Used to happen more often because bad programming was more common.

                                Take Ubuntu for example, it will fill up /boot after a few kernel upgrades, so anything is possible.

                                That's a known badly implemented system. IE bad programming. Don't use it.

                                Also, it has nothing to do with /var filling up.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  marcinozga @travisdh1
                                  last edited by

                                  @travisdh1 said in Linux partitioning:

                                  @marcinozga said in Linux partitioning:

                                  @travisdh1 said in Linux partitioning:

                                  @marcinozga said in Linux partitioning:

                                  @JaredBusch said in Linux partitioning:

                                  @marcinozga said in Linux partitioning:

                                  Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                                  Better solution, don't use bad apps

                                  You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                                  Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                                  Used to happen more often because bad programming was more common.

                                  Take Ubuntu for example, it will fill up /boot after a few kernel upgrades, so anything is possible.

                                  That's a known badly implemented system. IE bad programming. Don't use it.

                                  Also, it has nothing to do with /var filling up.

                                  It's just an example of partition filling up, doesn't matter which one. It proves the point that it does happen.

                                  travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
                                  • travisdh1T
                                    travisdh1 @marcinozga
                                    last edited by

                                    @marcinozga said in Linux partitioning:

                                    @travisdh1 said in Linux partitioning:

                                    @marcinozga said in Linux partitioning:

                                    @travisdh1 said in Linux partitioning:

                                    @marcinozga said in Linux partitioning:

                                    @JaredBusch said in Linux partitioning:

                                    @marcinozga said in Linux partitioning:

                                    Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                                    Better solution, don't use bad apps

                                    You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                                    Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                                    Used to happen more often because bad programming was more common.

                                    Take Ubuntu for example, it will fill up /boot after a few kernel upgrades, so anything is possible.

                                    That's a known badly implemented system. IE bad programming. Don't use it.

                                    Also, it has nothing to do with /var filling up.

                                    It's just an example of partition filling up, doesn't matter which one. It proves the point that it does happen.

                                    In your example, they are causing a new problem because they've implemented your solution to the problem.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      marcinozga @travisdh1
                                      last edited by

                                      @travisdh1 said in Linux partitioning:

                                      @marcinozga said in Linux partitioning:

                                      @travisdh1 said in Linux partitioning:

                                      @marcinozga said in Linux partitioning:

                                      @travisdh1 said in Linux partitioning:

                                      @marcinozga said in Linux partitioning:

                                      @JaredBusch said in Linux partitioning:

                                      @marcinozga said in Linux partitioning:

                                      Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                                      Better solution, don't use bad apps

                                      You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                                      Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                                      Used to happen more often because bad programming was more common.

                                      Take Ubuntu for example, it will fill up /boot after a few kernel upgrades, so anything is possible.

                                      That's a known badly implemented system. IE bad programming. Don't use it.

                                      Also, it has nothing to do with /var filling up.

                                      It's just an example of partition filling up, doesn't matter which one. It proves the point that it does happen.

                                      In your example, they are causing a new problem because they've implemented your solution to the problem.

                                      No, it would've had the same outcome if /boot wasn't on separate partition, but under root. Eventually it would've filled up entire disk with old kernel versions. The main point is to prevent root partition from filling up, not any other mount point.

                                      travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • travisdh1T
                                        travisdh1 @marcinozga
                                        last edited by

                                        @marcinozga said in Linux partitioning:

                                        @travisdh1 said in Linux partitioning:

                                        @marcinozga said in Linux partitioning:

                                        @travisdh1 said in Linux partitioning:

                                        @marcinozga said in Linux partitioning:

                                        @travisdh1 said in Linux partitioning:

                                        @marcinozga said in Linux partitioning:

                                        @JaredBusch said in Linux partitioning:

                                        @marcinozga said in Linux partitioning:

                                        Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                                        Better solution, don't use bad apps

                                        You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                                        Sure it's possible, but how many times do we see this sort of thing in normal use day to day? This is the first one I've heard of in years.

                                        Used to happen more often because bad programming was more common.

                                        Take Ubuntu for example, it will fill up /boot after a few kernel upgrades, so anything is possible.

                                        That's a known badly implemented system. IE bad programming. Don't use it.

                                        Also, it has nothing to do with /var filling up.

                                        It's just an example of partition filling up, doesn't matter which one. It proves the point that it does happen.

                                        In your example, they are causing a new problem because they've implemented your solution to the problem.

                                        No, it would've had the same outcome if /boot wasn't on separate partition, but under root. Eventually it would've filled up entire disk with old kernel versions. The main point is to prevent root partition from filling up, not any other mount point.

                                        If you have that many failures, for enough years for that particular thing, to become a problem, you have many more issues than just a full root partition.

                                        Seriously, this has been solved, and is nothing more than make-work anymore on any halfway decent platform.

                                        1 Reply Last reply Reply Quote 2
                                        • scottalanmillerS
                                          scottalanmiller @marcinozga
                                          last edited by

                                          @marcinozga said in Linux partitioning:

                                          Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                                          Reduces in one way (separation), increases in another (lower buffer size.) It's beneficial, but not by as much as it seems.

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @marcinozga
                                            last edited by

                                            @marcinozga said in Linux partitioning:

                                            @JaredBusch said in Linux partitioning:

                                            @marcinozga said in Linux partitioning:

                                            Last option on that screen. Why? Because if your root partition fills up, your system won't boot. Having /var on separate partition reduces that risk. Think of a bad app creating gigabytes of log entries, or writing junk to database.

                                            Better solution, don't use bad apps

                                            You never know if an app or kernel update doesn't go nuts. Here's an example of bad kernel module causing writing gigs of logs in minutes: https://unix.stackexchange.com/questions/195360/my-var-log-is-mysteriously-filling-up-gbs-in-minutes-any-cure-before-i-re-ins

                                            It's about risk assessment. Yeah, anything can go nuts. But filling up the drive is just one of so many ways that something going nuts will get you. In the real world, the risk is so low, I would not generally split it out.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post