I have a Raspberry pi model B
4TB ext USB HDD
16GB SD card running headless Raspian
I am trying to get a headless SABnzbd system up and running on the Pi with NTFS file structure on HDD (to use on windows systems)
Problem 1
The HDD doesn't seem to want to automount.
On boot via SSH (with ntfs-3g installed) -
Code: Select all
pi@raspberrypi ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 15G 1.7G 13G 12% /
/dev/root 15G 1.7G 13G 12% /
devtmpfs 235M 0 235M 0% /dev
tmpfs 49M 376K 49M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 98M 0 98M 0% /run/shm
/dev/mmcblk0p1 56M 19M 38M 33% /boot
pi@raspberrypi ~ $
Code: Select all
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
/dev/sda1 /HDD ntfs-3g rw,default 0 0
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swap$
Code: Select all
pi@raspberrypi ~ $ sudo mount /dev/sda1 /HDD
pi@raspberrypi ~ $ df -l
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 15037448 1695808 12712284 12% /
/dev/root 15037448 1695808 12712284 12% /
devtmpfs 240516 0 240516 0% /dev
tmpfs 49756 376 49380 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 99500 0 99500 0% /run/shm
/dev/mmcblk0p1 57288 18888 38400 33% /boot
/dev/sda1 3845694472 44624520 3605719836 2% /HDD
SAMBA is installed and smb.conf
Code: Select all
snip-
#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
read only = no
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# The following parameter makes sure that only "username" can connect
# to \\server\username
# This might need tweaking when using external authentication schemes
valid users = %S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
snip-
[HDD]
comment = Public Storage
path = /HDD
valid users = @users
force group = users
create mask = 0777
directory mask = 0777
read only = no
I see the HDD directory but it only gives read-only access via pc (cannot mk folders/files), but can mkdir on HDD via SSH
Problem 3
When I try to setup folders on SABnzbd I get the error about writing to /HDD
Should i be running "sudo sabnzbdplus" instead of "SABnzbdplus" at SSH command line?
Although when i try that, i cant seem to access it from web browser..
Many thanks in advance you linux gods!
Cheers
SkinZ