- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: System stalls at 4 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
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
тАО11-18-2010 07:37 AM
тАО11-18-2010 07:37 AM
Re: System stalls at 4 gigs
/dev/vg00/lvol3 1048576 439232 605232 42% /
/dev/vg00/lvol1 1835008 325784 1497512 18% /stand
/dev/vg00/lvol8 8912896 3287464 5581984 37% /var
/dev/vg00/lvol7 10485760 2873840 7552480 28% /usr
/dev/vg00/lvol4 4194304 268984 3896936 6% /tmp
/dev/vg01/lvol3 262144 111225 141603 44% /salt
/dev/vg00/lvol6 20971520 7689032 13181296 37% /opt
/dev/vg01/lvol1 24576000 3379520 19871835 15% /indy
/dev/vg01/lvol2 262144 107666 144880 43% /hous
/dev/vg00/lvol5 2097152 262888 1820784 13% /home
/dev/vg01/lvol4 262144 59685 189923 24% /edmo
/dev/vg02/lvol1 52428800 26489996 24317661 52% /backup
/dev/vg01/lvol5 262144 1786 244093 1% /atla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 07:43 AM
тАО11-18-2010 07:43 AM
Re: System stalls at 4 gigs
ksh: fstyp: not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 07:49 AM
тАО11-18-2010 07:49 AM
Re: System stalls at 4 gigs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 08:17 AM
тАО11-18-2010 08:17 AM
Re: System stalls at 4 gigs
Looks to me like about 24GB of free space.
Do you think that that's the problem?
> fstyp -v /dev/vg02/lvol1
> ksh: fstyp: not found
man fstyp
Around here, for example:
dyi # type fstyp
fstyp is /usr/sbin/fstyp
Of course, "HP-UX 64-bit" is not a very
complete description of your OS, compared
with, say, actual output from:
uname -a
so it's hard to be sure if you simply have
an insufficient PATH, or what else might be
wrong.
Also potentially interesting:
fsadm /backup
(And, as "man fsadm" should show, that's
"/usr/sbin/fsadm".)
> This file system was created on version: 6
Says who? As usual, showing actual commands
... Oh, wait. I already said that. (But,
apparently, it didn't take hold.)
Is it worth mentioning (again) that we still
have no real idea what you're trying to do,
or what actually happens when you try to do
it? One result of this lack of information
might be a lot of pointless guesswork which
may or may not luck into the solution of
whatever the actual problem might be.
> You really are a "glass half empty" sort of
> guy! [...]
Again, that doesn't tell us how much is in
the glass, or how much could be added. As a
wise man once said, "A pessimist says that
the glass is half empty. An optimist says
that the glass is half full. An engineer
says that the glass is twice as big as it
needed to be."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 10:13 AM
тАО11-18-2010 10:13 AM
Re: System stalls at 4 gigs
Typically that occurs at 2 Gb, not 4, since file positions are signed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 02:33 AM
тАО11-23-2010 02:33 AM
Re: System stalls at 4 gigs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 02:42 AM
тАО11-23-2010 02:42 AM
Re: System stalls at 4 gigs
for instance like tar
if you want to tar to a file larger than 4G
tar cvf mytar mydir,
the size of mytar will be limited to 4G
you need to do
tar cf - mydir >mytar
because posixshell and ksh uses open64() syscall and not open().
if it is the case then the application should use either
open64()
or
use O_LARGEFILE flag when using open()
or
compile in 64bit mode
if the program can't be recompiled, then it is possible that using a fifo works
if for instance result goes to /tmp/logfile
mv /tmp/logfile /tmp/logfile.backup
mkfifo /tmp/logfile
cat /tmp/largelogfile&
start extraction to /tmp/logfile
Else check that the fs has well largefile enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 11:42 AM
тАО11-23-2010 11:42 AM
Re: System stalls at 4 gigs
>because posixshell and ksh uses open64()
This won't work if tar doesn't use open64 or O_LARGEFILE. You need to use a pipe and cat:
tar cf - mydir | cat > mytar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 04:55 AM
тАО11-24-2010 04:55 AM
Re: System stalls at 4 gigs
> >because posixshell and ksh uses open64()
> This won't work if tar doesn't use open64 or
> O_LARGEFILE. You need to use a pipe and cat:
> tar cf - mydir | cat > mytar
no cat is useless, because when you do cat >mytar or tar >mytar the open in both cases is not made by tar or cat BUT by shell which uses open64.
Tar or cat both inherit of the shell opened file as stdout mytar, which has the O_LARGEFILE flag set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 05:38 AM
тАО11-24-2010 05:38 AM
Re: System stalls at 4 gigs
(Perhaps you meant unnecessary?)
>because when you do tar > mytar the open in both cases is not made by tar BUT by shell which uses open64.
I thought about that but I'm pretty sure I've gotten errors in the past?
I'm thinking that it's the write or lseek that will fail because they aren't the 64 bit version?
I just tested it and you're right, tar doesn't fail and doesn't use lseek(2).
But you can also solve it by using pax(1) instead of tar.