Есть простой скрипт
#!/bin/sh
######### Script Backup ############
# Mount BackupServer
mount //192.168.2.12/backups /mnt/istor -o user=admin,password=********** ,iocharset=utf8
# Macros of current date
current_date=`date +%F`
# Create directories in BackupServer
mkdir /mnt/istor/admin/centos/gate/$current_date
mkdir /mnt/istor/admin/centos/gate/$current_date/scripts
# Backup
tar -cvjf /mnt/istor/admin/centos/gate/$current_date/gate-etc.tbz2 /etc
tar -cvjf /mnt/istor/admin/centos/gate/$current_date/gate-openvpnkeys.tbz2 /usr/share/openvpn/easy-rsa/2.0/keys
tar -cvjf /mnt/istor/admin/centos/gate/$current_date/gate-lightsquid.tbz2 /var/www/html/lightsquid
tar -cvjf /mnt/istor/admin/centos/gate/$current_date/gate-nginx-html.tbz2 /usr/share/nginx
cp /root/*.sh /mnt/istor/admin/centos/gate/$current_date/scripts/
# Umount BackupServer
umount /mnt/istor
############## END #####################################Запускал , ничего не происходит.
в процессах висит:
837 ? Ss 0:00 /bin/sh /root/backup_gate.sh
838 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=********,iocharset=utf8
2050 ? Ss 0:00 /bin/sh /root/backup_gate.sh
2051 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=********,iocharset=utf8
2998 ? Ss 0:00 /bin/sh /root/backup_gate.sh
2999 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin
3993 ? Ss 0:00 /bin/sh /root/backup_gate.sh
3994 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=**,iocharset=utf8
4935 ? S 0:00 CROND
4937 ? Ss 0:00 /bin/sh /root/backup_gate.sh
4938 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=**,iocharset=utf8
5802 ? S 0:00 CROND
5804 ? Ss 0:00 /bin/sh /root/backup_gate.sh
5805 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=**,iocharset=utf8
6693 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=**,iocharset=utf8
7410 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=**,iocharset=utf8
7495 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=**,iocharset=utf8
пару дней назад 192.168.2.12 невозможно было на него зайти. и видимо процесс подвис.
пытался убить процесс
kill 837
kill 838
получилось вот так:
837 ? Zs 0:00 [backup_gate.sh] <defunct>
838 ? D 0:00 mount //192.168.2.12/backups /mnt/istor -o user=admin,password=**,iocharset=utf8
Подскажите что тут можно сделать?

