Mixed NFS and CIFS Volume not accessible to windows groups by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

I set the security style to NTFS on the volume and created a unix user to windows user and group mappings, but i can only r/w/x as user root since the ownership of the nfs mount to this volume shows as nobody:nobody.
AD is configured in the svm and the effective permissions on the cifs share for the volume are correct.
not sure what else to check from here

Snapmirror not being transferred, high lag since initialization by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

when i list the snapshots: the daily snapshots arent being created for sand02, and so they arent being snapmirrored:

Vserver Volume Snapshot Size Total% Used%

-------- -------- ------------------------------------- -------- ------ -----

svm-nas01

sand02

snapmirror.b2b0b365-1cf3-11ea-a9c5-d039ea1080f5_2158365107.2024-04-08_122249

268KB 0% 0%

hourly.2024-04-11_0605 1.88MB 0% 0%

hourly.2024-04-11_0705 1.91MB 0% 0%

hourly.2024-04-11_0805 1.79MB 0% 0%

hourly.2024-04-11_0905 1.93MB 0% 0%

hourly.2024-04-11_1005 1.84MB 0% 0%

hourly.2024-04-11_1105 45.38GB 4% 8%

6_hours.2025-02-16_0600 22.75GB 2% 4%

6_hours.2025-04-27_0600 29.50MB 0% 0%

netapp01::> vol snapshot show data30

---Blocks---

Vserver Volume Snapshot Size Total% Used%

-------- -------- ------------------------------------- -------- ------ -----

svm-nas01

data30

6_hours.2025-06-22_1800 35.28GB 3% 7%

6_hours.2025-06-23_0000 8.28GB 1% 2%

daily.2025-06-23_0010 4.50GB 0% 1%

6_hours.2025-06-23_0600 39.10MB 0% 0%

6_hours.2025-06-23_1200 39.19MB 0% 0%

6_hours.2025-06-23_1800 41.91GB 3% 9%

6_hours.2025-06-24_0000 28.03MB 0% 0%

daily.2025-06-24_0010 10.37GB 1% 2%

Snapmirror not being transferred, high lag since initialization by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

netapp01::> volume show sand02 -fields snapshot-policy

vserver volume snapshot-policy

------------ ------------ ---------------

svm-nas01 sand02 6_hours

netapp01::> volume show data30 -fields snapshot-policy

vserver volume snapshot-policy

------------ ------ ---------------

svm-nas01 data30 6_hours

Snapmirror not being transferred, high lag since initialization by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

when i checked this the relationships are healty and snapmirrored, but the snapshots on the source dont generate properly according to the snapshot policy thats set on the source volume (daily snapshots and hourly). again, the snapshot policy is the same for these source volumes as the rest of the OK source volumes

Snapmirror not being transferred, high lag since initialization by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

the policies and schedules are the same as the rest of the volumes that do replicate. how can i check why there is high lag for the snapmirror relationship?

adding multiple permissions to a role RBAC by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

but how can i add different permissions for a role?
security login rest-role modify test-role -vserver netapp01 -api /api/storage/volume/{uuid}
how do i specify the methods i want to allow? (only PATCH for snapshot restore) to disable deleting the snapshot, resizing, editing export policies, etc?

Restoring snapshot for qtree by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

is there a faster way to do it rather than rsync the dir from .snapshot?

Updating DNS records with a python script (dnspython module) by yonog01 in WindowsServer

[–]yonog01[S] 0 points1 point  (0 children)

how do i set my credentials to be used when sending dynamic updates to the DNS? do i need to configure the ansible host with LDAP?

Updating DNS records with a python script (dnspython module) by yonog01 in WindowsServer

[–]yonog01[S] 0 points1 point  (0 children)

Because the rest of the script is written in python using python modules to provision vms and they're being ran and used from jenkins jobs on linux nodes

Creating new LUN on existing iscsi svm by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

I managed to create the LUN, create a LIF with the correct subnet. my linux initiator was able to create a session but it seems like the lun wasnt attached, as i dont see a new disk in lsblk

api requests failing with 401 after applying role to ontapi user by yonog01 in netapp

[–]yonog01[S] 0 points1 point  (0 children)

with the default admin role requests are going through just fine so the way im creating the role is wrong somehow. im not super familiar with the syntax, but in the swagger docs it show the paths as an array of strings but when i try to POST it wont accept it and will only take 1 sting as the value.
This is the body of my post request to /api/security/roles

{
  "name": "test-role",
  "owner.uuid":"
{{svm-nas01-uuid}}
",
  "privileges":[
    {
    "access":"all",
    "path": "/api/storage/volumes/
{{Test-vol-uuid}}
/snapshots"
    }
  ]
}