HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

disk questoin

 
navin
Super Advisor

disk questoin

i have an ia server - needs disk replacement.the new disk needs to be formatted ?
thanks
Learning ...
6 REPLIES
Andrew Rutter
Honored Contributor

Re: disk questoin

hi,

we dont format disks as such in hpux. If the disk was previously used in another system and needs preparing we use pvcreate -f command

#pvcreate -f /dev/rdsk/cxtxdx

see the man pages

http://www.docs.hp.com/en/B2355-90692/pvcreate.1M.html

Andy
navin
Super Advisor

Re: disk questoin

do the sas disk need to be partitioned?
Learning ...
Andrew Rutter
Honored Contributor

Re: disk questoin

hi,

only if its a root disk, then it will need partitioning with idisk commands.

see this excellent doc for replacing disks

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

Andy
Robert-Jan Goossens
Honored Contributor

Re: disk questoin

Navin,

Have a look at this doc.

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

Regards,
Robert-Jan
Johnson Punniyalingam
Honored Contributor

Re: disk questoin

have an ia server - needs disk replacement.the new disk needs to be formatted ?

NO NEED,

pvcreate -f /dev/rdsk/cxtxdx

You can follow
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
(Reason for posting the link , above link very solid and explains all you question and gives idea ,.prior you perform the activity

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
sujit kumar singh
Honored Contributor

Re: disk questoin

Hi
pvcreate on a disk is enough so as to make that usable as a new disk to be put in a VG and start using with the LVM. This craetes the ncecessary LVM Structures in the LVM information area so that the LVM metadata can be kept in there.

For a low-level foramt of the disk "mediainit" command was used, but now the use of this command is not reqd at all and not at all suggested.
the New disks that come are themselves factory initialised, just put them in , do a pvcreate (or vgcfgrestore as in reqd in case yiy are replacing the disk) and start using with the LVM.


regards
sujit