1834736 Members
3038 Online
110070 Solutions
New Discussion

Re: drd starting over

 
art moore_2
Occasional Advisor

drd starting over

hello,
i created a clone to have a quick backup with no problems ... then i needed the disk onto which i wrote the clone for another server so i removed it.

i tried to clone again to another SAN disk but it looks like you can have only one clone ?

i tried swremove-ing drd and installing the latest version A.3.2.1962 but can't seem to get back to a clean situation.

is there an easy way ?

thanks,
Art
9 REPLIES 9
Steven Schweda
Honored Contributor

Re: drd starting over

If this "drd" is the HP-UX "Dynamic Root
Disk" "DRD", which would also agree with the
reference to "swremove", then you would seem
to have posted a barely decipherable request
in the wrong forum. You might get better
answers sooner in an HP-UX forum than you
will in this Tru64 Forum. When you get
there, you might consider including some
potentially useful information, like the OS
version, the hardware involved, the actual
commands you used, and the actual output from
those commands.

> [...] but it looks like [...]

It may look that way to you, but no one else
can see what you did, so it's tough for a
non-psychic to guess what your problem might
be, based on practically no evidence.
melvyn burnard
Honored Contributor

Re: drd starting over

how about telling us what symptom/errors you got when you tried to create the clone?
It is not sufficient to say:
i tried to clone again to another SAN disk but it looks like you can have only one clone ?

One thing to check is what is in /etc/lvmtab:
strings /etc/lvmtab

If it shows a /dev/drd00 then try this:

# lvrmboot -s drd00
# lvremove -f /dev/drd00/lvol2
# lvrmboot -d lvol3 /dev/drd00
# lvremove -f /dev/drd00/lvol3
# lvrmboot -r drd00
# lvremove -f /dev/drd00/lvol4
and repeat for all other lvols in /dev/drd00
then
# vgremove drd00


You should now be ok
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
art moore_2
Occasional Advisor

Re: drd starting over

sorry i had posted somehow to the wrong area.
i had rewritten and tried to repost the question as :

im runnning hpux 11iv2 on a rx2660.

in order to create a quick backup i had created a "drd clone -t /dev/dsk/c1txdx" using an internal disk ... no problems

then i needed the disk onto which i wrote the clone for another server so umounted the clone and later removed the disk.

i tried to clone again to another SAN disk but it looks like you can have only one clone ?
(although i'd seen the words "most recent drd clone command" in the man pages)

command "drd clone -v -t /dev/dsk/c4t1d6"
the drd clone command remains hung (no output )as though it is looking for the original clone info on the missing disk? nothing is written to the drd.log file.


i tried swremove-ing drd and installing the latest version A.3.2.1962 but can't seem to get back to a clean situation from which i can create a new clone.

there is no entry in /etc/lvmtab for drd

thanks

melvyn burnard
Honored Contributor

Re: drd starting over

Try using the option to overwrite, I think it is -x overwrite=true
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!

Re: drd starting over

Art,

There's probably an easier way (possibly involving messing around with the files in /var/opt/drd/registry ), but as a guess I'd try this:

i) Uninstall DRD again...
ii) remove the directory structures /var/opt/drd and /etc/opt/drd
iii) Re-install DRD again.

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: drd starting over

Actually you might want to just try:

mv /var/opt/drd/registry/registry.xml /var/opt/drd/registry/registry.xml.old

Before going through a whole reinstallation process.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
art moore_2
Occasional Advisor

Re: drd starting over

thanks,
i swremoved drd
removed the two directory structures
swinstalled drd

launched "drd clone -v -p -t /dev/dsk/c4t1d6

output so far :
##########################################
begin clone system image preview banner ...

* reading current system information
##########################################

"ps -ef | grep drd" shows:
original command
5 listeners
and dd_scan_hw_host

all running but not apparently consuming cpu time ...

is it normal that "reading current sys info"
can take a while with no output ?

Art
art moore_2
Occasional Advisor

Re: drd starting over

thanks for all the suggestions ...

there is a problem with the ioscan that drd does ... if a disk has been removed from teh server since the creation of the clone the scan hangs ...

i did later use the suggestion to remove the registry.xml file ... which allowed a redo of drd clone after having swapped out a disk.

thanks,
Art
art moore_2
Occasional Advisor

Re: drd starting over

closed thread ...