New Single node Proxmox server with local storage.

jim.bond.9862

Renowned Member
Apr 17, 2015
395
34
68
Hi everyone.

I have finally rebuild my home server to run Proxmox. been playing and planning to do it for very long time but never had time. no I do have some free time so start moving.

my target is to have a single node host where I will run Proxmox for all my VM needs, but I also want top have all my storage needs on this server a swell. I am running an oldish SuperMicro 846 with 24 hot plug bay hardware, dual AMD hexacore opteron and 48GB ram

Proxmox is setup on 2 x 120GB SSDs in ZFS Mirror mode (see first code block)
all default.

I have created my data storage pools using my 2TB and 3TB disks (tank0 and tank1 respectively)

as proxmox configures by default,
in "Datacenter/Storage" I have
local === Directory ==== Container template, ISO image, VZDump backup file
local-zfs === ZFS ==== Disk image, Container

#1 :
Code:
@pve2:/# zfs list
NAME               USED  AVAIL  REFER  MOUNTPOINT
rpool             10.7G  96.8G   104K  /rpool
rpool/ROOT        2.22G  96.8G    96K  /rpool/ROOT
rpool/ROOT/pve-1  2.22G  96.8G  2.22G  /
rpool/data          96K  96.8G    96K  /rpool/data
rpool/swap        8.50G   105G    56K  -


tank0              396K  5.27T    96K  /tank0
tank1              360K  2.63T    96K  /tank1


#2 :
Code:
@pve2:/# zpool status
  pool: rpool
 state: ONLINE
  scan: scrub repaired 0B in 0h0m with 0 errors on Sun Mar 11 00:24:23 2018
config:

    NAME                              STATE     READ WRITE CKSUM
    rpool                             ONLINE       0     0     0
      mirror-0                        ONLINE       0     0     0
        wwn-0x55cd2e414c855d46-part2  ONLINE       0     0     0
        wwn-0x5001b444a472875f-part2  ONLINE       0     0     0

errors: No known data errors

  pool: tank0
 state: ONLINE
  scan: scrub repaired 0B in 0h0m with 0 errors on Sun Mar 11 00:24:03 2018
config:

    NAME                                            STATE     READ WRITE CKSUM
    tank0                                           ONLINE       0     0     0
      mirror-0                                      ONLINE       0     0     0
        ata-ST2000NM0055-1V4104_ZC20ZGJ8            ONLINE       0     0     0
        ata-ST2000NM0055-1V4104_ZC21117H            ONLINE       0     0     0
      mirror-1                                      ONLINE       0     0     0
        ata-ST2000NM0055-1V4104_ZC211C1R            ONLINE       0     0     0
        ata-ST2000NM0055-1V4104_ZC211C4V            ONLINE       0     0     0
      mirror-2                                      ONLINE       0     0     0
        ata-ST2000DL003-9VT166_5YD3XYXZ             ONLINE       0     0     0
        ata-Hitachi_HDS722020ALA330_JK1130YAKYEX0T  ONLINE       0     0     0

errors: No known data errors

  pool: tank1
 state: ONLINE
  scan: scrub repaired 0B in 0h0m with 0 errors on Sun Mar 11 00:24:03 2018
config:

    NAME                                 STATE     READ WRITE CKSUM
    tank1                                ONLINE       0     0     0
      mirror-0                           ONLINE       0     0     0
        ata-ST3000DM001-1ER166_ZA501WMX  ONLINE       0     0     0
        ata-TOSHIBA_HDWD130_X6IEDPUAS    ONLINE       0     0     0

errors: No known data errors


My Questions are :


#1. can I / should I additional storage to the main system pool?
I have 2x 1TB HDD so I can make a 1TB mirrored vdev to use. speed is not an issue but having an extra space would be nice as main rpool is only 100GB

#2. what would be the best way to share the space on tank0 and tank1 to the outside?
my plan was/is to setup a FileServer VM and add the tanks to it than manage all the sharing and other things from there. would not mind some help on what would be the best way to do this.

I really like the TurnKey File server container available in Proxmox but how would I go about plug the tank0 and 1 into to so I can manage shares and space propelry?

thanks. Vl
 
#1. can I / should I additional storage to the main system pool?
I personally would avoid mix SSD with HDD.
Technical it is working but the speed are given by the slow HDD.
Also mixing disk with such huge size difference are not recommended.

But what you can do is install the rpool on the 2 1TB disks.

#2. what would be the best way to share the space on tank0 and tank1 to the outside?
NFS or SMB are supported by zfs.
There are may HowTo which describe this setup.

Alternative you can make a big single disk which is used by a VM like OpenMediaVault.
Or passthrough the disk to the VM and handle the disk direct in the VM.
 
well, I really do not want to mix anything. I do not want to add the 1TB to the rpool,
I was thinking if I could say create an additional pool, say "pvstore", and add it as a local storage in the data center tab.
so the node can use it but the main boot pool is clean and not slowdown much.

I am still reading up on Proxmox and zfs use, but so far have not found much useful info that would help in my setup, as in help with what I want/thinking to do here. maybe some one will point me into right direction.

thanks, VL
 
thanks.
I did the setup and it works fine.
I also figured out the sharing of tank0 and tank1 using turnkey FileServer container.
looks very very good.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!