简体   繁体   English

Azure本地磁盘 - 它去了哪里? (Linux VM)

[英]Azure local disk - where'd it go? (Linux VM)

The Azure VM table... Azure VM表...

https://www.windowsazure.com/en-us/pricing/details/#header-2 https://www.windowsazure.com/en-us/pricing/details/#header-2

...says that, for example, a Medium Instance comes with 490GB of local storage. ...说,例如,一个中型实例带有490GB的本地存储空间。 So I was expecting the usual 30GB Azure BLOB OS disk, and then a 490GB /mnt/resource. 所以我期待通常的30GB Azure BLOB OS磁盘,然后是490GB / mnt /资源。

But no: 但不是:

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                       28G  1.7G   25G   7% /
tmpfs                 1.7G     0  1.7G   0% /dev/shm
/dev/sda1             485M   68M  392M  15% /boot
/dev/sdb1             133G  188M  126G   1% /mnt/resource

That's on the CentOS image, but it's the same for other images. 这是在CentOS图像上,但对于其他图像也是如此。

Am i missing something? 我错过了什么吗? I don't see the space in a volume group or anything, and there are no sd* devices that aren't mounted. 我没有看到卷组中的空间或任何东西,并且没有未安装的sd *设备。

Neil Mackenzie's answer in the comments appears to be correct Neil Mackenzie在评论中的回答似乎是正确的

All Windows Azure IaaS VMs come with two disks - an OS disk backed by a VHD persisted in Windows Azure Blob storage and a temp disk physically attached to the hosting server. 所有Windows Azure IaaS VM都带有两个磁盘 - 由Windows Azure Blob存储中保留的VHD支持的操作系统磁盘和物理连接到托管服务器的临时磁盘。 This temp disk is truly ephemeral and any contents on it will be lost if the VM is deallocated (shutdown on the portal or API) or moved for server healing. 此临时磁盘确实是短暂的,如果VM已取消分配(在门户或API上关闭)或移动以进行服务器修复,则其中的任何内容都将丢失。 For Linux VMs this temporary disk /dev/sdb. 对于Linux VM,这个临时磁盘/ dev / sdb。

I found this link to corroborate: http://blogs.msdn.com/b/wats/archive/2013/12/07/understanding-the-temporary-drive-on-windows-azure-virtual-machines.aspx 我发现此链接可以证实: http//blogs.msdn.com/b/wats/archive/2013/12/07/understanding-the-temporary-drive-on-windows-azure-virtual-machines.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM