sh# mount但是执行完全备份时出现如下报错:
//store/homes on /mnt/host type smbfs (rw,mand)
sh# fs_backup at_pages首先看看本地备份是否会有问题,改变 datadir = /var/fs_backup,重新运行完全备份,没有问题。说明限制不再 gzip/bzip2 上面,只可能是 samba 的问题。
gzip: stdout: File too large
tar: /mnt/host/fs_backup/at_pages/at_pages.full.20070301-010003.tgz: Wrote only 2048 of 10240 bytes
tar: Error is not recoverable: exiting now
bzip2: I/O or other error, bailing out. Possible reason follows.
bzip2: File too large
Input file = (stdin), output file = (stdout)
tar: /mnt/host/fs_backup/at_pages/at_pages.full.20070301-145957.tgz: Wrote only 8192 of 10240 bytes
tar: Error is not recoverable: exiting now
从查找资料的情况来看,时间上就是由于 smbfs 有 2GB 的限制,使用 cifs 来代替 smbfs 即可:
sh# mount在 /etc/fstab 做相应更改就可以了。
//store/homes on /mnt/host type cifs (rw,mand)
没有评论:
发表评论