- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to enable large 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
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
07-27-2005 09:06 PM
07-27-2005 09:06 PM
How to enable large file size
I want to create more than 2GB file on my HP-UX 11.0 OS system.
I have around 13GB free space in /opt also my ulimit is set to set to unlimited.
But still I am not able to create large file. Do I need to set any parameter.
regards
varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:10 PM
07-27-2005 09:10 PM
Re: How to enable large file size
This will enable large files on your vxfs filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:12 PM
07-27-2005 09:12 PM
Re: How to enable large file size
Also the filesystem needs to be unmounted before you can do this.
I would also question why you are enabling large files on /opt. Presumably your large files are some sort of data file, in which case they should really be on their own filesystem rather than on /opt which should remain fairly static.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:13 PM
07-27-2005 09:13 PM
Re: How to enable large file size
You must use the flag "-o largefiles" when creating the filesystem.
If you have Online JFS installed you can change it on-line with fsadm.
Check man fsadm_vxfs for details.
Enjoy :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:15 PM
07-27-2005 09:15 PM
Re: How to enable large file size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:21 PM
07-27-2005 09:21 PM
Re: How to enable large file size
Just make an entry in fstab.
Change your lvol with your /opt filesystem device name.
/dev/vg00/lvol7 /opt vxfs delaylog,largefiles 0 2
Regards,
lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:25 PM
07-27-2005 09:25 PM
Re: How to enable large file size
AFAIK, the following must be done:
fsadm -F vxfs -o largefile /dev/vg00/rlvolX
and the file system can be mounted without the additional parameter in /etc/fstab.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:26 PM
07-27-2005 09:26 PM
Re: How to enable large file size
a filesystem that has been fsadm'd to enable largefiles will still support largefiles even if it's not specified explicitly in fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:32 PM
07-27-2005 09:32 PM
Re: How to enable large file size
Thanks for so many replies.
One quick question is that, if I run " fsadm -o largefiles" option on my rvol4 then will my existing data will lost ? Because it's mine /opt partitioned & I want to use this for testing purpose.
Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:46 PM
07-27-2005 09:46 PM
Re: How to enable large file size
Of course it goes without saying that you should ensure you have a full backup of the filesystem before performing this or any filesystem administration task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:56 PM
07-27-2005 09:56 PM
Re: How to enable large file size
I gave following command,
"fsadm -F vxfs -o largefiles -r /dev/vg00/rlvol6 /opt "
But gave me error saying that /opt filesystem is not part of root inode.
Regards
Varian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:58 PM
07-27-2005 09:58 PM
Re: How to enable large file size
fsadm -F vxfs -o largefiles /dev/vg00/rlvol6
You don't need "-r" nor "/opt" in the command line.
The filesystem needs to be unmounted too so make sure you stop any services locking the filesystem ("fuser -c /opt" will tell you the processes using it). It may be easier with /opt to use single-user mode if there are a lot of things running, though it shouldn't be essential.