Subscribe

Folders are moving from one location to another without manual intervention

Hi all,

 

In our environment, Folders in volume are moving in to another folder without any manual intervention.

 

let us assume, there are 2 main folders, Say 'A' & 'B' in a volume.

A folder have around 100 of sub folders and that sub folders are moving in to another sub folder without any manual intervention.

Can any one please suggest how to resolve this issue and its in urgent basis.

Your comments are valuable.

 

Regards

siddaraju

Re: Folders are moving from one location to another without manual intervention

There is no mechanism I can think of in ONTAP that would move folders or files.  It sounds like a host is doing this.  ONTAP (cDOT) can move volumes (vol move) or aggregates (aggregate relocate), and can even copy files and folders with ndmpcopy at the cli, but not moves of files.  I would look at all hosts and enable auditing to try to see what is moving the directory structures around.

Re: Folders are moving from one location to another without manual intervention

 

 

 

 

 

Re: Folders are moving from one location to another without manual intervention

This has to be host based. As said, OnTap cannot move sub-directories or files from volume to volume without a backup engine. You can't even create or delete files \ folders from CLI of OnTap. Have you considered setting up Fpolicy?

Assuming this is CIFS you could try seeting options cifs.trace_login on and view messages log file.

Re: Folders are moving from one location to another without manual intervention

 

 

 

 

Re: Folders are moving from one location to another without manual intervention

Ok, well as i said OnTap cannot just move sub directories from one volume to another with a backup protocol and manual configuration.

Is it CIFS or NFS?

Re: Folders are moving from one location to another without manual intervention

Hi ,

 

Its a CIFS Shares.

Re: Folders are moving from one location to another without manual intervention

What OnTap version are you running? I remember there once was a strange bug with SMB2 that manifested itself in a similar way (files created in a subdirectory disappeared and were later found a few directories further up). But that was with newly created files, not with pre-existing files.

Try disabling SMB2 on the filer to see if that helps. Note that this requires all CIFS clients that are currently connected via SMB2 to reconnect to the filer.

 

You can also enable CIFS Auditing on the volume to see who/what does the move operation if it's indeed client-initiated

 

Also you should upgrade to the most recent OnTap version (8.1.4P9 if you're currently at or before 8.1.x, or 8.2.3P5 if you're already on 8.2)

Re: Folders are moving from one location to another without manual intervention

Hi,

 

Under volume we had created a qtree and in that qtree so many sub folders are there.

 

Thiese sub folders are moving into another sub folders without any manual intervention.

 

How to resolve these issue.

 

Thiese all are entirly CIFS shares.

 

Please give your valuable suggetstions and its in urgent basis.

 

 

Re: Folders are moving from one location to another without manual intervention

Hi ,

 

Thanks for your suggestions, ONTAP version we are using is 7.3.5. 1p4.

And please suggest how to disable SMB2 on filer and how to enable CIFS Auditing on the volume.