[SAC] [OSGeo] #2615: Partition remaining space on osgeo4
OSGeo
trac_osgeo at osgeo.org
Sun Jun 20 17:06:17 PDT 2021
#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.
More information about the Sac
mailing list