Mount and make graphite backup drive when creating stats1

(imported from commit f8af032fa314812610d0ec7eb6227ebb0b3c2f32)
This commit is contained in:
Leo Franchi
2014-01-16 17:20:24 -05:00
parent 6c6d1ee474
commit e734155a1c

View File

@@ -2,5 +2,10 @@
mkdir /srv/graphite
mkfs.ext4 /dev/xvdb
echo "/dev/xvdb /srv/graphite ext4 noatime,defaults,barrier=0 1 1" >> /etc/fstab
mount /srv/graphite
mkfs.ext4 /dev/xvdf1
echo "/dev/xvdf1 /mnt/graphite-backup ext4 noatime,defaults,barrier=0 1 1" >> /etc/fstab
mount /mnt/graphite-backup