有关 Azure 文件的常见问题解答 (FAQ)Frequently asked questions (FAQ) about Azure Files

Azure 文件在云端提供完全托管的文件共享,这些共享项可通过行业标准的服务器消息块 (SMB) 协议进行访问。Azure Files offers fully managed file shares in the cloud that are accessible via the industry-standard Server Message Block (SMB) protocol. 你可以在云或 Windows、Linux 和 macOS 的本地部署同时装载 Azure 文件共享。You can mount Azure file shares concurrently on cloud or on-premises deployments of Windows, Linux, and macOS. 另外,你也可以使用 Azure 文件同步在 Windows Server 计算机上缓存 Azure 文件共享,以在靠近使用数据的位置实现快速访问。You also can cache Azure file shares on Windows Server machines by using Azure File Sync for fast access close to where the data is used.

常规General

  • Azure 文件如何发挥作用?How is Azure Files useful?
    你可以使用 Azure 文件在云中创建文件共享,而无需应对物理服务器、设备或装置的开销。You can use Azure Files to create file shares in the cloud, without being responsible for managing the overhead of a physical server, device, or appliance. 诸如应用操作系统更新和更换损坏的磁盘等琐碎枯燥的工作,我们可为你逐一代劳。We do the monotonous work for you, including applying OS updates and replacing bad disks. 若要详细了解 Azure 文件适用的应用场景,请参阅为何 Azure 文件很有用To learn more about the scenarios that Azure Files can help you with, see Why Azure Files is useful.

  • 访问 Azure 文件中的文件有哪些不同方式?What are different ways to access files in Azure Files?
    可以使用 SMB 3.0 协议将文件共享装载到本地计算机上,也可以使用存储资源管理器等工具访问文件共享中的文件。You can mount the file share on your local machine by using the SMB 3.0 protocol, or you can use tools like Storage Explorer to access files in your file share. 在应用程序中,可以使用存储客户端库、REST API、PowerShell 或 Azure CLI 来访问 Azure 文件共享中的文件。From your application, you can use storage client libraries, REST APIs, PowerShell, or Azure CLI to access your files in the Azure file share.

  • 相对于 Azure Blob 存储,我为什么要对数据使用 Azure 文件共享?Why would I use an Azure file share versus Azure Blob storage for my data?
    Azure 文件和 Azure Blob 存储均提供在云中存储大量数据的方法,但是用途略有不同。Azure Files and Azure Blob storage both offer ways to store large amounts of data in the cloud, but they are useful for slightly different purposes.

    Azure Blob 存储适用于需要存储非结构化数据且具有大规模缩放性的云本机应用程序。Azure Blob storage is useful for massive-scale, cloud-native applications that need to store unstructured data. 为了更大程度地提升性能和可缩放性,相对于真实的文件系统而言,Azure Blob 存储是更简单的存储抽象。To maximize performance and scale, Azure Blob storage is a simpler storage abstraction than a true file system. 此外,只可通过基于 REST 的客户端库访问 Azure Blob 存储(或直接通过基于 REST 的协议访问)。You can access Azure Blob storage only through REST-based client libraries (or directly through the REST-based protocol).

    Azure 文件是一个专门的文件系统,Azure Files is specifically a file system. 具有你在使用本地操作系统多年来所熟知和喜爱的所有文件抽象。Azure Files has all the file abstracts that you know and love from years of working with on-premises operating systems. 例如 Azure Blob 存储,Azure 文件提供了一个 REST 接口和基于 REST 的客户端库。Like Azure Blob storage, Azure Files offers a REST interface and REST-based client libraries. 与 Azure Blob 存储不同的是,Azure 文件提供了对 Azure 文件共享的 SMB 访问权限。Unlike Azure Blob storage, Azure Files offers SMB access to Azure file shares. 通过使用 SMB,无需对文件系统写入任何代码或附加任何特殊驱动程序,即可在 Windows、Linux 或 macOS 上及本地或云 VM 中直接装载 Azure 文件共享。By using SMB, you can mount an Azure file share directly on Windows, Linux, or macOS, either on-premises or in cloud VMs, without writing any code or attaching any special drivers to the file system. 此外,你也可以使用 Azure 文件同步在本地文件服务器上缓存 Azure 文件共享,以在靠近使用数据的位置实现快速访问。You also can cache Azure file shares on on-premises file servers by using Azure File Sync for quick access, close to where the data is used.

    有关 Azure 文件和 Azure Blob 存储之间的差异的深入介绍,请参阅核心 Azure 存储服务简介For a more in-depth description on the differences between Azure Files and Azure Blob storage, see Introduction to the core Azure Storage services. 若要了解有关 Azure Blob 存储的详细信息,请参阅 Blob 存储简介To learn more about Azure Blob storage, see Introduction to Blob storage.

  • 相对于 Azure 磁盘,我为什么要使用 Azure 文件共享?Why would I use an Azure file share instead of Azure Disks?
    Azure 磁盘中的磁盘只是一个磁盘。A disk in Azure Disks is simply a disk. 若要充分利用 Azure 磁盘,必须将其与在 Azure 中运行的虚拟机相关联。To get value from Azure Disks, you must attach a disk to a virtual machine that's running in Azure. Azure 磁盘可用于在本地服务器上使用磁盘的所有内容。Azure Disks can be used for everything that you would use a disk for on an on-premises server. 你可将其用作操作系统磁盘、操作系统的交换空间,或者应用程序的专用存储空间。You can use it as an OS system disk, as swap space for an OS, or as dedicated storage for an application. Azure 磁盘其中一个有趣的用途是,可在云中创建一个文件服务器,以在可能使用 Azure 文件共享的相同位置使用。An interesting use for Azure Disks is to create a file server in the cloud to use in the same places where you might use an Azure file share. 当需要 Azure 文件当前不支持的部署选项(例如,NFS 协议支持或高级存储)时,在 Azure 虚拟机中部署文件服务器则是一种非常行之有效的获取 Azure 中文件存储的方法。Deploying a file server in Azure Virtual Machines is a high-performance way to get file storage in Azure when you require deployment options that currently are not supported by Azure Files (such as NFS protocol support or premium storage).

    但是,相比使用 Azure 文件共享,通过将 Azure 磁盘作为后端存储来运行文件服务器的方式,由于多方面的原因,其经济成本通常会更高。However, running a file server with Azure Disks as back-end storage typically is much more expensive than using an Azure file share, for a few reasons. 首先,除了为磁盘存储付费之外,还必须为运行一个或多个 Azure VM 的成本付费。First, in addition to paying for disk storage, you also must pay for the expense of running one or more Azure VMs. 其次,你还必须管理用于运行文件服务器的 VM。Second, you also must manage the VMs that are used to run the file server. 例如,负责操作系统升级。For example, you are responsible for OS upgrades. 最后,如果你最终需要在本地缓存数据,则还要自行安装和管理复制技术(例如,分布式文件系统复制 (DFSR))来实现此目的。Finally, if you ultimately require data to be cached on-premises, it's up to you to set up and manage replication technologies, such as Distributed File System Replication (DFSR), to make that happen.

    有关在 Azure 中设置高性能和高可用性文件服务器的选项的信息,请参阅 Deploying IaaS VM guest clusters in Azure(在 Azure 中部署 IaaS VM 来宾群集)。For information about an option for setting up a high-performance and highly available file server in Azure, see Deploying IaaS VM guest clusters in Azure. 有关 Azure 文件和 Azure 磁盘之间的差异的深入描述,请参阅核心 Azure 存储服务简介For a more in-depth description of the differences between Azure Files and Azure Disks, see Introduction to the core Azure Storage services. 若要详细了解 Azure 磁盘,请参阅 Azure 托管磁盘概述To learn more about Azure Disks, see Azure Managed Disks overview.

  • 如何开始使用 Azure 文件?How do I get started using Azure Files?
    开始使用 Azure 文件非常简单。Getting started with Azure Files is easy. 首先,创建文件共享,然后再将其装载到首选操作系统中:First, create a file share, and then mount it in your preferred operating system:

  • Azure 文件支持哪些存储冗余选项?What storage redundancy options are supported by Azure Files?
    当前,Azure 文件支持本地冗余存储 (LRS) 和异地冗余存储 (GRS)。Currently, Azure Files supports locally redundant storage (LRS), geo-redundant storage (GRS). 将来我们计划支持读取访问权限异地冗余存储 (RA-GRS),但目前还没有可分享的日程表。We plan to support read-access geo-redundant (RA-GRS) storage in the future, but we don't have timelines to share at this time.

  • Azure 文件支持哪些存储层?What storage tiers are supported in Azure Files?
    Azure 文件存储支持两种存储层:高级和标准。Azure Files supports two storage tiers: premium and standard. 标准文件共享是在常规用途(GPv1 或 GPv2)存储帐户中创建的,高级文件共享是在 FileStorage 存储帐户中创建的。Standard file shares are created in general purpose (GPv1 or GPv2) storage accounts and premium file shares are created in FileStorage storage accounts. 详细了解如何创建标准文件共享高级文件共享Learn more about how to create standard file shares and premium file shares.

    备注

    无法从 Blob 存储帐户或高级常规用途(GPv1 或 GPv2)存储帐户创建 Azure 文件共享。You cannot create Azure file shares from Blob storage accounts or premium general purpose (GPv1 or GPv2) storage accounts. 必须仅在标准常规用途帐户中创建标准 Azure 文件共享,并且必须仅在 FileStorage 存储帐户中创建高级 Azure 文件共享。Standard Azure file shares must created in standard general purpose accounts only and premium Azure file shares must be created in FileStorage storage accounts only. 高级常规用途(GPv1 和 GPv2)存储帐户仅适用于高级页 Blob。Premium general purpose (GPv1 and GPv2) storage accounts are for premium page blobs only.

安全性、身份验证和访问控制Security, authentication, and access control

  • Azure 文件是否支持访问控制?Is access control supported by Azure Files?
    Azure 文件还提供了另外一种方法来管理访问控制:Azure Files offers a additional way to manage access control:

    • 你可以使用共享访问签名 (SAS) 生成在指定时间间隔内有效的具有特定权限的令牌。You can use shared access signatures (SAS) to generate tokens that have specific permissions, and which are valid for a specified time interval. 例如,可以生成在 10 分钟后到期、对特定文件具有只读访问权限的令牌。For example, you can generate a token with read-only access to a specific file that has a 10-minute expiry. 只要拥有此有效令牌,就可以在 10 分钟内拥有对给定文件的只读访问权限。Anyone who possesses the token while the token is valid has read-only access to that file for those 10 minutes. 仅通过 REST API 或客户端库支持共享的访问签名密钥。Shared access signature keys are supported only via the REST API or in client libraries. 你必须使用存储帐户密钥通过 SMB 装载 Azure 文件共享。You must mount the Azure file share over SMB by using the storage account keys.

当前,Azure 文件不直接支持 Active Directory。Currently, Azure Files does not support Active Directory directly.

  • 如何确保已静态加密 Azure 件共享?How can I ensure that my Azure file share is encrypted at rest?

    是的。Yes. 有关详细信息,请参阅 Azure 存储服务加密For more information see Azure Storage Service Encryption.

  • 如何使用 Web 浏览器提供对特定文件的访问权限?How can I provide access to a specific file by using a web browser?

    你可以使用共享访问签名生成在指定时间间隔内有效的、具有特定权限的令牌。You can use shared access signatures to generate tokens that have specific permissions, and which are valid for a specified time interval. 例如,可以生成一个在设定时段内对特定文件具有只读访问权限的令牌。For example, you can generate a token that gives read-only access to a specific file, for a set period of time. 只要拥有此 URL,就可以在令牌有效期间,直接通过任意 Web 浏览器访问文件。Anyone who possesses the URL can access the file directly from any web browser while the token is valid. 你可以从类似存储资源管理器的 UI 轻松生成共享的访问签名密钥。You can easily generate a shared access signature key from a UI like Storage Explorer.

  • 能否对共享中的文件夹指定只读或只写权限?Is it possible to specify read-only or write-only permissions on folders within the share?

    如果使用 SMB 装载文件共享,则不具有文件夹级的控制权限。If you mount the file share by using SMB, you don't have folder-level control over permissions. 但是,如果使用 REST API 或客户端库创建共享访问签名,则可以在共享内的文件夹上指定只读或只写权限。However, if you create a shared access signature by using the REST API or client libraries, you can specify read-only or write-only permissions on folders within the share.

  • 是否对 Azure 文件共享实现 IP 限制?Can I implement IP restrictions for an Azure file share?

    是的。Yes. 可以在存储帐户级别对 Azure 文件共享的权限进行限制。Access to your Azure file share can be restricted at the storage account level. 有关详细信息,请参阅配置 Azure 存储防火墙和虚拟网络For more information, see Configure Azure Storage Firewalls and Virtual Networks.

  • Azure 文件支持哪些数据符合性策略?What data compliance policies does Azure Files support?

    Azure 文件所依据的存储体系结构与 Azure 存储中的其他存储服务使用的相同。Azure Files runs on top of the same storage architecture that's used in other storage services in Azure Storage. Azure 文件实施的数据符合性策略也与其他 Azure 存储服务使用的相同。Azure Files applies the same data compliance policies that are used in other Azure storage services. 有关 Azure 存储数据符合性的详细信息,可以参阅 Azure 信任中心For more information about Azure Storage data compliance, you can refer to Azure Trust Center.

本地访问On-premises access

  • 我的 ISP 或 IT 部门阻止了端口 445,导致 Azure 文件装载失败。My ISP or IT blocks Port 445 which is failing Azure Files mount. What should I do?

    可以在此处了解如何通过各种方式来解决端口 445 被阻止的问题You can learn about various ways to workaround blocked port 445 here. Azure 文件存储只允许使用 SMB 3.0(带加密支持)从区域或数据中心外部进行连接。Azure Files only allows connections using SMB 3.0 (with encryption support) from outside the region or datacenter. SMB 3.0 协议引入了许多安全功能,其中包括通道加密,可以通过 Internet 很安全地使用。SMB 3.0 protocol has introduced many security features including channel encryption which is very secure to use over internet. 不过,有可能端口 445 因为历史原因(在较低的 SMB 版本中发现了漏洞)已被阻止。However its possible that port 445 has been blocked due to historical reasons of vulnerabilities found in lower SMB versions. 理想情况下,只应阻止端口传输 SMB 1.0 流量,在所有客户端上都应关闭 SMB 1.0。In ideal case, the port should be blocked for only for SMB 1.0 traffic and SMB 1.0 should be turned off on all clients.

  • 必须使用 Azure ExpressRoute 才能在本地连接到 Azure 文件或使用 Azure 文件同步吗?Do I have to use Azure ExpressRoute to connect to Azure Files or to use Azure File Sync on-premises?

    否。No. ExpressRoute 不是访问 Azure 文件共享的必要条件。ExpressRoute is not required to access an Azure file share. 如果要直接在本地装载 Azure 文件共享,则只需打开端口 445(TCP 出站)即可进行 Internet 访问(这是 SMB 用于进行通信的端口)。If you are mounting an Azure file share directly on-premises, all that's required is to have port 445 (TCP outbound) open for internet access (this is the port that SMB uses to communicate). 如果正在使用 Azure 文件同步,则只需端口 443(TCP 出站)即可进行 HTTPS 访问(无需 SMB)。If you're using Azure File Sync, all that's required is port 443 (TCP outbound) for HTTPS access (no SMB required). 但是,你可以将 ExpressRoute 与这些访问选项中任意一项一起使用。However, you can use ExpressRoute with either of these access options.

  • 如何才能在本地计算机上装载 Azure 文件共享?How can I mount an Azure file share on my local machine?

    可以使用 SMB 协议装载文件共享,只要端口 445(TCP 出站)处于打开状态,且客户端支持 SMB 3.0 协议(例如,如果使用的是 Windows 10 或 Windows Server 2016)。You can mount the file share by using the SMB protocol if port 445 (TCP outbound) is open and your client supports the SMB 3.0 protocol (for example, if you're using Windows 10 or Windows Server 2016). 如果端口 445 被组织的策略或 ISP 阻止,则可使用 Azure 文件同步访问 Azure 文件共享。If port 445 is blocked by your organization's policy or by your ISP, you can use Azure File Sync to access your Azure file share.

BackupBackup

  • 如何备份我的 Azure 文件共享?How do I back up my Azure file share?
    可以使用定期共享快照来防止意外删除。You can use periodic share snapshots for protection against accidental deletions. 此外,也可以使用 AzCopy、RoboCopy 或能够备份已装载文件共享的第三方备份工具。You also can use AzCopy, Robocopy, or a third-party backup tool that can back up a mounted file share.

共享快照Share snapshots

共享快照:常规Share snapshots: General

  • 什么是文件共享快照?What are file share snapshots?
    可以使用 Azure 文件共享快照创建只读版本的文件共享。You can use Azure file share snapshots to create a read-only version of your file shares. 另外,也可以使用 Azure 文件将早期版本的内容复制回 Azure 或本地中的同一个共享或备用位置中,以做进一步修改。You also can use Azure Files to copy an earlier version of your content back to the same share, to an alternate location in Azure, or on-premises for more modifications. 若要了解有关共享快照的详细信息,请参阅共享快照概述To learn more about share snapshots, see the Share snapshot overview.

  • 共享快照存储在何处?Where are my share snapshots stored?
    共享快照与文件共享存储在同一个存储帐户中。Share snapshots are stored in the same storage account as the file share.

  • 共享快照是否与应用程序一致?Are share snapshots application-consistent?
    否,共享快照与应用程序不一致。No, share snapshots are not application-consistent. 执行共享快照前,用户必须将应用程序中的写入刷新到共享中。The user must flush the writes from the application to the share before taking the share snapshot.

  • 对我可使用的共享快照数有限制吗?Are there limits on the number of share snapshots I can use?
    是的。Yes. Azure 文件可以最多保留 200 张共享快照。Azure Files can retain a maximum of 200 share snapshots. 共享快照不计入共享配额,因此,对所有共享快照使用的总空间没有单独的共享限制。Share snapshots do not count toward the share quota, so there is no per-share limit on the total space that's used by all the share snapshots. 存储帐户限制仍然适用。Storage account limits still apply. 在达到 200 个共享快照之后,必须删除旧的共享快照才可创建新的共享快照。After 200 share snapshots, you must delete older snapshots to create new share snapshots.

  • 共享快照的费用是多少?How much do share snapshots cost?
    快照按标准事务和标准存储收费。Standard transaction and standard storage cost will apply to snapshot. 快照在本质上是递增的。Snapshots are incremental in nature. 基本快照即是共享本身。The base snapshot is the share itself. 所有的后续快照均是递增的,并且只会存储与之前快照的不同之处。All the subsequent snapshots are incremental and will only store the diff from the previous snapshot. 这意味着,如果工作负荷改动极小,则帐单上显示的增量更改也很小。This means that the delta changes that will be seen in the bill will be minimal if your workload churn is minimal. 有关标准 Azure 文件的定价信息,请参阅定价页See Pricing page for Standard Azure Files pricing information. 目前,查看共享快照已用大小的方法是比较计费的容量与使用的容量。Today the way to look at size consumed by share snapshot is by comparing the billed capacity with used capacity. 我们致力于开发改进报告的工具。We are working on tooling to improve the reporting.

  • 目录和文件上的 NTFS ACL 是否保留在共享快照中?Are NTFS ACLs on directories and files persisted in share snapshots?
    目录和文件上的 NTFS ACL 会保留在共享快照中。NTFS ACLs on directories and files are persisted in share snapshots.

创建共享快照Create share snapshots

  • 是否可以创建单个文件的共享快照?Can I create share snapshot of individual files?
    可在文件共享级别上创建共享快照。Share snapshots are created at the file share level. 你可以从文件共享快照还原单个文件,但是不能创建文件级别的共享快照。You can restore individual files from the file share snapshot, but you cannot create file-level share snapshots. 但是,如果你已执行共享级别的共享快照,并且想要列出已更改特定文件的共享快照,则可以在已装载 Windows 的共享上的“以前的版本”下执行此操作。However, if you have taken a share-level share snapshot and you want to list share snapshots where a specific file has changed, you can do this under Previous Versions on a Windows-mounted share.

  • 是否可以创建加密文件共享的共享快照?Can I create share snapshots of an encrypted file share?
    可以对已启用静态加密的 Azure 文件共享执行共享快照。You can take a share snapshot of Azure file shares that have encryption at rest enabled. 可以从共享快照中将文件还原到加密文件共享中。You can restore files from a share snapshot to an encrypted file share. 如果共享已加密,则共享快照也会加密。If your share is encrypted, your share snapshot also is encrypted.

  • 共享快照具有异地冗余吗?Are my share snapshots geo-redundant?
    共享快照与捕获它们的 Azure 文件共享具有相同的冗余。Share snapshots have the same redundancy as the Azure file share for which they were taken. 如果已为帐户选择异地冗余存储,则共享快照也会在配对区域中进行冗余存储。If you have selected geo-redundant storage for your account, your share snapshot also is stored redundantly in the paired region.

管理共享快照Manage share snapshots

  • 是否可以在 Linux 中浏览共享快照?Can I browse my share snapshots from Linux?
    可以使用 Azure CLI 在 Linux 中创建、列出、浏览和还原共享快照。You can use Azure CLI to create, list, browse, and restore share snapshots in Linux.

  • 是否可以将共享快照复制到不同的存储帐户?Can I copy the share snapshots to a different storage account?
    可以将文件从共享快照复制到其他位置,但不能复制到共享快照本身。You can copy files from share snapshots to another location, but you cannot copy the share snapshots themselves.

从共享快照还原数据Restore data from share snapshots

  • 是否可以将共享快照提升到基本共享中?Can I promote a share snapshot to the base share?
    只能将数据从共享快照复制到任何其他目标位置,You can copy data from a share snapshot to any other destination. 不能将共享快照提升到基本共享中。You cannot promote a share snapshot to the base share.

  • 是否可以将数据从共享快照还原到不同的存储帐户?Can I restore data from my share snapshot to a different storage account?
    是的。Yes. 可以将共享快照文件复制到原始位置或备用位置,其中包括位于同一区域或不同区域的相同/不同的存储帐户。Files from a share snapshot can be copied to the original location or to an alternate location that includes either the same storage account or a different storage account, in either the same region or in different regions. 你还可以将文件复制到本地位置或任何其他云。You also can copy files to an on-premises location or to any other cloud.

清除共享快照Clean up share snapshots

  • 是否可以删除共享,而不删除共享快照?Can I delete my share but not delete my share snapshots?
    如果共享上有活动的共享快照,则无法删除此共享。If you have active share snapshots on your share, you cannot delete your share. 你可以使用一个 API 将共享快照连同共享一起删除。You can use an API to delete share snapshots, along with the share. 此外,也可以在 Azure 门户中删除共享快照和共享。You also can delete both the share snapshots and the share in the Azure portal.

  • 如果删除存储帐户,共享快照会怎样?What happens to my share snapshots if I delete my storage account?
    删除存储帐户后,共享快照也将被删除。If you delete your storage account, the share snapshots also are deleted.

计费和定价Billing and pricing

  • Azure VM 与 Azure 文件共享之间的网络流量是否作为外部带宽计入订阅费用?Does the network traffic between an Azure VM and an Azure file share count as external bandwidth that is charged to the subscription?
    如果文件共享和 VM 位于同一 Azure 区域,则它们之间的流量是不会额外收费的。If the file share and VM are in the same Azure region, there is no additional charge for the traffic between the file share and the VM. 如果文件共享和 VM 位于不同的区域,则它们之间的流量会作为外部带宽收费。If the file share and the VM are in different regions, the traffic between them are charged as external bandwidth.

  • 共享快照的费用是多少?How much do share snapshots cost?
    在预览版期间,共享快照容量可免费使用,During preview, there is no charge for share snapshot capacity. 但会收取标准存储出口和事务费用。Standard storage egress and transaction costs apply. 公开发布后,共享快照的容量和事务均将收费。After general availability, subscriptions will be charged for capacity and transactions on share snapshots.

    共享快照在本质上是递增的。Share snapshots are incremental in nature. 基本共享快照即是共享本身。The base share snapshot is the share itself. 所有的后续共享快照均是递增的,并且只会存储与之前共享快照的不同之处。All subsequent share snapshots are incremental and store only the difference from the preceding share snapshot. 你只需为更改的内容付费。You are billed only for the changed content. 如果你的共享包含 100 GiB 数据,但自执行上次共享快照以来只更改了 5 GiB 数据,则共享快照只额外使用了 5 GiB 数据,而你要为 105 GiB 付费。If you have a share with 100 GiB of data but only 5 GiB has changed since your last share snapshot, the share snapshot consumes only 5 additional GiB, and you are billed for 105 GiB. 有关事务和标准出口费用的更多信息,请参阅定价页For more information about transaction and standard egress charges, see the Pricing page.

缩放和性能Scale and performance

  • Azure 文件存在哪些缩放限制?What are the scale limits of Azure Files?
    有关 Azure 文件的可伸缩性和性能目标的信息,请参阅 Azure 文件可伸缩性和性能目标For information about scalability and performance targets for Azure Files, see Azure Files scalability and performance targets.

  • Azure 文件共享的可用大小是多少?What sizes are available for Azure file shares?
    Azure 文件共享大小(高级和标准)最多可以扩展到 100 TiB。Azure file share sizes (premium and standard) can scale up to 100 TiB. 请参阅规划指南的加入到较大文件共享(标准层)部分,以获取加入到标准层较大文件共享的说明。See the Onboard to larger file shares (standard tier) section of the planning guide for onboarding instructions to the larger file shares for the standard tier.

  • 多少个客户端可以同时访问同一文件? How many clients can access the same file simultaneously?
    单个文件有 2000 个打开句柄配额。There is a quota of 2,000 open handles on a single file. 当你拥有 2000 个打开句柄时,会显示一条错误消息,指示已达到此配额。When you have 2,000 open handles, an error message is displayed that says the quota is reached.

  • 解压 Azure 文件中的文件时性能较慢。My performance is slow when I unzip files in Azure Files. What should I do?
    若要将大量文件传输到 Azure 文件,建议使用 AzCopy(Windows 版;Linux 和 Unix 预览版)或 Azure Powershell。To transfer large numbers of files to Azure Files, we recommend that you use AzCopy (for Windows; in preview for Linux and UNIX) or Azure PowerShell. 这些工具已针对网络传输进行了优化。These tools have been optimized for network transfer.

  • 为什么在 Windows Server 2012 R2 或 Windows 8.1 上装载了 Azure 文件共享后性能较慢?Why is my performance slow after I mount my Azure file share on Windows Server 2012 R2 or Windows 8.1?
    在 Windows Server 2012 R2 和 Windows 8.1 上装载 Azure 文件共享后,有一个已知的问题。There is a known issue when mounting an Azure file share on Windows Server 2012 R2 and Windows 8.1. 在 2014 年 4 月的 Windows 8.1 和 Windows Server 2012 R2 累积更新中已修补了此问题。The issue was patched in the April 2014 cumulative update for Windows 8.1 and Windows Server 2012 R2. 请确保 Windows Server 2012 R2 和 Windows 8.1 的所有实例均应用了此修补程序,以获得最佳性能。For optimum performance, ensure that all instances of Windows Server 2012 R2 and Windows 8.1 have this patch applied. (你应始终通过 Windows 更新获取 Windows 修补程序。)有关详细信息,请查看相关的 Azure 识库文章:从 Windows 8.1 或 Server 2012 R2 访问 Azure 文件时性能降低(You should always receive Windows patches through Windows Update.) For more information, see the associated Azure Knowledge Base article Slow performance when you access Azure Files from Windows 8.1 or Server 2012 R2.

功能以及与其他服务的互操作性Features and interoperability with other services

  • 是否可以将 Azure 文件共享作为 Windows 服务器故障转移群集的文件共享见证?Can I use my Azure file share as a File Share Witness for my Windows Server Failover Cluster?
    Azure 文件共享目前不支持此配置。Currently, this configuration is not supported for an Azure file share. 有关如何为 Azure Blob 存储设置此服务的详细信息,请参阅部署故障转移群集的云见证For more information about how to set this up for Azure Blob storage, see Deploy a Cloud Witness for a Failover Cluster.

  • REST API 中是否有重命名操作?Is there a rename operation in the REST API?
    目前没有。Not at this time.

  • 是否可以设置嵌套共享?也就是说,能否在共享下使用共享?Can I set up nested shares? In other words, a share under a share?
    否。No. 文件共享是可以装载的虚拟驱动程序,因此不支持嵌套共享。The file share is the virtual driver that you can mount, so nested shares are not supported.

  • 如何将 Azure 文件与 IBM MQ 配合使用?How do I use Azure Files with IBM MQ?
    IBM 已发布相关文档,帮助 IBM MQ 客户通过 IBM 服务配置 Azure 文件。IBM has released a document that helps IBM MQ customers configure Azure Files with the IBM service. 有关详细信息,请参阅 How to set up an IBM MQ multi-instance queue manager with Azure Files service(如何通过 Azure 文件服务设置 IBM MQ 多实例队列管理器)。For more information, see How to set up an IBM MQ multi-instance queue manager with Azure Files service.

另请参阅See also