Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> need help with samba mount
webbcm01
post Sep 24 2006, 11:29 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 24-September 06
Member No.: 7,313



hi there,
im very new to linux, but i repair pcs and am a cs major at purdue and figured it was time to try learning. plus, my job now requires it. I normally run ubuntu but for this i am using knoppix livecd because my boss uses it and i thought i would try anyway.
i have an old redhat box here that crashed. i need to transfer the contents of the hdds to an external i have on my network. i dont know, at all really what im doing.
i need to be positive that ALL files are transferred and will need to make a log also, so far this is what ive gotten so far:

mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test
root@2[knoppix]# smbmount //192.168.0.33/shared /mnt/remote_share -o guest
4149: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed
root@2[knoppix]# smbmnt //192.168.0.33/ex1 /mnt/remote_share -o guest
Failed to find real path for mount point //192.168.0.33/ex1: No such file or directory
root@2[knoppix]#

the ip is the external hdd if you hadnt guess, umm i dont know what the share name is, whether thats the file on the remote drive or the drive itself. anyway i dont know how to run mkdir to the remote hdd to make a file on it. ive never used samba before and about the only thing ive ever done in the shell was reconfiguring x-server in ubuntu so i could use the gui. im very new but please i need this done for work and any help asap would be great. a walkthrough even would be wonderful.
Go to the top of the page
 
+Quote Post
michaelk
post Sep 25 2006, 10:23 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



QUOTE
the ip is the external hdd if you hadnt guess

I'm not a good guesser. Is this another computer or somekind of network storage device? You need to know the share name. How do you connect to this device via windows?

Try the following commands. findsmb will show all smb enabled devices on the network. smbtree will show a list of all smb enabled devices and their shares.
smbtree
findsmb
Go to the top of the page
 
+Quote Post
webbcm01
post Sep 25 2006, 03:23 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 24-September 06
Member No.: 7,313



it is simply an external hdd that is connected to the network in windows the (computer nam i guess you would say) comes up as testshare

CODE
root@2[knoppix]# smbtree
Password:
WORKGROUP
        \\KNOPPIX                       Knoppix server (Samba 3.0.22)
                \\KNOPPIX\ADMIN$                IPC Service (Knoppix server (Samba 3.0.22))
                \\KNOPPIX\IPC$                  IPC Service (Knoppix server (Samba 3.0.22))
                \\KNOPPIX\print$                Printer Drivers
DACPAS
        \\TESTSHARE                     testshare
                \\TESTSHARE\ADMIN$              IPC Service ("testshare")
                \\TESTSHARE\IPC$                IPC Service ("testshare")
                \\TESTSHARE\shared
                \\TESTSHARE\ex1
                \\TESTSHARE\xdrive
                \\TESTSHARE\NetFolder
                \\TESTSHARE\config
CHRISAPARTMENT
        \\WEBSERVER                     hp from block
        \\RIG1                          RIG1
root@2[knoppix]#


as it shows here the external hdd also comes up as testshare on the samba directory
Go to the top of the page
 
+Quote Post
michaelk
post Sep 25 2006, 04:13 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Ok try
mount -o guest -t smbfs //testshare/shared /mnt/remote_share
Go to the top of the page
 
+Quote Post
webbcm01
post Sep 25 2006, 04:57 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 24-September 06
Member No.: 7,313



what type of result should i get there? cause this is whats goin on:

CODE
-root@2[knoppix]#
root@2[knoppix]# mount -o guest -t smbfs //testshare/shared /mnt/remote_share
root@2[knoppix]# mount -o guest -t smbfs //testshare/shared /mnt/remote_share
root@2[knoppix]#
Go to the top of the page
 
+Quote Post
michaelk
post Sep 25 2006, 06:15 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



No response typically means the command executed without errors. If you run the mount command with out any parameters you should see that the filesystem is mounted. If there are any files presently in that directory then you should be to view them by looking at the contents of /mnt/remote_share directory.
Go to the top of the page
 
+Quote Post
webbcm01
post Sep 25 2006, 06:43 PM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 24-September 06
Member No.: 7,313



hey thanks a lot i think ive gotten ev erything figured out im just waiting on rsync now thanks
Go to the top of the page
 
+Quote Post
michaelk
post Sep 25 2006, 07:23 PM
Post #8


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Way to go....
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 10:54 AM