1846340 Members
3396 Online
110256 Solutions
New Discussion

Re: Format package

 
SOLVED
Go to solution
Allan T. Parreno
Occasional Contributor

Format package

hello,

Where I could get a format package in HP-UX. I dont have a format command cause i need to fix one of the partition in my HP box. the fsck could not correct the partion.

thanks
4 REPLIES 4
Sukant Naik
Trusted Contributor

Re: Format package

Hi,

For formatting a disk, we use pvcreate command in HP-UX.

And we have create logical volumes which can be formatted using command called newfs and makefs.

Read the man pages and please be careful while using this commands as they are destructive.

-Sukant
Who dares he wins
Justo Exposito
Esteemed Contributor

Re: Format package

Hi Allan,
What do you want to do?
Do you want to make a disk partition?

Regards,

Justo.
Help is a Beatiful word
Allan T. Parreno
Occasional Contributor

Re: Format package

hello Justo,

I want to fix the damage partition using format command, the fsck cant fix the said error.
The error said File System not properly shutdown beginning filesystem repair /dev/vg00/rvol1: 18 files, 0 icont, 1605 used, 220712 free (8 frags, 27588 blocks) cannot read 56872 unexpected inconsistency run fsck manual

When I run fsck manually still I get error in /dev/vg00/rvol1 cannot read 56872, I think only format can repair this error but sadly the my HP box dont have a format command, unless you guys have a good suggestion on how to repair the said error.

Thank you once again and More power

Respectfully

Allan
melvyn burnard
Honored Contributor
Solution

Re: Format package

"The error said File System not properly shutdown beginning filesystem repair /dev/vg00/rvol1: 18 files, 0 icont, 1605 used, 220712 free (8 frags, 27588 blocks) cannot read 56872 unexpected inconsistency run fsck manually"

Well, to fix a corrupt file system you would run newfs to recreate it, and recover from backups. In this instance, the file system is /stand, and you may have to bite the bullet and re-install, or even have the root disk replaced if after testsing it shows hard errors.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!