我按照本指南https://developers.google.com/compute/docs/troubleshooting#ssherrors专门介绍了有关使用其他虚拟机恢复永久磁盘的部分.
我试图遵循这一部分:
mount /dev/disk/by-id/scsi-0Google_PersistentDisk_myinstance-debugging /mnt/myinstance
这是我得到的错误:
root@debugger:~# mount /dev/disk/by-id/scsi-0Google_PersistentDisk_marty-wll-debugging /mnt/marty-wll mount: you must specify the filesystem type
由于使用了谷歌计算磁盘,我不确定文件系统,并且系统已经被删除并附加到我上面引用的谷歌开发者指南之后的另一台机器上.
parted scsi-0Google_PersistentDisk_marty-wll-debugging -l
root@debugger:/dev/disk/by-id# parted scsi-0Google_PersistentDisk_marty-wll-debugging -l Model: Google PersistentDisk (scsi) Disk /dev/sda: 10.7GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 10.7GB 10.7GB primary ext4 Model: Google PersistentDisk (scsi) Disk /dev/sdb: 10.7GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 10.7GB …