Operating System - HP-UX
1834408 Members
1590 Online
110067 Solutions
New Discussion

switch from nolargefiles to largefiles

 
SOLVED
Go to solution
Roberto Martinez_6
Frequent Advisor

switch from nolargefiles to largefiles

Hi,
Is there a way to alter a filesystem created with "nolargefiles" so it becomes "largefiles" aware? (without erasing contents or re-creating the fs)?

TIA
It wasn't me
13 REPLIES 13
Vicente Sanchez_3
Respected Contributor

Re: switch from nolargefiles to largefiles

Hi Roberto,

fsadm -o largefiles /dev/vgxx/lvolxx

Regards, Vicente.
Thomas Schler_1
Trusted Contributor

Re: switch from nolargefiles to largefiles

Roberto:

I think, there's no other way than re-creating a
filesystem that handles large files. (HP-UX 11.00)
no users -- no problems
T G Manikandan
Honored Contributor
Solution

Re: switch from nolargefiles to largefiles

#usr/sbin/fsadm -F vxfs -o largefiles /dev/vgxx/rlvolx

use the character device--rvol

then mount the filesystem
#/usr/sbin/mount -F vxfs -o largefiles /xxx



Also make sure that you update the /etc/fstab


Thanks
Thomas Schler_1
Trusted Contributor

Re: switch from nolargefiles to largefiles

Vicente:

Thank you! It is always good, writing "I think ..." than saying something for sure ...
no users -- no problems
Balaji N
Honored Contributor

Re: switch from nolargefiles to largefiles

use fsadm. man fsadm for more details.
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Robert-Jan Goossens
Honored Contributor

Re: switch from nolargefiles to largefiles

Roberto Martinez_6
Frequent Advisor

Re: switch from nolargefiles to largefiles

Hi,
with this config:

/dev/vgb2/lvol3 /mountdir vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2

, fsadm -o largefiles /dev/vgb2/lvol3 yields:
vxfs fsadm: /dev/vgb2/lvol3 is not the root inode of a vxfs file system.

?!?!

I've tried with the rlvol device, it works silently but when trying to mount, got:
vxfs mount: mount option(s) incompatible with file system /dev/vgb2/lvol3
...
It wasn't me
John Poff
Honored Contributor

Re: switch from nolargefiles to largefiles

Hi,

If your 'fsadm' command worked with no complaints using the rlvol3 device, then it was successful. You'll just need to modify your /etc/fstab entry so that it says 'largefiles'.

JP
Roberto Martinez_6
Frequent Advisor

Re: switch from nolargefiles to largefiles

Exact. thanx all.
It wasn't me
Robert-Jan Goossens
Honored Contributor

Re: switch from nolargefiles to largefiles

Hi,

Use
# /usr/sbin/fsadm -F vxfs -o largefiles /filesystem_name

or

# umount /filesystem
#/usr/sbin/fsadm -F vxfs -o largefiles /dev/vg00/rlvol9
# mount /filesystem

Hope it helps,

Robert-Jan.
T G Manikandan
Honored Contributor

Re: switch from nolargefiles to largefiles

Do you have Online JFS installed on the server.

#swlist -l |grep -i onlinejfs
If not then you will need to
umount the file system and then

run fsadm against the raw volume and then mount it.

Thanks
T G Manikandan
Honored Contributor

Re: switch from nolargefiles to largefiles

Do you have Online JFS installed on the server.
#swlist |grep -i onlinejfs
If not then you will need to
umount the file system and then

run fsadm against the raw volume and then mount it.

Thanks
T G Manikandan
Honored Contributor

Re: switch from nolargefiles to largefiles