- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX File Sizes
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
12-07-2001 04:41 AM
12-07-2001 04:41 AM
HP-UX File Sizes
e.g. If /tmp is 2 GB the user should be able to create 4 x 512MB files but not be allowed to create any file over that size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2001 05:02 AM
12-07-2001 05:02 AM
Re: HP-UX File Sizes
there is another thread on the exact same question going on at this time, take a peek at it.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x10b303bbece8d5118ff40090279cd0f9,00.html
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2001 05:09 AM
12-07-2001 05:09 AM
Re: HP-UX File Sizes
As far as I can read, I think this question is different from the one Eugene has linked to, in that you want to be able to write 4x512Mb instead of 2Gb whole.
My question is, why do you need this? You won't win any space on your harddrive by doing this. Is there any application which requires you to do this?
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2001 06:48 AM
12-07-2001 06:48 AM
Re: HP-UX File Sizes
"ulimit" should do the trick ;)
(please note that ulimit works with 512-byte blocks!)
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2001 07:05 AM
12-07-2001 07:05 AM
Re: HP-UX File Sizes
Try this,
ulimit -a shows all userlimits.
If [file] is not set to unlimited, this can be done additional with:
ulimit -f unlimited
If this is not set to unlimited, after the next reboot, it is recommended to insert
ulimit -f unlimited
into /etc/profile.
Check this link...
http://us-support.external.hp.com/cki/bin/doc.pl/sid=d6fbc2eb04dfd7af89/screen=ckiDisplayDocument?docId=200000054992493
-USA...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2001 07:13 AM
12-07-2001 07:13 AM
Re: HP-UX File Sizes
The answer to your question is yes. Use ulimit (man ulimit).
ulimit will affect every file the user creates in any filesystem. If the user has access to the shell then he may re-run ulimit thus defeating what you are doing.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2001 07:18 AM
12-07-2001 07:18 AM
Re: HP-UX File Sizes
I wrote man ulimit before I thought. ulimit is actually a shell built-in command. Use man on:
sh-bourne(1) Bourne Shell (/usr/old/bin/sh) description.
ksh(1) Korn Shell (/usr/bin/ksh) description.
sh-posix(1) POSIX Shell (/usr/bin/sh) description.
csh(1) C Shell (/usr/bin/csh) description.
keysh(1) Key Shell (/usr/bin/keysh) description.
Oops!
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2001 07:30 AM
12-07-2001 07:30 AM
Re: HP-UX File Sizes
Like others suggested ulimit.
I like to give some additiol information. The vxfs filesystems have a build in limit of 2 GB filesize, with can be overruled with the largefile option included in the mkfs command:
mkfs -F vxfs -o largefiles special size. Since your file system is 2 GB you do not need this.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2001 06:35 AM
12-13-2001 06:35 AM
Re: HP-UX File Sizes
See the SysAdmin documentation or/and quota(5) and friends for details.