1826388 Members
4324 Online
109692 Solutions
New Discussion

file too large

 
SOLVED
Go to solution
Amerley Doku
Occasional Contributor

file too large

Please we are running HPUX 11i. We backup some directories using OMNIBACK II. We are trying to restore these directories on Test server. We are experiencing this error:
[27] file too large not restored
We realised that some of the files are not being restored. We tried it 3X and still the same error.
Please could someone help us resolve this problem

Regards
AD
6 REPLIES 6
Mike Shilladay
Esteemed Contributor

Re: file too large

Hi,

It sounds as though you a trying to restore a file to either:

a) A filesystem that is not large enough to accomodate the file.

or

b) You have not made the filesystem accept largefiles. ( more than 2GB ).

Mike.
Anshumali
Esteemed Contributor
Solution

Re: file too large

Enabling Largefiles:
Check if you have online jfs installed:
# swlist -l product | grep -i online
fsadm -o largefiles /dev//r


To enable an existing file system without OnlineJFS you could do this:

umount /
fsadm -o largefiles /dev//r

Mount it back up........then to double check run and it should say "largefiles"

fsadm /dev//r

You may be out of space as well as mentioned.....
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
V. Nyga
Honored Contributor

Re: file too large

Hi,

seems like your test server doesn't have largefiles enabled.

Check with:
'fstyp -v /dev/vg00/lvol |grep -i f_flag'

If f_flag: 0 -> max 2 GB
if f_flag: 16 -> max 8 GB

You can set it with:
'fsadm -F vxfs (or hfs) -o largefiles /dev/vg00/lvol

See also:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1056373

Also you have to update /etc/fstab , see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=940718

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Hasan  Atasoy
Honored Contributor

Re: file too large

hi ;

look at target fs by "fsadm /mountpoint". it shows largefiles if largefiles supported.
if it is not supported than
fsadm -o largefiles /dev/vgname/lvname will convert fs to largefiles support.

Hasan.

Wouter Jagers
Honored Contributor

Re: file too large

Hiya,

Is this file >2GB ? In that case you're probably facing option (b) from above.

To check whether your filesystem supports largfiles, issue the command 'fsadm -F vxfs ' and check for 'largefiles' in the output.

If it's not there, there are two possibilities:
1) you have onlineJFS: enable largefiles support with 'fsadm -F vxfs -o largefiles '
2) you don't have onlineJFS: recreate the filesystem with the largefiles option. (maybe you can also unmount and run the command from (1), but I'm not sure about that)

Now the filesystem should support largefiles.

To check whether it has been mounted with largefiles support:

Issue the 'mount' command without any options. Check the mount options of the filesystem in question for 'largefiles'.

If not there, re-mount the filesystem with the largefiles option (-o largefiles) or add largefiles to the options in fstab.

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
Amerley Doku
Occasional Contributor

Re: file too large

I realised that the directory has 'nolargefiles' enabled. With the inputs from colleagues I figured how to enable 'largefiles'

BR