2 hdd in ts 210 - but only acces to 1 hdd

Discussion on setting up QNAP NAS products.
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

> Is it possible the shard folder named "Platte_1" does point to the very same folder like "Public"? Check the shared folder properties and compare.
Yes, it was a test to get to the content of /public by an other way. It was not succesfully.

Interesting to check would be the output of testparm from the NAS shell - to see if there are some errors spilled, and how Public and Plate_1 is configured:

The first part of the text is unreacheable (is | more needed?)
Is it helpful for you?

Part 1 of #testparm:
comment = System default share
path = /share/HDA_DATA/Qdownload
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes

[Qrecordings]
comment = System default share
path = /share/HDA_DATA/Qrecordings
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes

[Qweb]
comment = System default share
path = /share/HDA_DATA/Qweb
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes

[Qusb]
comment = System default share
path = /share/HDA_DATA/Qusb
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes

[verwaltung]
path = /share/HDA_DATA/Public
recycle bin = Yes
valid users = root, verwalter
write list = verwalter
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Service]
path = /share/HDA_DATA/Public
recycle bin = Yes
invalid users = guest
valid users = root, verwalter, @Service
write list = verwalter, @Service
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Qmultimedia]
comment = System default share
path = /share/HDA_DATA/Qmultimedia
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Daten]
path = /share/HDA_DATA/Daten
recycle bin = Yes
invalid users = guest
valid users = root, admin, @everyone
read list = @everyone
write list = admin
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Network Recycle Bin 2]
comment = [Single Disk Volume: Drive 2]
path = /share/HDB_DATA/Network Recycle Bin
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin
read list = @everyone
write list = admin
inherit permissions = Yes
guest ok = Yes

[Ordner-allg]
path = /share/HDA_DATA/Ordner-allg
recycle bin = Yes
valid users = root, verwalter, @Service, admin
write list = verwalter, @Service, admin
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Public]
comment = System default share
path = /share/HDA_DATA/Public
recycle bin = Yes
qbox = Yes
valid users = root, admin, guest, jeder, verwalter
write list = admin, guest, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
hosts allow = 192.168.78.27
oplocks = No

[3TB]
comment = neues Laufwerk
path = /share/HDB_DATA/3TB
recycle bin = Yes
valid users = root, admin, jeder, @everyone, verwalter, guest
write list = admin, jeder, @everyone, verwalter, guest
inherit permissions = Yes
guest ok = Yes
oplocks = No

[QNAP-Platte-1]
comment = testweise
path = /share/HDA_DATA/QNAP-Platte-1
invalid users = guest
valid users = root, admin
write list = admin
inherit permissions = Yes
guest ok = Yes
smb encrypt = No

[TS-210]
comment = nur Windows
path = /share/HDA_DATA/.@msdfs_root/TS-210
guest ok = Yes
msdfs root = Yes

[homes]
comment = System default share
path = /share/HDB_DATA/homes
valid users = root, admin
write list = admin
inherit permissions = Yes
guest ok = Yes
smb encrypt = No

[2TB-Platte]
comment = neuer Versuch 180115
path = /share/HDA_DATA/2TB-Platte
qbox = Yes
invalid users = guest
valid users = root, admin, jeder, verwalter
write list = admin, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[home]
comment = Home
path = %H
invalid users = guest
valid users = %u
read list = %u
write list = %u
read only = No
inherit permissions = Yes
root preexec = /sbin/create_home -u '%q'

[Platte_1]
path = /share/HDA_DATA/Public
qbox = Yes
invalid users = guest
valid users = root, admin, jeder, verwalter
write list = admin, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[NAS]
path = /share/HDA_DATA/NAS
recycle bin = Yes
valid users = root, admin, @everyone, guest, verwalter, @Service
write list = admin, @everyone, guest, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[Network Recycle Bin 1]
comment = [Single Disk Volume: Drive 1]
path = /share/HDA_DATA/Qweb
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
[~] # testparm
Load smb config files from /etc/config/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "null passwords" option is deprecated
Processing section "[Qdownload]"
Processing section "[Qrecordings]"
Processing section "[Qweb]"
Processing section "[Qusb]"
Processing section "[verwaltung]"
Processing section "[Service]"
Processing section "[Qmultimedia]"
Processing section "[Daten]"
Processing section "[Network Recycle Bin 2]"
Processing section "[Ordner-allg]"
Processing section "[Public]"
Processing section "[3TB]"
Processing section "[QNAP-Platte-1]"
Processing section "[TS-210]"
Processing section "[homes]"
Processing section "[2TB-Platte]"
Processing section "[home]"
Processing section "[Platte_1]"
Processing section "[NAS]"
Processing section "[Network Recycle Bin 1]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Invalid combination of parameters for service verwaltung. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Service. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Qmultimedia. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Daten. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Ordner-allg. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Public. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service 3TB. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service 2TB-Platte. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Platte_1. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service NAS. Level II oplocks can only be set if oplocks are also set.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

And here part 2 (Dump)
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Daten]
path = /share/HDA_DATA/Daten
recycle bin = Yes
invalid users = guest
valid users = root, admin, @everyone
read list = @everyone
write list = admin
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Network Recycle Bin 2]
comment = [Single Disk Volume: Drive 2]
path = /share/HDB_DATA/Network Recycle Bin
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin
read list = @everyone
write list = admin
inherit permissions = Yes
guest ok = Yes

[Ordner-allg]
path = /share/HDA_DATA/Ordner-allg
recycle bin = Yes
valid users = root, verwalter, @Service, admin
write list = verwalter, @Service, admin
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Public]
comment = System default share
path = /share/HDA_DATA/Public
recycle bin = Yes
qbox = Yes
valid users = root, admin, guest, jeder, verwalter
write list = admin, guest, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
hosts allow = 192.168.78.27
oplocks = No

[3TB]
comment = neues Laufwerk
path = /share/HDB_DATA/3TB
recycle bin = Yes
valid users = root, admin, jeder, @everyone, verwalter, guest
write list = admin, jeder, @everyone, verwalter, guest
inherit permissions = Yes
guest ok = Yes
oplocks = No

[QNAP-Platte-1]
comment = testweise
path = /share/HDA_DATA/QNAP-Platte-1
invalid users = guest
valid users = root, admin
write list = admin
inherit permissions = Yes
guest ok = Yes
smb encrypt = No

[TS-210]
comment = nur Windows
path = /share/HDA_DATA/.@msdfs_root/TS-210
guest ok = Yes
msdfs root = Yes

[homes]
comment = System default share
path = /share/HDB_DATA/homes
valid users = root, admin
write list = admin
inherit permissions = Yes
guest ok = Yes
smb encrypt = No

[2TB-Platte]
comment = neuer Versuch 180115
path = /share/HDA_DATA/2TB-Platte
qbox = Yes
invalid users = guest
valid users = root, admin, jeder, verwalter
write list = admin, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[home]
comment = Home
path = %H
invalid users = guest
valid users = %u
read list = %u
write list = %u
read only = No
inherit permissions = Yes
root preexec = /sbin/create_home -u '%q'

[Platte_1]
path = /share/HDA_DATA/Public
qbox = Yes
invalid users = guest
valid users = root, admin, jeder, verwalter
write list = admin, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[NAS]
path = /share/HDA_DATA/NAS
recycle bin = Yes
valid users = root, admin, @everyone, guest, verwalter, @Service
write list = admin, @everyone, guest, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[Network Recycle Bin 1]
comment = [Single Disk Volume: Drive 1]
path = /share/HDA_DATA/Qweb
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
[~] #



...
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

Here my second attempt to send testparm:
[~] # testparm | more
Load smb config files from /etc/config/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "null passwords" option is deprecated
Processing section "[Qdownload]"
Processing section "[Qrecordings]"
Processing section "[Qweb]"
Processing section "[Qusb]"
Processing section "[verwaltung]"
Processing section "[Service]"
Processing section "[Qmultimedia]"
Processing section "[Daten]"
Processing section "[Network Recycle Bin 2]"
Processing section "[Ordner-allg]"
Processing section "[Public]"
Processing section "[3TB]"
Processing section "[QNAP-Platte-1]"
Processing section "[TS-210]"
Processing section "[homes]"
Processing section "[2TB-Platte]"
Processing section "[home]"
Processing section "[Platte_1]"
Processing section "[NAS]"
Processing section "[Network Recycle Bin 1]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Invalid combination of parameters for service verwaltung. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Service. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Qmultimedia. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Daten. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Ordner-allg. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Public. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service 3TB. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service 2TB-Platte. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Platte_1. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service NAS. Level II oplocks can only be set if oplocks are also set.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions


valid users = root, verwalter
write list = verwalter
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Service]
path = /share/HDA_DATA/Public
recycle bin = Yes
invalid users = guest
valid users = root, verwalter, @Service
write list = verwalter, @Service
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Qmultimedia]
comment = System default share
path = /share/HDA_DATA/Qmultimedia
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Daten]
path = /share/HDA_DATA/Daten
recycle bin = Yes
invalid users = guest
valid users = root, admin, @everyone
read list = @everyone
write list = admin
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Network Recycle Bin 2]
comment = [Single Disk Volume: Drive 2]
path = /share/HDB_DATA/Network Recycle Bin
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin
read list = @everyone
write list = admin
inherit permissions = Yes
guest ok = Yes

[Ordner-allg]
path = /share/HDA_DATA/Ordner-allg
recycle bin = Yes
valid users = root, verwalter, @Service, admin
write list = verwalter, @Service, admin
inherit permissions = Yes
guest ok = Yes
oplocks = No

[Public]
comment = System default share
path = /share/HDA_DATA/Public
recycle bin = Yes
qbox = Yes
valid users = root, admin, guest, jeder, verwalter
write list = admin, guest, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
hosts allow = 192.168.78.27
oplocks = No

[3TB]
comment = neues Laufwerk
path = /share/HDB_DATA/3TB
recycle bin = Yes
valid users = root, admin, jeder, @everyone, verwalter, guest
write list = admin, jeder, @everyone, verwalter, guest
inherit permissions = Yes
guest ok = Yes
oplocks = No

[QNAP-Platte-1]
comment = testweise
path = /share/HDA_DATA/QNAP-Platte-1
invalid users = guest
valid users = root, admin
write list = admin
inherit permissions = Yes
guest ok = Yes
smb encrypt = No

[TS-210]
comment = nur Windows
path = /share/HDA_DATA/.@msdfs_root/TS-210
guest ok = Yes
msdfs root = Yes

[homes]
comment = System default share
path = /share/HDB_DATA/homes
valid users = root, admin
write list = admin
inherit permissions = Yes
guest ok = Yes
smb encrypt = No

[2TB-Platte]
comment = neuer Versuch 180115
path = /share/HDA_DATA/2TB-Platte
qbox = Yes
invalid users = guest
valid users = root, admin, jeder, verwalter
write list = admin, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[home]
comment = Home
path = %H
invalid users = guest
valid users = %u
read list = %u
write list = %u
read only = No
inherit permissions = Yes
root preexec = /sbin/create_home -u '%q'

[Platte_1]
path = /share/HDA_DATA/Public
qbox = Yes
invalid users = guest
valid users = root, admin, jeder, verwalter
write list = admin, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[NAS]
path = /share/HDA_DATA/NAS
recycle bin = Yes
valid users = root, admin, @everyone, guest, verwalter, @Service
write list = admin, @everyone, guest, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
oplocks = No

[Network Recycle Bin 1]
comment = [Single Disk Volume: Drive 1]
path = /share/HDA_DATA/Qweb
recycle bin = Yes
invalid users = guest
valid users = root, @everyone, admin, verwalter, @Service
read list = @everyone
write list = admin, verwalter, @Service
inherit permissions = Yes
guest ok = Yes
smb encrypt = No
[~] #
[~] # testparm | more
Load smb config files from /etc/config/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "null passwords" option is deprecated
Processing section "[Qdownload]"
Processing section "[Qrecordings]"
Processing section "[Qweb]"
Processing section "[Qusb]"
Processing section "[verwaltung]"
Processing section "[Service]"
Processing section "[Qmultimedia]"
Processing section "[Daten]"
Processing section "[Network Recycle Bin 2]"
Processing section "[Ordner-allg]"
Processing section "[Public]"
Processing section "[3TB]"
Processing section "[QNAP-Platte-1]"
Processing section "[TS-210]"
Processing section "[homes]"
Processing section "[2TB-Platte]"
Processing section "[home]"
Processing section "[Platte_1]"
Processing section "[NAS]"
Processing section "[Network Recycle Bin 1]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Invalid combination of parameters for service verwaltung. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Service. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Qmultimedia. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Daten. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Ordner-allg. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Public. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service 3TB. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service 2TB-Platte. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service Platte_1. Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service NAS. Level II oplocks can only be set if oplocks are also set.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = GUENTHERSNETZ
server string = QNAP
map to guest = Bad User
null passwords = Yes
smb passwd file = /etc/config/smbpasswd
passdb backend = smbpasswd
guest account = guest
enhance acl v1 = Yes
remove everyone = Yes
username map = /etc/config/smbusers
max log size = 10
server max protocol = SMB2
name resolve order = wins, host, bcast
unix extensions = No
deadtime = 10
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=65536 SO_RCVBUF=65536
load printers = No
printcap cache time = 0
local master = No
dns proxy = No
wins support = Yes
lock directory = /share/HDA_DATA/.samba/lock
state directory = /share/HDA_DATA/.samba/state
cache directory = /share/HDA_DATA/.samba/cache
pid directory = /var/lock
template homedir = /share/homes/DOMAIN=%D/%U
idmap config * : backend = tdb
acl allow execute always = Yes
create mask = 0777
directory mask = 0777
force unknown acl user = Yes
inherit acls = Yes
use sendfile = Yes
delete veto files = Yes
veto files = /.AppleDB/.AppleDouble/.AppleDesktop/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/:2e*/.@__qini/.Qsync/.@upload_cache/.qsync/.qsync_sn/.@qsys/.digest/
map archive = No
map readonly = no
mangled names = No
store dos attributes = Yes
wide links = Yes
vfs objects = acl_xattr
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by schumaku »

Here is the issue with the Public shared folder: You have configured the Microsoft Networking Host Access restriction, allowing the Public shared folder access for just one LAN IP address, 192.168.78.27:

[Public]
comment = System default share
path = /share/HDA_DATA/Public
recycle bin = Yes
qbox = Yes
valid users = root, admin, guest, jeder, verwalter
write list = admin, guest, jeder, verwalter
inherit permissions = Yes
guest ok = Yes
hosts allow = 192.168.78.27
oplocks = No

Remove it here:
Microsoft Networking Host Access.PNG
You do not have the required permissions to view the files attached to this post.
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

I did remove the restricting,
Now do I see the directory /Public in the linux data manager (dolphin); I was able to open that directory, but o n l y after inserting admin and passwort. It is already better than bevore! However in filezilla, my favorite program, appears /Public not. Do you have a recommandation how to correct it?
I add a piece of testparm, were is /Public to see and some other directories for comparison.

Code: Select all

[Public]
        comment = System default share
        path = /share/HDA_DATA/Public
        recycle bin = Yes
        qbox = Yes
        valid users = root, admin, guest, jeder, verwalter
        write list = admin, guest, jeder, verwalter
        inherit permissions = Yes
        guest ok = Yes
        oplocks = No

[3TB]
        comment = neues Laufwerk
        path = /share/HDB_DATA/3TB
        recycle bin = Yes
        valid users = root, admin, jeder, @everyone, verwalter, guest
        write list = admin, jeder, @everyone, verwalter, guest
        inherit permissions = Yes
        guest ok = Yes
        oplocks = No

[QNAP-Platte-1]
        comment = testweise
        path = /share/HDA_DATA/QNAP-Platte-1
        invalid users = guest
        valid users = root, admin
        write list = admin
        inherit permissions = Yes
        guest ok = Yes
        smb encrypt = No

[TS-210]
        comment = nur Windows
        path = /share/HDA_DATA/.@msdfs_root/TS-210
        guest ok = Yes
        msdfs root = Yes
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by schumaku »

mgbd397 wrote:Now do I see the directory /Public in the linux data manager (dolphin); I was able to open that directory, but o n l y after inserting admin and passwort. It is already better than bevore!
You might want to add the everyone group to the Public share folder access permissions for R+W.

In general, using a pure non-authenticated guest access to a NAS is a very bad advise. Microsoft does deny accessing shared folders without authentication (no more the so called "guest" access) for a longer time already.
mgbd397 wrote:However in filezilla, my favorite program, appears /Public not. Do you have a recommandation how to correct it?
FZ is per se an FTP client, but supporting a few other protocols. Show the host configuration in FileZilla, show a connection log (right click in the connection log area - show detailed log), ... However, the host access restrictions you had there don't apply to ftp/ftpes/sftp.
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

> You might want to add the everyone group to the Public share folder access permissions for R+W.

I did it, but it is the same problem: no access like bevore to /Public.
I get /Public in the linux data manager, but only after inserting name and passwort (the directory 3TB doesn't require that!).
In windows data manager (total commander) is the ftp-connection to 3TB possible, but the well known and often used connection to /Public no more.

Do you also think, there is no more a possibility to solve my problem of no access?
Would it be better, if I would buy a new NAS? But needed to reuse the old hdd's.
What about using a raspberry as nas? Not quit enough?

VG
mgbd397
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by schumaku »

With enough time it should be possible to figure out what does go wrong. For my part, I'm neither suggesting the usage of the non-authenticated SMB "guest" access. You might disable ... apply ... and then re-enable the guest access for read-only or read&write, and see if this does resolve.
mgbd397 wrote:In windows data manager (total commander) is the ftp-connection to 3TB possible, but the well known and often used connection to /Public no more.
Use Windows Explorer to start with. And then certainly not FTP as long as you are on the same (W)LAN.

Worth a try - run this on all shared folders where you have access issues - on the NAS, with just the shared folder name:

[~] # set_volume_mode Public
...

For ftp, we might have to look what else (there is not much - the ftp config is derived from the same config file), and under what conditions things go wrong. As you hve a Linus system, use the ftp command line clinet:

~# ftp ts-212
Connected to ts-212.<snip>.
220 NASFTPD Turbo station 1.3.5a Server (ProFTPD)
Name (ts-212:root): admin
331 Password required for admin
Password:
230 User admin logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxrwxrwx 8 admin administrators 4096 Sep 7 00:00 Download
drwxrwxrwx 18 admin administrators 4096 May 3 2017 Multimedia
drwxrwxrwx 5 admin administrators 4096 May 30 2017 Music
drwxrwxrwx 33 admin administrators 12288 May 27 2017 Public
drwxrwxrwx 9 admin administrators 4096 May 3 2017 Recordings
drwxrwxrwx 12 admin administrators 4096 May 10 2017 Web
drwxrwxrwx 14 admin administrators 4096 Oct 20 2015 homes
226 Transfer complete
ftp>

Copy and paste the output as seen above.

Long before buying a new NAS - set it up from scratch again, wipe both HDD, ...
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

schumaku wrote:With enough time it should be possible to figure out what does go wrong. For my part, I'm neither suggesting the usage of the non-authenticated SMB "guest" access. You might disable ... apply ... and then re-enable the guest access for read-only or read&write, and see if this does resolve.

I do not need guest.
Do you mean so: (Nr.1)?


For ftp, we might have to look what else (there is not much - the ftp config is derived from the same config file), and under what conditions things go wrong. As you hve a Linus system, use the ftp command line clinet:


Long before buying a new NAS - set it up from scratch again, wipe both HDD, ...
And here - what we see (or not see) --- that is /Public:

Code: Select all

[~] # ftp ts-210
ftp: ts-210: Unknown host
ftp> ^C
ftp> 
[~] # ftp 192.168.178.27
Connected to 192.168.178.27.
220 NASFTPD Turbo station 1.3.5a Server (ProFTPD)
Name (192.168.178.27:admin): 
331 Password required for admin
Password:
230 User admin logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxrwxrwx   3 admin    administrators     4096 Jan 16 01:18 2TB-Platte
drwxrwxrwx  10 admin    administrators     4096 Jan 17 22:41 3TB
drwxrwxrwx   8 admin    administrators     4096 Jan 17 22:41 Daten
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:41 NAS
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:41 Network Recycle Bin 1
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:41 Network Recycle Bin 2
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:41 Ordner-allg
drwxrwxrwx   2 admin    administrators     4096 Sep 14 19:57 QNAP-Platte-1
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:41 Qdownload
drwxrwxrwx  10 admin    administrators     4096 Jan 17 22:41 Qmultimedia
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:41 Qrecordings
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:41 Qusb
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:41 Qweb
drwxrwxrwx   3 admin    administrators     4096 Jan 17 22:42 home
drwxr-xr-x   5 admin    administrators     4096 Jan 17 22:42 homes
226 Transfer complete

Nr.1
You do not have the required permissions to view the files attached to this post.
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

Long before buying a new NAS - set it up from scratch again, wipe both HDD, ..
In this case do I lose the whole content of the hdd's? Or is it possible to avoid new formatting?
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by schumaku »

mgbd397 wrote:I did it, but it is the same problem: no access like bevore to /Public.
I get /Public in the linux data manager, but only after inserting name and passwort (the directory 3TB doesn't require that!).
Thanks to the last screenshot provided I can answer this part: The "Guest" access right for Public is denied (below the user list). Change this to read+write/full (whatever the UI does offer along the read-only) and [Apply] - now there is no more need for providing username and password to access the Public shared folder.

Aside: Not sure what the three users are used for, I assume you have intentionally created users accounts with these names - all three are not default users, and have no special meaning.

Already run the ...

[~] # set_volume_mode Public
...?
mgbd397 wrote:In this case do I lose the whole content of the hdd's? Or is it possible to avoid new formatting?
This does imply clearing everything. Of course you have copies of your data - on another NAS, another computer, on the cloud ... do you? This is number one priority: It's called backup.
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

schumaku wrote:
mgbd397 wrote:I did it, but it is the same problem: no access like bevore to /Public..


> Already run the ...

> [~] # set_volume_mode Public
...?
Here is the result:

Code: Select all

[~] # set_volume_mode Public
Volume: Public
Path: /share/HDA_DATA/Public
Set directory mode to 0777 and file mode to 0666(keep execute permission)
It is not yet better, but could it be helpful to set file mode to 0777 too?
mgbd397 wrote:In this case do I lose the whole content of the hdd's? Or is it possible to avoid new formatting?
This does imply clearing everything. Of course you have copies of your data - on another NAS, another computer, on the cloud ... do you? This is number one priority: It's called backup.
I intend in this case to buy a new hdd, insert it in the qnap, let it format by the qnap an write the content of the old hdd to the inserted new one.
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by schumaku »

Don't worry, we will manage your NAS back to the functionality you expect for now. Have run the command as shown, and allowed guest access to the Public shared folder now? Please do as suggests, don't invent new ideas, I know better, ... - otherwise I'm not able (or willing) to help you.

And no: Use an _external_ disk for the backup, QTS internal NAS drives are not intended for DJ activities.
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

I am deeply grateful for your patient and kindly help. Without your help I am very helpless viewing on the qnap!

I did allow the guest access.
Is it so right?
You do not have the required permissions to view the files attached to this post.
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by schumaku »

If the full non-authenticated access is what you want (and already have on at least one share held on another disk volume) - yes, of course!
mgbd397
Starting out
Posts: 27
Joined: Sat Jan 12, 2013 4:22 am

Re: 2 hdd in ts 210 - but only acces to 1 hdd

Post by mgbd397 »

>>You do not have the required permissions to view the files attached to this post.

I think you are right. But what can I do better??
I do the following:
for /Public do I open the menue point "edit shared folder permission"
then do I activate for guest "full access" (second picture),
klick on apply and refresh and think it is now ok.

But, if I repeat the opening of the menue point "edit shared folder permission" then takes the opening some time and during that time can I see the dark window and there is readable "guest access denied". (first picture)

What can I do to install correctly the full access for guests?
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Turbo Station Installation & Setup”