AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

Problem migrating /tmp to / filesystem

  • 1.  Problem migrating /tmp to / filesystem

    Posted Mon December 17, 2007 10:06 AM

    Originally posted by: SystemAdmin


    I have test system with only 2 72GB disk (storage matrix is not yet ready). For some test i need as much space as possible on this system. My idea is to have only one big root filesystem and some others ( swap, proc etc.). I start my probes from migrate /tmp to / filesystem
    I copy data from /tmp to /tmp2, change actual mount point from /tmp to /tmp3 by chfs command and disable automount,
    create /tmp directory on / filesystem with bin:bin owner and 1777 permissions.

    After restart system stops (WebSM shows 0518 in Operator Panel Value and additional info in details that /TMP cannot be mounted)

    Whats wrong ?
    #AIX-Forum


  • 2.  Re: Problem migrating /tmp to / filesystem

    Posted Mon December 17, 2007 10:58 AM

    Originally posted by: hwyguy


    Because AIX is looking to mount /tmp, not /tmp3.

    When it tries to mount /tmp, it's getting a "mount: 0506-334 /tmp is not a known file system." error, which causes the system to halt.

    I'm not 100% how to make AIX try and mount /tmp3 instead of /tmp, nor would I advise doing this.

    I think you need to go back, boot into maintenance mode off of a CD and recreate /tmp, even if it's just a few MB so AIX can function then restart.

    Just having /tmp be made as a directory hanging off of / is a recipe for disaster, IMHO.

    Best of Luck!
    #AIX-Forum