Partitioning a LUN on Droplet

Posted May 11, 2015 3.2k views

Is it possible to partition a LUN on a droplet.



Cindy Sullivan

1 comment
  • I kind of found a solution to this issue.

    I used a file to simulate a block device:

    mkdir -p /lun/
    dd if=/dev/zero of=/lun/sdb1.img bs=1M count=10240
    losetup /dev/loop1 /lun/sdb1.img

    This creates the illusion of a 10GB lun. Block Device

    Cindy Sullivan

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
  • [I appear to have mistakenly deleted my answer, so here it is again.]

    I suspect that using losetup to create a loopback device is the best/only option.