在Solaris上运行FTP脚本时,我收到错误“设备上没有剩余空间”

时间:2012-03-21 05:14:32

标签: linux unix solaris

我有一个用于将文件压缩到另一个服务器的脚本,它适用于较少数量的文件,但是当我尝试在放置许多文件后在服务器上运行时,我收到错误“设备上没有剩余空间”。

附上sript的部分也如下: -

cd /var/opt/BGw/ServerGroup1/DRS/CS4SDPAdjArchive/
files=`find . -mtime 1`
echo "Backup Started for CS4SDPAdjArchive on [ `date +'%d-%m-%Y %H:%M:%S'` ]" >>/var/opt/BGw/ServerGroup1/backup_history.log
for file in $files
do
echo $file >>backup_details
ftp -n 10.188.69.160 <<FTP_END
user root !dea@123
binary
prompt off
cd /ccn/backup11/DRS/CS4SDPAdjArchive/
mput $file
FTP_END
done
echo "CS4SDPAdjArchive files transferred successfully!!" >>/var/opt/BGw/ServerGroup1/backup_history.log

输出: -

Interactive mode off.
./SDPOUTPUTCDR_4001_mhsdp29a_ADM_4188_20120319-040039.ASN.tmp: No space left on device.
Interactive mode off.
./SDPOUTPUTCDR_4001_mhsdp67a_ADM_8204_20120319-015437.ASN: No space left on device.
Interactive mode off.
./SDPOUTPUTCDR_4001_mhsdp14a_ADM_6396_20120319-035800.ASN: No space left on device.
Interactive mode off.
./SDPOUTPUTCDR_4001_mhsdp39a_SCH_1394_20120319-041530.ADJ~: No space left on device.
Interactive mode off.
./SDPOUTPUTCDR_4001_mhsdp62a_ADM_6185_20120319-035810.ASN: No space left on device.
Interactive mode off.
./SDPOUTPUTCDR_4001_mhsdp52a_ADM_5427_20120319-041527.ASN: No space left on device.
Interactive mode off.
./SDPOUTPUTCDR_4001_mhsdp67a_ADM_8205_20120319-015537.ASN: No space left on device.

0 个答案:

没有答案