1834447 Members
2013 Online
110067 Solutions
New Discussion

Re: convert hfs to vxfs

 
bhoopathi_1
Frequent Advisor

convert hfs to vxfs

Can anyone tell me how do I convert a root volume "vg00" from hfs to vxfs..

Thanx.
8 REPLIES 8
Stefan Farrelly
Honored Contributor

Re: convert hfs to vxfs


There is no easy way to do this. Best method is to use ignite's make_recovery tool to make a tape backup of vg00, reboot from the tape and reinstall vg00 and select vxfs as the filesystem type (except for /stand)
Im from Palmerston North, New Zealand, but somehow ended up in London...
Vincenzo Restuccia
Honored Contributor

Re: convert hfs to vxfs

There's no tool to convert an HFS partition to a VxFS partition.
The only way is to :
- backup the filesystem

either
- run mkfs or newfs with option -F vxfs
or delete and recreate the partition if you want to resize it

- restore the filesystem
- change the entry in /etc/default/fs from HFS to VxFS (for new
filesystems to be created)

There is a command for converting VxFS version 2 to 3 (vxupgrade)

Vincenzo Restuccia
Honored Contributor

Re: convert hfs to vxfs

Hi again,in HPUX 11i:
vxfsconvert(1M) will convert an HFS file system to a JFS file system.
boley janowski
Trusted Contributor

Re: convert hfs to vxfs

im curious,

i thought that the /vg00 had to hfs do to the code. something about not being able to load the kernal with at boot up if the /vg00 was vxfs, does the 11i version fix this codeing problem? it would be great if you could use /vg00 as a vxfs for disk management purposes, but that wouldn't do you any good if you can boot the box from the /vg00 disk. If anyone has specifics on this fix to the O/S, please give a link to the doc, or some details.
Thanks all,
Rob Smith
Respected Contributor

Re: convert hfs to vxfs

Hi, /stand has to be hfs because PDC does not understand/work with vxfs file systems. Hope this helps.

Rob

Learn the rules so you can break them properly.
James R. Ferguson
Acclaimed Contributor

Re: convert hfs to vxfs

Hi:

With regard to Boley's question, 'vxfsconvert' cannot be run on /stand nor on whole-disk bootable file systems.

/stand is the only filesystem that must be hfs. The other filesystems (/, /opt, /usr, /var, /tmp, /home) can be vxfs ones.

...JRF...
boley janowski
Trusted Contributor

Re: convert hfs to vxfs

thats right, i remember now, there for a minute, i thought i was absent that day, but as it turns out it was discussed after lunch, so i was only mapping ;)

thanks all!!

Points for everyone
boley janowski
Trusted Contributor

Re: convert hfs to vxfs

"N" Napping, sorry