Operating System - HP-UX
1833689 Members
3866 Online
110062 Solutions
New Discussion

Re: Convert fs nolargefiles to largefiles

 
SOLVED
Go to solution
castro_2
Regular Advisor

Convert fs nolargefiles to largefiles

I need to convert a FS vxfs to larfiles, I have Online JFS.
fsadm -F vxfs -o largefiles /dev/vg01/ora03
vxfs fsadm: /dev/vg01/ora03 is not the root inode of a vxfs file sytem.
Thanks

10 REPLIES 10
Robert-Jan Goossens
Honored Contributor

Re: Convert fs nolargefiles to largefiles

Hi,

fsadm -F vxfs -o largefiles /dev/vg01/rora03

note r in rora03

Regards,
Robert-Jan
Elmar P. Kolkman
Honored Contributor
Solution

Re: Convert fs nolargefiles to largefiles

You need to specify the mountpoint when using fsadm on vxfs filesystems instead of the device/lvol...
Every problem has at least one solution. Only some solutions are harder to find.
Mark Grant
Honored Contributor

Re: Convert fs nolargefiles to largefiles

Are you sure that is the name of your logical volume?

Though, having never used this command, it might be that you need to use the raw device and as you use the actual mount point when using fsadm to increase the filesytem, maybe you should try that.

Your syntax, however, is correct
Never preceed any demonstration with anything more predictive than "watch this"
Geoff Wild
Honored Contributor

Re: Convert fs nolargefiles to largefiles

Actually - do it on the filesystem mount:

fsadm -F vxfs -o largefiles /yourmount

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Fabio Ettore
Honored Contributor

Re: Convert fs nolargefiles to largefiles

Hi,

you should use raw device file, no block device file, then try:

# fsadm -F vxfs -o largefiles /dev/vg01/rora03

Best regards,
Ettore
WISH? IMPROVEMENT!
Helen French
Honored Contributor

Re: Convert fs nolargefiles to largefiles

Specify the mount point instead of the logical volume:

# fsadm -F vxfs -o largefiles /mount_point
Life is a promise, fulfill it!
Jeff Schussele
Honored Contributor

Re: Convert fs nolargefiles to largefiles

Geoff's correct - has to be on the mount point

fsadm -o largefiles /mnt_point

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

Re: Convert fs nolargefiles to largefiles

hi,

Do

fsadm -o largefiles /mount_point

Hope this helps.

Regds
Elena Leontieva
Esteemed Contributor

Re: Convert fs nolargefiles to largefiles

Do not forget to edit /etc/fstab when you are done.

Elena.

Re: Convert fs nolargefiles to largefiles

#umount /ora03
#fsadm -F vxfs -o largefiles /dev/vg01/rora03 (note : rora03 and not ora03)
edit /etc/fstab
#mount /ora03
#fstyp /dev/vg01/rora03

#ulimit [make sure all are ok ]
[prealloc 21000 can be used to test file size - see man pages]

Good Luck
- Raju Joseph