Bonsoir à tous,
le reprécise les données de base:
TGS100 avec DD à l'adresse IP 192.168.1.aaa et image DOUME 2.13a
TGS200 à l'adresse IP 192.168.1.bbb et image DOUME 2.13a
mon soucis est de monter le DD du tgs100 sur le TGS200 pour me permettre d'enregistrer/lire sur le DD.
le smb.conf du TGS
[global]
load printers = no
guest account = root
log file = /tmp/smb.log
security = share
server string = TGATE network services
workgroup = workgroup
netbios name = tgs100
[Configuration]
comment = Configuration files - take care!
path = /var
read only = no
public = yes
guest ok = yes
[Harddisk]
comment = The harddisk
path = /hdd
read only = no
public = yes
guest ok = yes
[MMC]
comment = The Memory Card
path = /mmc
read only = no
public = yes
guest ok = yes
[root]
comment = The root filesystem !
path = /
read only = no
public = yes
guest ok = yes
le smb.conf du TGS200
[global]
load printers = no
guest account = root
log file = /tmp/smb.log
security = share
server string = TGATE network services
workgroup = workgroup
netbios name = tgs200
[Configuration]
comment = Configuration files - take care!
path = /var
read only = no
public = yes
guest ok = yes
[Harddisk]
comment = The harddisk
path = /hdd
read only = no
public = yes
guest ok = yes
[MMC]
comment = The Memory Card
path = /mmc
read only = no
public = yes
guest ok = yes
[root]
comment = The root filesystem !
path = /
read only = no
public = yes
guest ok = yes
et le mount_cifs sur le tgs200 dans var/bin avec chmod 755 :
#!/bin/sh
#insert mount point to mount at boot
/sbin/lsmod | grep cifs >/dev/null
ret=$?
case $ret in
0 )
echo "cifs module present..."
;;
* )
echo "Loading cifs module"
/sbin/insmod /lib/modules/2.6.9/extra/cifs.ko
;;
esac
sync
# echo "tgs 100 192.168.1.250 hdd sur le tgs100 var/mnt/hdd sur tgs200"
#mount -t cifs //192.168.1.250/hdd /hdd -o user=root,pass=itgate
# mount -t cifs //192.168.1.250/Hardisk /Hardisk -o user=root,pass=itgate
# mount -t cifs //192.168.1.250/hdd /Harddisk -o user=root,pass=itgate
mount -t cifs //192.168.1.250/Harddisk /hdd -o user=root,pass=itgate
et malheureusement le résultat en telnet
[ITGATE(TGS200) /> mount_cifs
cifs module present...
mount: Mounting //192.168.1.250/Harddisk on /hdd failed: Input/output error
[ITGATE(TGS200) />
désolé pour le gros post , j'espère avoir été complet.
Merci d'avance pour vos conseils
JJ