played some more and found that I can mount the drive by running the script with the drive as a parameter
rebooted the MyBookWorld drive
ran mount and got
/dev/root on / type ext3 (rw,noatime,data=ordered)
proc on /proc type proc (rw)
sys on /sys type sysfs (rw)
/dev/pts on /dev/pts type devpts (rw)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/md3 on /var type ext3 (rw,noatime,data=ordered)
/dev/md2 on /DataVolume type xfs (rw,noatime,uqnoenforce)
/dev/ram0 on /mnt/ram type tmpfs (rw)
/dev/md2 on /shares/Download type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Epub type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Public type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Software type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/technet type xfs (rw,noatime,uqnoenforce)
/dev/root on / type ext3 (rw,noatime,data=ordered)
proc on /proc type proc (rw)
sys on /sys type sysfs (rw)
/dev/pts on /dev/pts type devpts (rw)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/md3 on /var type ext3 (rw,noatime,data=ordered)
/dev/md2 on /DataVolume type xfs (rw,noatime,uqnoenforce)
/dev/ram0 on /mnt/ram type tmpfs (rw)
/dev/md2 on /shares/Download type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Epub type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Public type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Software type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/technet type xfs (rw,noatime,uqnoenforce)
ran the script
/etc/hotplug # ./mount-external-drive sdb
insmod: cannot insert `/lib/modules/2.6.24.4/kernel/fs/nls/nls_iso8859-1.ko’: File exists (-1): File exists
insmod: cannot insert `/lib/modules/2.6.24.4/kernel/fs/nls/nls_cp437.ko’: File exists (-1): File exists
insmod: cannot insert `/lib/modules/2.6.24.4/kernel/fs/vfat/vfat.ko’: File exists (-1): File exists
./mount-external-drive: ./mount-external-drive: 208: reverse: not found
disk name is WD-My-Book-1110
making directory /shares/external/WD-My-Book-1110
found the partitions sdb1
no label
partition sdb1 has label Partition-1
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Able to mount drive
./mount-external-drive: ./mount-external-drive: 347: reverse: not found
Telent notify
telnet: Unable to connect to remote host (127.0.0.1): Connection refused
/etc/hotplug
ran mount again
/etc/hotplug # mount
/dev/root on / type ext3 (rw,noatime,data=ordered)
proc on /proc type proc (rw)
sys on /sys type sysfs (rw)
/dev/pts on /dev/pts type devpts (rw)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/md3 on /var type ext3 (rw,noatime,data=ordered)
/dev/md2 on /DataVolume type xfs (rw,noatime,uqnoenforce)
/dev/ram0 on /mnt/ram type tmpfs (rw)
/dev/md2 on /shares/Download type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Epub type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Public type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/Software type xfs (rw,noatime,uqnoenforce)
/dev/md2 on /shares/technet type xfs (rw,noatime,uqnoenforce)
/dev/sdb1 on /shares/external/WD-My-Book-1110/Partition-1 type ext3 (rw,nosuid,data=ordered)
drive is now mounted but can not connect so it looks like whatever script is setting the share is at fault.
[root@Main etc]# smbclient -L 192.168.0.110
Enter root’s password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c]
Sharename Type Comment
--------- ---- -------
Download Disk Download Share
Epub Disk Epub books
Public Disk Public Share
Software Disk Installers for various software
technet Disk technet software
Configuration Disk System Configuration
IPC$ IPC IPC Service (My Book World Edition Network Storage)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c]
Server Comment
--------- -------
MYBOOKWORLD My Book World Edition Network Storage
Workgroup Master
--------- -------
WORKGROUP
anyone any ideas?