2
votes

I am trying to mount a persistent disk with data to a VM to use it in Google Datalab. So far no success, ideally I would like to see my files in the Datalab notebook.

First, I added the disk in VM settings with Read/Write mode.

Second, I ran $lsblk to see what disks there are.

Then tried this: sudo mount -o ro /dev/sdd /mnt/disks/z

I got this error:

wrong fs type, bad option, bad superblock on /dev/sdd,

P.S. I used the disk I want to mount on another VM and downloaded some data on it. It was formatted as NTFS disk.

Any ideas?

1

1 Answers

0
votes

I would need to create a file system as noted in the following document

$ mkfs.vfat /dev/sdX2

Creates a new partition, without creating a new file system on that partition.

Command: mkpart [part-type fs-type name] start end