Tek Siong, Hock
How to increase disk space for file system /dev/vda1
This Odoo technical development blog is my way to contribute back to the Odoo Community, for all the selfless and great sharing by the community members.
If you encountered this Odoo error message, your disk space is probably running out.
psycopg2.errors.DiskFull: could not access status of transaction 0
DETAIL: Could not write to file "pg_subtrans/003D" at offset 172032: No space left on device.
How to Fix it
Execute df -h
check the disk space. You can see that available disk space is 0.
Depending on the cloud service provider, you may resize your cloud disk to your desired size. Once you disk size is increased, say to 80GB,
Execute fdisk -lu
this is to view the all the disk partition, you can see that the system has 80GB, but not yet allocate to the /dev/vda1.
growpart /dev/vda 1
The command is to increase the last partition (ie. /dev/vda1) to use all the available disk space. Then extend the filesystem on /dev/vda1.