How can I create a single share for /share/MD0_DATA ?

FTP Server, File Server, DDNS, SAMBA, AFP, NFS
Post Reply
Hansaplastique
Getting the hang of things
Posts: 73
Joined: Fri Jul 15, 2011 9:03 pm
Contact:

How can I create a single share for /share/MD0_DATA ?

Post by Hansaplastique » Thu May 22, 2014 2:18 am

I'm using a QNAP 869 Pro, running QTS 4.0.7.
I have multiple shares in /share/MD0_DATA, as is common with all QNAP's.

For admin purposes, and because I'm getting a little tired of mounting individual shares on my Mac over and over again, I'd like to be able to make /share/MD0_DATA a share as well.
The idea, for admin's only, is that I'd have full access to all shares by simply mounting just that share on my Mac.
So the /share/MD0_DATA would "encapsulate" all other shares.

Does anyone know if this is possible? How to do it? Experiences with doing just that?
(I found only one related post, which was for WEBDAV)
NAS: QNAP TVS-873, TS-869 Pro, TS-569L
Router: NetGear R7000 (AsusWRT-Merlin)
QNAP Guides: English: QNAP articles at http://www.Tweaking4All.com, Nederlands: QNAP artikelen op http://www.Tweaking4All.nl

basnap
Starting out
Posts: 26
Joined: Mon Dec 16, 2013 10:49 am

Re: How can I create a single share for /share/MD0_DATA ?

Post by basnap » Thu May 22, 2014 3:35 am

Nice request/question... I would like that too....

When I browse my network I do see the name of my NAS and all it's folders. I would like to map that too a drive such that any new share will always show up automatically.

Basically a share is a 'drive' but it's be nice for the whole NAS to be a 'drive' with the shares 'directories'...

basnap
Starting out
Posts: 26
Joined: Mon Dec 16, 2013 10:49 am

Re: How can I create a single share for /share/MD0_DATA ?

Post by basnap » Thu May 22, 2014 7:33 pm

Actually, research a topic called Folder Aggregation, that might be what we want!

http://www.qnap.com/en/?lang=en&sn=910

You might need Active Direcotry enabled not sure...

No time to play right now, if you get it to work, could you post back here?

Hansaplastique
Getting the hang of things
Posts: 73
Joined: Fri Jul 15, 2011 9:03 pm
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Hansaplastique » Thu May 22, 2014 8:47 pm

Thanks basnap ...

I've tried Folder Aggregation, but I got the bad impression that it's static ... so when I change something, then I'd have to update it manually ... maybe I understood that wrong, so anyone who has experience with Folder Aggregation: feel free to correct.

It does however allow aggregation of folders of other servers as well ...
NAS: QNAP TVS-873, TS-869 Pro, TS-569L
Router: NetGear R7000 (AsusWRT-Merlin)
QNAP Guides: English: QNAP articles at http://www.Tweaking4All.com, Nederlands: QNAP artikelen op http://www.Tweaking4All.nl

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

Re: How can I create a single share for /share/MD0_DATA ?

Post by schumaku » Thu May 22, 2014 9:07 pm

When it comes to ACL usage, things are becoming challenging when introducing a root share - how it's possible was explained certainly more than once. Say you limit the access to the root share (and it's folder like MD[n]_DATA, CACHDEV[n]_DATA, ...) can limit the accessibility of all normal shared folders, too.

Bad idea, and common cause of unexpected issues. Words of the wise?

Regards,
-Kurt.

Hansaplastique
Getting the hang of things
Posts: 73
Joined: Fri Jul 15, 2011 9:03 pm
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Hansaplastique » Thu May 22, 2014 9:27 pm

Hi Kurt,

thanks for the reply - you're comment is exactly why I was worried about even trying this.

Unfortunately I couldn't find any posts explaining this in this forum, the only post I found was related to sharing it through WebDAV.
Maybe I have been searching with the wrong keywords,... do you know what keywords to use (so I can search myself) or any links to posts you're referring to?
NAS: QNAP TVS-873, TS-869 Pro, TS-569L
Router: NetGear R7000 (AsusWRT-Merlin)
QNAP Guides: English: QNAP articles at http://www.Tweaking4All.com, Nederlands: QNAP artikelen op http://www.Tweaking4All.nl

User avatar
Don
Guru
Posts: 11840
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Don » Thu May 22, 2014 9:48 pm

The way I do it and what works for me and might not work for everyone is that I created a new share, lets call it Allshares. I then created links to the folders of all the other shares under Allshares. So now from Allshares I can access the other folders.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0923 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

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

Re: How can I create a single share for /share/MD0_DATA ?

Post by schumaku » Thu May 22, 2014 10:00 pm

How? Crete a shared folder, and edit /etc/conf/smb.conf to adjust to the the place of the shared folder - but again, you had been warned.

Hansaplastique
Getting the hang of things
Posts: 73
Joined: Fri Jul 15, 2011 9:03 pm
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Hansaplastique » Thu May 22, 2014 10:10 pm

Thanks for the warning ... I'll stay clear of this kind of share ... :-)

Would have been an a nice feature though.
NAS: QNAP TVS-873, TS-869 Pro, TS-569L
Router: NetGear R7000 (AsusWRT-Merlin)
QNAP Guides: English: QNAP articles at http://www.Tweaking4All.com, Nederlands: QNAP artikelen op http://www.Tweaking4All.nl

Hansaplastique
Getting the hang of things
Posts: 73
Joined: Fri Jul 15, 2011 9:03 pm
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Hansaplastique » Thu May 22, 2014 10:12 pm

Don wrote:The way I do it and what works for me and might not work for everyone is that I created a new share, lets call it Allshares. I then created links to the folders of all the other shares under Allshares. So now from Allshares I can access the other folders.


Thanks Don - I'll give that a try ... seems to be the "safer" method :-)
What kind of links do you make? Symbolic links? (Sorry - not very used to making links)
NAS: QNAP TVS-873, TS-869 Pro, TS-569L
Router: NetGear R7000 (AsusWRT-Merlin)
QNAP Guides: English: QNAP articles at http://www.Tweaking4All.com, Nederlands: QNAP artikelen op http://www.Tweaking4All.nl

User avatar
Don
Guru
Posts: 11840
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Don » Thu May 22, 2014 10:37 pm

Yes, symbolic links using the command line via SSH.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0923 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

Hansaplastique
Getting the hang of things
Posts: 73
Joined: Fri Jul 15, 2011 9:03 pm
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Hansaplastique » Fri May 23, 2014 3:09 am

Thanks ! :-)
NAS: QNAP TVS-873, TS-869 Pro, TS-569L
Router: NetGear R7000 (AsusWRT-Merlin)
QNAP Guides: English: QNAP articles at http://www.Tweaking4All.com, Nederlands: QNAP artikelen op http://www.Tweaking4All.nl

Hansaplastique
Getting the hang of things
Posts: 73
Joined: Fri Jul 15, 2011 9:03 pm
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Hansaplastique » Tue May 27, 2014 12:27 am

Thanks again Don, your trick works like a charm ... :D

If anyone is interested, I created a write up with the detailed steps. (link)
NAS: QNAP TVS-873, TS-869 Pro, TS-569L
Router: NetGear R7000 (AsusWRT-Merlin)
QNAP Guides: English: QNAP articles at http://www.Tweaking4All.com, Nederlands: QNAP artikelen op http://www.Tweaking4All.nl

armandckj
Starting out
Posts: 31
Joined: Thu Jul 12, 2012 1:27 pm

Re: How can I create a single share for /share/MD0_DATA ?

Post by armandckj » Wed Jan 21, 2015 10:44 pm

Nico to read that i am not the only one to use this trick.
However i linked AllShares to /*0_DATA.

This share is hidden and actually not shared at all.
This is the directory i use in the rscyn backup_manager to backup everyting in one pass.
Worked from 2012 on.

Clear article on Tweaking4All.

Armand

Hansaplastique
Getting the hang of things
Posts: 73
Joined: Fri Jul 15, 2011 9:03 pm
Contact:

Re: How can I create a single share for /share/MD0_DATA ?

Post by Hansaplastique » Thu Jan 22, 2015 1:26 am

Thanks Armand, and thanks for the additional info.
I would not have been able to make the writeup without help from folks in this forum :-)
NAS: QNAP TVS-873, TS-869 Pro, TS-569L
Router: NetGear R7000 (AsusWRT-Merlin)
QNAP Guides: English: QNAP articles at http://www.Tweaking4All.com, Nederlands: QNAP artikelen op http://www.Tweaking4All.nl

Post Reply

Return to “File Sharing”