tar的时候出现tar: 0511-194 Reached end-of-file before expected.
用ulimit -a查看
调用vi命令在/etc/security/limits 增加如下一行
root:
fsize = -1
为使 /etc/security/limits 文件的更改生效,用户必须注销当前登录会话并重新登录.
用ulimit -a查看
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000
察看limits文件
root:
fsize = -1
data = -1
fsize_hard = -1
cpu_hard = -1
data_hard = -1
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000
察看limits文件
root:
fsize = -1
data = -1
fsize_hard = -1
cpu_hard = -1
data_hard = -1
必要时检查文件系统不是jfs2或者big file enable的jfs文件系统
[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22036495/viewspace-1049217/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22036495/viewspace-1049217/