1. (Return code of 13 is out of bounds)
Fixes: Clear /tmp file, some of the files with root permission which nagios couldn't access
2. (Return code of 255 is out of bounds)
Most likely wrong password supplied or password with "!" for MySQL server node
Monday, November 25, 2013
Friday, November 22, 2013
Install S3fs on Amazon Linux/Centos
S3f3 is FUSE-based file system backed by Amazon S3 which you can mount your S3 bucket to Linux machine.
Use cases:-
- Turn your backup folder to unlimited storage pool
- Serve as centralized media storage location for multiple servers.
Limitation:-
- Objects size can only up to of 5GB.
- You can't update part of an object. If you want to update 1 byte in a 1GB object you'll have to reupload the entire file.
sudo yum groupinstall "Development Tools";
sudo yum install curl-devel libxml2-devel openssl-devel mailcap
cd ~;
wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.9.3/fuse-2.9.3.tar.gz;
tar -xzvf fuse-2.9.3.tar.gz;
cd fuse-2.9.3;
./configure --prefix=/usr;
make;
sudo make install;
sudo ldconfig;
export PKG_CONFIG_PATH=/usr/lib/pkgconfig;
#Verify version
#pkg-config --modversion fuse
cd~;
wget http://s3fs.googlecode.com/files/s3fs-1.73.tar.gz;
tar -xzvf s3fs-1.73.tar.gz;
cd s3fs-1.73;
./configure --prefix=/usr;
make;
sudo make install;
vi /etc/passwd-s3fs
chmod 600 /etc/passwd-s3fs
mount s3fs [bucketname] ~/s3bucket
umount: fusermount -u ~/s3bucket
mount on boot
s3fs#s3bucket /mnt/s3bucket fuse allow_other,use_cache=/tmp 0 0
Sources: http://kisdigital.wordpress.com/2011/08/04/installing-s3fs-on-rhelcentos/
http://www.idevelopment.info/data/AWS/AWS_Tips/AWS_Management/AWS_20.shtml
http://www.turnkeylinux.org/blog/exploring-s3-based-filesystems-s3fs-and-s3backer
S3fs Home
Fuse Home
Subscribe to:
Posts (Atom)