1837297 Members
3186 Online
110115 Solutions
New Discussion

Large Files

 

Large Files

Hey Everybody,

i have a little problem using Files larger then 2Gigabyte. We use a vxfs File System and there was the option "nolargefiles" in the fstab. I deleted that option and remounted that volume.
Still there is a max file size of 2 gigabyte.

Any1 knows how to fix that without restarting the server?

Would be pleased about an answer

greetz
Peter Reuschlein
Wer meint gut zu sein hat es verpasst besser zu werden!
7 REPLIES 7
Thierry Poels_1
Honored Contributor

Re: Large Files

Hi,

you could add "largefiles" to your fstab :)

and/or use "fsadm -F vxfs -o largefiles ..."

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Michael Tully
Honored Contributor

Re: Large Files

If you can umount the filesystem you can make the changes without rebooting your server. If you have online JFS you can do this without even unmounting the FS

# umount /myfs
# fsadm -F vxfs -o largefiles /dev/myvg/mylvol
Change the entry in /etc/fstab to resemble largefiles option
# mount -a

To check to see if you have online JFS
# swlist -l product | grep -i online
If it reports nothing you don't have it.
Anyone for a Mutiny ?
Ravi_8
Honored Contributor

Re: Large Files

Hi,

just by editing fstab wouldn't work.

have backup of the filesyetm you wanted to convert into largefiles.
#fstyp /dev/vgxx/lvolxx
(will show you type of file system)
#fsadm -F vxfs -o largefiles /dev/vgxx/rlvolxx
will convert lvolxx in to largefile system.

never give up
G. Vrijhoeven
Honored Contributor

Re: Large Files

Hi Peter,

How about doing it online.

# fsadm -F vxfs -o largefiles /mountpoint
# mount -o remount,largefiles /mountpoint

and last but not least alter the fstab.

HTH,

Gideon

Re: Large Files

Hey every1 thx for the quick answers

vxfs fsadm: /dev/vg01/lvol17 is not the root inode of a vxfs file sytem

thats the error when i try to do that fsadmin thingy on the volume.

here the output of mount -v <-- perhaps that helps

hprp7410:/etc(root)$mount -v
/dev/vg00/lvol3 on / type vxfs log on Wed Dec 10 08:31:57 2003
/dev/vg00/lvol1 on /stand type hfs defaults on Wed Dec 10 08:31:59 2003
/dev/vg00/lvol8 on /var type vxfs delaylog,nodatainlog on Wed Dec 10 08:32:24 2003
/dev/vg00/lvol7 on /usr type vxfs delaylog,nodatainlog on Wed Dec 10 08:32:25 2003
/dev/vg00/lvol9 on /phoenix type vxfs delaylog,nodatainlog on Wed Dec 10 08:32:25 2003
/dev/vg00/lvol6 on /opt type vxfs delaylog,nodatainlog on Wed Dec 10 08:32:25 2003
/dev/vg00/lvol11 on /logs type vxfs delaylog,nodatainlog on Wed Dec 10 08:32:25 2003
/dev/vg00/lvol12 on /java type vxfs delaylog,nodatainlog,nolargefiles on Wed Dec 10 08:32:25 2003
/dev/vg00/lvol5 on /home type vxfs delaylog,nodatainlog on Wed Dec 10 08:32:25 2003
/dev/vg00/lvol15 on /dbbackup type vxfs delaylog,nodatainlog,nolargefiles on Wed Dec 10 08:32:25 2003
/dev/vg01/dbLOG on /dbLOG type vxfs delaylog,nodatainlog,nolargefiles on Wed Dec 10 08:32:25 2003
/dev/vg00/lvol13 on /db type vxfs delaylog,nodatainlog,nolargefiles on Wed Dec 10 08:32:25 2003
/dev/vg00/lvol14 on /data type vxfs delaylog,nodatainlog,nolargefiles on Wed Dec 10 08:32:25 2003
/dev/vg01/lvol16 on /tmp type vxfs delaylog,nodatainlog,nolargefiles on Thu Feb 5 12:43:10 2004
/dev/vg01/lvol17 on /xmlfiles type vxfs log,nodatainlog on Tue Mar 2 09:56:26 2004



.. think there is a [code][/code]function missing on this board ;)
Wer meint gut zu sein hat es verpasst besser zu werden!
Robert-Jan Goossens
Honored Contributor

Re: Large Files

Hi Peter,

So you do not have online jvs,

You will have to umount the filesystem and enable the largefiles option.

# umount /xmlfiles
# fsadm -F vxfs -o largefiles /dev/vg01/rvol17
# mount /xmlfiles

Regards,
Robert-Jan
Robert-Jan Goossens
Honored Contributor

Re: Large Files

forgot to add check the output from fsadm after you enable largefiles,

# fsadm -F vxfs /xmlfiles
nomultifsets
largefiles

Robert-Jan