This post is more than 5 years old
54 Posts
0
1218
August 13th, 2009 03:00
How to copy a file system on 5.6.45-5
Hi
We recently upgraded our NS702G to DART 5.6.45-5 which brought with it the dedupe functionality. Rather than blindly turning this on for all file systems I'd like to test the effects of it on NDMP backups on a test file system (FS098) first.
We have Replicator v2 and I understand the FS_COPY command has been replaced with NAS_COPY. I'd like to copy a checkpoint of an existing FS (FS002) to a new FS (FS098) on the same Celerra, but struggling with the command.
I have already created a target FS and mounted (FS098) with the following command:
nas_fs -name FS098 -type rawfs -create samesize=FS002 pool=clar_r5_performance
server_mountpoint server_2 -create /FS098
server_mount server_2 -option ro FS098 /FS098
and created a checkpoint for my source FS:
fs_ckpt FS002 -name FS002_ckpt1 -create
I tried the following command to copy from the ckpt to FS098 but it failed with an error:
nas_copy -name FS002_FS098 -source -ckpt FS002_ckpt1 -destination -fs FS098 -interconnect id=20001
rror 13160415302: The file system is not mounted.
Can someone point me in the right direction please?
Thanks
Message was edited by: TF
TF
We recently upgraded our NS702G to DART 5.6.45-5 which brought with it the dedupe functionality. Rather than blindly turning this on for all file systems I'd like to test the effects of it on NDMP backups on a test file system (FS098) first.
We have Replicator v2 and I understand the FS_COPY command has been replaced with NAS_COPY. I'd like to copy a checkpoint of an existing FS (FS002) to a new FS (FS098) on the same Celerra, but struggling with the command.
I have already created a target FS and mounted (FS098) with the following command:
nas_fs -name FS098 -type rawfs -create samesize=FS002 pool=clar_r5_performance
server_mountpoint server_2 -create /FS098
server_mount server_2 -option ro FS098 /FS098
and created a checkpoint for my source FS:
fs_ckpt FS002 -name FS002_ckpt1 -create
I tried the following command to copy from the ckpt to FS098 but it failed with an error:
nas_copy -name FS002_FS098 -source -ckpt FS002_ckpt1 -destination -fs FS098 -interconnect id=20001
rror 13160415302: The file system is not mounted.
Can someone point me in the right direction please?
Thanks
Message was edited by: TF
TF
No Events found!


Peter_EMC
674 Posts
0
August 13th, 2009 04:00
but, do not use a rawfs.
Or delete the destination FS and use the pool option, then the destination FS will be created, mounted ... by the nas_copy command itself
Peter_EMC
674 Posts
0
August 13th, 2009 03:00
fs_ckpt FS002 -name FS002_ckpt1 -create
-create does not create a checkpoint, the correct option is -Create
Peter_EMC
674 Posts
0
August 13th, 2009 04:00
But, nas_copy does no longer need a raw fs on the destination
"The destination file system or the storage pool required to create the destination
file system must exist. Destination file system must be the same size as the
source and is read-only accessible."
TF-9l6i4
54 Posts
0
August 13th, 2009 04:00
-name
-source
{ -fs { | id= } | -ckpt { | id= } }
Thought the vertical bar before -ckpt meant "OR".....
-fs { | id= } OR -ckpt { | id= }
Or am I interpreting it wrongly.
TF
Rainer_EMC
6 Operator
•
8.6K Posts
0
August 13th, 2009 04:00
here's your problem - dont use rawfs with RepV2
I bet if you do a server_mount server_2 | grep FS098 it will say unmounted
Thats why the nas_copy doesnt work
It even says so - I admit it could be nice and say which of the file systems isnt mounted.
Just umount and delete your FS098 and create it again without rawfs and it will work
Peter_EMC
674 Posts
0
August 13th, 2009 04:00
-destination -fs FS098 -interconnect id=20001
out of my understanding there is a missing -fs name between -sourece and -ckpt
TF-9l6i4
54 Posts
0
August 13th, 2009 04:00
nas_fs -l |grep FS002_ck
6038 y 7 0 683 FS002_ckpt1 v8
Peter_EMC
674 Posts
0
August 13th, 2009 04:00
TF-9l6i4
54 Posts
0
August 13th, 2009 05:00
Deleted the rawfs filesystem and recreated it as uxfs.
Now the nas_copy command appears to be working - well I have a flashing cursor which I guess means it's busy copying the 1TB FS.
For ref, here's my command:
nas_copy -name FS002_FS098 -source -ckpt FS002_ckpt1 -destination -fs FS098 -interconnect id=20001
Thanks Peter and Rainer for all your help.