CIFS is session-based and moving the toplevel dir of a share will badly confuse existing sessions.
On the CLI use
isi smb session list
isi smb session delete ...
to clean things up.
BTW, by moving directories around under /ifs you can't affect the layout or distribution among nodes; it takes SmartPools to do so (if you have pools of different node types). By moving directories one might build a directory tree more suitable for parallel backup processing of multiple subtrees, though.
Peter is right on point here - but also you can use symbolic links on the /ifs file system to reference paths which you move. After moving your path from /ifs/previous/location to /ifs/new/location you can make a symbolic link in the old location pointing to the new location - thus not needing to update your CIFS shares. I've never seen anything from EMC/Isilon about this being supported/unsupported - but it works.
In addition to this, if you want the share to still exist, you are going to have to wait until jobs (i.e. FSAnalyze) are finished running. If you do this, and then re-create the CIFS share (and NFS export), you should be able to move a folder on /ifs.
Thank-you everybody for your replies. It appears that the things that were potentially causing the most problems were:
1) Active SMB sessions on the share
2) Jobs running in the background
I did not test/validate any of the recommendations with respect to symlinking.
Peter_Sero
4 Operator
•
1.2K Posts
0
May 7th, 2013 11:00
CIFS is session-based and moving the toplevel dir of a share will badly confuse existing sessions.
On the CLI use
isi smb session list
isi smb session delete ...
to clean things up.
BTW, by moving directories around under /ifs you can't affect the layout or distribution among nodes; it takes SmartPools to do so (if you have pools of different node types). By moving directories one might build a directory tree more suitable for parallel backup processing of multiple subtrees, though.
Peter
cincystorage
2 Intern
•
467 Posts
0
May 7th, 2013 15:00
Peter is right on point here - but also you can use symbolic links on the /ifs file system to reference paths which you move. After moving your path from /ifs/previous/location to /ifs/new/location you can make a symbolic link in the old location pointing to the new location - thus not needing to update your CIFS shares. I've never seen anything from EMC/Isilon about this being supported/unsupported - but it works.
Peter_Sero
4 Operator
•
1.2K Posts
0
May 8th, 2013 03:00
I did some quick tests for NFS (we rarely use CIFS) and symlinks, under 6.5.5.11
Moving an NFS export folder does NOT immediately break existing mounts on clients ;-)
Providing a symlink at the old location, pointing to the new location, leaves one in a
situation where the share cannot be NFS-mounted by new clients.
(clients side: Permission denied;
server side, isi nfs export check: Check failed, ... is not a directory)
Deleting and re-establishing the NFS export for the symlink (old) location yields
an export for the actual directory at the new location. I.e. the symlink is followed
during once the export creation and is out of the picture afterwards.
That's probably quite different from the situation with CIFS; and
you mentioned your shares are NFS and CIFS at the same time...
Peter
chvalent
1 Message
0
May 10th, 2013 09:00
One possibility is to use SyncIQ to copy the data to the new location. Then, after the first sync has completed:
1. Disable SMB
2. Disable NFS
3. Kill all SMB sessions
4. Change your CIFS and NFS export paths
5. Run a final SyncIQ job to make sure everything is in sync
6. Delete the SyncIQ policy and brake the target link
7. Restart SMB and NFS
It is obviously disruptive for ~5 minutes.
dsulli99
13 Posts
0
May 13th, 2013 12:00
In addition to this, if you want the share to still exist, you are going to have to wait until jobs (i.e. FSAnalyze) are finished running. If you do this, and then re-create the CIFS share (and NFS export), you should be able to move a folder on /ifs.
Thank-you everybody for your replies. It appears that the things that were potentially causing the most problems were:
1) Active SMB sessions on the share
2) Jobs running in the background
I did not test/validate any of the recommendations with respect to symlinking.