Unable to mount a volume!




I am exploring using instances on DreamCompute and while working with instances, I created an instance and a volume successfully then attached that volume to the created instance which is running Debian. The volume is attached as " /dev/vdc" to the instance I am working with .

when I “sudo mount /dev/vdc /mnt” I get this strange errors:
mount: /dev/vdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/vdc,
missing codepage or helper program, or other error

   In some cases useful info is found in syslog - try
   dmesg | tail or so.

Needless to say tailing dmesg didn’t lead anywhere. I hope someone can lead mw o where I am going wrong.

Thanks in advance


A new volume will be like a new blank hard drive, you will need to either run “fdisk” to make a partition table on it and then format the drive with “mkfs.FILESYSTEM” or directly run “mkfs.FILESYSTEM” to put one on it before you can mount it. If you use fdisk it will be /dev/vdX1 instead of /dev/vdX which you will want to mkfs.


Perfect! Thank you so much…