跳转到主内容

ONTAP 是否支持从 Linux 修改文件属性,例如 CHATTR 命令?

Views:
154
Visibility:
Public
Votes:
0
Category:
fas-systems
Specialty:
nfs
Last Updated:

适用场景

  • Data ONTAP 7-模式
  • 集群模式 Data ONTAP 8
  • ONTAP 9

问题解答

ONTAP 不支持 chattrlsattr 命令。
 
示例:
 
从 Linux 本地磁盘:
[root@rhel1 ~]# chattr +i f1
[root@rhel1 ~]#
[root@rhel1 ~]# lsattr f1
----i----------- f1
[root@rhel1 ~]# chattr -i f1
[root@rhel1 ~]#
[root@rhel1 ~]# lsattr f1
---------------- f1


从 NFS 挂载点:
[root@rhel1 mnt]# chattr +i f1
chattr: Inappropriate ioctl for device while reading flags on f1

[root@rhel1 mnt]# lsattr
lsattr: Inappropriate ioctl for device While reading flags on ./f1

追加信息

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.