Operating System - HP-UX
1833758 Members
2498 Online
110063 Solutions
New Discussion

mount a disk with bad sectors

 
SOLVED
Go to solution
Keith Schoenefeld
New Member

mount a disk with bad sectors

I am running HPUX 10.20 on an J210XC. One hard drive failed, and I know it has bad sectors, but I want to try and mount it to recover some data that didn't get transferred on the last backup. Last time I had a failure such as this, I was told a command by HP Support that would just set the FS_CLEAN flag on the disk and let me mount it. Unfortunately for me, I can't find my notes from that incident at all. Can anyone help me out with the command?
4 REPLIES 4
Andy Monks
Honored Contributor
Solution

Re: mount a disk with bad sectors

you haven't mentioned if it's hfs or vxfs (jfs). if it's hfs use mount -f. jfs requires fsdb
Keith Schoenefeld
New Member

Re: mount a disk with bad sectors

It is HFS, but here is what I get when I try mount -f:

# mount -f /dev/vg02/lvol10 /export/home2
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
#
Keith Schoenefeld
New Member

Re: mount a disk with bad sectors

nevermind, I specified -F hfs with the -f flag and it worked fine. My apologies.
Andy Monks
Honored Contributor

Re: mount a disk with bad sectors

Keith,

Do mount -F hfs -f /dev/.....