Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Troubleshooting • Re: problem with samba shared drives on raspberry pi 3

$
0
0
thankyou for the responses here.

Code:

root@raspberrypi:~# testparm -sLoad smb config files from /etc/samba/smb.confLoaded services file OK.Weak crypto is allowedServer role: ROLE_STANDALONE# Global parameters[global]        log file = /var/log/samba/log.%m        logging = file        map to guest = Bad User        max log size = 1000        obey pam restrictions = Yes        pam password change = Yes        panic action = /usr/share/samba/panic-action %d        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .        passwd program = /usr/bin/passwd %u        server role = standalone server        unix password sync = Yes        usershare allow guests = Yes        idmap config * : backend = tdb[homes]        browseable = No        comment = Home Directories        create mask = 0700        directory mask = 0700        valid users = %S[printers]        browseable = No        comment = All Printers        create mask = 0700        path = /var/spool/samba        printable = Yes[print$]        comment = Printer Drivers        path = /var/lib/samba/printers[share149]        guest ok = Yes        path = /media/tony/149gb        read only = No[share120]        guest ok = Yes        path = /media/tony/120gb        read only = No
both drives are formatted Fat32 (vfat).
what I've noticed is strange is that the mount command only shows 1 drive:

Code:

root@raspberrypi:~# mount<snip>/dev/sda1 on /media/tony/149gb type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
and yet the 120gb drive is also mounted and fully accessible and writable but ti doesn't show under the mount command.

I also unmounted the 149gb drive and remounted it using:

Code:

mount -t vfat -rw /dev/sda1 /media/tony/149gb
the chmod command I used was:

Code:

root@raspberrypi:~# chmod 777 /media/tony/149gb
I had to enter my username and password to initially get to the drive in windows 11 but had no problem with that.
I didn't create samba users.
but still the damn thing will not accept any write. this is driving me batty.

Statistics: Posted by neuronetv — Wed Dec 17, 2025 10:42 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles