AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  AIX 5.2 Disk Layout Issue

    Posted Wed February 13, 2008 02:20 PM

    Originally posted by: SystemAdmin


    I've just installed AIX 5.2 on a JS20 blade with a 30 gig hard drive. It seems like the installer has decided to lay the disk out with all partitions at minimum size. For example, /opt is 65 megs. /usr is 1 gig, and starts out 98% full. The bulk of the disk is left unallocated. I tried repeating the installation with a custom disk layout, but I couldn't find a disk layout editor anywhere in the installer menus. Am I missing something?

    Ideally I'd like to lay this thing out with just / and swap, as it's going to be a dev server used by a small number of internal users. Is that possible? Alternately, can I entice the installer to use more of the disk?

    It feels like I'm missing something important here, but so far searching the web I have not been able to determine what it is. Any help would be appreciated.

    Thanks.

    -Charles
    #AIX-Forum


  • 2.  Re: AIX 5.2 Disk Layout Issue

    Posted Wed February 13, 2008 03:05 PM

    Originally posted by: orphy


    Can't do / and swap only. Any reason why you can't just enlarge the filesystems? For your developers, if I were you, I would create a separate FS for them. You know how developers are...
    Orphy
    #AIX-Forum


  • 3.  Re: AIX 5.2 Disk Layout Issue

    Posted Wed February 13, 2008 05:16 PM

    Originally posted by: Yanuly


    It's better to leave AIX's filesystems with their configured sizes and create new ones for the users, as their aggregate content may fill up an important filesystem like /var, /tmp, /usr or root, you could end with a frozen or crashed machine.
    As you install other AIX packages or fixes, they will occupy space on /usr or /opt but AIX will advise and grow them with your behalf. So, the automatic layout serves to keep us from tampering with important files.
    #AIX-Forum


  • 4.  Re: AIX 5.2 Disk Layout Issue

    Posted Wed February 13, 2008 05:19 PM

    Originally posted by: SystemAdmin


    Thanks for the quick answer.

    I can live with the multi-slice layout, if that's necessary. The sizes are the bigger problem for me. Is it standard under AIX to expand them as necessary after the fact, rather than sizing them at install time?

    How difficult is it to enlarge the filesystem? I'm very new to AIX's Volume Manager and FS, though I'm familiar with VM concepts. Are there docs online?

    -Charles
    #AIX-Forum


  • 5.  Re: AIX 5.2 Disk Layout Issue

    Posted Wed February 13, 2008 07:06 PM

    Originally posted by: tony.evans


    Try smitty

    or

    chfs -a size=2G /filesystem/name
    (set filesystem to 2G)

    or

    chfs -a size=+1G /filesystem/name
    (increase /filesystem by 1G)

    You can use M as well (chfs a size=+256M /var, for example).

    However, if you're not very experienced with AIX, use smit (by typing smitty, force of habit to get the tty version even when using X). You can use the LVM menus to create new logical volumes, filesystems, extend them etc.
    #AIX-Forum


  • 6.  Re: AIX 5.2 Disk Layout Issue