AIX

AIX

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

 View Only
  • 1.  local mount points not mounting upon reboot

    Posted Fri February 22, 2008 04:16 PM

    Originally posted by: SystemAdmin


    Hello,

    I am trying to sort out why a few of my filesystems are not mounting upon a reboot.


    EDIT*** Sorry forgot to add OS Info AIX 5.3 5300-06

    If you have any ideas please let me know.

    I appreciate any assistance you can offer to resolve this matter.
    When I reboot I see the following filesystems mounted
    Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 1048576 958904 9% 2602 1% /
    /dev/hd2 4325376 2852700 35% 36166 4% /usr
    /dev/hd9var 786432 621004 22% 449 1% /var
    /dev/hd3 786432 453124 43% 66 1% /tmp
    Missing are the following
    /dev/hd1 5242880 3026180 43% 12704 1% /home
    /dev/hd10opt 2097152 1909792 9% 1533 1% /opt
    /proc - - - - - /proc

    After rebooting, I can issue a mount -a and all filesystems appear to be mounted.

    Here is a copy of my /etc/filesystems
    • @(#)filesystems @(#)29 1.22 src/bos/etc/filesystems/filesystems, cmdfs, bos530 9/8/00 13:57:45
    • IBM_PROLOG_BEGIN_TAG
    • This is an automatically generated prolog.
    *
    • bos530 src/bos/etc/filesystems/filesystems 1.22
    *
    • Licensed Materials - Property of IBM
    *
    • (C) COPYRIGHT International Business Machines Corp. 1985,1993
    • All Rights Reserved
    *
    • US Government Users Restricted Rights - Use, duplication or
    • disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    *
    • IBM_PROLOG_END_TAG
    *
    • COMPONENT_NAME: CMDFS
    *
    • FUNCTIONS: none
    *
    • ORIGINS: 27
    *
    • (C) COPYRIGHT International Business Machines Corp. 1985, 1993
    • All Rights Reserved
    • Licensed Materials - Property of IBM
    *
    • US Government Users Restricted Rights - Use, duplication or
    • disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    *
    *
    *
    • This version of /etc/filesystems assumes that only the root file system
    • is created and ready. As new file systems are added, change the check,
    • mount, free, log, vol and vfs entries for the appropriate stanza.
    *

    /:
    dev = /dev/hd4
    vol = "root"
    mount = automatic
    check = false
    free = true
    vfs = jfs
    log = /dev/hd8
    type = bootfs

    /home:
    dev = /dev/hd1
    vfs = jfs
    log = /dev/hd8
    mount = true
    check = false
    type = bootfs
    vol = /home
    free = false

    /usr:
    dev = /dev/hd2
    vol = "/usr"
    mount = automatic
    check = false
    free = false
    vfs = jfs
    log = /dev/hd8
    type = bootfs

    /var:
    dev = /dev/hd9var
    vol = "/var"
    mount = automatic
    check = false
    free = false
    vfs = jfs
    log = /dev/hd8
    type = bootfs

    /tmp:
    dev = /dev/hd3
    vol = "/tmp"
    mount = automatic
    check = false
    free = false
    vfs = jfs
    log = /dev/hd8

    /proc:
    dev = /proc
    vol = "/proc"
    mount = true
    check = false
    free = false
    vfs = procfs

    /opt:
    dev = /dev/hd10opt
    vfs = jfs
    log = /dev/hd8
    mount = true
    check = true
    type = bootfs
    vol = /opt
    free = false
    #

    Message was edited by: RobertCo


  • 2.  Re: local mount points not mounting upon reboot

    Posted Fri February 22, 2008 06:29 PM

    Originally posted by: SystemAdmin


    Is there any error message?

    Try to use fsck on those filesystems.


  • 3.  Re: local mount points not mounting upon reboot

    Posted Fri February 22, 2008 07:36 PM

    Originally posted by: dukessd


    Looks like a problem in /etc/rc, the mount all command is not running.

    http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/automountcrtrl.htm


  • 4.  Re: local mount points not mounting upon reboot

    Posted Sat February 23, 2008 01:40 AM

    Originally posted by: IBMFORUMS


    It is recommended to use jfs2 for all file systems.
    check boot log by:
    alog -o -t boot


  • 5.  Re: local mount points not mounting upon reboot

    Posted Mon February 25, 2008 09:08 AM

    Originally posted by: Carlyle


    jfs 2 is not a good idea if you might be booting with a 32 bit kernel such as a nim install.


  • 6.  Re: local mount points not mounting upon reboot

    Posted Mon February 25, 2008 12:32 PM

    Originally posted by: SystemAdmin


    Hi everyone,

    Thanks for the information, and suggestions.

    While reviewing the logs I found that a previous admin had removed the /etc/rc script.

    I will add the rc script back to /etc/ and remove my workaround
    The workaround I came up with prior to knowing this was to create a mountall script that gets executed upon start up. ( I did not like this resolution as it is not standard.)

    I just wanted to thank you all for your time and assistance.