Problem umounting mounted vm

joluinfante

ADSM.ORG Member
Joined
Sep 28, 2015
Messages
22
Reaction score
0
Points
0
Hi!
I need to automatize mount, copy and umount of vm disks.
I did use:
vmcli -f restore -t TSM --vmrestoretype mount -I myconfig1 -d RM -o DRS_MP_WIN
In myconfig1 file I have:
backupid:nnn vmname:vm1 vmostype:LINUX mountpoint:/tsmmount/ mounttag:tsm_file_level exportfs:no

I have, in the proxy machine, the volume mounted int /tsmmount/tsm_file_level/vm1/...

Now, I need to umount it.
I did use:
vmcli -f restore -t TSM --vmrestoretype mountcleanup -I myconfig2 -d RM -o DRS_MP_WIN
In myconfig2 file I have:
vmname:vm1 mountid:1

And, I receive the message:
ANS3125E The local data for file-level restore mount with the id:1 and virtual machine name 'vm1' cannot be found!

Where is the command to extract the mountid?
I did use:
dsmc q vm vm1 -vmrestoretype=mount -asnodename=rm
And, I'm receiving a line starting with "1" value (but, I'm thinking this is the line number in the report).

Can you help me?

Thanks a lot
 
Back
Top