This post is more than 5 years old
16 Posts
0
1312
August 23rd, 2011 00:00
query regarding fs migration
Hi Friends,
Anyone have experience in data migration from ns120 to physical windows server.
we are planing to migrate one fs from ns120 to physical.
we used lgdup,emcopy & sharedup utility but we have error while executing this commands
If you have idea pls share.
these are the steps we followed
SHAREDUP 02.01
Copyright (C) 2008, All Rights Reserved,
by EMC Corporation, Hopkinton MA.
Source server:CNFS-SH013 5.0 EMC-SNAS:T5.6.48.7
Target server:CNFS-SH006 5.2
Getting local group(s) from \\CNFS-SH013...
Getting local group(s) from \\CNFS-SH006...
---
Sun Aug 21 00:51:16 2011
Creating share "\\CNFS-SH006\CNFS-SH013_GrpData"
to export directory "C:\fs013_GGW\GrpData"...
Unable to add the share on target server
NetShareAdd: Error=0x00000003: The system cannot find the path specified.
-> Share "\\CNFS-SH006\CNFS-SH013_GrpData" not duplicated
---
bergec
275 Posts
0
August 23rd, 2011 02:00
Look at the following thread on the forum, it might help https://community.emc.com/message/559791#559791
There are other examples on the forum on modifying the file produced by /FO
The letter you specify on the command line is the “C:” drive of the Celerra
The letter which is in the file produced by /FO corresponds to the pathname on the target (could be D: for example on your Windows server)
Make sure you use Wordpad to edit the file and make sure also not to remove the last blank line (see https://community.emc.com/message/537443#537443)
Claude
bergec
275 Posts
0
August 23rd, 2011 00:00
For SHAREDUP to work, the target directory must exist (here fs013_GGW\GrpData)
You can also use the /FO and /FI options of SHAREDUP in order to remap the source and target directories to be shared (have a look at the Using EMC Utilities documentation)
Claude
stgadmin_a37833
16 Posts
0
August 23rd, 2011 01:00
hi claude
thanks for your response.I have checked the emc utilities document.they explain abt migrating from server to celerra.
here the direction of migration is from ns120 to physical server.
i tried /FO option but it is looking for drive letter on ns120
can i map the share as drive on windows and try this command?
sharedup
stgadmin_a37833
16 Posts
0
August 23rd, 2011 02:00
claude,
thanks again for your response.i have used this command to create output file
sharedup \\cnfs-sh013 \\cnfs-sh006 C: /FO:sharetar.txt
here is the file content
#
#SHAREDUP FILE
@Revision:1
@Source:CNFS-SH013
@Target:CNFS-SH006
#
# Please leave the above lines intact, SHAREDUP checks them.
#
# File format:
# A comment line must begin with the character '#'.
#
# A share info is stored in one line and must begin with the character ':'.
# The ';' character is used as a field separator for the formated line below:
# : ; ; ;[target_comment]
# Note: the target_pathname field includes the drive letter.
# Please leave intact the source_share_name field.
#
# Maximun lengths of fields:
# - : 80
# - : 80
# - : 1026
# - : 255
#
# This file is in UNICODE format.
#
#
@Drive:C
:GrpData;GrpData;C:\fs013_GGW\GrpData;
:CNWABJ$;CNWABJ$;C:\fs013_GGW\Home\CNWABJ;
:CNJIHA$;CNJIHA$;C:\fs013_GGW\Home\CNJIHA;
:CNLila$;CNLila$;C:\fs013_GGW\Home\CNLila;
:cnluje$;cnluje$;C:\fs013_GGW\Home\cnluje;
:cnjinm$;cnjinm$;C:\fs013_GGW\Home\cnjinm;
:CNLINU$;CNLINU$;C:\fs013_GGW\Home\CNLINU;
I can import this to D drive from celerra if i change the drive C to D in the output file and use it as input
sharedup \\cnfs-sh013 \\cnfs-sh006 C: /FI:sharetar.txt
I need to have directory fs013_ggw under D: drive right?
thanks for your help.
bergec
275 Posts
0
August 23rd, 2011 03:00
Yes, you need that directory on the destination or change the pathname in the file
For example from C:\fs013_GGW\Home\CNJIHA to D:\Home\CNJIHA should work as long as D:\Home\CNJIHA already exists on the destination
Claude
stgadmin_a37833
16 Posts
0
August 23rd, 2011 23:00
Hi Claude,
Still i have issue. I am testing with one share in input file
D:\home\CNWABJ >> this folder already exist in d drive
my file content below
#
#SHAREDUP FILE
@Revision:1
@Source:CNFS-SH013
@Target:CNFS-SH006
#
# Please leave the above lines intact, SHAREDUP checks them.
#
# File format:
# A comment line must begin with the character '#'.
#
# A share info is stored in one line and must begin with the character ':'.
# The ';' character is used as a field separator for the formated line below:
# : ; ; ;[target_comment]
# Note: the target_pathname field includes the drive letter.
# Please leave intact the source_share_name field.
#
# Maximun lengths of fields:
# - : 80
# - : 80
# - : 1026
# - : 255
#
# This file is in UNICODE format.
#
#
@Drive:D
:CNWABJ$;CNWABJ$;D:\fs013_GGW\Home\CNWABJ;
If i execute the command i get below error
C:\DM for RBS\SHARE copy\sharedup>sharedup \\cnfs-sh013 \\cnfs-sh006 C: /FI:testshare.txt /sd
SHAREDUP 02.01
Copyright (C) 2008, All Rights Reserved,
by EMC Corporation, Hopkinton MA.
Source server:CNFS-SH013 5.0 EMC-SNAS:T5.6.48.7
Target server:CNFS-SH006 5.2
The testshare.txt file is not an UNICODE file.
Error (0): The operation completed successfully.
Error while checking file testshare.txt, abort share duplication.
*****************************************************************************
SHAREDUP source:CNFS-SH013 target:CNFS-SH006
Error while reading file testshare.txt, sharedup aborted.
Summary results:
Elapsed time: hours: 00, mins: 00, secs: 00
No share found on drive C: of server CNFS-SH013.
Any idea?
Thanks
bergec
275 Posts
0
August 24th, 2011 00:00
I see 2 problems:
Target path still references fs013_GGW (does this directory exists on D drive)?
Also, Sharedup now complains that the file is not in Unicode format, did you used Wordpad to edit it?
Claude
stgadmin_a37833
16 Posts
0
August 24th, 2011 00:00
HI Claude,
Thanks for your update.you are right..I have edited the file with wordpad.
i have modified the path and tried ..
it worked now..
C:\DM for RBS\SHARE copy\sharedup>sharedup \\cnfs-sh013 \\cnfs-sh006 c: /FI:allshare.txt /SD
SHAREDUP 02.01
Copyright (C) 2008, All Rights Reserved,
by EMC Corporation, Hopkinton MA.
Source server:CNFS-SH013 5.0 EMC-SNAS:T5.6.48.7
Target server:CNFS-SH006 5.2
Getting local group(s) from \\CNFS-SH013...
Getting local group(s) from \\CNFS-SH006...
---
Wed Aug 24 15:10:13 2011
Creating share "\\CNFS-SH006\CNWABJ$"
to export directory "D:\Home\CNWABJ"...
-> OK
*****************************************************************************
SHAREDUP source:CNFS-SH013 target:CNFS-SH006
Summary results:
Elapsed time: hours: 00, mins: 00, secs: 01
Number of share(s) successfully duplicated from file allshare.txt: 1
*****************************************************************************
Thanks again for your help.