Does ONTAP support modifying the file attribute like CHATTR command from Linux?
- Views:
- 490
- Visibility:
- Public
- Votes:
- 0
- Category:
- fas-systems
- Specialty:
- nas
- Last Updated:
- 3/17/2023, 7:40:11 PM
Applies to
- ONTAP 9
- Data ONTAP 7-Mode
Answer
ONTAP does not support
chattr
and lsattr
commands.Example:
From Linux local disk:
From NFS mount point:
[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
From NFS mount point:
[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
Additional Information
N/A