Format JBOD

Now let us format the additional hard disks we have added to each of the hosts.

  • Create partition for /dev/sdb
  • Format using ext4
  • Create directory /data1
  • Mount /dev/sdb partition to /data1
  • Create directory scripts under working directory on the first server
  • Create file under scripts using contents of the first script
  • Run it using ansible

Share this post