⌘
K
Overview
Official sites
FAQ
Guides
Rendering
VPN
AI and ML
Resize Docker Storage
Guides for obtaining OCTA on exchanges
Nodes
Installation
Update/Uninstall
Idle jobs
WSL
Verification
Services
CPU/GPU rental
Cryptocurrency
Blockchain
Specification
Mining
Monetary Policy
Staking
Wallets
Roadmap
Docs powered by
Archbee
Guides
Resize Docker Storage
6min
File based storage
Stop docker and orc services
shell
1
systemctl stop osn docker.socket
docker
systemctl stop osn docker.socket docker
Create new file with new size and format it in XFS filesystem
Shell
1
fallocate
-l
500G /docker-data-new.img
2
mkfs
-t
xfs /docker-data-new.img
fallocate -l 500G /docker-data-new.img mkfs -t xfs /docker-data-new.img
Mount new filesystem on temporary folder and move docker data
Shell
1
mount
/docker-data-new.img /mnt
2
mv
/var/lib/docker/* /mnt
mount /docker-data-new.img /mnt mv /var/lib/docker/* /mnt
Replace filesystem
Shell
1
umount
/mnt
2
umount
/var/lib/docker
3
sed
-i
's|docker-data|docker-data-new|'
/etc/fstab
4
mount
/var/lib/docker
umount /mnt umount /var/lib/docker sed -i 's|docker-data|docker-data-new|' /etc/fstab mount /var/lib/docker
Remove old filesystem and start docker and orc services
Shell
1
rm
/docker-data.img
2
systemctl start
docker
osn
rm /docker-data.img systemctl start docker osn
Updated 15 Jan 2025
PREVIOUS
AI and ML
NEXT
Guides for obtaining OCTA on exchanges
Docs powered by
Archbee
TABLE OF CONTENTS
File based storage
Docs powered by
Archbee