Unsolved
This post is more than 5 years old
3 Posts
0
1903
June 9th, 2008 07:00
Copying/Moving data between file systems
I'm looking for advice on the best method for transferring 1TB+ of data from one file system to another, being accessed via the same CIFS server on an NS40.
I have several 4TB file systems created and wish to move all data off of the last created file system so that I can free up the space for other purposes.
Can anyone advise of an internal method of transferring the data directly within vdm?
I have several 4TB file systems created and wish to move all data off of the last created file system so that I can free up the space for other purposes.
Can anyone advise of an internal method of transferring the data directly within vdm?
No Events found!


Rainer_EMC
6 Operator
•
8.6K Posts
0
June 9th, 2008 07:00
However I understand you want to copy on a per-file level (i.e. into a file system that already contains data)
You can use server_archive for that (the syntax is a bit awkward so make sure to read the man page twice
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
June 9th, 2008 15:00
Rainer_EMC
6 Operator
•
8.6K Posts
0
June 9th, 2008 20:00
Are you sure about that ?
I thought thats what the -J option is for ?
P.S.: I woulndt be a bad idea to file a Product Enhancement Request and ask for ndmpcopy to be supported ...
Message was edited by:
Rainer
John D Brannan
3 Posts
0
June 10th, 2008 02:00
Excuse my ignorance (I've just returned from the NAS Admin course last week) but wouldn't I need to mount the two file systems via the Control Station in order to use them as paths in the server_archive command?
As we have no need for NFS in our environment, this is currently disabled but I could enable this temporarily to export the two file systems for server_archive - or am I over-elaborating the solution?
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
June 10th, 2008 04:00
server_archive works at the datamover level, so when you run server_df server_2 ...or whatever, those are the mount points you will use for your commands. I have never tried but i assume you can specify sub directories under your root mount point, something like:
server_archive server_2 /HR/internal_audit /NewHR/Internal_audit
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
June 10th, 2008 04:00
Rainer_EMC
6 Operator
•
8.6K Posts
0
June 10th, 2008 08:00
yes, just use the full path that server_df or server_mount tells you.
To copy data do something like
server_archive server_2 -r -w -J /fs1/old /new_fs/new
Rainer_EMC
6 Operator
•
8.6K Posts
0
June 10th, 2008 08:00
Dont use the Control Station for data copying/migration - it has other important tasks to do and most external systems are better suited for NFS copy.
Rainer_EMC
6 Operator
•
8.6K Posts
0
June 10th, 2008 08:00
actually we are talking fs_archive here.
dont have to test - I have it on very good authority that it does work
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
June 10th, 2008 19:00
copy ..only when doing fs to tape copy
actually we are talking fs_archive here.
what's fs_archive ? undocumented utility ?
Rainer_EMC
6 Operator
•
8.6K Posts
0
June 10th, 2008 21:00
sorry I meant server_archive of course
you got me confused saying fs to fs copy and I was reading it quickly as "fs_copy"
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
June 11th, 2008 04:00
reading it quickly as "fs_copy"
hahah ..ok
JohnH4
32 Posts
0
June 25th, 2008 15:00
[Q2] Does anyone have a sterling example of a local fs_copy command ? i.e. do you reference say, server_2 ?
pmail also if you can please ...
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
June 25th, 2008 17:00
nas_fs -name fs_target -type rawfs -create samesize=fs_source pool=symm_std storage=000290100123
2) create mountpoint and mount target file system as read-only
server_mountpoint server_3 -create /target_filesystem
server_mount server_3 -option ro fs_target /target_filesystem
3) Create checkpiont of source file system
fs_ckpt fs_source -name fs_source_ckpt1 -Create
4) Copy checkpoint to target file system
fs_copy -start fs_source_ckpt1 fs_target
5) When fs_copy is finished you can delete checkpoint created in step 4
nas_fs -delete fs_source_ckpt1 -o umount=yes
6) Mount target file system read/write
server_mount server_3 -option rw fs_target /target_filesystem
Rainer_EMC
6 Operator
•
8.6K Posts
0
June 27th, 2008 08:00
Of course if your source file system has changed while you were doing the copy you could
create another checkpoint and then do an incremental fs_copy update
like this:
fs_ckpt fs_source -name fs_source_ckpt2 -Create
fs_copy -start fs_source_ckpt2 fs_target -fromfs fs_source_ckpt1
If you are using NFS exports for that file system you want to re-export them after you switched file systems
1 Attachment
fs_copy.pdf