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: 

FORMAT

 
SOLVED
Go to solution
oprakash
Frequent Advisor

FORMAT

Hi,

Can any one tell me how to format HP UX 11.00 operating system.
5 REPLIES
Suraj K Sankari
Honored Contributor

Re: FORMAT

Hi,

you want to format your OS?

pvcreate -f /dev/rdsk/cXtXdX
or
mediainit -v path

Suraj
Ganesan R
Honored Contributor

Re: FORMAT

Hi Oprakash,

Do you want to destroy the data on the disk?

# dd if=/dev/zero of=/dev/rdsk/c0t0d0 bs=1024k

mediainit is the tool to low level format the disk which takes long time.

Best wishes,

Ganesh.
Taifur
Respected Contributor

Re: FORMAT

HiOprakash,

For formatting HDD you can use

#pvcreate -f /dev/rdsk/cxtxdx

Chek the below link as follows,

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

http://docs.hp.com/en/5991-6552/index.html

If helps, pls assign point.

Rgds//
Taifur
R.K. #
Honored Contributor
Solution

Re: FORMAT

Hi Prakash,

Normally, we do NOT format a disk in Unix.
May be you no longer need the data in that disk/vg.

If this is the case, use:
# vgexport vg_name
and the Vg is gone for ever. Now the disks are free to be used again by making them a part of another vg and overwriting them.

Erase the header info in the disk by:
# pvcreate -f /dev/rdsk/cxtyd0

If you still need to format and erase every single block, use:
# dd if=/dev/zero of=/dev/rdsk/cxtyd0 bs=1024k

Hope this helps.
- R.K.
Don't fix what ain't broke
oprakash
Frequent Advisor

Re: FORMAT

Hi team,

Thanks a lot for your valuable information. I format the disk successfully.