- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Max file size in HP-UX
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
09-28-2007 01:30 AM
09-28-2007 01:30 AM
I've set up a new HP server rx2660 with HP-UX 11i v2.
I am faced with a problem of creating file above 2 GB size.
"ulimit -a" shows the following parameteres:
core file size (blocks, -c) 2097151
data seg size (kbytes, -d) 1048576
file size (blocks, -f) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 2048
pipe size (512 bytes, -p) 16
stack size (kbytes, -s) 131072
cpu time (seconds, -t) unlimited
max user processes (-u) 3688
virtual memory (kbytes, -v) unlimited
...Netheless I cannot create files above 2gb size.
How can i turn on the ability to create file more size?
Thank you very much!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 01:36 AM
09-28-2007 01:36 AM
Re: Max file size in HP-UX
# fsadm /app
fsadm: /etc/default/fs is used for determining the file system type
nolargefiles
Change it:
fsadm -o largefiles /dev/vgXX/lvolXX
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 01:37 AM
09-28-2007 01:37 AM
SolutionExample:
/dev/vg01/lvol2 /var/adm/crash vxfs rw,largefiles,delaylog,datainlog 0 2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 01:37 AM
09-28-2007 01:37 AM
Re: Max file size in HP-UX
your filesystem is not configured for 'largefiles'.
You can test it with:
# fstyp -v /dev/vgxx/lvolx |grep -i f_flag
insert your configuration for the x's
f_flag = 0 -> max 2 GB
f_flag = 16 -> max 8 GB
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 01:57 AM
09-28-2007 01:57 AM
Re: Max file size in HP-UX
BTW, as a way to make posts relevant to the answers here, it would be great if points are assigned - that way when others search the forums and find your questions - they can usually judge that the answers with higher points solved your question.
From your profile at the moment:
I have assigned points to 0 of 29 responses to my questions.
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=BR773780&listType=unassigned&forumId=1
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Thanks...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 02:05 AM
09-28-2007 02:05 AM
Re: Max file size in HP-UX
Don't forget the filesystem.
largefiles needs to be enabled there as well.
newfs or fsadm to convert the filesystem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 02:29 AM
09-28-2007 02:29 AM
Re: Max file size in HP-UX
Now, even if the filesystem is large files enabled, ulimit is set high, and quotas are not in play or set very large, it is still possible to hit the 2GiB barrier if the application itself was not written to take advantage of 64-bit file offsets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 11:04 PM
10-01-2007 11:04 PM