1834246 Members
1987 Online
110066 Solutions
New Discussion

DUMP disk replacement

 
SOLVED
Go to solution
Prashant Zanwar_4
Respected Contributor

DUMP disk replacement

hi,
Situation, i want to replace a alerted dump disk..
- Do i do lvrmboot first on lvol
- vgreduce
- pvcreate
- lvlnboot

Is this ok?
thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: DUMP disk replacement

Shalom Prashant,

Is this dump disk all by itself, with nothing else on it?

pvdisplay -v /dev/dsk/c1t1do
# use a real c1... device

If it is truly alone

lvremove the logical volumes if you can.

then vgreduce
replace the disk
pvcreate
lvcreate
lvlnboot

Dump and swap sometimes do double duty.

Take it slow, and you may need to go to single user or lvm maintenance mode to do this.

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
Pete Randall
Outstanding Contributor

Re: DUMP disk replacement

Is there anything else on this disk? Your procedure looks basically correct though a little incomplete. The lvlnboot command requires you to specify the logical volume for the dump volume, so you'll need to add vgextend and lvcreate to your list.


Pete

Pete
Prashant Zanwar_4
Respected Contributor

Re: DUMP disk replacement

It is the only disk by itself and nothing else on it, neither it's mirrored..

1> lvrmboot
2> lvremove
3> vgreduce
4> pvcreate
5> vgextend
6>lvcreate
7> lvlnboot

This sounds good now..
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Devender Khatana
Honored Contributor

Re: DUMP disk replacement

Hi,

Yes these are the steps. But take caution of the arguments

With lvcreate

#lvcreate -n dump -L ??? -C y /dev/vgxx

With lvlnboot

#lvlnboot -d /dev/vgxx/lvol??

HTH,
Devender
Impossible itself mentions "I m possible"
Chan 007
Honored Contributor

Re: DUMP disk replacement

PZ,

No need to mirror Dump disk. As how it is just waste of space. Bcoz your system will never crash...:-)

Why to waste one disk for it. Just check with crashconf -v and see what is included in dump and allocate that with additional 10% for It.

007