How to add mount point details in amazon linux cloud formation











up vote
0
down vote

favorite












I want to add disk and mount point for my data path like below in Cloud Formation template for creating AWS EC2 instance



"mkfs -t xfs /dev/xvdbn"



"echo "/dev/xvdb /data xfs defaults,nofail 0 2" >> /etc/fstabn"



For using xfs filesystem what are the things needs to be in consideration ?
i believe we can directly install ext4 using above steps



For xfs i think we need to install yum install xfsprogs as a prerequisite



Is there anything other than this required ?



what is the best disk here /dev/xvdb or /dev/sdb2 ?



We are using HVM virtualization type AMI










share|improve this question




























    up vote
    0
    down vote

    favorite












    I want to add disk and mount point for my data path like below in Cloud Formation template for creating AWS EC2 instance



    "mkfs -t xfs /dev/xvdbn"



    "echo "/dev/xvdb /data xfs defaults,nofail 0 2" >> /etc/fstabn"



    For using xfs filesystem what are the things needs to be in consideration ?
    i believe we can directly install ext4 using above steps



    For xfs i think we need to install yum install xfsprogs as a prerequisite



    Is there anything other than this required ?



    what is the best disk here /dev/xvdb or /dev/sdb2 ?



    We are using HVM virtualization type AMI










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I want to add disk and mount point for my data path like below in Cloud Formation template for creating AWS EC2 instance



      "mkfs -t xfs /dev/xvdbn"



      "echo "/dev/xvdb /data xfs defaults,nofail 0 2" >> /etc/fstabn"



      For using xfs filesystem what are the things needs to be in consideration ?
      i believe we can directly install ext4 using above steps



      For xfs i think we need to install yum install xfsprogs as a prerequisite



      Is there anything other than this required ?



      what is the best disk here /dev/xvdb or /dev/sdb2 ?



      We are using HVM virtualization type AMI










      share|improve this question















      I want to add disk and mount point for my data path like below in Cloud Formation template for creating AWS EC2 instance



      "mkfs -t xfs /dev/xvdbn"



      "echo "/dev/xvdb /data xfs defaults,nofail 0 2" >> /etc/fstabn"



      For using xfs filesystem what are the things needs to be in consideration ?
      i believe we can directly install ext4 using above steps



      For xfs i think we need to install yum install xfsprogs as a prerequisite



      Is there anything other than this required ?



      what is the best disk here /dev/xvdb or /dev/sdb2 ?



      We are using HVM virtualization type AMI







      mount fstab amazon-ec2 amazon-linux template






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 21 at 17:08









      Rui F Ribeiro

      38.2k1475125




      38.2k1475125










      asked Nov 21 at 16:41









      vignesh

      11




      11



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483251%2fhow-to-add-mount-point-details-in-amazon-linux-cloud-formation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483251%2fhow-to-add-mount-point-details-in-amazon-linux-cloud-formation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Entries order in /etc/network/interfaces

          新発田市

          Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)