Operating System - HP-UX
1829635 Members
4122 Online
109992 Solutions
New Discussion

Re: Enable Large files on logical volume

 
kohli
Occasional Contributor

Enable Large files on logical volume

Hi all,

Can some one give me the command base procedure to enable large file to be save in an existing logical volume that cannot support file > 2 GB ?
Thanks in advance
6 REPLIES 6
T G Manikandan
Honored Contributor

Re: Enable Large files on logical volume

Pete Randall
Outstanding Contributor

Re: Enable Large files on logical volume

Start with "man fsadm". There are examples right in the man page.


Pete


Pete
Jeff Schussele
Honored Contributor

Re: Enable Large files on logical volume

Hi Kohli,

Command is

fsadm -o largefiles /mnt_point

Also make sure that it's entry in /etc/fstab does not contain nolargefiles

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

Re: Enable Large files on logical volume

Hi,

befor using the FSADM command. Read the man page of it. This should not affect the data on the file system. you can use sam to configure the mount options of the file system. But filesystem changes may harm the data. better keep the data backup. Generally this type of problems occur when you try to save oracle DBF files larger than 2GB in size.

Saurav
Stuart Abramson_2
Honored Contributor

Re: Enable Large files on logical volume

It's harmless and you can do it on the fly, listed above.

IN the future, create the file systems with large files capability:

newfs -F vxfs -o largefiles /dev/vgXX/rlvolNN
Steven E. Protter
Exalted Contributor

Re: Enable Large files on logical volume

You should be able to use fsadm on the fly.

But if my business critical data was at stake, I'd do the following:

1) shut down the database
2) take a cold backup
3) run fsadm
4) start the database.

Not because there is a logical reason to do so, just because I don't take chances.

Yeah, I know SEP is a coward. Oh well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com