One of our files has a space in the qtree name and I'm struggling to execute an NDMPCOPY command on it. I have tried put double quotes & single quotes around the qtree name and the full path and a backslash in front of the space, but no difference, see below for an example;
ndmpcopy -sa root:oldsys mis-netapp1:"/vol/vol1/education practice" "/vol/vol1/education practice" Ndmpcopy: Starting copy [ 17 ] ... Ndmpcopy: mis-netapp1: Notify: Connection established Ndmpcopy: fas3050: Notify: Connection established Ndmpcopy: mis-netapp1: Connect: Authentication successful Ndmpcopy: fas3050: Connect: Authentication successful Ndmpcopy: Failed to start dump on source Ndmpcopy: Done
Sláinte,
David
"Build a man a fire he'll be warm for a day, set a man on fire and he'll be warm for the rest of his life" - Terry Pratchett
Checkout my photos - http://www.panoramio.com/user/1113507
you might want to try the backslash escaped space...
or put the quotes like this:
ndmpcopy -sa root:oldsys "mis-netapp1:/vol/vol1/education practice" "/vol/vol1/education practice"
--tmac Tim McCarthy Principal Consultant
RedHat Certified Engineer 804006984323821 (RHEL4) 805007643429572 (RHEL5)
On Tue, Apr 27, 2010 at 4:23 PM, David McWilliams davidkmcw@gmail.com wrote:
One of our files has a space in the qtree name and I'm struggling to execute an NDMPCOPY command on it. I have tried put double quotes & single quotes around the qtree name and the full path and a backslash in front of the space, but no difference, see below for an example;
ndmpcopy -sa root:oldsys mis-netapp1:"/vol/vol1/education practice" "/vol/vol1/education practice" Ndmpcopy: Starting copy [ 17 ] ... Ndmpcopy: mis-netapp1: Notify: Connection established Ndmpcopy: fas3050: Notify: Connection established Ndmpcopy: mis-netapp1: Connect: Authentication successful Ndmpcopy: fas3050: Connect: Authentication successful Ndmpcopy: Failed to start dump on source Ndmpcopy: Done
Sláinte,
David
"Build a man a fire he'll be warm for a day, set a man on fire and he'll be warm for the rest of his life" - Terry Pratchett
Checkout my photos - http://www.panoramio.com/user/1113507
Hello
If I enclose the whole filer name in quotes then it works for me on DOT 7.3.2, as you can see below. Can you try this and let us know if it provides any improvement?
cheers Kenneth
dbmsim> qtree create "/vol/vol2/education practice" dbmsim> qtree qtree: This command is deprecated; using qtree status. Volume Tree Style Oplocks Status -------- -------- ----- -------- --------- vol0 ntfs enabled normal vol1 ntfs enabled normal vol1 qt ntfs enabled normal vol2 ntfs enabled normal vol2 education practice ntfs enabled normal vol3 ntfs enabled normal dbmsim> ndmpcopy -sa root "dbmsim:/vol/vol2/education practice" "/vol/vol3/education practice" Ndmpcopy: Starting copy [ 1 ] ... Ndmpcopy: dbmsim: Notify: Connection established Ndmpcopy: dbmsim: Notify: Connection established Ndmpcopy: dbmsim: Connect: Authentication successful Ndmpcopy: dbmsim: Connect: Authentication successful Ndmpcopy: dbmsim: Log: DUMP: creating "/vol/vol2/../snapshot_for_backup.0" snapshot. Ndmpcopy: dbmsim: Log: DUMP: Using Full Quota Tree Dump Ndmpcopy: dbmsim: Log: DUMP: Date of this level 0 dump: Tue Apr 27 22:41:07 2010. Ndmpcopy: dbmsim: Log: DUMP: Date of last level 0 dump: the epoch. Ndmpcopy: dbmsim: Log: DUMP: Dumping /vol/vol2/education practice to NDMP connection Ndmpcopy: dbmsim: Log: DUMP: mapping (Pass I)[regular files] Ndmpcopy: dbmsim: Log: DUMP: mapping (Pass II)[directories] Ndmpcopy: dbmsim: Log: DUMP: estimated 4 KB. Ndmpcopy: dbmsim: Log: DUMP: dumping (Pass III) [directories] Ndmpcopy: dbmsim: Log: DUMP: dumping (Pass IV) [regular files] Ndmpcopy: dbmsim: Log: DUMP: dumping (Pass V) [ACLs] Ndmpcopy: dbmsim: Log: RESTORE: Tue Apr 27 22:41:13 2010: Begin level 0 restore Ndmpcopy: dbmsim: Log: RESTORE: Tue Apr 27 22:41:13 2010: Reading directories from the backup Ndmpcopy: dbmsim: Log: RESTORE: Tue Apr 27 22:41:14 2010: Creating files and directories. Ndmpcopy: dbmsim: Log: RESTORE: Tue Apr 27 22:41:14 2010: Writing data to files. Ndmpcopy: dbmsim: Log: RESTORE: RESTORE IS DONE Ndmpcopy: dbmsim: Log: RESTORE: The destination path is /vol/vol3/education practice/ Ndmpcopy: dbmsim: Log: DUMP: 18 KB Ndmpcopy: dbmsim: Log: DUMP: DUMP IS DONE Ndmpcopy: dbmsim: Log: DUMP: Deleting "/vol/vol2/../snapshot_for_backup.0" snapshot. Ndmpcopy: dbmsim: Notify: restore successful Ndmpcopy: dbmsim: Notify: dump successful Ndmpcopy: Transfer successful [ 16 seconds ] Ndmpcopy: Done dbmsim> qtree qtree: This command is deprecated; using qtree status. Volume Tree Style Oplocks Status -------- -------- ----- -------- --------- vol0 ntfs enabled normal vol1 ntfs enabled normal vol1 qt ntfs enabled normal vol2 ntfs enabled normal vol2 education practice ntfs enabled normal vol3 ntfs enabled normal vol3 education practice ntfs enabled normal dbmsim> ________________________________
Date: Tue, 27 Apr 2010 16:23:01 -0400 Subject: NDMPCOPY question From: davidkmcw@gmail.com To: toasters@mathworks.com
One of our files has a space in the qtree name and I'm struggling to execute an NDMPCOPY command on it. I have tried put double quotes & single quotes around the qtree name and the full path and a backslash in front of the space, but no difference, see below for an example;
ndmpcopy -sa root:oldsys mis-netapp1:"/vol/vol1/education practice" "/vol/vol1/education practice" Ndmpcopy: Starting copy [ 17 ] ... Ndmpcopy: mis-netapp1: Notify: Connection established Ndmpcopy: fas3050: Notify: Connection established Ndmpcopy: mis-netapp1: Connect: Authentication successful Ndmpcopy: fas3050: Connect: Authentication successful Ndmpcopy: Failed to start dump on source Ndmpcopy: Done
Sláinte,
David
"Build a man a fire he'll be warm for a day, set a man on fire and he'll be warm for the rest of his life" - Terry Pratchett
Checkout my photos - http://www.panoramio.com/user/1113507
_________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop