I added a 32 GB SD Card to the ODroid C2 that was hosting GeoNode. Here are the steps to do this:
su root
Use fdisk to list the devices:
fdisk -l
Create new partition with the device id that belongs to the SD Card:
fdisk /dev/mmcblk1
Create new primary partition, use default settings
Format the new partition:
mkfs.ext4 /dev/mmcblk1p1
Automount the new partition by editing /etc/fstab
Add line:
/dev/mmcblk1p1 /tmp ext4 defaults 0 0
Allow read/write access
chmod 777 /tmp
Reboot and you should see GeoNode start using the new /tmp directory. You can check by running this command:
df -h
This will also need to be done to accommodate the geonode data directories. This will be done in a further blog post.
No comments:
Post a Comment