Help Do i need more than one RPi3?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
DRATLER
Posts: 6
Joined: Mon Nov 30, 2020 5:37 pm

Help Do i need more than one RPi3?

Post by DRATLER »

Hi Guys.
trust you're well.

Please note I am very new to this please take it easy on me, I have a RPi3 B I know how to install and configure the following :

* RPi Imager for burning image
* DietPi imaged installed and configured
* Pihole Installed and configured to work as a DNS and a DHCP on my home network

What I was wondering is, on this current setup I would like to install a nas which I know how to but it uses the SD card as the storage which is where the pihole and Os sits.

would it be possible to have the nas point to a different drive (external) for network storage and not interrupt the pihole or would I have to get the nas as a standalone.

If this is possible please let me know step by step how to do it keeping my current setup.

Regards
DRATLER
User avatar
Joulinar
Posts: 4490
Joined: Sat Nov 16, 2019 12:49 am

Re: Help Do i need more than one RPi3?

Post by Joulinar »

Hi,

short question.What kind of NAS software you like to install? Basically you could install SAMBA if you like to share external HDDs connected to your RPi.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DRATLER
Posts: 6
Joined: Mon Nov 30, 2020 5:37 pm

Re: Help Do i need more than one RPi3?

Post by DRATLER »

Hi so I installed samba feature rich file server option number 96 on the dietpi software installation which I want it to save on an external drive but also keep in mind I still want pihole to run on the same raspberry pi 3
User avatar
Joulinar
Posts: 4490
Joined: Sat Nov 16, 2019 12:49 am

Re: Help Do i need more than one RPi3?

Post by Joulinar »

PiHole is working completely independent from SAMBA
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DRATLER
Posts: 6
Joined: Mon Nov 30, 2020 5:37 pm

Re: Help Do i need more than one RPi3?

Post by DRATLER »

OK cool so how do I set up samba step by step for external storage
DRATLER
Posts: 6
Joined: Mon Nov 30, 2020 5:37 pm

Re: Help Do i need more than one RPi3?

Post by DRATLER »

So in other words I can have samba on an external hard drive as well as pihole on the same RPi
User avatar
Joulinar
Posts: 4490
Joined: Sat Nov 16, 2019 12:49 am

Re: Help Do i need more than one RPi3?

Post by Joulinar »

Well samba is not running on an external HDD. Samba is an application on your system, that will allow you to share your external HDD on your local network. On your system, you can have a lot of applications running next to each other without issues. In most cases, limiting factor is CPU and/or memory. Pihole as well as Samba are not that heavy apps, no issues there.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DRATLER
Posts: 6
Joined: Mon Nov 30, 2020 5:37 pm

Re: Help Do i need more than one RPi3?

Post by DRATLER »

Nice :) how would I go about having the data saved on the external drive cause I know how to get samba done just need to know how to point it to the external drive
User avatar
Joulinar
Posts: 4490
Joined: Sat Nov 16, 2019 12:49 am

Re: Help Do i need more than one RPi3?

Post by Joulinar »

you can change the directotry inside samba configuration file /etc/samba/smb.conf
there you have the [dietpi] section and you can adjust the path

Code: Select all

[dietpi]
        comment = DietPi Share
        path = /mnt/dietpi_userdata
        browseable = yes
        create mask = 0664
        directory mask = 0775
        valid users = dietpi
        writeable = yes
        max connections = 2
as well have a look to our online docs https://dietpi.com/docs/software/file_s ... ile-server
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DRATLER
Posts: 6
Joined: Mon Nov 30, 2020 5:37 pm

Re: Help Do i need more than one RPi3?

Post by DRATLER »

if possibile can you give me all the steps and commands from the beginning to installs samba an have the storage on a external harddrive which once again will not interfere with pihole settings
Post Reply