- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: file size
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
Forums
Discussions
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
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
08-22-2002 05:42 AM
08-22-2002 05:42 AM
What happens is that as soon as the outfile size reach 2147483136 bytes, it refuse to grow and sommer stops in the middle of an record. I know the maximum displayable digit in Unix scripting is 2147483647 and if one add a 512 byte block size to the outfile size it will exceed that maximum value.
Is this file size a limitation with awk?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 05:45 AM
08-22-2002 05:45 AM
Re: file size
Probably your filesystem does not support "largefiles" (files >2Gb). If you have OnlineJFS you can activate this with :
#fsadm -o largefiles -F vxfs /your_filesystem
Search the forums with "largefiles" for more information ...
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 05:46 AM
08-22-2002 05:46 AM
Re: file size
DO you have LARGE files enabled on your Filesystem??
You should consider perl over awk.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 05:47 AM
08-22-2002 05:47 AM
Re: file size
5.2.6 Text Processing Commands
Below is a list of handy commands that may be used to process files that are large. Each will appropriately handle large data files. However, pattern files for commands such as awk and sed will continue to remain small. There are no new options in this set of
commands.
awk
...
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 05:48 AM
08-22-2002 05:48 AM
SolutionYou can check this by running
mkfs -m /dev/vgXX/lvolYY
where XX and YY are replaced by the numers relevant to your filesystem
eg from one of my systems:
mkfs -m /dev/vg05/lvol13
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=3,inosize=256,logsize=1024,largefiles /dev/vg05/lvol13 716800
As you can see, this lists largefiles in the options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 06:03 AM
08-22-2002 06:03 AM
Re: file size
The filesystem in which the output file is being built does not support largefiles. The size you cite (2.14748E+09) is the 2GB limit. You can easily enable largefiles for the filesystem:
# fsadm -F vxfs -o largefiles /dev/vgXX/rlvolX
...note the raw logical volume.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 09:49 AM
08-22-2002 09:49 AM
Re: file size
I've also been looking at the kernel and have the following settings
maxdsiz 163840
maxdsiz_64bit 262144
maxfiles 2048
maxfiles_lim 2048
maxssiz 7812
maxssiz_64bit 4096
My system is a N4000 with 6Gig memory and 8 CPUs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 10:00 AM
08-22-2002 10:00 AM
Re: file size
Hope this helps.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 10:22 AM
08-22-2002 10:22 AM
Re: file size
Let'a also not overlook the obvious: ulimit and quotas. I very much doubt that maxdsix and maxssix has anything to do with this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 12:31 PM
08-22-2002 12:31 PM
Re: file size
Looks like you need to enable "largefiles" for the lv in question. This will allow creation of files larger than 2GB on that filesystem.
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683990
The Doc id is KBAN00000105
Hope this helps.
Regds