Question

Partitioning a LUN on Droplet

Posted May 11, 2015 3k views
FedoraClustering

Is it possible to partition a LUN on a droplet.

Ex.

/dev/vda1
/dev/vdb1

Sincecery,
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

    Sincerely,
    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.

×
[deleted]
  • [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.

Submit an Answer