- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: file larger than 2 GB
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
- 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
10-14-2005 07:19 AM
10-14-2005 07:19 AM
file larger than 2 GB
I want to copy and create files larger than 2 GB, please can you advise what command I must perform and is there any kernel parameters that I must change in the Kernel. the OS is HP-UX 11i version 1. thanks in advance.
- Tags:
- largefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2005 07:39 AM
10-14-2005 07:39 AM
Re: file larger than 2 GB
You simply need to enable 'largefiles" for the filesystem in which you want to create or copy into.
If you are creating a new filesystem:
# newfs -F vxfs -o largefiles /dev/vgNN/rlvolX
(note the use of the RAW device)...
If you have a existing filesystem and want to enable largefile support:
# fsadm -F vxfs -o largefiles /dev/vgNN/rlvolX
If you have OnlineJFS there is no need to unmount the filesystem beforehand.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2005 08:37 AM
10-14-2005 08:37 AM
Re: file larger than 2 GB
9. Backup utilities that work with large files:
dd
fbackup/frecover
10. UNIX utilities that won't work with large files:
tar, cpio
shell script files (i.e. - ksh -x large_file)
vi
executables (loader)
print files
gzip
11. HP-UX 11.0 will completely support large files.
but not the utilities listed above.
12. All this is explained in:
/usr/share/doc/lg_files.txt
14. You can download "gtar" from:
http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/
but I had trouble with it.
15. You need a new "gzip" to support large files
You can get it at:
http://hpux.cs.utah.edu/
http://public.www.planetmirror.com/pub/hpux/Gnu/gzip-1.3.3/
http://hpux.asknet.de/hppd/hpux/Gnu/gzip-1.3.3
16. Here is a script to check largefiles status on a server:
##
# acshps05:~/bin/checklargefiles.ksh SDA 06/17/03
#
# Check Set large files. I forget to do this.
#
USAGE="Usage: checklargefiles.ksh
#
if (( $# > 1 ))
then
print $USAGE
exit 1
fi
LV=${1:-dev} # Set default vgname
set -u
# Initialize counters
mount -p | grep -v vg00 | grep $LV | awk '{print $2}' | while read FS
do
FSADM=$(fsadm $FS 2>/dev/null)
print $FS "\t" $FSADM
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2005 08:39 AM
10-14-2005 08:39 AM
Re: file larger than 2 GB
You can use cpio or tar to copy largefiles between tape and file systems. However, you can NOT use cpio or tar to copy files between file systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2005 05:05 AM
10-15-2005 05:05 AM