Partitioning a LUN on Droplet

May 11, 2015 1.2k views
Clustering Fedora

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

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.

Have another answer? Share your knowledge.