This post is more than 5 years old
6 Posts
0
1480
December 13th, 2012 02:00
migrate to smaller Filesystem...
I've searched the discussions and found a load of different answers = now I'm more confused then before...
My situation:
Celerra OS 5.6.47
One Filesystem with 3 qtrees, extended accidentaly with 8TB instead of 800GB (one zero too much), I hate this crap filesystem and its GUIs for administering... Now it is 15TB in size, holy +"*ç%
I need to get one qtree out into its own filesystem (1 TB)
I need to get the 8 TB back for other purposes, but the there is no shrink available...
The other two qtrees use 3.6TB and 2.4TB
All of this is Windows/CIFS data (ACLs)
There seem to be these options:
server_archive
nas_copy
filesystem migration (internaly)
robocopy
emc_copy
Please advise, which one would be the best option to accomplish this.
Thanks a lot!
dynamox
9 Legend
•
20.4K Posts
1
December 13th, 2012 05:00
you need to give it the full path, for example if your file system is mounted under a virtual datamover, your syntax would look something like this:
server_archive server_2 -rw -J /root_vdm_6/oldir /root_vdm_6/newdir
something like that, look in man pages for some examples
SCOR-ZH
6 Posts
0
December 13th, 2012 02:00
Oh I forgot, that I have a replicator_v2 licence, but I guess this needs to have filesystems of the same size... Or can I replicate qtrees between different size filesystems?
dynamox
9 Legend
•
20.4K Posts
2
December 13th, 2012 03:00
Replicator would require identical source and target file system size. You could use server_archive with -J parameter which should preserve permissions ACLs to do the initial copy and then finish up with emcopy/robocopy for the incremental copy. You can also look at NDMPCopy, you can find a document on this forum that explains how to use.
SCOR-ZH
6 Posts
0
December 13th, 2012 04:00
Would this be the correct syntax?
server_archive server_2 -rw -J olddir1 newdir1
server_archive server_2 -rw -J olddir2 newdir2
server_archive server_2 -rw -J olddir2 newdir2
Any idea with which speed this would go? There are a LOT of files in there and on SATA disks...
SCOR-ZH
6 Posts
0
December 13th, 2012 04:00
Whether I run this as nasadmin or as root, it always tells me that the directory cannot be found.
I guess I need to tell this stupid box where the directories are EXACTLY ? But I always forget where they are mounted... I also expected this command to be msart enough to know that I want to copy filesystems used by the Celerra.
akhilgorla
15 Posts
0
August 21st, 2013 03:00
Hello,
We have similar issue .Actually we have a file-system of 6 TB and we need to migrate to 3 new file-systems of 2 TB each.
How we can achieve it.Above mentioned command to migrate the tree quota on the File-system.
Please direct me.
Many thanks
dynamox
9 Legend
•
20.4K Posts
0
August 21st, 2013 03:00
create new file systems, create tree quotas and then use server_archive to copy the data.
akhilgorla
15 Posts
0
August 22nd, 2013 06:00
Thanks for the mail.
Will Server_archive would work for migrating the FS01 of 6TB and it has 3 tree quotas of 2TB each to FS02,FS03 of 2TB each.
Tree quotas :
/FS01/Tree1
/FS01/Tree2
/FS01/Tree3
Command : server_archive server_2 -rw /FS01/Tree1 /FS02
server_archive server_2 -rw /FS01/Tree2 /FS03
server_archive server_2 -rw /FS01/Tree3 /FS04
Would this works.Please confirm
dynamox
9 Legend
•
20.4K Posts
0
August 22nd, 2013 06:00
do you need to maintain tree quotas on FS02, 03 and 04 ? If yes then you need to create tree quota directories first and then use server_archive, ie
server_archive server_2 -rw /FS01/Tree1 /FS02/Tree1
if you need to preserve Security ACLs (windows permissions), you need to add -J parameter. Try this process with a test file system so you feel comfortable.
akhilgorla
15 Posts
0
August 22nd, 2013 08:00
Really must appreciated.It's working.
My team mate raised a query like there is FS01 of 4TB and it doesn't have any tree quotas.Now customer wanted migrate to different file-systems FS2, FS3 of 2TB each as EMC recommended 2TB is Std NAS FS size.
We need to decide how to divide the 4TB into 2TB,2TB file-systems.May I know how we can proceed if File-system deosn't have tree quotas.
Thanks!
dynamox
9 Legend
•
20.4K Posts
0
August 22nd, 2013 08:00
if you don't need to track/limit directory utilization, then you don't need to worry about tree quotas. One thing to remember about tree quotas is that you cannot apply tree quota to an existing directory. So if you need to maintain tree quota requirements on target file systems ..you first must create tree quota directories and only then copy data into them. Otherwise simply copy data to new file systems.
akhilgorla
15 Posts
0
August 29th, 2013 02:00
Thank you very much for the info.