Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, need help mounting a windows shared drive! Some info: [vortexbox.localdomain ~]# uname -r 2.6.30.10-105.2.23.fc11.i686.PAE [vortexbox.localdomain ~]# smbclient -L jsvaio -U guest Enter guest's password: Domain=[JSVAIO] OS=[Windows 5.1] Server=[Windows 2000 ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    8

    Exclamation Need help mounting a windows shared drive

    Hello, need help mounting a windows shared drive!

    Some info:
    [vortexbox.localdomain ~]# uname -r
    2.6.30.10-105.2.23.fc11.i686.PAE

    [vortexbox.localdomain ~]# smbclient -L jsvaio -U guest
    Enter guest's password:
    Domain=[JSVAIO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

    Sharename Type Comment
    --------- ---- -------
    IPC$ IPC Remote IPC
    Drobo2 (G) Disk
    Drobo1 (H) Disk
    G$ Disk Default share
    Music Disk
    ADMIN$ Disk Remote Admin
    H$ Disk Default share
    C$ Disk Default share
    Domain=[JSVAIO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

    Server Comment
    --------- -------

    Workgroup Master
    --------- -------

    I tried this and no deal:
    [vortexbox.localdomain ~]# mount -t cifs //JSVAIO/DROBO1 /mnt/test/
    mount error: could not resolve address for JSVAIO: Name or service not known
    No ip address specified and hostname not found

    and

    [vortexbox.localdomain ~]# mount -t cifs //192.168.1.103/DROBO1 /mnt/test/
    Password:
    retrying with upper case share name
    mount error(6): No such device or address
    Refer to the mount.cifs( manual page (e.g. man mount.cifs)

    Any ideas?

    Thank you in advance!!

    vortecjr

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Have a look here, maybe this will help.

    HOWTO: Mount a Windows Network Share on Linux using SAMBA/CIFS

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    8
    Lazydog, I saw that article and that is how I knew what I posted above. One thing I could not install was smbfs. Yum install smb-client worked, but no deal on yum install smbfs.

    Thanks

    vortecjr

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    You could always try the following:
    Code:
    yum provides smbfs

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    FWIW, cifs/smb file system support is built into the kernel. If your kernel has been built without it (possible), then you will need to reconfigure the kernel to either build CIFS into the kernel, or as a loadable kernel module/driver. Also, the utilities (packages) needed to manage your Samba connections are: samba, samba-client, samba-common, samba-swat, and system-config-samba. These are the yum package names that I have installed on my CentOS 5 (RHEL 5) system.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Just Joined!
    Join Date
    Jan 2010
    Posts
    8

    progress!

    Team, happy Easter if it applies to you.

    I mounted a shared drive "sony" from my xp machine with the following:

    mount -t cifs //192.168.1.103/sony /mnt/test

    For what ever reason it asks for the ip instead of the net bios name of my xp machine. It works though and that is that counts

    Thanks for your help!

    vortecjr

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    The host name isn't getting resolved with your current DNS setup. The easy way to fix that (not necessarily the best) is to add an entry in your Linux /etc/hosts file. IE,

    192.168.1.103 hostname.domain hostname

    where "hostname" is the computer name, and "domain" is the domain name such as "xyzzy.com".
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...