ADSM-L

Re: [ADSM-L] ANS1395E tsm restore virtialnode on linux

2012-05-18 06:22:50
Subject: Re: [ADSM-L] ANS1395E tsm restore virtialnode on linux
From: Remco Post <r.post AT PLCS DOT NL>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 18 May 2012 12:13:28 +0200
Hi,

if the dest on the source is a filesystem, and a folder on the destination, 
then specification of the destination is required, failure to specify the dest 
leads to the ANS1395E message.

On 18 mei 2012, at 09:37, Erwann SIMON wrote:

> Hi,
> 
> I agree with Remco : the virtualnodename option must be used in command or 
> batch mode, not it inyteractive or loop mode.
> 
> Note that you'll probably want to protect the meta-character from shell 
> translation, so use double quotes for file specification : 
> dsmc rest "/u01/*" -virtualnode=node1 -pick -su=yes
> 
> (Destination specification should not be required as it is the same).
> 
> --
> Best regards / Cordialement / مع تحياتي
> Erwann SIMON
> 
> -----Original Message-----
> From: Remco Post <r.post AT PLCS DOT NL>
> Sender: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
> Date:         Thu, 17 May 2012 19:28:13 
> To: <ADSM-L AT VM.MARIST DOT EDU>
> Reply-To: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
> Subject: Re: [ADSM-L] ANS1395E tsm restore virtialnode on linux
> 
> dsmc rest /u01/*.* /u01 -virtualnode=node1 -pick -su=yes
> 
> and, really, do you mean *.*? I think you want *
> 
> On 17 mei 2012, at 16:23, Tim Brown wrote:
> 
>> Node1, damaged server, tsm files exist
>> 
>> Node2, new server
>> 
>> 
>> 
>> On Node2,  using ./dsmc -virtualnode=node1
>> 
>> Restore /u01/*.* -pick -su=yes
>> 
>> 
>> 
>> 
>> 
>> ANS1395E The destination filespace or drive letter is unavailable. The 
>> following object was not processed:
>> 
>> Filespace:'/u01'
>> 
>> 
>> 
>> 
>> 
>> If I execute on Node1 it works and I can see the files
>> 
>> 
>> 
>> If I use restore /var/*.*  -pick -su-yes on Node2 via -virtualnode it works. 
>> But /u01/ fails
>> 
>> 
>> 
>> From Node1 q fi
>> 
>> 
>> 
>> tsm> q fi
>> 
>> #     Last Incr Date      Type    File Space Name
>> 
>> ---     --------------      ----    ---------------
>> 
>> 1   05/16/2012 19:57:18   EXT3    /
>> 
>> 2   05/16/2012 19:57:18   EXT3    /boot
>> 
>> 3   05/16/2012 19:56:41   EXT3    /u01
>> 
>> tsm>
>> 
>> 
>> 
>> From Node2 via virtualnode
>> 
>> 
>> 
>> tsm> q fi
>> 
>> #     Last Incr Date      Type    File Space Name
>> 
>> ---     --------------      ----    ---------------
>> 
>> 1   00/00/0   00:00:00   EXT3    /
>> 
>> 2   00/00/0   00:00:00   EXT3    /boot
>> 
>> 3   00/00/0   00:00:00   EXT3    /u01
>> 
>> 
>> 
>> 
>> 
>> Thanks,
>> 
>> 
>> 
>> Tim Brown
>> Supervisor Computer Operations
>> 
>> Central Hudson Gas & Electric
>> 284 South Ave
>> Poughkeepsie, NY 12601
>> Email:  <mailto:tbrown AT cenhud DOT com> tbrown AT cenhud DOT com << 
>> <mailto:tbrown AT cenhud DOT com> mailto:tbrown AT cenhud DOT com>>
>> Phone: 845-486-5643
>> Fax: 845-486-5921
>> Cell: 845-235-4255
>> 
>> 
>> 
>> 
>> "This message contains confidential information and is only for the intended 
>> recipient. If the reader of this message is not the intended recipient, or 
>> an employee or agent responsible for delivering this message to the intended 
>> recipient, please notify the sender immediately by replying to this note and 
>> deleting all copies and attachments."
> 
> -- 
> Met vriendelijke groeten/Kind Regards,
> 
> Remco Post
> r.post AT plcs DOT nl
> +31 6 248 21 622

-- 
Met vriendelijke groeten/Kind Regards,

Remco Post
r.post AT plcs DOT nl
+31 6 248 21 622