HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- limit datasize problem
Operating System - HP-UX
1834146
Members
3736
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-01-2001 03:38 PM
11-01-2001 03:38 PM
limit datasize problem
We are having a problem setting the datasize limit to 3GB which is required by one of our applications. We are running HP-UX 11.00 on an HP J9000/785 system with 4GB RAM and have installed the most current QPK1100_11.00, XSWGR1100_11.00, and XSWHWCR1100_11.00 patch bundles. These patches enable me to set the maxdsiz kernel parameter above the 1.9GB limitation to 3221225472 (0XC0000000) which it is.
When we first login (using tcsh), the limit command shows the datasize set to unlimited. If we execute the command limit datasize 2047M, it runs fine and sets the datasize limit to 2096128 kbytes. Any number higher than 2047M just returns the error "limit: No such limit."
Does anyone know hot to set the datasize limit to 3GB?
When we first login (using tcsh), the limit command shows the datasize set to unlimited. If we execute the command limit datasize 2047M, it runs fine and sets the datasize limit to 2096128 kbytes. Any number higher than 2047M just returns the error "limit: No such limit."
Does anyone know hot to set the datasize limit to 3GB?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 09:07 PM
11-01-2001 09:07 PM
Re: limit datasize problem
If the filesystem has not be created with the largfiles option AND has not been mounted with the largefiles option, you can't create any files larger than 2 Gb. You can use fsadm to modify the filesystem while it is running. Then add the option to fstab.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 09:57 PM
11-01-2001 09:57 PM
Re: limit datasize problem
Hi,
You need to umount the lvol (logical volume) and run the command
against the character device file of the lvol:
fsadm -F vxfs -o largefiles /dev/vgXX/rlvolXX.
Success can be verified with fsadm -F vxfs /dev/vgXX/rlvolXX.
If an application is going to be creating files greater than
2 GB, it must be compiled with _FILE_OFFSET_BITS=64 or
rewritten with the 64 Bit API. Refer to
/usr/share/doc/lg_files.txt for more information.
Best of Luck
Animesh
You need to umount the lvol (logical volume) and run the command
against the character device file of the lvol:
fsadm -F vxfs -o largefiles /dev/vgXX/rlvolXX.
Success can be verified with fsadm -F vxfs /dev/vgXX/rlvolXX.
If an application is going to be creating files greater than
2 GB, it must be compiled with _FILE_OFFSET_BITS=64 or
rewritten with the 64 Bit API. Refer to
/usr/share/doc/lg_files.txt for more information.
Best of Luck
Animesh
Did you take a backup?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP