Unsolved

This post is more than 5 years old

35 Posts

878

May 8th, 2008 09:00

Flush the Source Drive of a Clone

I have a script to clone a drive but I need a way to flush the source drive, in order to get all the data. Now I could always wait like 5-10 minutes for the flush to happen on its own but I would like to flush it manually. The script runs on the host that contains the Cloned drive because I have to issue commands to detach the drive letter to start the clonning process. Any thoughts?

Thanks,

Mike

2.2K Posts

May 8th, 2008 09:00

From the host with the source drive to be cloned you can use admsnap.

Example:

admsnap flush -o E:

This will cause the host to all outstanding i/o to disk for the E: drive.

35 Posts

May 8th, 2008 10:00

yeah but I would have to set up some kind of timing for it, as in setup script on the source host that at some specific time force the flush. I was hoping for a command that could be issued from the Host that contains the CLONE drives that would tell the source to perfrom a flush. Thoughts?

Mike

2.2K Posts

May 8th, 2008 11:00

The cloning operation does not need to be run from the mount host, only the mount operation. And the clone will need to be dismounted to resync the clone anyway. You could run the clone operation on the source host and the mount operation on the mount host.

6 Operator

 • 

5.7K Posts

May 9th, 2008 00:00

Script a few commands ! Put them in a cronjob or windows scheduler and you're good to go.

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

May 10th, 2008 08:00

take a look at psexec ..google it ;)

6 Operator

 • 

5.7K Posts

May 13th, 2008 00:00

COOL ! It's just like "plink", but the other way around ;)

plink is for remote command lines on linux
psexec is for remote command lines on windows

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

May 13th, 2008 06:00

yep, just like plink ..i use plink with xming to bring up dtterm from my unix boxes, love that little utility.
No Events found!

Top