1834447 Members
2325 Online
110067 Solutions
New Discussion

hfs to vxfs

 
SOLVED
Go to solution
Peter Gillis
Super Advisor

hfs to vxfs

Hi there...
machine: d390 op sys: ux-11.00
I have an hfs system 3gig in size used for sybase database. DBA requires this filesys to take files larger than 2gig. Am I right in believing I will have to change this hfs to a vxfs filesystem and specify largefiles on the newfs command? We have basejfs installed - some filesystems are vxfs already. They are version 3 and appear to have all default settings for bsize, logsize etc. I hope to reuse the existing hfs filesystem space for this new vxfs filesys? Is there anything else I need to do with regards the kernel parameters or anything?

Any snippets of info greatly appreciated.
Thanks Maria.
5 REPLIES 5
Michael Tully
Honored Contributor

Re: hfs to vxfs

Hi,

You'll need to generate a new filesystem for this particular logical volume. You can't convert a hfs to vxfs filesystem. Have a look at this link for the filesystem sizing for various types.

You'll need to do this:

Backup existing filesystem, or create a new logical volume which can be copied if you have the space. Create the new filesystem with largefiles option. Mount the filsystem
Copy the information across using cpio
find . -depth -print | /bin/cpio -padlmuxv /newdir/data
unmount both filesystems.
Mount new logical volume on old mount point.
Of course you'll need to shutdown your database
whilst you do this.


http://www.docs.hp.com/hpux/onlinedocs/5971-2383/5971-2383.html
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor
Solution

Re: hfs to vxfs

YOu cannot convert the existing hfs file system to vxfs.

1.Backup the existing hfs volume.
2.Umount the file system
3.use
#newfs -F vxfs -o largefiles
Logical volume is the existing one which you are changing.
4.change the entries in the /etc/fstab file.

5.Mount the filesystem.

Thanks


Frank Slootweg
Honored Contributor

Re: hfs to vxfs

You do not *have* to change to VxFS in order to allow largefiles (files >2GB). HFS can also have largefiles and you can convert an existing HFS filesystem to large files. For details, see the fsadm_hfs(1M) manual page ("man fsadm_hfs"), especially the "-o largefiles" option.

Of course you *can* 'go to' VxFS if you *want* to, but you don't *have* to.

As others have mentioned, if you want to 'go to' VxFS, you will have to backup/restore, because you can not *convert* an existing HFS filesystem to VxFS 'in place'.
Peter Gillis
Super Advisor

Re: hfs to vxfs

Thanks heaps for your replies. all the info was of use and helped improve my understanding of it all too....bonus!
see ya.Maria
Sanjay_6
Honored Contributor

Re: hfs to vxfs

Hi Maria,

If you just want to change the largefiles options for the filesystem, you can do so for the "hfs" filesystems also. Try these links below for more help,

http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000047669207

http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000009872653

Hope this helps.

Regds