Find the answer to your Linux question:
Results 1 to 6 of 6
I have exsting data on a 2nd drive, about 100 gigs worth. I have set up a samba server. For some reason I can only successfully access shares on the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    24

    Samba and Secondary drives


    I have exsting data on a 2nd drive, about 100 gigs worth.

    I have set up a samba server.

    For some reason I can only successfully access shares on the primary drive, mounted as "/".

    I mount the secondary drive as /data (formatted ext3). Despite permissions being EXACTLY the same for the top folder and all subfolders, frickin' windows will NOT access it.

    Here is my FSTAB. I'm pretty sure it has something to do with the physical drive and not the permissions.

    I have chmod -R for "777" on shares both on the primary and secondary. However, whenever I change the path to the secondary drive, windows tells me "The path does not exist".

    In other words I can only share data on the primary drive.

    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    LABEL=/ / ext3 defaults 1 1
    LABEL=/bkup /bkup ext3 defaults 1 1
    LABEL=/data /data ext3 defaults 1 1
    /dev/devpts /dev/pts devpts gid=5,mode=620 0 0
    /dev/shm /dev/shm tmpfs defaults 0 0
    /dev/proc /proc proc defaults 0 0
    /dev/sys /sys sysfs defaults 0 0
    /dev/hda3 /win vfat defaults 0 0
    LABEL=ˆŠAežùeìC4CF swap swap defaults 0 0
    /dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0

  2. #2
    Linux Newbie
    Join Date
    Dec 2004
    Location
    Barrie, Ontario
    Posts
    219
    More than likely, the problem is not your filesystem, but rather with your Samba configuration. Can you post that section from smb.conf?
    Blog - KB5UMQ - Linux User #272983
    3 Rules:
    1) "It doesn't work..." is simply not useful information.
    2) Don't cross post!
    3) If you are asking for help, start by telling us your distro/os and version.

  3. #3
    Just Joined!
    Join Date
    Apr 2006
    Posts
    24
    Thank you for your help.

    Unfortunately, the computer is at work and I don't have the smb.conf file right now.

    I have set up a share that has two identical folders, one on the primary drive, and the other on the secondary drive.

    All I ever change is the path, all other parameters stay the same. When I point the path to the primary drive, windows will let me access it over the network.

    When I change the path to the secondary drive, windows tells me the path does not exist.

    If this doesn't help, I will post the smb.conf file in the morning.

    Thanks again.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Dec 2004
    Location
    Barrie, Ontario
    Posts
    219
    Please post the configuration when you get to work...
    Blog - KB5UMQ - Linux User #272983
    3 Rules:
    1) "It doesn't work..." is simply not useful information.
    2) Don't cross post!
    3) If you are asking for help, start by telling us your distro/os and version.

  6. #5
    Just Joined!
    Join Date
    Apr 2006
    Posts
    24

    Here is the FSTAB

    I'm afraid in trying different things, it may not be exactly the same as yesterday. Anyway, maybe it will give you some idea.

    Right now, this is the smb.conf. In this one, I can browse the music directory, but no matter what I try, it will not let me write to it.

    From the HOWTO on this site, it seems like ANYONE should be able to write to the [music] share. Both the /shares and /shares/music show to be 0777 in the properties box for that share.

    By the way, I am using Fedora Core 4. Here is the smb.conf.

    Thanks so much for your help.

    # Global Parameters

    [global]
    netbios name = closet
    server string = Closet file server
    workgroup = jhome
    security = user
    encrypt passwords = yes


    [homes]
    read only = no
    browseable = no
    create mask = 0664
    directory mask = 0775

    [music]
    path = /shares/music
    comment = Shared folders
    guest ok = yes
    create mode = 0766
    browseable = yes
    public = yes
    read only = no

  7. #6
    Just Joined!
    Join Date
    Jun 2006
    Posts
    3
    did you ever solve this problem... i ask, because i have exactly the same problem


    cheers


    jack
    Total ergonomy

Posting Permissions

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