Operating System - HP-UX
1748232 Members
3594 Online
108759 Solutions
New Discussion юеВ

Re: When_Good_Disks_Go Bad

 
SOLVED
Go to solution
Charles Holland
Trusted Contributor

When_Good_Disks_Go Bad

Basically I have a non mirrored disk in a not root volumn group that has crashed and need replaced. I was planning on following the process on page 27 and 28 for disk replacemtn within the document mentioned above.

# shutdown тАУh
#
#
I insert here vpcreate -f /dev/rdsk/c2t2d0
# vgcfgrestore тАУn vg01 /dev/rdsk/c2t2d0
# vgchange тАУa y vg01 27
# newfs [options] /dev/vg01/rlvol1
# mount /dev/vg01/lvol1 /app
#

The one I have on page 28 (above) says

newfs [options] /dev/vg01/rlvol1

but the example from man on newfs looks like

newfs /dev/rdsk/c1t0d2

aanyone have a current link to what was

http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf


points usually awarded quickly
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor
Solution

Re: When_Good_Disks_Go Bad

Hi Charles:

Yes, one has to love how the documentation has been made so difficult to find :-)

http://bizsupport.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf

Go to core HP-UX -> HP11i...LVM -> Search for "Bad"

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: When_Good_Disks_Go Bad

Charles,

I recently asked the same question:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1451355

I think you'll find an answer in there.

Good luck!


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: When_Good_Disks_Go Bad

HI (again) Charles:

As for the difference between:

# newfs [options] /dev/vg01/rlvol1

# newfs /dev/rdsk/c1t0d2

The first example performs a 'newfs' (file system creation) on a raw logical volume of an LVM volume group.

The second example builds a file system on a whole disk.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: When_Good_Disks_Go Bad

>>I insert here vpcreate -f /dev/rdsk/c2t2d0

Probably just a typo, but it should be 'pvcreate'.

You want to make the file system on whatever device you will mount. In your case, you definitely need to create it on the LV.

The example from the man page is assuming you are just going to be mounting a disk directly and not using the disk within LVM.
Charles Holland
Trusted Contributor

Re: When_Good_Disks_Go Bad

.
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein