Questions and Answers

0 Like 0 Dislike

Maged Zereba

How to partition the disk

Hi there,

i created the 3 partition as it says in 1.1.3 and 1.2.1, but the OS is not booting and it seems like the aprtitioning is wrong.

what is not clear in the guide is that which one is the boot partition? it doesn’t say anywhere in the guide to flag boopt on on one of the partitions. and is the not bootable one still a primary or logical?

Thanks.

Report abuse

3 Responses

  1. 0 Like 0 Dislike

    Alisa Neeman

    Here’s the partitioning on our hub (it’s an earlier version of HUBzero software with patches).

    ~ df


    Filesystem 1K-blocks Used Available Use% Mounted on


    /dev/sda1 96124904 20738852 70503100 23% /


    tmpfs 12345324 0 12345324 0% /lib/init/rw


    udev 10240 780 9460 8% /dev


    tmpfs 12345324 0 12345324 0% /dev/shm


    /dev/sda2 864263356 32286352 788074976 4% /export

    Reply Report abuse

    Please login to answer the question.

  2. 0 Like 0 Dislike

    Alisa Neeman

    p.s. for our open source hub, we actually have separate partitions for /var and /tmp.

    We initially partitioned /var with 2885780 1-K blocks, and that is too small. /var/lib holds the vz containers (every tool runs in a vz container). Without any open tool sessions, the partition is 88% full, and each tool session adds 1% more.

    We also had a partition for /tmp that filled up quite fast. /tmp is used by contribtool as temporary space to copy from the tool’s svn locker into /apps. Sometimes things don’t go quite right and the tool’s zipped svn folder doesn’t get cleaned up from /tmp. We moved /tmp onto another partition and soft linked to it as a fix.

    Reply Report abuse

    Please login to answer the question.

  3. 0 Like 0 Dislike

    Alisa Neeman

    Here’s our reconfigured partition of a 1 TB disk. Not perfect, but sufficient space for /var (175 GB) and /tmp (3 GB).

    Filesystem 1K-blocks Used Available Use% Mounted on

    /dev/sda1 334460 228280 88912 72% /

    tmpfs 8215036 0 8215036 0% /lib/init/rw

    udev 10240 844 9396 9% /dev

    tmpfs 8215036 0 8215036 0% /dev/shm

    /dev/sda6 2885780 69896 2669296 3% /tmp

    /dev/sda5 4806904 1431592 3131128 32% /usr

    /dev/sda10 182678804 2636680 170762580 2% /var

    /dev/sdb1 480719056 6570452 449729404 2% /export

    /dev/sda9 242159304 2759348 227098988 2% /home

    Reply Report abuse

    Please login to answer the question.

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®