- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can I write a file that is bigger than 2 gigs.
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
01-29-2004 05:51 AM
01-29-2004 05:51 AM
How about this one:
I am trying to backup my database but it keeps failing around 2 gigs. Is there anyway that I can write a 4.2 gig file to my system?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 05:55 AM
01-29-2004 05:55 AM
Solutionlots of threads on the subject
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=204549
etc ...
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 05:56 AM
01-29-2004 05:56 AM
Re: Can I write a file that is bigger than 2 gigs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 05:56 AM
01-29-2004 05:56 AM
Re: Can I write a file that is bigger than 2 gigs.
How you enable it?
fsadm -F vxfs -o largefiles /mount_point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 05:57 AM
01-29-2004 05:57 AM
Re: Can I write a file that is bigger than 2 gigs.
RAC's syntax is correct!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 05:58 AM
01-29-2004 05:58 AM
Re: Can I write a file that is bigger than 2 gigs.
The filesystem into which you're writing the files must support largefiles.
To determine whether it does run the following:
fsadm /mnt_point
To set it for largefiles run the following
fsadm -o largefiles /mnt_point
Then check the /etc/fstab to make sure it's entry does not say nolargefiles. If it does change it to largefiles.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 05:58 AM
01-29-2004 05:58 AM
Re: Can I write a file that is bigger than 2 gigs.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=34154
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 06:00 AM
01-29-2004 06:00 AM
Re: Can I write a file that is bigger than 2 gigs.
You want to enable largefiles option:
umount /fs_name
fsadm -F fs_type -o largefiles /dev/vg_name/rlvol_name
mount -a
Check that it worked:
fsadm -F fs_type /fs_name
HTH,
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 06:09 AM
01-29-2004 06:09 AM
Re: Can I write a file that is bigger than 2 gigs.
fsadm /filesystem
Example:
# fsadm /var/adm/crash
fsadm: /etc/default/fs is used for determining the file system type
largefiles
That means 2GB + is supported.
# fsadm /
fsadm: /etc/default/fs is used for determining the file system type
nolargefiles
That means you can NOT write files greater then 2 GB.
As other have said, use fsadm to enable:
fsadm -o largefiles /var/adm/crash
Then update the /etc/fstab:
/dev/vg01/lvol2 /var/adm/crash vxfs rw,suid,largefiles,delaylog,datainlog 0 2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 06:11 AM
01-29-2004 06:11 AM
Re: Can I write a file that is bigger than 2 gigs.
Your problem may not be with your filesystem but rather with the backup method you are using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 08:15 AM
01-29-2004 08:15 AM
Re: Can I write a file that is bigger than 2 gigs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 08:35 AM
01-29-2004 08:35 AM
Re: Can I write a file that is bigger than 2 gigs.
Here is what I get:
# fsadm -o largefiles /dev/vg01/test
vxfs fsadm: /dev/vg01/test is not the root inode of a vxfs file sytem
#
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/test 9216000 3232770 5800650 36% /test
#
# fstyp -v /dev/vg01/test
vxfs
version: 3
f_bsize: 8192
f_frsize: 2048
f_blocks: 4608000
f_bfree: 2991615
f_bavail: 2991615
f_files: 42240
f_ffree: 1073792296
f_favail: 1073792296
f_fsid: 1073807363
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 6
f_size: 4608000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 08:46 AM
01-29-2004 08:46 AM
Re: Can I write a file that is bigger than 2 gigs.
# fsabm -F vxfs -o largefiles /test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:01 AM
01-29-2004 09:01 AM
Re: Can I write a file that is bigger than 2 gigs.
# fsadm -F vxfs -o largefiles /test
fsadm: set feature (LARGEFILES) failed, errno 25
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:06 AM
01-29-2004 09:06 AM
Re: Can I write a file that is bigger than 2 gigs.
OK - let's take a step back here.
What HP-UX OS version are you running?
uname -r
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:09 AM
01-29-2004 09:09 AM
Re: Can I write a file that is bigger than 2 gigs.
# uname -r
B.11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:10 AM
01-29-2004 09:10 AM
Re: Can I write a file that is bigger than 2 gigs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:51 AM
01-29-2004 09:51 AM
Re: Can I write a file that is bigger than 2 gigs.
I do not have online jfs so I think I need to umount it.
I think I need to do :
umount /test
# fsadm -F vxfs -o largefiles /test
Then I am going to modify the fstab file
from:
# System /etc/fstab
/dev/vg01/test /test vxfs delaylog 0 2
to:
/dev/vg01/test /test vxfs largefiles,delaylog 0 2
Then
mount /test
What do you think?
Would you do this while users are logged on (no one but me accesses the test directory)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:59 AM
01-29-2004 09:59 AM
Re: Can I write a file that is bigger than 2 gigs.
Indeed, you do need OnLine JFS to do -o largefiles while mounted. So unmount, change & remount.
If you're concerned about users being on run
fuser -cu /test
to see whether anyone else is in there. Make sure you're not when you do this or it will show you in there.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 11:10 AM
01-29-2004 11:10 AM
Re: Can I write a file that is bigger than 2 gigs.
Now I am back to
# fsadm -F vxfs -o largefiles /test
vxfs fsadm: /test is not the root inode of a vxfs file sytem
I looked at the man page and it said:
The fsadm command is designed to perform selected administration tasks
on file systems. These tasks may differ between file system types.
special is a device file containing an unmounted file system. However,
if the file system is of the type that provides online administration
capabilities the special could be a directory. directory must be the
root of a mounted file system.
I wish Iunderstood what a "root of a mounted files system was".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 11:39 AM
01-29-2004 11:39 AM
Re: Can I write a file that is bigger than 2 gigs.
I found a message from him back on Dec 12th.
It said
fsadm -F vxfs -o largefiles /dev/vg01/rora03
(note r in rora03 )
I did fsadm -F vxfs -o largefiles /dev/vg02/rtest.
IT WORKED!
Thanks everyone!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 05:05 PM
01-29-2004 05:05 PM
Re: Can I write a file that is bigger than 2 gigs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2004 01:18 AM
01-30-2004 01:18 AM
Re: Can I write a file that is bigger than 2 gigs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2004 01:23 AM
01-30-2004 01:23 AM
Re: Can I write a file that is bigger than 2 gigs.
I think it is this way.
You have online JFS, fsadm works on raw or mount point. If you do not have online -jfs, it works on raw vol.
Am I making sense here?