- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX Space allocation for a user.
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-30-2004 04:39 PM
07-30-2004 04:39 PM
HP-UX Space allocation for a user.
I want to add a user , and allocate 4GB of space for that user in HP-UX 10.20 , L1000 Server.
I can add a user with following :
# useradd -u300 -o -d/user4gb -s/bin/sh -m user4gb what to do next.
But have never used quota command , nor i know that how to do, 4GB space allocation for that user.
Can any one help me out.
Regards,
Raj. D.
----------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2004 04:48 PM
07-30-2004 04:48 PM
Re: HP-UX Space allocation for a user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2004 04:57 PM
07-30-2004 04:57 PM
Re: HP-UX Space allocation for a user.
I think miracle has pointed you towards the right direction.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2004 05:57 PM
07-30-2004 05:57 PM
Re: HP-UX Space allocation for a user.
I think it depends on what you mean by "allocate" 4GB for a user.
If you're trying to limit a user to *only* consuming 4GB of space then disk quotas are the way to go. However, establishing a disk quota doesn't mean that the user will automatically get 4GB of disk space when they need it. If the disk space in the filesystem is consumed by other processes and applications then this user is out of luck whether they've reached their disk quota or not.
If you want to "set aside" or "reserve" disk space for a user, you could try using the prealloc(1) command to build a large file, or a series of smaller files, in that user's home directory to consume the disk space you want this user to have. When the user actually needs to use the space, they can delete one of the preallocated files and re-use the space they just freed for whatever purpose they need.
The prealloc(1) man page describes how to use that command, and you've already got a good reference to the process of setting up disk quotas.
Good luck,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2004 08:04 PM
07-30-2004 08:04 PM
Re: HP-UX Space allocation for a user.
But I think Miracle's answer in good and i am going through it and hope it will help me out .
Though i will look at prealloc , command also . Thanks all ,
Regards ,
Raj.D
-----