Switching

Expand all | Collapse all

unable to commit, safe to delete these?

Jump to Best Answer
  • 1.  unable to commit, safe to delete these?

    Posted 04-28-2020 14:16

    /var/jail/etc           123M       122M      -9.5M      108%  /packages/mnt/jweb-ex-12.3R11.2/jail/var/etc
    /var/jail/run           123M       122M      -9.5M      108%  /packages/mnt/jweb-ex-12.3R11.2/jail/var/run
    /var/jail/tmp           123M       122M      -9.5M      108%  /packages/mnt/jweb-ex-12.3R11.2/jail/var/tmp

     

    i've looked everywhere, have already performed the system cleanup 

    not sure where else to check under /var

     

    nothing comes up as being overly large

     

    fpc0:
    configuration check succeeds
    fpc1:
    commit complete
    fpc2:
    commit complete
    error: could not copy to juniper.save+



  • 2.  RE: unable to commit, safe to delete these?

     
    Posted 04-28-2020 14:26

    Hi ccarovich,

    Could you please confirm what is the platform you have, as well share a couple of commands to double check,

    root> start shell user root

    root@RE:0% cd /var

    root@:RE:0% du -cks * | sort -rn
    root@:RE:0% find / -size +100000

    Regards,



  • 3.  RE: unable to commit, safe to delete these?

    Posted 04-28-2020 15:01

    Model: ex2200-24p-4g
    JUNOS Base OS boot [12.3R11.2]
    root@1st-VC:RE:0% pwd
    /var
    root@1st-VC:RE:0% du -cks * | sort -rn
    21114   total
    19476   run
    524     rundb
    498     log
    166     etc
    112     jail
    98      etcroot
    94      mfs
    62      db
    14      tmp
    14      spool
    6       home
    6       at
    4       transfer
    4       root
    4       cron
    4       BSD.var.dist
    2       yp
    2       validate
    2       rwho
    2       preserve
    2       named
    2       msgs
    2       mail
    2       lost+found
    2       logical-systems
    2       heimdal
    2       empty
    2       crash
    2       backups
    2       account
    root@1st-VC:RE:0% find / -size +100000
    root@1st-VC:RE:0%



  • 4.  RE: unable to commit, safe to delete these?

     
    Posted 04-28-2020 15:38

    ccarovich,

    Please try to check the same but going into the member that is failing,

     

    >request session member 2

    >start shell user root

    ........

     

    Something else you could try if there are no weird files found, is rebooting that specific member,

    >request system reboot member 2

     

    To avoid having a downtime of the whole stack.

     

    Please marked as "Solved" if this worked for you



  • 5.  RE: unable to commit, safe to delete these?
    Best Answer

     
    Posted 04-28-2020 15:53

    ccarovich,

    In case you have no option to reboot I have found another possible solution,

     

    From the shell mode of this member, same as before,

    >request session member 2 

    >start shell user root

    %cd /var/rundb (check that you are on right directory with "pwd")

    %ls | grep juniper. (if there are files matching, delete them)

    %rm juniper.*

    %mgd -I

     

    If after doing this you are still not able to commit, please try with a #commit full force

     

    Please mark as "Solved" if this worked for you

     



  • 6.  RE: unable to commit, safe to delete these?

     
    Posted 05-04-2020 06:10

    Hi Ccarovich,

     

    I suspect harddisk is missing in FPC2 which not allowing the commit to get complete.

    kindly refer below KB and perform the suggested action.

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB27938&actp=METADATA

     


    Please mark "accept as solution" if this answers your query. Kudos are appreciated too ! 

     

    Regards

    Nadeem