1823198 Members
3846 Online
109648 Solutions
New Discussion юеВ

Creating large files

 
Donald Osbourne
Occasional Advisor

Creating large files

An error in creating a large file was encountered while using a BMC tool to unload a large Oracle table to a vxfs file-system on a HP/UX 9000, 11.0 system. The process failed when the file size reached 2.0GB.

(BMCUDO182314E Maximum size has been reached for all data files)

Since my vxfs file-system was created with the largefiles option should the file size be limited to a 2.0 GB maximum?

Will the fsadm command with the largefile option correct this problem?

Thanks
Don
8 REPLIES 8
Justo Exposito
Esteemed Contributor

Re: Creating large files

Hi Donald,

I have files with more than 2Gb width in Oracle , Vxfs and HP/US 11.0.

It's look like a Oracle problem.

Regards,

Justo.
Help is a Beatiful word
Ian Dennison_1
Honored Contributor

Re: Creating large files

Error Code BMC[9999999] sounds like an application error. Is there a configuration file parameter that needs to be bumped up a little?

Share and Enjoy! Ian
Building a dumber user
S.K. Chan
Honored Contributor

Re: Creating large files

With largefile enabled you can go up to 128GB size for a single file. Double check your LV to make sure it's largefiles enabled.

# fsadm -F vxfs /dev/vgXX/lvolX

* got to umount the FS first (unless you got ONlineJFS)
A. Clay Stephenson
Acclaimed Contributor

Re: Creating large files

It is possible that although the filesystem was created with the -o largefiles option but has since been overriden with an fsadm command. It's easy to check:
fsadm -F vxfs /myfilesys will display the largefiles setting. It is also possible the it was mounted with nolargefiles to override the default of the filesystem. However, I doubt that this is your problem because I have seen this very problem before. The trick is to dump to a named pipe.

mknod /tmp/mypipe p
cat < /tmp/mypipe > myoutputfile &
Now direct your export to the named pipe and when finished the data will be in 'myoutputfile'.
If it ain't broke, I can fix that.
nancy rippey
Trusted Contributor

Re: Creating large files

I would try using fsadm to create large files. Be sure to use the vsfs fsadm. It won't hurt anything to try to option.
nrip
Sanjay_6
Honored Contributor

Re: Creating large files

Hi Donald,

check and make sure your filesystem has been created with the largefiles option. Also make sure the filesystem is mounted with largefiles option. Do fsadm /lv_name to check if the filesystem has largefils enabled. Also check your /etc/fstab to see if the largefiles option is added to the filesystem mount options.

Hope this helps.

Regds
Kenny Chau
Trusted Contributor

Re: Creating large files

Hi,

I am not sure that can solve the problem.

Try to check the ulimit by typing "ulimit -a" to see the results. Or go to this link for more information:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb47750011d20d6118ff40090279cd0f9,00.html

If still can't solve the problem, this may be the Oracle setting problem.

Hope this helps.
Kenny.
Kenny
Denver Osborn
Honored Contributor

Re: Creating large files

Have you tried creating a sparse file? The following command will make a 4gb sparse file, if it doesn't fail then the filesystem is ok. If it fails, correct the filesystem so it handles large files;

dd if=/stand/vmunix of=/mount/sparse_file bs=1024k seek=4000

If you're able to create the sparse file w/out errors; possibly look towards the app to resolve this one.

Hope this helps
-denver