#2615: Partition remaining space on osgeo4
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
Osgeo4 still had 1.8TB on sda and 1.8TB on sdb that were not partitioned.
I created a partiton sda3 to ext4 (mapped to /storage)
and the sdb3 to zfs format (this one is not mirrored by zfs like the as
I'm using it just for extra space for lxd in case it is needed.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2615>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2615: Partition remaining space on osgeo4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):
I've documented the steps on:
https://git.osgeo.org/gitea/sac/osgeo4/wiki/OSGeo4-Host-Setup
#create an ext4 partition on disk sda1
fdisk /dev/sda
#list free unpartitioned space
F
#add a new partition
n
# chose primary
#took the remaining defaults to claim the whole 1.8 TB
#write it out
w
# confirm new partition /dev/sda3 is there
fdisk -l
#format as extfs
sudo mkfs -t ext4 /dev/sda3
#mount it
sudo mkdir -p /storage
sudo mount -t auto /dev/sda3 /storage
#zfs disk
fdisk /dev/sdb
#list free unpartitioned space
F
#add a new partition
n
# chose primary
#took the remaining defaults to claim the whole 1.8 TB
#write it out
w
# confirm new partition /dev/sdb3 is there
fdisk -l
#make it a zfs volume
zpool create -f lxd2 /dev/sdb3
zpool list #confirm there is now an lxd2
```
For now I'm just going old gallery before I moved it to osgeo3 on the
second disk, I plan to delete it in a couple of weeks and use the new
space to do bi-weekly backup of osgeo3/gallery
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2615#comment:1>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2615: Partition remaining space on osgeo4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2615#comment:2>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.