2010
03.29
03.29
I had some problems with ec2 and EBS recently when mounting EBS drive with XFS on it. Basically the machine was frozen and only way to get it back was request to detach EBS drive and reboot the ec2 machine, I found a fix here.
Here is a working procedure (attaching EBS drive not included):
user@computer:$ apt-get install xfsprogs
grep -q xfs /proc/filesystems || modprobe xfs
mkfs.xfs -f -l version=1 /dev/sdf
echo "/dev/sdf /ebs xfs noatime 0 0" | tee -a /etc/fstab
mkdir -m 000 /ebs
mount /ebs
grep -q xfs /proc/filesystems || modprobe xfs
mkfs.xfs -f -l version=1 /dev/sdf
echo "/dev/sdf /ebs xfs noatime 0 0" | tee -a /etc/fstab
mkdir -m 000 /ebs
mount /ebs
Some bits ripped of from: EBS + MySQL how to
No Comment.
Add Your Comment