Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251495

Re: Copy-DatastoreItem vmdk

$
0
0

thanks for making light in the dark........

The PowerCLI view is much more revealing than the vsphere client browse datastore view.....

 

get-childItem from the source:

LastWriteTime           Type       Length Name       -------------           ----       ------ ----
28.10.2012     02:01    VmNvramFile         8684 vmname.nvram
15.03.2012     19:45     VmDiskFile          619 vmname.vmdk
03.12.2012     23:00           File          721 vmname.vmsd
04.12.2012     23:00   VmConfigFile         3456 vmname.vmx
11.10.2012     13:48           File         1575 vmname.vmxf
25.01.2011     12:45     VmDiskFile          623 vmname_2.vmdk
04.12.2012     23:00     VmDiskFile          271 vmname_2-000001.vmdk
04.12.2012     23:00           File       618496 vmname_2-000001-delta.vmdk
04.12.2012     23:00           File 322134865920 vmname_2-flat.vmdk
19.06.2012     23:00     VmDiskFile          623 vmname_3.vmdk
04.12.2012     23:00     VmDiskFile          326 vmname_3-000001.vmdk
04.12.2012     23:00           File     16945152 vmname_3-000001-delta.vmdk
04.12.2012     23:00           File  85921274880 vmname_3-flat.vmdk
04.12.2012     23:00     VmDiskFile          322 vmname-000001.vmdk
04.12.2012     23:00           File     33681408 vmname-000001-delta.vmdk
04.12.2012     23:00           File          134 vmname-aux.xml
04.10.2012     15:16           File           37 vmname-c5ff54d9.hlog
02.11.2011     12:30           File  17171480576 vmname-c5ff54d9.vswp
04.12.2012     23:00           File  64436843520 vmname-flat.vmdk
04.12.2012     23:00 VmSnapshotFile        30231 vmname-Snapshot20333.vmsn
04.12.2012     23:00           File        30309 vmname-vss_manifests20333.zip
17.10.2012     23:00      VmLogFile      1324054 vmware.log
28.10.2011     02:46      VmLogFile      1300309 vmware-14.log
03.11.2011     00:47      VmLogFile      1358505 vmware-15.log
28.02.2012     09:15      VmLogFile        85607 vmware-16.log
28.02.2012     23:45      VmLogFile      1365373 vmware-17.log
30.04.2012     23:01      VmLogFile      1329495 vmware-18.log
06.06.2012     23:01      VmLogFile      1338154 vmware-19.log

 

that's why the vmname_2.vmdk also only 0.61 kb

 

for my plan is the right command:

 

Copy-DatastoreItem -Item dssource:\VMNAME\VMNAME_*.* -Destination dsdestination:\VMNAMESHADOW\COPY_HDD\

Viewing all articles
Browse latest Browse all 251495

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>