在 Data Domain 中创建 Mtree 失败,并显示错误 MTree“/data/col1/<mtree name> already existed”

Summary: 本知识库文章介绍如何在 Data Domain 中创建一个 mtree(如果 mtree 抛出错误“MTree”/data/col1/)“已存在

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

用户无法在 Data Domain 中创建 MTree,并且收到诸如“MTree”/data/col1/<mytest_mtree>“之类的错误,例如:
 

sysadmin@dd# mtree create /data/col1/mytest_mtree MTree“/data/col1/mytest_mtree”已存在。


当然,如果存在具有给定名称的 MTree,则会出现错误,但是,有时具有相同名称的 MTree 过去曾存在,但后来被删除,并且“mtree create”命令仍然会以相同的方式失败。

 

Additional Information

此警报的原因是有人已经创建并(最近)删除了名为 mytest_mtree 的 MTree,但此后 DD 清理尚未运行。在开始清理之前,MTree 处于“Deleted”状态,但仍存在于 FS 中。可以使用以下命令进行验证,指示它已被 DD clean 删除的 MTree 名称旁边的“D”尚未运行。
 

sysadmin@dd3300-brentford# mtree list Name Pre-Comp (GiB) Status ----------------------- -------------- ------ /data/col1/backup 0.0 RW /data/col1/mytest_mtree 0.0 D


要再次创建 MTree,只需启动文件系统清理即可。不到一分钟后,所有“D”型 MTree 都将被删除,因此您将能够再次创建 MTree。无需等待 DD 清理完成,因此,如果不是运行清理的最佳时间,您可以停止它:
 

sysadmin@dd# filesys clean start [ 等待一分钟] sysadmin@dd# filesys clean stop



此时,如果您再次创建 MTree,该命令将会成功:
 

sysadmin@dd# mtree create /data/col1/mytest_mtree MTree“/data/col1/mytest_mtree”创建成功。

Affected Products

Data Domain

Products

Data Domain
Article Properties
Article Number: 000019794
Article Type: How To
Last Modified: 18 Sept 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.