How To Clean Up Lost Disk Space in MacOS High Sierra

Author: , October 12th, 2017

Reposted from https://mcbguru.blog/2017/10/12/macos-high-sierra-disk-space/ The new APFS creates snapshots during local Time Machine backups, and this can mean, especially if you’be been dealing with some large files, that when you delete them and empty the wastebasket, you don’t get your disk space back. The key is to look at your local backups, and the easiest method […]

How To Resize an ext3 Filesystem

Author: , August 31st, 2014

I had to replace an ailing root volume on AWS, so I decided to double the size when I created the new volume from snapshot. After booting, I realized that df still showed the old filesystem size of 10GB, not the new size of 20GB Here is the solution: resize2fs /dev/xvda1 1 2 3 4 […]

Amazon Offers New Options for Disaster Recovery Operations

Author: , December 18th, 2012

Today AWS announced the ability to copy EBS snapshots to other regions, with the ability to copy AMIs coming soon. This is a HUGE improvement, and one that will allow IT architects to create automated DR solutions across AWS regions providing significant resilience against outages. Dear Amazon EC2 Customer, We are delighted to announce the […]

How To Install ec2-consistent-snapshot On AWS/CentOS

Author: , December 30th, 2011

1 2 3 yum –enablerepo=epel install perl-Net-Amazon-EC2 perl-File-Slurp perl-DBI perl-DBD-MySQL perl-Net-SSLeay perl-IO-Socket-SSL perl-Time-HiRes perl-Params-Validate ca-certificates wget -O /opt/aws/bin/ec2-consistent-snapshot http://bazaar.launchpad.net/~alestic/ec2-consistent-snapshot/trunk/download/head:/ec2consistentsnapsho-20090928015038-9m9x0fc4yoy54g4j-1/ec2-consistent-snapshot chmod 0775 /opt/aws/bin/ec2-consistent-snapshot yum –enablerepo=epel install perl-Net-Amazon-EC2 perl-File-Slurp perl-DBI perl-DBD-MySQL perl-Net-SSLeay perl-IO-Socket-SSL perl-Time-HiRes perl-Params-Validate ca-certificates wget -O /opt/aws/bin/ec2-consistent-snapshot http://bazaar.launchpad.net/~alestic/ec2-consistent-snapshot/trunk/download/head:/ec2consistentsnapsho-20090928015038-9m9x0fc4yoy54g4j-1/ec2-consistent-snapshot chmod 0775 /opt/aws/bin/ec2-consistent-snapshot http://alestic.com/2009/09/ec2-consistent-snapshot http://www.thatsgeeky.com/2011/05/ec2-consistent-snapshot-on-amazons-linux-ami/ http://www.thatsgeeky.com/2011/06/rotating-ebs-snapshots-ec2-prune-snapshots/

How To Create A New AWS Instance From A Snapshot

Author: , August 16th, 2011

Be sure to create regular snapshots of your running instances. If you lose an instance, recover quickly with this procedure. I suggest that you use Elastic IP addresses to make the migration DNS-free. STEP 1: First, setup your environment properly 1 2 3 4 5 6 export EC2_HOME=’/opt/aws/apitools/ec2′  # Make sure you use the API […]