Hello,
I recently started to use my RaspberryPi 4B 4GB as a NAS with samba, on which I plugged my 6 HDD. Following this tutorial : https://howtoraspberrypi.com/create-a-n ... and-samba/
One of the HDD is without external power supply. The other ones all have external power supply and two of them are split on two partions.
I access my NAS in SSH with my MacBook Pro and my Windows 10. Everything works correctly and even create a .bat file to have my Windows to access it automatically from the boot.
The issue is when I turn off my HDD and/or the raspberry pi. Once I turn it back on, the HDD doesn't appear anymore on the NAS, even though the raspberry mount it correctly (at least I believe so) and the name (sda1, sdb1) attributed to the HDDs is the same.
English ain't my first language so might be unclear sorry. Basically, my NAS "map" is as such :
In /home/shares/public/ :
- Folder 1 : HDD1 (sda1)
- Folder 2 : HDD2 (sdb 1)
- Folder 3 : HDD3 (sdc 1)
- Folder 4 : HDD4 (sdd 1)
- Folder 5 : HDD5 part1 (sde2)
- Folder 6 : HDD5 part2 (sde3)
- Folder 7 : HDD6 part1 (sdf2)
- Folder 8 : HDD6 part2 (sdf3)
If I turn off everything (for example when sleeping or going to work) and turn all of it back on when I want to use it, the connection with the raspberry works but every folder "Disk X" are empty.
Then, in Putty, I use again
sudo mount /dev/sda1 /home/shares/public/disk1
etc... And it works correctly. Even more, the HDD are not shuffled. For example, "sda1" stills refers to the HDD1, etc...
So for now, I just keep the raspberry and HDD on... But I would like to turn it off when not used. Is there is any solution to this issue, as it's would be quite a struggle to have to reconfigure it everytime in Putty.
Thank you,
I recently started to use my RaspberryPi 4B 4GB as a NAS with samba, on which I plugged my 6 HDD. Following this tutorial : https://howtoraspberrypi.com/create-a-n ... and-samba/
One of the HDD is without external power supply. The other ones all have external power supply and two of them are split on two partions.
I access my NAS in SSH with my MacBook Pro and my Windows 10. Everything works correctly and even create a .bat file to have my Windows to access it automatically from the boot.
The issue is when I turn off my HDD and/or the raspberry pi. Once I turn it back on, the HDD doesn't appear anymore on the NAS, even though the raspberry mount it correctly (at least I believe so) and the name (sda1, sdb1) attributed to the HDDs is the same.
English ain't my first language so might be unclear sorry. Basically, my NAS "map" is as such :
In /home/shares/public/ :
- Folder 1 : HDD1 (sda1)
- Folder 2 : HDD2 (sdb 1)
- Folder 3 : HDD3 (sdc 1)
- Folder 4 : HDD4 (sdd 1)
- Folder 5 : HDD5 part1 (sde2)
- Folder 6 : HDD5 part2 (sde3)
- Folder 7 : HDD6 part1 (sdf2)
- Folder 8 : HDD6 part2 (sdf3)
If I turn off everything (for example when sleeping or going to work) and turn all of it back on when I want to use it, the connection with the raspberry works but every folder "Disk X" are empty.
Then, in Putty, I use again
sudo mount /dev/sda1 /home/shares/public/disk1
etc... And it works correctly. Even more, the HDD are not shuffled. For example, "sda1" stills refers to the HDD1, etc...
So for now, I just keep the raspberry and HDD on... But I would like to turn it off when not used. Is there is any solution to this issue, as it's would be quite a struggle to have to reconfigure it everytime in Putty.
Thank you,
Statistics: Posted by KoalaSpin — Mon Apr 08, 2024 12:06 pm — Replies 2 — Views 23