Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > OS & Software > The Alternative OS

Expanding the /home on AIX

Reply
Bookmark / Share this page
Thread Tools
  #1  
Old 01-11-2007
Newcomer, in training
 
Member since: Aug 2005, 46 posts
Expanding the /home on AIX

Good Morning All,

We have an AIX server that is used as our e-mail server (Squirell Mail). The /home directory is filling up quite rapidly. We cleaned it out once a few months back by getting rid of a lot of e-mail that were obviously just old. That dropped it down to 60% used or so. Now it has krept back up to 99%. I'm told that there is a way to tell how much each directory has been allocated and whether there is any room to expand. Basically I need to know how to check this and then If there is room to be expanded into how I resize the /home directory into that space. Thank you all for your help. As you can tell I am a unix beginner at best. Thanks again.

Jesse
Reply With Quote
  #2  
Old 01-11-2007
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,749 posts
System specs
Well, for disk usage there's du command (-g, -k or -m parameters make the sizes easier to understand). lsfs should list the filesystems and give some general information about them.

Resizing /home depends on the filesystem used. I found this as one example for AIX.

However, I've never used AIX myself, so I don't know much about the details.

Last edited by Mictlantecuhtli; 01-11-2007 at 12:36 PM.
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #3  
Old 01-11-2007
jobeard's Avatar
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 6,555 posts
AIX does not allocate space per directory -- no *nix systems do -- they mount
a partition (or filesystem) at a mount point.

the prior comment re DU is correct --
it will show the capacity and the free block count(FBC). FBC x block size = free space(bytes).

the normal means to 'expand' is to:
  1. delete the junk first
  2. dismount the partition
  3. backup the device
  4. create a NEW partition of a larger size
  5. restore the recent backup onto it
  6. mount the NEW partition

btw: /home is the location for user's home directories

it is bad practice to have system services on this filesystem;
services get impacted by users and conversely!

Last edited by SNGX1275; 01-11-2007 at 03:20 PM. Reason: merged 2 into 1
Reply With Quote
  #4  
Old 01-11-2007
Nodsu's Avatar
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,430 posts
System specs
I would guess it is the users' mailboxes that are in /home, not the actual mail server software or spool.

First, there are two limits on every filesystem - the number of files and the data size. With mailservers possibly dealing with lots of small files, the first limit may come up before the second.

You might want to consider setting up per-user quotas on /home so that no individual mailbox can grow above X in size or that no user can have more than n files.

You could also see which users are using the most disk space and notify them. Something like "du -k | sort -n" should give you a nice list sorted by directory size.
Reply With Quote
Reply
Thread Tools

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
XP Home or Pro ? Patosan Windows OS 11 09-23-2006 04:39 PM
Non fatal error dialog when expanding C drive in Windows Explorer XP Badger31201 Windows OS 2 06-01-2006 12:13 AM
XP Home and XP Pro Michelle2 Storage & Networking 4 12-07-2005 10:36 AM
I cant use the windows xp home upgrade cd to do a repair install on Windows xp home? JLZ286 Windows OS 1 06-29-2005 08:48 AM
XP Pro or Home? DLx/P Windows OS 10 07-09-2003 08:01 PM


All times are GMT -4. The time now is 03:51 PM.