So I've setup an EC2 instance and took advice from here instead of expanding the root volume to add an additional EBS storage block.
I thought everything was working correctly until when copying some files I got an out of storage error. So I ran df -h and I see that I have these volumes:
/dev/xvda1 it's almost full
/dev/xvde1 it's 500 gigs all empty
I'm updating files in the /var/www/html/ directory which I thought resided on the 500 gig hard drive not the small root one. Is there an easy/quick method to move /var/www/html to the 500 gig drive and have site still work correctly?
I think you have to stop the site while you move stuff. Best is to take it down to single user. Create a top-level directory on your second drive and move www to be under it. Alternatively copy and verify
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Learn how to get help with Linux/Unix bash shell commands.
Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…