我们在运行 mongoDB 的 Ubuntu 14.04 VM 上遇到了高磁盘 IO 问题。在 Windows Azure 上。
为了解决这个问题,我们将 VM 大小从 A2 更改为 A3(以添加额外的数据磁盘)并附加了 4 个额外的 VHD 并将它们设置为 raid10,这样可以正常工作。
我们现在希望分离原始数据 VHD(以将 VM 大小最小化回 A2),但是遇到了一个新问题。
分离原始数据 VHD 并重新启动机器后,我们无法通过 SSH 连接到 VM,重新连接 VHD 后,一切恢复正常工作。
此外,如果我在不重新启动机器的情况下分离 VHD,机器正常运行,我可以探索已安装的目录,但我看不到 VHD(我只看到操作系统磁盘和临时数据磁盘)。我已附加“lshw -c disk”命令的相关输出。(我们要分离的原始 VHD 是 /dev/sdc)
前
> *-disk
> description: SCSI Disk
> physical id: 0.0.0
> bus info: scsi@2:0.0.0
> logical name: /dev/sda
> size: 29GiB (31GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=0004656b *-disk
> description: SCSI Disk
> physical id: 0.1.0
> bus info: scsi@3:0.1.0
> logical name: /dev/sdb
> size: 285GiB (306GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=dae5f753 *-disk:0
> description: SCSI Disk
> physical id: 0.0.0
> bus info: scsi@5:0.0.0
> logical name: /dev/sdc
> size: 1023GiB (1098GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=b9ecd70d *-disk:1
> description: SCSI Disk
> physical id: 0.0.3
> bus info: scsi@5:0.0.3
> logical name: /dev/sdd
> size: 256GiB (274GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=c1832ca1 *-disk:2
> description: SCSI Disk
> physical id: 0.0.4
> bus info: scsi@5:0.0.4
> logical name: /dev/sde
> size: 256GiB (274GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=334f6e39 *-disk:3
> description: SCSI Disk
> physical id: 0.0.5
> bus info: scsi@5:0.0.5
> logical name: /dev/sdf
> size: 256GiB (274GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=32f22a65 *-disk:4
> description: SCSI Disk
> physical id: 0.0.6
> bus info: scsi@5:0.0.6
> logical name: /dev/sdg
> size: 256GiB (274GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=bc60ee52
>
后
> *-disk
> description: SCSI Disk
> physical id: 0.0.0
> bus info: scsi@2:0.0.0
> logical name: /dev/sda
> size: 29GiB (31GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=0004656b *-disk
> description: SCSI Disk
> physical id: 0.1.0
> bus info: scsi@3:0.1.0
> logical name: /dev/sdb
> size: 285GiB (306GB)
> capabilities: partitioned partitioned:dos
> configuration: sectorsize=512 signature=dae5f753
非常感谢您的帮助,