1826414 Members
4082 Online
109692 Solutions
New Discussion

Error mounting HFS disk

 
Bob Hoyle
Advisor

Error mounting HFS disk

Hi,

I've got an HFS disk that was mounted on a 10.20 system that I am trying to mount on a 11.i system. When I try to mount it using "sam" I get the following two errors:

mount: illegal file system specific option delaylog
mount: illegal file system specific option detainlog

I can mount the drive manually using "mount". So I can live with that but my problem is that I now want to mount the drive on boot up. What are the lines I need to put in my "fstab" file (not sure this the the correct one) to be able to have the file mount on bootup?

-- Bob
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Error mounting HFS disk

delaylog,nodatainlog are vxfs mount options. You need to specify -F hfs when you do the mount. You should be able to mimic the /stand /etc/fstab entry - likely the only other hfs entry on your box. Of course, you will need to use the appropriate device and mountpoint. I would also change the final '1' to '2' for this new entry.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: Error mounting HFS disk

Are you sure the fs isn't a vxfs fs?

If you built it with commands and not sam, you'll need a proper entry in the /etc/fstab file if you wanted moutned every time you start the box.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: Error mounting HFS disk

Hi Bob,

As explained by Clay, those two options are for Vxfs filesystems.

If you want to verify if your fstab works during the boot, do the following.

Add the entry

/dev/vgxx/lvolx /mount_point hfs defaults 0 2

#umount /mount_point (if you already mounted it)
#mount -a
#bdf /mount_point

If /mount_point is a mounted filesystem now, then it will get mounted without any issues during the boot.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
James R. Ferguson
Acclaimed Contributor

Re: Error mounting HFS disk

Hi Bob:

In addition to the fact that 'delaylog' and 'detainlog' are options specific to VxFS filesystems, you need an OnlineJFS license to utilize 'delaylog'.

Regards!

...JRF...
Paula J Frazer-Campbell
Honored Contributor

Re: Error mounting HFS disk

Bob

You got the correct answers - please assign points to these people who gave up their own time to assist you.


;^)


Paula
If you can spell SysAdmin then you is one - anon
melvyn burnard
Honored Contributor

Re: Error mounting HFS disk

One way to do it is to do the manual mount that works for you, then issue the mount command, grepping for the file system, and appeand it to hte fstab file, e.g.:

mount -p |grep myfilesys >> /etc/fstab
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!