Creating Custom Disk Size for Data Node VM

Welcome Forums Appliance and OS Creating Custom Disk Size for Data Node VM

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1760
    Charles HerringCharles Herring
    Keymaster
    1. Install 50GB Appliance OVA
    2. Add new disk (sdb) to the Appliance. Disk can be any size
    3. Boot and run sudo fdisk /dev/sdb hit n to create a new partition and accept all defaults. Hit w to write to disk.
    4. Format the new partition buy running mkfs.ext4 /dev/sdb1
    5. Add mount by running sudo echo ‘/dev/sdb1 /data ext4 defaults 0 0’ >> /etc/fstab
    6. Reboot by running sudo reboot now
    7. Verify disk is mounted by running sudo df -h. Ensure /dev/sdb1 is mounted to /data and the appropriate disk size is reflected.

    Note: AWS will add new disks as xvdb instead of sdb. Replace as appropriate. See https://help.ubuntu.com/community/InstallingANewHardDrive for detailed guidance on installing drives in Ubuntu.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.