GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File too large
Operating System - HP-UX
1856000
Members
10036
Online
104107
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
04-07-2003 10:07 PM
04-07-2003 10:07 PM
Hi,
I have an L3000/HP-UX 11.11. I am not able to create a file more then 2 GB in a filesystem /rest
# cd /rest
# cat abc >> xyz
File too large
cat: Cannot write to output.
# ll
-rw------- 1 abc users 2147483647 Apr 7 15:52 xyz
-rw------- 1 abc users 2701 Apr 7 18:11 abc
How can I check whether I have created this filesystem with large filesystem support?
If large filesystem support is not set, Can I change it online?
Thanks,
I have an L3000/HP-UX 11.11. I am not able to create a file more then 2 GB in a filesystem /rest
# cd /rest
# cat abc >> xyz
File too large
cat: Cannot write to output.
# ll
-rw------- 1 abc users 2147483647 Apr 7 15:52 xyz
-rw------- 1 abc users 2701 Apr 7 18:11 abc
How can I check whether I have created this filesystem with large filesystem support?
If large filesystem support is not set, Can I change it online?
Thanks,
Everything is possible
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 10:21 PM
04-07-2003 10:21 PM
Solution
Hi,
the LVM data structures must fit into a single extent on the disk, the
"file too large" error occurs when the extent size is smaller than the LVM
data structures.
As disks continue to increase in size, there is not enough room in the header files to create a table large enough to track all the physical extents.
On the one hand, you can reduce the size of the LVM data structure by
reducing the maximum number of logical volumes the volume group can contain
(max_lv), or, the maximum number of physical volumes the volume group can
contain (max_pv).
On the other hand, you can increase the size of the physical extents
(pe_size) so that the LVM data structure will fit into a single extent.
# vgcreate -l (number of max logical volumes) -p (number of max physical volumes) -s (size in megabytes of physical extent) /dev/vg## /dev/dsk/c#t#d#
By default, these parameters are set to:
max_lv 255
To check and see if your filesystem has largefile enabled do:
# fsadm /mount_point
It will say 'largefiles' or 'nolargefiles'.
To enable 'largefiles' if it is not already done do:
# fsadm -o largefiles /mount_point
the LVM data structures must fit into a single extent on the disk, the
"file too large" error occurs when the extent size is smaller than the LVM
data structures.
As disks continue to increase in size, there is not enough room in the header files to create a table large enough to track all the physical extents.
On the one hand, you can reduce the size of the LVM data structure by
reducing the maximum number of logical volumes the volume group can contain
(max_lv), or, the maximum number of physical volumes the volume group can
contain (max_pv).
On the other hand, you can increase the size of the physical extents
(pe_size) so that the LVM data structure will fit into a single extent.
# vgcreate -l (number of max logical volumes) -p (number of max physical volumes) -s (size in megabytes of physical extent) /dev/vg## /dev/dsk/c#t#d#
By default, these parameters are set to:
max_lv 255
To check and see if your filesystem has largefile enabled do:
# fsadm /mount_point
It will say 'largefiles' or 'nolargefiles'.
To enable 'largefiles' if it is not already done do:
# fsadm -o largefiles /mount_point
never give up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 10:24 PM
04-07-2003 10:24 PM
Re: File too large
you can check this way:
# fstyp -v /dev/my/rmylvol
The f_flag field must equal 16
To change it on-line you must have the online JFS product.
# swlist -l product | grep -i online
OnlineJFS
To change it:
# fsadm -F vxfs -o largefiles /dev/myvg/rlvol
If you haven;t you must unmount the filesystem.
# fstyp -v /dev/my/rmylvol
The f_flag field must equal 16
To change it on-line you must have the online JFS product.
# swlist -l product | grep -i online
OnlineJFS
To change it:
# fsadm -F vxfs -o largefiles /dev/myvg/rlvol
If you haven;t you must unmount the filesystem.
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 11:52 PM
04-08-2003 11:52 PM
Re: File too large
If you have OnlineJFS you can check with
# fsadm -F vxfs
If not you can check like Michael said with
# fstyp -v
If you have changed your filesystem to support largefiles it has this option til you take it away.
But you should change also your mount options in the /etc/fstab file.
ie:
/dev/vg00/lvol3 /users vxfs delaylog,largefiles 0 1
If you have not OnlineJFS you must recreate your filesystems. If it is an important production server you should order this tool for your server. To change the option to largefiles without OnlineJFS there are many ways, but it depends on your server and its tasks what's best.
Roland
# fsadm -F vxfs
If not you can check like Michael said with
# fstyp -v
If you have changed your filesystem to support largefiles it has this option til you take it away.
But you should change also your mount options in the /etc/fstab file.
ie:
/dev/vg00/lvol3 /users vxfs delaylog,largefiles 0 1
If you have not OnlineJFS you must recreate your filesystems. If it is an important production server you should order this tool for your server. To change the option to largefiles without OnlineJFS there are many ways, but it depends on your server and its tasks what's best.
Roland
Sometimes you lose and sometimes the others win
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 2026 Hewlett Packard Enterprise Development LP