Operating System - HP-UX
1753797 Members
7320 Online
108805 Solutions
New Discussion юеВ

Re: User cannot create file over 25G ?

 
SOLVED
Go to solution
Jerry_109
Super Advisor

User cannot create file over 25G ?

HP-UX B.11.11 U 9000/800 :

Hello All,

I have user that cannot create a file over 25G on the following lv or there any limitations I can change ? :

# bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg01/dbarchive
102432768 27878136 73972336 27% /dbarchive

######################################
root@hohp112:

# fstyp -v /dev/vg01/dbarchive
vxfs
version: 4
f_bsize: 8192
f_frsize: 8192
f_blocks: 12804096
f_bfree: 9319329
f_bavail: 9319329
f_files: 800
f_ffree: 2139030368
f_favail: 2139030368
f_fsid: 1073807369
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 7
f_size: 12804096

#################################


20 REPLIES 20
Patrick Wallek
Honored Contributor
Solution

Re: User cannot create file over 25G ?

How is the user trying to create the file? What tools/utilities are in use? What error does the user receive?
NMory
Respected Contributor

Re: User cannot create file over 25G ?

Limitation is 2GB file size...I am not mistaken.

NM
Steven E. Protter
Exalted Contributor

Re: User cannot create file over 25G ?

Shalom,

If largefiles is enabled the limit after 2 GB is 128 TB.

If I'm not mistaken.

25 GB is not significant.

Check for quotas, its possible to impose them in HP-UX and if not that limitations of the tool the user is using.

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
Steven E. Protter
Exalted Contributor

Re: User cannot create file over 25G ?

Forgot something Jerry.

Check kmtune/kctune output.

There may be a kernel limitation coming to play.

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
Jerry_109
Super Advisor

Re: User cannot create file over 25G ?

How do you check if largefiles are enabled ?
NMory
Respected Contributor

Re: User cannot create file over 25G ?

#fsadm -F vxfs /

NM
NMory
Respected Contributor

Re: User cannot create file over 25G ?

To rutn it on:

/usr/sbin/fsadm -F vxfs -o largefiles /dev/vg0#/rlvol#

NM
Marco A.
Esteemed Contributor

Re: User cannot create file over 25G ?

In order to create large files (> 4G) on HP-UX system, a HFS file system must be enabled to contain large files. That can be accomplished by the following steps:

Unmount the volume.

/usr/sbin/umount

ex: /usr/sbin/umount /newdisk

Configure it to contain large files.

fsadm -F hfs -o largefiles

ex: fsadm -F hfs -o largefiles /dev/vg00/lvol1

Mount it back to be able to create large files.

/usr/sbin/mount -F hfs -o largefiles

ex: /usr/sbin/mount -F hfs -o largefiles /dev/vg00/lvol1 /newdisk

Hope this helps,

MArc0
Just unplug and plug in again ....
NMory
Respected Contributor

Re: User cannot create file over 25G ?

Another way

#fstyp -v /dev/vg0#/lvol#

f_flag: 16 = largefiles
f_flag: 0 = no_largefiles

NM