How large should I make root, home, usr, var, and tmp partitions?











up vote
12
down vote

favorite
2












i install ubuntu server 10.04, have 64 Gb VHD.



And want to separate partitions in this mode:



/dev/xvda0 p on swap (2 Gb)
/dev/xvda1a0 e on /boot (128 Mb)
/dev/xvda1a1 e on / type ffs (local)
/dev/xvda1a2 e on /usr type ffs (local, nodev)
/dev/xvda1a3 e on /tmp type ffs (local, nodev)
/dev/xvda1a4 e on /var/log type ffs (local, nodev)
/dev/xvda1a5 e on /var type ffs (local, nodev, nosuid)
/dev/xvda1a6 e on /home type ffs (local, nodev, nosuid, with quotas)
/dev/xvda2 p on /new (local, nodev, nosuid, noexec) with rest of space ~50Gb.


But i'ma stuck, and don't know what size to give to each folder.



Also i want to encrypt partitions.



Thank you for any tips.



EDIT: System need minimum size, here will be installed about 10 apps like ufw, apache,mysql, chkrootkit and so on.










share|improve this question




















  • 1




    Was any of the answers useful for you? If so, please mark one as an answer.
    – Anders
    Sep 8 '13 at 1:12

















up vote
12
down vote

favorite
2












i install ubuntu server 10.04, have 64 Gb VHD.



And want to separate partitions in this mode:



/dev/xvda0 p on swap (2 Gb)
/dev/xvda1a0 e on /boot (128 Mb)
/dev/xvda1a1 e on / type ffs (local)
/dev/xvda1a2 e on /usr type ffs (local, nodev)
/dev/xvda1a3 e on /tmp type ffs (local, nodev)
/dev/xvda1a4 e on /var/log type ffs (local, nodev)
/dev/xvda1a5 e on /var type ffs (local, nodev, nosuid)
/dev/xvda1a6 e on /home type ffs (local, nodev, nosuid, with quotas)
/dev/xvda2 p on /new (local, nodev, nosuid, noexec) with rest of space ~50Gb.


But i'ma stuck, and don't know what size to give to each folder.



Also i want to encrypt partitions.



Thank you for any tips.



EDIT: System need minimum size, here will be installed about 10 apps like ufw, apache,mysql, chkrootkit and so on.










share|improve this question




















  • 1




    Was any of the answers useful for you? If so, please mark one as an answer.
    – Anders
    Sep 8 '13 at 1:12















up vote
12
down vote

favorite
2









up vote
12
down vote

favorite
2






2





i install ubuntu server 10.04, have 64 Gb VHD.



And want to separate partitions in this mode:



/dev/xvda0 p on swap (2 Gb)
/dev/xvda1a0 e on /boot (128 Mb)
/dev/xvda1a1 e on / type ffs (local)
/dev/xvda1a2 e on /usr type ffs (local, nodev)
/dev/xvda1a3 e on /tmp type ffs (local, nodev)
/dev/xvda1a4 e on /var/log type ffs (local, nodev)
/dev/xvda1a5 e on /var type ffs (local, nodev, nosuid)
/dev/xvda1a6 e on /home type ffs (local, nodev, nosuid, with quotas)
/dev/xvda2 p on /new (local, nodev, nosuid, noexec) with rest of space ~50Gb.


But i'ma stuck, and don't know what size to give to each folder.



Also i want to encrypt partitions.



Thank you for any tips.



EDIT: System need minimum size, here will be installed about 10 apps like ufw, apache,mysql, chkrootkit and so on.










share|improve this question















i install ubuntu server 10.04, have 64 Gb VHD.



And want to separate partitions in this mode:



/dev/xvda0 p on swap (2 Gb)
/dev/xvda1a0 e on /boot (128 Mb)
/dev/xvda1a1 e on / type ffs (local)
/dev/xvda1a2 e on /usr type ffs (local, nodev)
/dev/xvda1a3 e on /tmp type ffs (local, nodev)
/dev/xvda1a4 e on /var/log type ffs (local, nodev)
/dev/xvda1a5 e on /var type ffs (local, nodev, nosuid)
/dev/xvda1a6 e on /home type ffs (local, nodev, nosuid, with quotas)
/dev/xvda2 p on /new (local, nodev, nosuid, noexec) with rest of space ~50Gb.


But i'ma stuck, and don't know what size to give to each folder.



Also i want to encrypt partitions.



Thank you for any tips.



EDIT: System need minimum size, here will be installed about 10 apps like ufw, apache,mysql, chkrootkit and so on.







10.04 server partitioning encryption






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 5 '12 at 14:35

























asked Jun 5 '12 at 14:23









Mikhael Djekson

881110




881110








  • 1




    Was any of the answers useful for you? If so, please mark one as an answer.
    – Anders
    Sep 8 '13 at 1:12
















  • 1




    Was any of the answers useful for you? If so, please mark one as an answer.
    – Anders
    Sep 8 '13 at 1:12










1




1




Was any of the answers useful for you? If so, please mark one as an answer.
– Anders
Sep 8 '13 at 1:12






Was any of the answers useful for you? If so, please mark one as an answer.
– Anders
Sep 8 '13 at 1:12












2 Answers
2






active

oldest

votes

















up vote
11
down vote



accepted










First, I would put all space, except /boot, in a LVM2 volume. That's because it makes it so much easier to adjust partition size later, even on live systems and modern file systems.



Then I would make root small about 1GB, /usr about 6GB, /var about 2GB, /boot about 512 MB, swap same size as RAM, /var/log, /home and /srv large enough. It can be adjusted later.



I would not used all unallocated space now, as that could later be used to expand the other partitions, as I'm using LVM2. I could even add new paritions like /tmp, but that is a bit more complicated. I never use anything but LVM2 anymore. With that, I can even move the installation to RAID disks in less than 30 minutes, including creating and copy files and all.



For more information about LVM2, read this: http://www.debian-administration.org/articles/410



Yes, about encryptions, please have a look at Luks support:




  • http://www.hermann-uwe.de/taxonomy/term/95

  • http://www.debian-administration.org/users/dkg/weblog/71

  • (Package cryptsetup) file:/usr/share/doc/cryptsetup/README.remote.gz






share|improve this answer



















  • 1




    Shouldn't SWAP be a bit bigger than RAM?(Then again, I'm a hypocrite, as I use 256MB swap on 4GB RAM)
    – hexafraction
    Jun 6 '12 at 20:18








  • 1




    Swap shoul be as large as you need it to be, not larger. :) How large that is depends on what you run in your machine and how much RAM you got. There are recommendations about RAM to 2*RAM. But there are people that run perfectly well without any swap to. But I wouldn't recommend that unless you know what you do. And then you wouldn't ask here, would you? :)
    – Anders
    Jun 6 '12 at 20:37






  • 1




    Yes, if you want to hibernate your system, you'll need swap to be a bit larger than your RAM.
    – gerlos
    Mar 4 '14 at 9:25










  • @Anders I found this while searching for clues on LVM setup. Do you mean I don't need to set up RAID from scratch when I use LVM? How about this set up: I got server with 2 hard drives, the system is installed on /dev/sda, /dev/sdb is unused. LVM is not in use, AFAICT. Can I migrate to using LVM and RAID 1? Or should I reinstall from scratch? But then again, can I? (the machine is a server hosted by Leaseweb, I can reinstall different OS'es from their control panel, and even choose non-default options like partition layout, but I'm not sure how (if at all) can I instruct it to use LVM/RAID)
    – Nickolai Leschov
    Mar 24 '14 at 13:40










  • @Nickolai, Preferably, set up RAID with BOOT on mirror RAID on all and then rest as you like (RAID5 if 3 or more disks, RAID6 on 4 or more) and make LVM on that other part. If already installed with LVM, I would do this: Clean one disk of data, pref. the one not booting from. Make a BOOT mirror RAID (where the second disk is none) and a mirror RAID (since only two disks) of the rest. I would then make the second RAID a physical disk and add to the vg. After that transfer all data from the old disk in vg and then remove from the vg. After that make and add the first disk to RAID. Finished!
    – Anders
    Mar 25 '14 at 2:20




















up vote
2
down vote













There is no correct or wrong answer,personally i would make a 12GB partition for my Ubuntu installation containing:



-> 6GB for root
-> 2GB for swap
-> 4GB for home





share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f146838%2fhow-large-should-i-make-root-home-usr-var-and-tmp-partitions%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    11
    down vote



    accepted










    First, I would put all space, except /boot, in a LVM2 volume. That's because it makes it so much easier to adjust partition size later, even on live systems and modern file systems.



    Then I would make root small about 1GB, /usr about 6GB, /var about 2GB, /boot about 512 MB, swap same size as RAM, /var/log, /home and /srv large enough. It can be adjusted later.



    I would not used all unallocated space now, as that could later be used to expand the other partitions, as I'm using LVM2. I could even add new paritions like /tmp, but that is a bit more complicated. I never use anything but LVM2 anymore. With that, I can even move the installation to RAID disks in less than 30 minutes, including creating and copy files and all.



    For more information about LVM2, read this: http://www.debian-administration.org/articles/410



    Yes, about encryptions, please have a look at Luks support:




    • http://www.hermann-uwe.de/taxonomy/term/95

    • http://www.debian-administration.org/users/dkg/weblog/71

    • (Package cryptsetup) file:/usr/share/doc/cryptsetup/README.remote.gz






    share|improve this answer



















    • 1




      Shouldn't SWAP be a bit bigger than RAM?(Then again, I'm a hypocrite, as I use 256MB swap on 4GB RAM)
      – hexafraction
      Jun 6 '12 at 20:18








    • 1




      Swap shoul be as large as you need it to be, not larger. :) How large that is depends on what you run in your machine and how much RAM you got. There are recommendations about RAM to 2*RAM. But there are people that run perfectly well without any swap to. But I wouldn't recommend that unless you know what you do. And then you wouldn't ask here, would you? :)
      – Anders
      Jun 6 '12 at 20:37






    • 1




      Yes, if you want to hibernate your system, you'll need swap to be a bit larger than your RAM.
      – gerlos
      Mar 4 '14 at 9:25










    • @Anders I found this while searching for clues on LVM setup. Do you mean I don't need to set up RAID from scratch when I use LVM? How about this set up: I got server with 2 hard drives, the system is installed on /dev/sda, /dev/sdb is unused. LVM is not in use, AFAICT. Can I migrate to using LVM and RAID 1? Or should I reinstall from scratch? But then again, can I? (the machine is a server hosted by Leaseweb, I can reinstall different OS'es from their control panel, and even choose non-default options like partition layout, but I'm not sure how (if at all) can I instruct it to use LVM/RAID)
      – Nickolai Leschov
      Mar 24 '14 at 13:40










    • @Nickolai, Preferably, set up RAID with BOOT on mirror RAID on all and then rest as you like (RAID5 if 3 or more disks, RAID6 on 4 or more) and make LVM on that other part. If already installed with LVM, I would do this: Clean one disk of data, pref. the one not booting from. Make a BOOT mirror RAID (where the second disk is none) and a mirror RAID (since only two disks) of the rest. I would then make the second RAID a physical disk and add to the vg. After that transfer all data from the old disk in vg and then remove from the vg. After that make and add the first disk to RAID. Finished!
      – Anders
      Mar 25 '14 at 2:20

















    up vote
    11
    down vote



    accepted










    First, I would put all space, except /boot, in a LVM2 volume. That's because it makes it so much easier to adjust partition size later, even on live systems and modern file systems.



    Then I would make root small about 1GB, /usr about 6GB, /var about 2GB, /boot about 512 MB, swap same size as RAM, /var/log, /home and /srv large enough. It can be adjusted later.



    I would not used all unallocated space now, as that could later be used to expand the other partitions, as I'm using LVM2. I could even add new paritions like /tmp, but that is a bit more complicated. I never use anything but LVM2 anymore. With that, I can even move the installation to RAID disks in less than 30 minutes, including creating and copy files and all.



    For more information about LVM2, read this: http://www.debian-administration.org/articles/410



    Yes, about encryptions, please have a look at Luks support:




    • http://www.hermann-uwe.de/taxonomy/term/95

    • http://www.debian-administration.org/users/dkg/weblog/71

    • (Package cryptsetup) file:/usr/share/doc/cryptsetup/README.remote.gz






    share|improve this answer



















    • 1




      Shouldn't SWAP be a bit bigger than RAM?(Then again, I'm a hypocrite, as I use 256MB swap on 4GB RAM)
      – hexafraction
      Jun 6 '12 at 20:18








    • 1




      Swap shoul be as large as you need it to be, not larger. :) How large that is depends on what you run in your machine and how much RAM you got. There are recommendations about RAM to 2*RAM. But there are people that run perfectly well without any swap to. But I wouldn't recommend that unless you know what you do. And then you wouldn't ask here, would you? :)
      – Anders
      Jun 6 '12 at 20:37






    • 1




      Yes, if you want to hibernate your system, you'll need swap to be a bit larger than your RAM.
      – gerlos
      Mar 4 '14 at 9:25










    • @Anders I found this while searching for clues on LVM setup. Do you mean I don't need to set up RAID from scratch when I use LVM? How about this set up: I got server with 2 hard drives, the system is installed on /dev/sda, /dev/sdb is unused. LVM is not in use, AFAICT. Can I migrate to using LVM and RAID 1? Or should I reinstall from scratch? But then again, can I? (the machine is a server hosted by Leaseweb, I can reinstall different OS'es from their control panel, and even choose non-default options like partition layout, but I'm not sure how (if at all) can I instruct it to use LVM/RAID)
      – Nickolai Leschov
      Mar 24 '14 at 13:40










    • @Nickolai, Preferably, set up RAID with BOOT on mirror RAID on all and then rest as you like (RAID5 if 3 or more disks, RAID6 on 4 or more) and make LVM on that other part. If already installed with LVM, I would do this: Clean one disk of data, pref. the one not booting from. Make a BOOT mirror RAID (where the second disk is none) and a mirror RAID (since only two disks) of the rest. I would then make the second RAID a physical disk and add to the vg. After that transfer all data from the old disk in vg and then remove from the vg. After that make and add the first disk to RAID. Finished!
      – Anders
      Mar 25 '14 at 2:20















    up vote
    11
    down vote



    accepted







    up vote
    11
    down vote



    accepted






    First, I would put all space, except /boot, in a LVM2 volume. That's because it makes it so much easier to adjust partition size later, even on live systems and modern file systems.



    Then I would make root small about 1GB, /usr about 6GB, /var about 2GB, /boot about 512 MB, swap same size as RAM, /var/log, /home and /srv large enough. It can be adjusted later.



    I would not used all unallocated space now, as that could later be used to expand the other partitions, as I'm using LVM2. I could even add new paritions like /tmp, but that is a bit more complicated. I never use anything but LVM2 anymore. With that, I can even move the installation to RAID disks in less than 30 minutes, including creating and copy files and all.



    For more information about LVM2, read this: http://www.debian-administration.org/articles/410



    Yes, about encryptions, please have a look at Luks support:




    • http://www.hermann-uwe.de/taxonomy/term/95

    • http://www.debian-administration.org/users/dkg/weblog/71

    • (Package cryptsetup) file:/usr/share/doc/cryptsetup/README.remote.gz






    share|improve this answer














    First, I would put all space, except /boot, in a LVM2 volume. That's because it makes it so much easier to adjust partition size later, even on live systems and modern file systems.



    Then I would make root small about 1GB, /usr about 6GB, /var about 2GB, /boot about 512 MB, swap same size as RAM, /var/log, /home and /srv large enough. It can be adjusted later.



    I would not used all unallocated space now, as that could later be used to expand the other partitions, as I'm using LVM2. I could even add new paritions like /tmp, but that is a bit more complicated. I never use anything but LVM2 anymore. With that, I can even move the installation to RAID disks in less than 30 minutes, including creating and copy files and all.



    For more information about LVM2, read this: http://www.debian-administration.org/articles/410



    Yes, about encryptions, please have a look at Luks support:




    • http://www.hermann-uwe.de/taxonomy/term/95

    • http://www.debian-administration.org/users/dkg/weblog/71

    • (Package cryptsetup) file:/usr/share/doc/cryptsetup/README.remote.gz







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 11 at 23:39

























    answered Jun 6 '12 at 13:22









    Anders

    1,353612




    1,353612








    • 1




      Shouldn't SWAP be a bit bigger than RAM?(Then again, I'm a hypocrite, as I use 256MB swap on 4GB RAM)
      – hexafraction
      Jun 6 '12 at 20:18








    • 1




      Swap shoul be as large as you need it to be, not larger. :) How large that is depends on what you run in your machine and how much RAM you got. There are recommendations about RAM to 2*RAM. But there are people that run perfectly well without any swap to. But I wouldn't recommend that unless you know what you do. And then you wouldn't ask here, would you? :)
      – Anders
      Jun 6 '12 at 20:37






    • 1




      Yes, if you want to hibernate your system, you'll need swap to be a bit larger than your RAM.
      – gerlos
      Mar 4 '14 at 9:25










    • @Anders I found this while searching for clues on LVM setup. Do you mean I don't need to set up RAID from scratch when I use LVM? How about this set up: I got server with 2 hard drives, the system is installed on /dev/sda, /dev/sdb is unused. LVM is not in use, AFAICT. Can I migrate to using LVM and RAID 1? Or should I reinstall from scratch? But then again, can I? (the machine is a server hosted by Leaseweb, I can reinstall different OS'es from their control panel, and even choose non-default options like partition layout, but I'm not sure how (if at all) can I instruct it to use LVM/RAID)
      – Nickolai Leschov
      Mar 24 '14 at 13:40










    • @Nickolai, Preferably, set up RAID with BOOT on mirror RAID on all and then rest as you like (RAID5 if 3 or more disks, RAID6 on 4 or more) and make LVM on that other part. If already installed with LVM, I would do this: Clean one disk of data, pref. the one not booting from. Make a BOOT mirror RAID (where the second disk is none) and a mirror RAID (since only two disks) of the rest. I would then make the second RAID a physical disk and add to the vg. After that transfer all data from the old disk in vg and then remove from the vg. After that make and add the first disk to RAID. Finished!
      – Anders
      Mar 25 '14 at 2:20
















    • 1




      Shouldn't SWAP be a bit bigger than RAM?(Then again, I'm a hypocrite, as I use 256MB swap on 4GB RAM)
      – hexafraction
      Jun 6 '12 at 20:18








    • 1




      Swap shoul be as large as you need it to be, not larger. :) How large that is depends on what you run in your machine and how much RAM you got. There are recommendations about RAM to 2*RAM. But there are people that run perfectly well without any swap to. But I wouldn't recommend that unless you know what you do. And then you wouldn't ask here, would you? :)
      – Anders
      Jun 6 '12 at 20:37






    • 1




      Yes, if you want to hibernate your system, you'll need swap to be a bit larger than your RAM.
      – gerlos
      Mar 4 '14 at 9:25










    • @Anders I found this while searching for clues on LVM setup. Do you mean I don't need to set up RAID from scratch when I use LVM? How about this set up: I got server with 2 hard drives, the system is installed on /dev/sda, /dev/sdb is unused. LVM is not in use, AFAICT. Can I migrate to using LVM and RAID 1? Or should I reinstall from scratch? But then again, can I? (the machine is a server hosted by Leaseweb, I can reinstall different OS'es from their control panel, and even choose non-default options like partition layout, but I'm not sure how (if at all) can I instruct it to use LVM/RAID)
      – Nickolai Leschov
      Mar 24 '14 at 13:40










    • @Nickolai, Preferably, set up RAID with BOOT on mirror RAID on all and then rest as you like (RAID5 if 3 or more disks, RAID6 on 4 or more) and make LVM on that other part. If already installed with LVM, I would do this: Clean one disk of data, pref. the one not booting from. Make a BOOT mirror RAID (where the second disk is none) and a mirror RAID (since only two disks) of the rest. I would then make the second RAID a physical disk and add to the vg. After that transfer all data from the old disk in vg and then remove from the vg. After that make and add the first disk to RAID. Finished!
      – Anders
      Mar 25 '14 at 2:20










    1




    1




    Shouldn't SWAP be a bit bigger than RAM?(Then again, I'm a hypocrite, as I use 256MB swap on 4GB RAM)
    – hexafraction
    Jun 6 '12 at 20:18






    Shouldn't SWAP be a bit bigger than RAM?(Then again, I'm a hypocrite, as I use 256MB swap on 4GB RAM)
    – hexafraction
    Jun 6 '12 at 20:18






    1




    1




    Swap shoul be as large as you need it to be, not larger. :) How large that is depends on what you run in your machine and how much RAM you got. There are recommendations about RAM to 2*RAM. But there are people that run perfectly well without any swap to. But I wouldn't recommend that unless you know what you do. And then you wouldn't ask here, would you? :)
    – Anders
    Jun 6 '12 at 20:37




    Swap shoul be as large as you need it to be, not larger. :) How large that is depends on what you run in your machine and how much RAM you got. There are recommendations about RAM to 2*RAM. But there are people that run perfectly well without any swap to. But I wouldn't recommend that unless you know what you do. And then you wouldn't ask here, would you? :)
    – Anders
    Jun 6 '12 at 20:37




    1




    1




    Yes, if you want to hibernate your system, you'll need swap to be a bit larger than your RAM.
    – gerlos
    Mar 4 '14 at 9:25




    Yes, if you want to hibernate your system, you'll need swap to be a bit larger than your RAM.
    – gerlos
    Mar 4 '14 at 9:25












    @Anders I found this while searching for clues on LVM setup. Do you mean I don't need to set up RAID from scratch when I use LVM? How about this set up: I got server with 2 hard drives, the system is installed on /dev/sda, /dev/sdb is unused. LVM is not in use, AFAICT. Can I migrate to using LVM and RAID 1? Or should I reinstall from scratch? But then again, can I? (the machine is a server hosted by Leaseweb, I can reinstall different OS'es from their control panel, and even choose non-default options like partition layout, but I'm not sure how (if at all) can I instruct it to use LVM/RAID)
    – Nickolai Leschov
    Mar 24 '14 at 13:40




    @Anders I found this while searching for clues on LVM setup. Do you mean I don't need to set up RAID from scratch when I use LVM? How about this set up: I got server with 2 hard drives, the system is installed on /dev/sda, /dev/sdb is unused. LVM is not in use, AFAICT. Can I migrate to using LVM and RAID 1? Or should I reinstall from scratch? But then again, can I? (the machine is a server hosted by Leaseweb, I can reinstall different OS'es from their control panel, and even choose non-default options like partition layout, but I'm not sure how (if at all) can I instruct it to use LVM/RAID)
    – Nickolai Leschov
    Mar 24 '14 at 13:40












    @Nickolai, Preferably, set up RAID with BOOT on mirror RAID on all and then rest as you like (RAID5 if 3 or more disks, RAID6 on 4 or more) and make LVM on that other part. If already installed with LVM, I would do this: Clean one disk of data, pref. the one not booting from. Make a BOOT mirror RAID (where the second disk is none) and a mirror RAID (since only two disks) of the rest. I would then make the second RAID a physical disk and add to the vg. After that transfer all data from the old disk in vg and then remove from the vg. After that make and add the first disk to RAID. Finished!
    – Anders
    Mar 25 '14 at 2:20






    @Nickolai, Preferably, set up RAID with BOOT on mirror RAID on all and then rest as you like (RAID5 if 3 or more disks, RAID6 on 4 or more) and make LVM on that other part. If already installed with LVM, I would do this: Clean one disk of data, pref. the one not booting from. Make a BOOT mirror RAID (where the second disk is none) and a mirror RAID (since only two disks) of the rest. I would then make the second RAID a physical disk and add to the vg. After that transfer all data from the old disk in vg and then remove from the vg. After that make and add the first disk to RAID. Finished!
    – Anders
    Mar 25 '14 at 2:20














    up vote
    2
    down vote













    There is no correct or wrong answer,personally i would make a 12GB partition for my Ubuntu installation containing:



    -> 6GB for root
    -> 2GB for swap
    -> 4GB for home





    share|improve this answer

























      up vote
      2
      down vote













      There is no correct or wrong answer,personally i would make a 12GB partition for my Ubuntu installation containing:



      -> 6GB for root
      -> 2GB for swap
      -> 4GB for home





      share|improve this answer























        up vote
        2
        down vote










        up vote
        2
        down vote









        There is no correct or wrong answer,personally i would make a 12GB partition for my Ubuntu installation containing:



        -> 6GB for root
        -> 2GB for swap
        -> 4GB for home





        share|improve this answer












        There is no correct or wrong answer,personally i would make a 12GB partition for my Ubuntu installation containing:



        -> 6GB for root
        -> 2GB for swap
        -> 4GB for home






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 5 '12 at 14:30









        dlin

        2,18721530




        2,18721530






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f146838%2fhow-large-should-i-make-root-home-usr-var-and-tmp-partitions%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Category:香港粉麵

            List *all* the tuples!

            Channel [V]