- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: largefiles vs nolargefiles
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
Discussions
Discussions
Forums
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
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-01-2009 11:01 PM
тАО09-01-2009 11:01 PM
Is there any problem in keeping largefiles while creating a filesystem.?Why there is an option.?
Thanks
Solved! Go to Solution.
- Tags:
- largefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 11:47 PM
тАО09-01-2009 11:47 PM
Re: largefiles vs nolargefiles
nolargefiles means no file can be bigger than 2 GB.
This is a pretty low limit so with few exceptions, I include this option when I use newfs to make new file systems.
What happens with nolargefiles if an application tries to create or append a file to a size larger than 2 GB is an error.
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-02-2009 12:38 AM
тАО09-02-2009 12:38 AM
Re: largefiles vs nolargefiles
the difference between nolargefiles and largefiles was already mentioned.
About your question, "why is it nolargefiles by default", I believe it was just a choice, there was no specific problem (this is my thought, but if someone has different information I'd be glad to know).
However I think it also depends on the version of vxfs is on the system. Read the following about VxFS 4.1:
http://www.docs.hp.com/en/5991-2762/5991-2762.pdf
├в ┬в Other Base-VXFS Enhancements
..........
├в The largefiles option is now the default file size option for the mount command and
mkfs command.
Vxfs 4.1 supports layout 6, if you have this layout on HP-UX 11.23 or 11.31 systems you'll have largefiles optione enabled by default.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 03:26 AM
тАО09-02-2009 03:26 AM
Re: largefiles vs nolargefiles
fsadm -F vxfs -o largefiles /dev......
or
fsadm -F hfs -o largefiles /dev......
I think it is there more for historical compatibility problems.
- and for compatibility with some commands like tar for instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 03:42 AM
тАО09-02-2009 03:42 AM
Re: largefiles vs nolargefiles
> What is the internal difference between largefiles and nolargefiles. Why is it nolargefiles by default.?
As Laurent said, I too believe that this is in keeping with pre-10.0 releases. Largefile support first appeared with HP-UX 10.20 :
http://docs.hp.com/en/940/lgfiles4.pdf
Is there any problem in keeping largefiles while creating a filesystem.?
No, not at all.
Why there is an option.?
Consider that you might want filesystems in which it isn't possible to create or copy a largefile (i.e. one > 2GB). Allowing you the option is simply a nice feature!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 04:03 AM
тАО09-02-2009 04:03 AM
Re: largefiles vs nolargefiles
There was a time when disks and volumes crossed the 2GB size and the need for largefiles support came about. HP-UX started supporting large disks/volumes/files via patches. In veritas the filesystem structure for smaller disks/volumes is different than that of larger disks.
During that time you could have servers at the same OS version that some did and some did not support largefiles. Also you could have in the SAME server, small and large disks, the small disks could NOT handle the largefiles option, the larger disks could. So the largefiles option was the only way to allow veritas to support the servers (with and without OS support and with small and large disks at the same time) during this transition period. Now that all servers have no need for the nolargefiles option, the largefiles is becoming the default and soon will probably be the standard and will not be an option anymore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 04:28 AM
тАО09-02-2009 04:28 AM
Re: largefiles vs nolargefiles
largefiles can support file more than 2Gb in nolargefile you are limited to 2Gb not more than that.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 04:37 AM
тАО09-02-2009 04:37 AM
Solution1-bit
>> Why is it nolargefiles by default.?
Because HP-UX development is extremely conservative.
>> Is there any problem in keeping largefiles while creating a filesystem.?
None. Absolutely zero, as long as the 'stat' structure has 64 bits to store the size
>> Why there is an option.?
To protect old & broken applications which are using 32 bit integer to store seek/tell information, or otherwise report on file size
s using 32 bit integers from 'accidently' running into files larger than they can handle.
See: http://docs.hp.com/en/940/lgfiles4.pdf
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 10:12 PM
тАО09-02-2009 10:12 PM
Re: largefiles vs nolargefiles
Because HP-UX development is extremely conservative.
I had a good laugh about that one, so true...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 11:28 PM
тАО09-02-2009 11:28 PM