Permalink
Browse files

Format mount prior to ganglia setup

  • Loading branch information...
1 parent 7351901 commit dc844603d61411cd69ee8d845c865fda4f962fb7 Gary Helmling committed Nov 22, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 bin/hbase-ec2-init-remote.sh
@@ -61,6 +61,11 @@ if [ "$EXTRA_PACKAGES" != "" ] ; then
yum -y install ${pkg[@]:1}
fi
+# Reformat sdb as xfs
+umount /mnt
+mkfs.xfs -f /dev/sdb
+mount -o noatime /dev/sdb /mnt
+
# Ganglia
if [ "$IS_MASTER" = "true" ]; then
@@ -83,11 +88,6 @@ else
service gmond start
fi
-# Reformat sdb as xfs
-umount /mnt
-mkfs.xfs -f /dev/sdb
-mount -o noatime /dev/sdb /mnt
-
# Probe for additional instance volumes
# /dev/sdb as /mnt is always set up by base image

0 comments on commit dc84460

Please sign in to comment.