The goal is to test the out of disk space condition.

Creating an image:

dd if=/dev/zero of=test bs=1024 count=10000


mkdir mountpoint

Mounting fails:

guestmount -a test -m/dev/sda mountpoint

mount: wrong fs type, bad option, bad superblock on /dev/sda

Is there a need to create an fs? How to make the image usable?

(without the root user)

  • 1
    /sbin/mkfs.ext4 test – Ipor Sircer Mar 16 '17 at 11:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.