Recovery Shell execution error

 
KN_1
New Member

Recovery Shell execution error

I have HP-UX 10.20 sever.
I want to clear bootable disk data in the way "dd" command.
To use Recovery Shell, I tried to use CD Media "10.20 Hardware Extensions 2.0 1997".
but, "chroot_lvmdisk" command is not succeed.

Please, help me.
Please, detail log refer to attachment file.

Sorry, my english is not enough.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Recovery Shell execution error

Shalom KN,

Your English is better than mine. Or at least more lucid.

It would appear that either your root disk is not working or your media is bad.

I would suggest trying different media and then getting the hardware checked.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stefan Stechemesser
Honored Contributor

Re: Recovery Shell execution error

Hi,

you do not need to run the chroot_lvmdisk command.

try:

loadfile ioscan dd
ioscan -fnkC disk

#then choose the correct disk (identify it by the hardware path ! The devicefile may be different in the recovery shell !!!)

To write zeros the disk:

mknod /dev/zero c 3 4
dd if=/dev/zero of=/dev/rdsk/cxtyd0 bs=1024k &

(I would do it in the background, because the dd may hang on a bad disk).

best regards

Stefan
KN_1
New Member

Re: Recovery Shell execution error

Hi,there..
Thank you for replying.

This disk is normal root disk, because it can start boot.

I use another release Media "10.20 Hardware Extensions 3.0 1999", it succeeded.

Why I don't need to run the chroot_lvmdisk command?
I think if I run the chroot_lvmdisk command, I can't mount "/(ROOT)" of root disk to on the memory.
In that case, I think I can't run the dd command for root disk.

Thank you for your consideration.
Stefan Stechemesser
Honored Contributor

Re: Recovery Shell execution error

Hi,

my procedure was to erase the entire disk. If you want to erase single files on the disk, then you have to import the volume group and then check & mount the filesystems.
This will indeed be automatically done by the chroot_lvmdisk script.

Stefan
KN_1
New Member

Re: Recovery Shell execution error

Hi, stefan.
Thank you for replying.

I understand your procedure.

Sorry..
The following my sentence is a mistake.
---------------------------------
I think if I run the chroot_lvmdisk command, I can't mount "/(ROOT)" of root disk to on the memory.
In that case, I think I can't run the dd command for root disk.
---------------------------------

I modify
---------------------------------
I think if I do not run the chroot_lvmdisk command, I can't mount "/(ROOT)" of root disk to on the memory.
In that case, I think I can't run the dd command for root disk.
---------------------------------

How is this?