By CrypticCube
Hello,
I have a WordPress site, how can I expand the current storage? Because if I buy Volumes it will be like if I plugged in another HD to my computer, is it possible to expand the existing volume into purchased block storage so that I don’t have to move the WordPress content folder?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It’s not possible to extend your existing filesystem with a Block Storage volume without modifying the filesystem. Is there any reason why you don’t want to move the content folder to the Volume? That’s the easiest and simplest way to do it. You can use a symlink so that you wouldn’t need to change any Wordpress settings or risk breaking plugins etc.
For example, if your Volume is mounted under /mnt/storage, you can move the content folder to it and then create a symlink that points to it:
sudo mv /path/to/wordpress/content /mnt/storage/
sudo ln -s /mnt/storage/content /path/to/wordpress/content
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.