AIX

AIX

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


#Power
 View Only
  • 1.  How to solve "the copy directory is too small"

    Posted Mon April 09, 2007 12:22 PM

    Originally posted by: SystemAdmin


    my OS: 5.3L on p550 with 4 hds.
    1. sysdumpdev -e
    0453-041 Estimated dump size in bytes: 299053875
    1. sysdumpdev -l
    primary /dev/hd6
    secondary /dev/sysdumpnull
    copy directory /oracleapp/tmp/dump
    forced copy flag TRUE
    always allow dump FALSE
    dump compression ON
    First I have no idea how the "copy directory" is assigned to /oracleapp/tmp/dump, which does not exist. And the errpt shows daily message about "the copy directory is too small". If I create a hd7 for the dump, how do I create the /hd7 without the mounting pt?
    How do I alter the "copy directoy" to other leglimate directory?
    #AIX-Forum


  • 2.  Re: How to solve "the copy directory is too small"

    Posted Mon April 09, 2007 12:35 PM

    Originally posted by: orphy


    I'm sure someone (or something) must have changed the copy directory.
    You typically set it to /var/adm/ras (with sysdumpdev -d or -D).

    Why would you want to create a "/hd7" without a mount point? If you are
    trying to fix the copy directory, you can either change it to /var/adm/ras
    and dump up the size for /var or create another FS and point the copy directory
    to it (with sysdumpdev -d or -D) but be sure to put it in rootvg.
    Orphy
    #AIX-Forum


  • 3.  Re: How to solve "the copy directory is too small"

    Posted Mon April 09, 2007 06:57 PM

    Originally posted by: SystemAdmin


    OK. I misread from other article about solving this problem by creating a /dev/hd7. So now I mounted the /hd7 at a new FS point and sysdumpdev -D on it. Is possible that I just increase, extendlv, the size of /var that where the /var/adm/ras is located to cover the value of the sysdumpdev -e?
    #AIX-Forum


  • 4.  Re: How to solve "the copy directory is too small"

    Posted Tue April 10, 2007 10:41 AM

    Originally posted by: orphy


    Yes but "chfs -a size=... /var" will do. There's no need to extendlv
    unless you care about which hdisk the PPs live.
    Orphy
    #AIX-Forum


  • 5.  Re: How to solve "the copy directory is too small"

    Posted Tue April 10, 2007 01:33 PM

    Originally posted by: SystemAdmin


    Great. Thanks.
    You actually raised my other curiosity. Why the /var/adm/ras as the default place for copy directory? Why not the /var/adm/ras/platform? which OS 5.3L created it (/dev/fwdump) by default. What are the purpose of these two FSs? I found many sites talking about how to use them, but none of them said why.
    #AIX-Forum


  • 6.  Re: How to solve "the copy directory is too small"

    Posted Tue April 10, 2007 01:58 PM

    Originally posted by: orphy


    Curiosity could be harmful...

    I believe /var/.../platform only existed since 5.2 but the whole sysdumpdev
    thing was there before that. My guess is they never bothered (or had the
    need) to change it. Why would you change more codes and potentially causing
    more APARs when you have a tight schedule to meet?

    /var/adm/ras/ is created when you first load AIX and you really shouldn't
    have to use or worry about it. It's for holding certain log files and
    debugging info.
    Orphy
    #AIX-Forum


  • 7.  Re: How to solve "the copy directory is too small"

    Posted Tue April 10, 2007 03:03 PM

    Originally posted by: SystemAdmin


    Scientist was my last life. Therefore curiosity is in my vein. I like to know why. At least the computer will not explore, like I tried on some chemistry curiosity before. Thanks again.
    #AIX-Forum


  • 8.  Re: How to solve "the copy directory is too small"

    Posted Wed April 11, 2007 01:32 PM

    Originally posted by: SystemAdmin


    Well, you could be right. This morning this machine went dead with SRC code 11002630 in the front panel. (see my other inquire) I hope it was not because of this change of sysdump.
    #AIX-Forum


  • 9.  Re: How to solve "the copy directory is too small"

    Posted Wed April 11, 2007 05:08 PM

    Originally posted by: orphy


    I highly doubt the change caused this problem. I've made this type of
    change many times on many different boxes before and have yet to cause
    any downtime.

    Have you contacted Support on that LED code? You could also try booting
    up from the diag CD and see if it sees any problem.
    Orphy
    #AIX-Forum