Operating System - HP-UX
1833589 Members
5019 Online
110061 Solutions
New Discussion

Re: Adding disk, 10.2 - want hfs; says VxFS

 
SOLVED
Go to solution
Rob_132
Regular Advisor

Adding disk, 10.2 - want hfs; says VxFS

I have a disk (the history of which I do not know) that I want to mount onto my root disk on HPUX 10.2.

Through SAM ok:

(select disk) - Add - NOT using logical volume manager - remove check on
"create file system" - mount now and at boot......

In the SAM "Disks and File Systems" window, it says "VxFS" for type (journaled, I believe) - I want it to be hfs.
Disk mounts OK at that time, but does not mount on reboot.

After boot, mount -a says "mount: is not an hfs file system".
I CAN re-mount via SAM, info is still there, but what do I have to do to
make it appear to UX as hfs so it will automatically mount on boot?

(yes I can mount -F vxfs...but that's not what I want)

Interestingly, /etc/fstab states it IS hfs, but mount seems to feel that (whatever) writes fstab lied....see above where SAM states it is VxFS....
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: Adding disk, 10.2 - want hfs; says VxFS

Hi,

After it mounted as vxfs, did you see it's contents?. If so, this was not a hfs filesystem.

The reason why it didn't mount during the boot time was because of the invalid argument of "hfs" in /etc/fstab corresponding to it's entry. Look at /etc/rc.log for the error message.

If it is a vxfs filesystem, then modify /etc/fstab from hfs to vxfs.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Adding disk, 10.2 - want hfs; says VxFS

Well if it does mount vxfs - because there is a vxfs filesystem on it - then you can want it to mount hfs till the cows come home but it ain't gonna do it.

Your only option is to run newfs -F hfs to create a new hfs filesystem.


The system will have absolutely no trouble mounting a vxfs filesystem automatically; the only restriction is that /stand must be hfs. The remaining filesystems, including /, can be anytrhing you like.
If it ain't broke, I can fix that.
Helen French
Honored Contributor

Re: Adding disk, 10.2 - want hfs; says VxFS

What file system did you choose when you created file system in it - HFS or VxFS? If you want to create it as HFS, then select that option in SAM ( you will get different options when you scroll down). Once selected, SAM will put the proper value in /etc/fstab inorder to mount it properly during boot time.

Make sure that you have given correct FS name and gave the same in fstab file.
Life is a promise, fulfill it!
Rob_132
Regular Advisor

Re: Adding disk, 10.2 - want hfs; says VxFS

Thanks all!

Clay got it, and I'm on my way....

Thanks again!
Jeff Schussele
Honored Contributor

Re: Adding disk, 10.2 - want hfs; says VxFS

Hi,

If the filesystem structure on that disk is vxfs, then the only way you can mount it IS vxfs.
IF you must have it as hfs, then mount it vxfs, back it up with fbackup, rebuild the LVM structure on it & create a new hfs FS on it. Then just frecover the data back to it.
FWIW, vxfs is a far superior FS than hfs for many reasons. SO unless it's absolutely mandatory that it be hfs, I'd leave it alone.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!