Operating System - HP-UX
1830899 Members
2633 Online
110017 Solutions
New Discussion

Re: Converting HFS root filesystems to VXFS

 
SOLVED
Go to solution
BOUR
Occasional Advisor

Converting HFS root filesystems to VXFS

Due to a mistake, all Filesytems of the root volume group have been created in HFS (HPUX 11.00). How can I, without an Ignite tape, convert this FS in VXFS ?
Fred
7 REPLIES 7
Bruce Regittko_1
Esteemed Contributor
Solution

Re: Converting HFS root filesystems to VXFS

Hi,

Basically, you can't, short of backing up the data and using newfs to recreate the filesystem and then recovering the data. There is no "hfs -> vxfs" command.

--Bruce
www.stratech.com/training
BOUR
Occasional Advisor

Re: Converting HFS root filesystems to VXFS

Thank you for the quick answer. I have though that fsadm could perhaps do this convert, but if there is'nt any command, I will create new FS and then use the Ignite tape to recover the data......
Fred
CHRIS_ANORUO
Honored Contributor

Re: Converting HFS root filesystems to VXFS

Hi BOUR,

There is no tool that I know of to convert directly, but what I have done in the past is using the steps outlined:

1. Backup all the data from the filesystems involved
2. Copy /etc/fstab to /etc/fstab.old, change hfs to vxfs in /etc/fstab file
3. Reboot the system to single user mode (thereby unmounting the filesystems)
4. Run newfs -F vxfs /dev/vg00/rlvoln
5. Run fsck -F vxfs /dev/vg00/lvoln
6. mount /dev/vg00/lvoln
7. fstyp /dev/vg00/lvoln (TO confirm tat the filesystem is now vxfs)
8. Restore from backup
9. Reboot the system

This will help. Happy New Year!
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
BOUR
Occasional Advisor

Re: Converting HFS root filesystems to VXFS

Thank you and happy new year too !!
Fred
Rob Mallard
Valued Contributor

Re: Converting HFS root filesystems to VXFS

There is only one way to convert the root file system from hfs to vxfs without a cold install. You will need to install Ignite-ux and use the make_recovery utility to make an image of the system on to tape. Then boot of the system from the tape and interupt the unattended recovery (you will prompted for ten seconds to interupt) You then be able to use a Install Screen tue interface to can system characterists, like FS type.

Re-post if you need more info
Bruce Regittko_1
Esteemed Contributor

Re: Converting HFS root filesystems to VXFS

Hi,

As Rob says, you can create a bootable tape with make_recovery. If you use the -i option, it will always present you with the interactive menus and you won't miss the 10 second window.

--Bruce
www.stratech.com/training
Rob Mallard
Valued Contributor

Re: Converting HFS root filesystems to VXFS

Good point Bruce.

The problem with the -i option is it is not available on the older version of Ignite that is on the 11.00 CD. The newer version is available free for download at

http://www.software.hp.com/products/IUX/index.html