Unsolved
This post is more than 5 years old
8 Posts
0
1286
August 1st, 2012 03:00
File share migration questions
Hi,
I currently have one share(CIFS) on a Celerra that houses our home folders. The used space is approx. 900 GB. We are running out of physical resources so in order to prevent users from storing too much in their home folders we would like to enable qoutas. The filesystem where the home folders reside is shared with other resources. So a qouta tree for the Home folder is neccessary. There is one Home share and each user have a folder, permissions for each home folder is handled by file system permissions. Ourr game plan is the following
1. By using emcopy we will copy all files from \\celerra\home$ to E:\home using the following switches
emcopy \\celerra\home$ E:\home /o /s /d /q /c /secfix /stream /purge /r:1 w:2 /log:C:\copy.log
2. During our maintenance window we will change the permission on home$ so that only one account has read permissions and disconnect all active sessions and re-run the above emcopy command
3. When the final sync has completed we will delete the Home directory on the celerra. Recreate it as a quota ree
4. Run emcopy again but switch place on source and destination path
Anyone with previous experience of this kind of operation who has any good-to-know information?
Do we have the neccessary switches to emcopy in order to keep all of our filesystem permissions? By looking at the tests i have done it seems like permissions are fine
Does it take long time to delete the a large folder structure? Does the Celerra have to traverse through the whole folder structure?
cheers
dynamox
9 Legend
•
20.4K Posts
1
August 1st, 2012 04:00
that should work, hopefully are you are not using local groups. One thing that i would do is to delete any checkpoints before you try to delete the data on Celerra, this will speed up the process because data does not need to be copied to savvol first. You are correct it will need to traverse the file system while it's deleting and if you have a lot of objects it may take a long time.
frejen
8 Posts
0
August 3rd, 2012 03:00
No, the groups and users that have permission on the share and files/folders comes from Active Directory.
I will make sure no checkpoints exist, i do not think checkpoints are configured for the filesystem.
Is it possible to delete the folder from the Celerra? I guess that would be faster than deleting it from a windows client.
dynamox
9 Legend
•
20.4K Posts
0
August 3rd, 2012 04:00
it's not possible (at least not something that's available to customers). You can use robocopy/emcopy to delete it, since both are multithread i would think that would be faster than "right click, delete" in Windows Explorer
robocopy c:\temp\emptydirectory \\celerra\folde_youwantto_delete /mir /mt:64