- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2Gb. file limitation on 11.00 for non-root
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 04:43 AM
07-01-2004 04:43 AM
2Gb. file limitation on 11.00 for non-root
Root UID's can create files in excess of 2 GB.
I've reproduced this problem on other HP-UX 11.00 systems. The problem does not occur on HP-UX 11.11 systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 04:51 AM
07-01-2004 04:51 AM
Re: 2Gb. file limitation on 11.00 for non-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 04:52 AM
07-01-2004 04:52 AM
Re: 2Gb. file limitation on 11.00 for non-root
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 04:55 AM
07-01-2004 04:55 AM
Re: 2Gb. file limitation on 11.00 for non-root
On which FS, does the that FS supports large files?? It is mounted with large files options enabled? Check it with following command.
fsadm -F vxfs /dev/vgxx/lvolxx
If it does not support it, you can modify it as follows.
fsadm -o largefiles /dev/vgxx/lvolxx
(you can do it online if you have OnlineJFS installed, else you will have to unmount the FS.)
Also make sure you add largefiles option to that FS in /etc/fstab file.
If the FS is mounted with largefiles option, then check at ulimit limits. -f option of ulimit controls the file size that can be created. (size is in 512 blocks.) man sh-posix for that.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:03 AM
07-01-2004 05:03 AM
Re: 2Gb. file limitation on 11.00 for non-root
hostname = hp03
model = 9000/800/L2000-44
OS release level= B.11.00 (64-bit)
processor count = 2
CPU type = PA20
clock speed = 440 MHZ
memory = 5 GB
Using '/usr/sbin/fsadm' on the file system in question returns:
# fsadm /u01/sas
fsadm: /etc/default/fs is used for determining the file system type
nomultifsets
largefiles
Possibly relevant kernel parameters:
maxdsiz=1073741824
maxdsiz_64bit=2147483648
maxfiles=200
maxfiles_lim=1024
maxqueuetime=0
maxssiz=134217728
maxssiz_64bit=1073741824
maxtsiz=1073741824
maxtsiz_64bit=2147483648
As non-root user:
$ ulimit -H -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 200
"ulimit -S -a" is identical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:15 AM
07-01-2004 05:15 AM
Re: 2Gb. file limitation on 11.00 for non-root
One other thing that can cause this in hfs filesystem is min_free_percent (by default 10%). When the filesystem reaches this capacity, only root can add more blocks to file. It's possible that you are hitting this limit of big files and the process fails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:21 AM
07-01-2004 05:21 AM
Re: 2Gb. file limitation on 11.00 for non-root
My test script hack uses 'cat' to create larges files, and that just gives an error of "1", and a text message of:
cat: standard output: Value too large to be stored in data type
I've confirmed the "root" versus "non-root" difference, by running the SAS job as "root" - and it ran to completion without any errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:21 AM
07-01-2004 05:21 AM
Re: 2Gb. file limitation on 11.00 for non-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:29 AM
07-01-2004 05:29 AM
Re: 2Gb. file limitation on 11.00 for non-root
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg01/lvol1.3 25968640 13480980 12097798 53% 3963 1560957 0% /u01/sas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:33 AM
07-01-2004 05:33 AM
Re: 2Gb. file limitation on 11.00 for non-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:34 AM
07-01-2004 05:34 AM
Re: 2Gb. file limitation on 11.00 for non-root
If it is a shell script which kicks of the jobs that create files > 2 GB then ensure you set the ulimit value in the beginning of the script.
Also I understand there is a slight difference in the way how unlimited is handled between KSH and posix shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:44 AM
07-01-2004 05:44 AM
Re: 2Gb. file limitation on 11.00 for non-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:48 AM
07-01-2004 05:48 AM
Re: 2Gb. file limitation on 11.00 for non-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:51 AM
07-01-2004 05:51 AM
Re: 2Gb. file limitation on 11.00 for non-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 06:10 AM
07-01-2004 06:10 AM
Re: 2Gb. file limitation on 11.00 for non-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 06:35 AM
07-01-2004 06:35 AM
Re: 2Gb. file limitation on 11.00 for non-root
How about running the append command with tusc and get to the point which is causing the problem. Get tusc from porting center.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 07:13 AM
07-01-2004 07:13 AM
Re: 2Gb. file limitation on 11.00 for non-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 07:26 AM
07-01-2004 07:26 AM
Re: 2Gb. file limitation on 11.00 for non-root
If this were me, I would write a little bit of C that does a write() so that I could see exactly what is failing and whar errno is being set to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 07:26 AM
07-01-2004 07:26 AM
Re: 2Gb. file limitation on 11.00 for non-root
If this were me, I would write a little bit of C that does a write() so that I could see exactly what is failing and what errno is being set to.