/*********************************************************
- * Copyright (c) 2006-2021, 2023 VMware, Inc. All rights reserved.
+ * Copyright (c) 2006-2024 Broadcom. All rights reserved.
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
/*
* Only regular VMFS (no VMFS-L, VMFSOS, or other oddities) and
- * only version 6 and above.
+ * only version 6 and above. Also, no VMFS on VSAN/VVol objects.
*/
supports = Str_Strcmp(fsAttrs->fsType, FS_VMFS_ON_ESX) == 0 &&
- fsAttrs->versionNumber >= 6;
+ fsAttrs->versionNumber >= 6 &&
+ strcmp(fsAttrs->driverType, "vsan") != 0 &&
+ strcmp(fsAttrs->driverType, "vvol") != 0;
Posix_Free(fsAttrs);
return supports;