backup: 0511-432 A write error occurred

longan_plot發表於2013-07-24
在做AIX備份時報錯提示:
backup: 0511-432 A write error occurred: A file cannot be larger than the value set by ulimit

原因:由於檔案系統最大空間的限制,修改這個限制
修改檔案:/etc/security/limits
# more limits

*
* Sizes are in multiples of 512 byte blocks, CPU time is in seconds
*
* fsize      - soft file size in blocks
* core       - soft core file size in blocks
* cpu        - soft per process CPU time limit in seconds
* data       - soft data segment size in blocks
* stack      - soft stack segment size in blocks
* rss        - soft real memory usage in blocks
* nofiles    - soft file descriptor limit
* fsize_hard - hard file size in blocks
* core_hard  - hard core file size in blocks
* cpu_hard   - hard per process CPU time limit in seconds
* data_hard  - hard data segment size in blocks
* stack_hard - hard stack segment size in blocks
* rss_hard   - hard real memory usage in blocks
* nofiles_hard - hard file descriptor limit
*
* The following table contains the default hard values if the
* hard values are not explicitly defined:
*
*   Attribute        Value
*   ==========    ============
*   fsize_hard    set to fsize
*   cpu_hard      set to cpu
*   core_hard         -1
*   data_hard         -1
*   stack_hard      8388608 
*   rss_hard          -1
*   nofiles_hard      -1
*
* NOTE:  A value of -1 implies "unlimited"
*

default:
        fsize = 2097151
        core = 2097151
        cpu = -1
        data = 262144
        rss = 65536
        stack = 65536
        nofiles = 2000

root:
fsize=-1
daemon:

bin:

sys:

adm:

uucp:

guest:

nobody:

lpd:


esaadmin:
        stack = 393216
        stack_hard = 393216

在root:下增加一行:fsize=-1   意思就是root使用者下無限制檔案大小

重新啟動系統後才能生效

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27015256/viewspace-767039/,如需轉載,請註明出處,否則將追究法律責任。

相關文章