sudo mount -o discard,defaults /dev/disk/by-id/google-persistent-disk-1 ~/dev5/
mount: you must specify the filesystem type
sudo mount -o discard,defaults -t ext4 /dev/disk/by-id/google-persistent-disk-1 ~/dev5/
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dev4[127]:sudo parted -l
Model: Google PersistentDisk (scsi)
Disk /dev/sda: 268GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 2097kB 268GB 268GB primary ext4 boot
Model: Google PersistentDisk (scsi)
Disk /dev/sdb: 268GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 2097kB 268GB 268GB primary ext4 boot
dev4[0]:dmesg | tail
[ 938.297364] aufs au_opts_verify:1570:docker[2975]: dirperm1 breaks the protection by the permission bits on the lower branch
[ 938.353729] aufs au_opts_verify:1570:docker[2683]: dirperm1 breaks the protection by the permission bits on the lower branch
[ 938.390473] device vethf07cd4f entered promiscuous mode
[ 938.396391] IPv6: ADDRCONF(NETDEV_UP): vethf07cd4f: link is not ready
[ 938.664459] IPv6: ADDRCONF(NETDEV_CHANGE): vethf07cd4f: link becomes ready
[ 938.671774] docker0: port 1(vethf07cd4f) entered forwarding state
[ 938.678313] docker0: port 1(vethf07cd4f) entered forwarding state
[ 938.686161] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link becomes ready
[ 953.692052] docker0: port 1(vethf07cd4f) entered forwarding state
[ 996.184782] [sched_delayed] sched: RT throttling activated
sudo mount -o discard,defaults /dev/disk/by-id/google-[DISK_NAME] /mnt/[DISK_NAME]
sudo parted -l
Model: Google PersistentDisk (scsi)
Disk /dev/sda: 161GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 161GB 161GB primary ext4 boot
Warning: Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb
has been opened read-only.
Model: Google PersistentDisk (scsi)
Disk /dev/sdb: 5369GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 5369GB 5369GB ext4
```
```
dmesg | tail
[ 87.057373] cgroup: systemd-logind (1537) created nested cgroup for controller "memory" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
[ 87.057377] cgroup: "memory" requires setting use_hierarchy to 1 on the root
[ 134.482326] EXT4-fs (sdb): INFO: recovery required on readonly filesystem
[ 134.482330] EXT4-fs (sdb): write access unavailable, cannot proceed
[ 177.868501] EXT4-fs (sdb): INFO: recovery required on readonly filesystem
[ 177.868505] EXT4-fs (sdb): write access unavailable, cannot proceed
[ 237.470384] EXT4-fs (sdb): INFO: recovery required on readonly filesystem
[ 237.470388] EXT4-fs (sdb): write access unavailable, cannot proceed
[ 397.327991] EXT4-fs (sdb): INFO: recovery required on readonly filesystem
[ 397.327994] EXT4-fs (sdb): write access unavailable, cannot proceed
```