What Should Sizes Of Partition Be For SSD?

  • I have been trying out OMV and FreeNAS for the past few months to test out which platform is most suitable for my home NAS use case and am opting for OMV. The support in this community is very good and almost everything I needed to learn can be found on these forums. And thank you @ryecoaaron for all of your help. I am going to go this route to install OMV 3.0 on my SSD (eventually w RAID 1):


    One thing I could not find an official consisten answer to is if I will be installing OMV 3.0 on a 120GB SSD, what are the ideal partition sizes I should use for the system partition and swap partition. Can someone please tell me what the most ideal sizes those partitions should be for a 120GB SSD?


    Thanks!

    3.0.56 (Erasmus) - OMV Extras 3 (Stable)
    AsRock Rack C72504DI
    64GB Crucial ECC Ram
    8x4TB WD40EFRX
    4X4TB HMS5C4040x
    Crucial 525GB SSD

  • It doesn't matter much unless you have plans for the space.
    I know that full omv install fit on under 16gb space. But depending on what else will be installed you might need more on system disk.
    Keep in mind that omv does not share system space. OS disk is for OS only, so plan accordingly. If it is simple nas,just get a 64gb disk if it stable for your plans, however given today's prices for ssd, it might be almost the same price for 64gb and 120gb.
    Recommended Swap size usually as much as your ram or twice the amount or more for busy systems.


    Sent from my SM-N910T using Tapatalk

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • When you install OMV, it automatically uses the entire drive without asking for partitioning options. If you want OMV to use a smaller partition, then you need to either:
    - Repartition the drive with gparted after installing OMV. 16Gb is more than enough for the OMV system in most cases.
    or
    - Install Debian first, which does allow you to specify the system partition, and then install OMV manually with apt-get.

  • @Nibb31 thank you! if I install OMV 3, is there a way for me to see what size the partitions the OMV install created are?

    3.0.56 (Erasmus) - OMV Extras 3 (Stable)
    AsRock Rack C72504DI
    64GB Crucial ECC Ram
    8x4TB WD40EFRX
    4X4TB HMS5C4040x
    Crucial 525GB SSD

  • it will not tell you much.
    by default OMV install, just like any other distro, will allocate swap based on the RAM installed
    in most modern machines that would be 1 to 4 GB on size.
    and put the rest for system. since it uses single partition for the install that would be what ever the size of you drive minus the swap , minus the grub space.
    so if your drive is 120GB and RAM 2GB the total size of OS partition "/" should be somewhere like 115-116GB
    120-2-4 for swap - 512MB - 1GB for filesystem and grub needs. cound closer to 1GB if you use UEFI bios as it needs more space.


    but here is a fun fact. I just installed OMV on VM with 16GB space
    my VM specs are 2GB ram and 16 GB disk.non uefi bios


    this is a default layout done by installer
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    vda 254:0 0 16G 0 disk
    ├─vda2 254:2 0 1K 0 part
    ├─vda5 254:5 0 714M 0 part [SWAP]
    └─vda1 254:1 0 15.3G 0 part /



    fdisk -l


    Disk /dev/vda: 16 GiB, 17179869184 bytes, 33554432 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xb698c233


    Device Boot Start End Sectors Size Id Type
    /dev/vda1 * 2048 32088063 32086016 15.3G 83 Linux
    /dev/vda2 32090110 33552383 1462274 714M 5 Extended
    /dev/vda5 32090112 33552383 1462272 714M 82 Linux swap / Solaris

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • @vl1969 thank you for sharing your output from fdisk. this is what I got (FYI - I just upgraded to 64GB RAM)



    Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
    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: dos
    Disk identifier: 0x36aad91d


    Device Boot Start End Sectors Size Id Type
    /dev/sda1 * 2048 224860159 224858112 107.2G 83 Linux
    /dev/sda2 224862206 234440703 9578498 4.6G 5 Extended
    /dev/sda5 224862208 234440703 9578496 4.6G 82 Linux swap / Solaris

    3.0.56 (Erasmus) - OMV Extras 3 (Stable)
    AsRock Rack C72504DI
    64GB Crucial ECC Ram
    8x4TB WD40EFRX
    4X4TB HMS5C4040x
    Crucial 525GB SSD

  • Just for reference I installed OVM 3 on a VM also with 8 gb drive space and 4 gb ram allocations.


    Device Boot Start End Sectors Size Id Type
    /dev/vda1 * 2048 15988735 15986688 7.6G 83 Linux
    /dev/vda2 15990782 16775167 784386 383M 5 Extended
    /dev/vda5 15990784 16775167 784384 383M 82 Linux swap / Solaris

    Sumpermicro A1SAM-C2550F
    2xKingston 8GB 240-Pin DDR3 SDRAM ECC Unbuffered DDR3 1600 (PC3 12800) Server Memory w/TS Hynix B Model
    16GB SSD for Proxmox
    64GB SSD for VM (OMV 2.2.13 & Win7 x64)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!