[SOLVED] NewB: Problem with samba, any tips?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: NewB: Problem with samba, any tips?

Postby techmate » Wed Mar 06, 2013 3:16 pm

$this->bbcode_second_pass_code('', '
# fdisk -l

Disk /dev/sda: 4110 MB, 4110417920 bytes, 8028160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 32 8020479 4010224 83 Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x518c17c2

Device Boot Start End Blocks Id System
/dev/sdb1 63 976768064 488384001 83 Linux

Disk /dev/sdc: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf2849177

Device Boot Start End Blocks Id System
/dev/sdc1 2048 976773167 488385560 83 Linux

')

sda is usb flash drive where arch linux install
sdb is usb hd 500gb
sdc is usb hd 500gb
Last edited by techmate on Wed Mar 06, 2013 3:35 pm, edited 1 time in total.
techmate
 
Posts: 9
Joined: Sat Mar 02, 2013 4:25 pm

Re: NewB: Problem with samba, any tips?

Postby techmate » Wed Mar 06, 2013 3:22 pm

I did proc/mount to see my mount info

$this->bbcode_second_pass_code('', '
/dev/sdb1 /media/hd-sdb1 ext3 rw,noatime,user_xattr,acl,barrier=1,nodelalloc,dat
a=ordered 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
/dev/sdc1 /media/hd-sdc1 ext3 rw,relatime,user_xattr,acl,barrier=1,nodelalloc,da
ta=ordered 0 0
')

all looks ok to me .....
techmate
 
Posts: 9
Joined: Sat Mar 02, 2013 4:25 pm

Re: NewB: Problem with samba, any tips?

Postby techmate » Wed Mar 06, 2013 3:32 pm

let me post my config file again

$this->bbcode_second_pass_code('', '
[global]
log file = /var/log/samba/%m.log
large readwrite = yes
load printers = no
read raw = yes
write raw = yes
aio read size = 4096
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE
dead time = 15
max xmit = 131070
dns proxy = no
oplocks = No
netbios name = ALARM
write cache size = 65536
min receivefile size = 4096
printing = bsd
server string = ALARM
disable netbios = yes
aio write size = 65636
workgroup = WORKGROUP
use sendfile = true
os level = 20
printcap name = /dev/null
security = share
getwd cache = Yes
max log size = 50
disable spoolss = yes


[hd-sdb1]
path = /media/hd-sdb1
read only = no
public = yes
writable = yes
only guest = yes


[hd-sdc1]
writeable = yes
public = yes
path = /media/hd-sdc1
')

I can see the samba server but I cant even see the share????
techmate
 
Posts: 9
Joined: Sat Mar 02, 2013 4:25 pm

Re: NewB: Problem with samba, any tips?

Postby winestock » Thu Mar 07, 2013 10:27 pm

$this->bbcode_second_pass_quote('techmate', 'l')et me post my config file again

$this->bbcode_second_pass_code('', '
[global]
log file = /var/log/samba/%m.log
large readwrite = yes
load printers = no
read raw = yes
write raw = yes
aio read size = 4096
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE
dead time = 15
max xmit = 131070
dns proxy = no
oplocks = No
netbios name = ALARM
write cache size = 65536
min receivefile size = 4096
printing = bsd
server string = ALARM
disable netbios = yes
aio write size = 65636
workgroup = WORKGROUP
use sendfile = true
os level = 20
printcap name = /dev/null
security = share
getwd cache = Yes
max log size = 50
disable spoolss = yes


[hd-sdb1]
path = /media/hd-sdb1
read only = no
public = yes
writable = yes
only guest = yes


[hd-sdc1]
writeable = yes
public = yes
path = /media/hd-sdc1
')

I can see the samba server but I cant even see the share????


Not sure if this will make any difference but a couple of things. First try adding to your samba config file:
$this->bbcode_second_pass_code('', '
[global]
workgroup = WORKGROUP
server string = ALARM
netbios name = ALARM
')

Change your hd-sdc1 to:
$this->bbcode_second_pass_code('', '
[hd-sdc1]
path = /media/hd-sdc1
read only = no
public = yes
writable = yes
only guest = yes
')

Are you mounting your Pogoplug HDs on Windows using the guest username? I found that using smb://guest@<IP address>/<HD path> is sometimes needed.
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: [SOLVED] NewB: Problem with samba, any tips?

Postby techmate » Sat Mar 09, 2013 6:31 pm

solved my problem by reinstalling samba. I updated the first post
techmate
 
Posts: 9
Joined: Sat Mar 02, 2013 4:25 pm

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 9 guests