leandrotivargas
(usa Ubuntu)
Enviado em 16/09/2013 - 10:42h
E ae pessoal, tudo bem com vocês?
Estou tentando fazer umas alterações em um script aqui e está acontecendo o seguinte problema.
Eu executo esse script
#!/bin/bash
#Montar Pasta ProEmp00
mount -t smbfs //192.168.15.1/ProEmp00 /mnt/ProEmp00 -o username=*,password=*
#Montar Pasta Prosoft.win
mount -t smbfs //192.168.15.1/Prosoft.win /mnt/Prosoft.win -o username=*,password=*
#Montar Pasta Departamentos e Clientes
mount -t smbfs //192.168.15.1/Departamentos_e_Clientes /mnt/Departamentos_e_Clientes -o username=*,password=*
#Montar Pasta Contabil
mount -t smbfs //192.168.15.1/contabil /mnt/Contabil -o username=*,password=*
#Montar Pasta Dep_Rural
mount -t smbfs //192.168.15.1/Dep_Rural /mnt/Dep_Rural -o username=*,password=*
#Montar Pasta Dep_Societario
mount -t smbfs //192.168.15.1/Dep_Societario /mnt/Dep_Societario -o username=*,password=*
#Montar Pasta Dep_Pessoal
mount -t smbfs //192.168.15.1/DP /mnt/DP -o username=*,password=*
#Montar Pasta Dep_Fiscal
mount -t smbfs //192.168.15.1/Fiscal /mnt/Fiscal -o username=*,password=*
#Montar Pasta Dep_Diretoria
mount -t smbfs //192.168.15.1/Diretoria /mnt/Diretoria -o username=*,password=*
#Montar Pasta Gfip
mount -t smbfs //192.168.15.1/gfip/ /mnt/Gfip -o username=*,password=*
#Montar Pasta Caged
mount -t smbfs //192.168.15.1/caged/ /mnt/Caged -o username=*,password=*
#Montar Pasta Grrf
mount -t smbfs //192.168.15.1/grrf/ /mnt/Grrf -o username=*,password=*
#Montar Storage
mount -t smbfs //192.168.15.16/backups/ /mnt/Storage_Backup -o username=*,password=*
E ele me retorna o seguinte
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Couldn't chdir to /mnt/Diretoria: No such file or directory
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Quero dar destaque a essa parte
Couldn't chdir to /mnt/Diretoria: No such file or directory
O resto está tudo como planejado.
Alguém sabe um possível motivo de estar acontecendo isso e como eu posso consertar?
Desde já, muito obrigado.