Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#2615 closed task (fixed)

Partition remaining space on osgeo4

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2021-II
Component: SysAdmin Keywords:
Cc:

Description

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.

Change History (2)

comment:1 by robe, 3 years ago

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

Last edited 3 years ago by robe (previous) (diff)

comment:2 by robe, 3 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.