Use second hard disk in samba network for storage Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
nanooker
Posts: 38
Joined: Sun Dec 06, 2020 7:41 pm

Re: Use second hard disk in samba network for storage

Post by nanooker »

I have created a backup of dietpi.
I wanted to save this backup on the HDD2.
The HDD2 is mounted as "mnt/dietpi_userdata/HDD2".
After the backup I got the error message that I can not save this on dietpi_userdata/HDD2. I also did not find the created backup.
When I go to properties of the HDD2 disk in the network, I see 292 GB. But the disk has only 150 GB.
The HDD1 has 292GB.
Somehow I can't get through this.
I think I will uninstall everything and start over.
Attachments
Netzwerk.png
Backup.png
User avatar
Joulinar
Posts: 4836
Joined: Sat Nov 16, 2019 12:49 am

Re: Use second hard disk in samba network for storage

Post by Joulinar »

It is correctly shown the disk space of your HDD1. Samba did not know that you have a 2nd disk attached. It will show space of the disk where the main folder is located on. If you like to see space of HDD2, you would need to mount it to /mnt/HDD2 and create a 2nd samba export that would need to be mounted as an additional drive on windows.

Regarding the backup issue. pls can you share some error message
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nanooker
Posts: 38
Joined: Sun Dec 06, 2020 7:41 pm

Re: Use second hard disk in samba network for storage

Post by nanooker »

I do not have any errors. Backup is running. Only where does dietpi save that?? Can't find it in my folders on the hard drives. As path I have Current backup and restore location: │
│ - /mnt/dietpi/HDD2/backups/
specified.
Attachments
backup.png
User avatar
Joulinar
Posts: 4836
Joined: Sat Nov 16, 2019 12:49 am

Re: Use second hard disk in samba network for storage

Post by Joulinar »

Hi,

if you backup your data to /mnt/dietpi/HDD2/backups/ they are for sure not visible on your samba share because you are sharing a different directory /mnt/dietpi_userdata/ ;)

I guess you tried to backup to /mnt/dietpi_userdata/HDD2/backups but maybe specified incorrect folder.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nanooker
Posts: 38
Joined: Sun Dec 06, 2020 7:41 pm

Re: Use second hard disk in samba network for storage

Post by nanooker »

Yes, I think that's how it will be. I will try again tomorrow
Thank you
nanooker
Posts: 38
Joined: Sun Dec 06, 2020 7:41 pm

Re: Use second hard disk in samba network for storage

Post by nanooker »

I have tried this several times now to create a backup. The backup runs, and completes successfully. only after the process, no file is present. I think this has something to do with the configured disks? I send a screenshot of the Drive Manager. There are only 13 GB on my large disc.
Attachments
backup3.png
backup3.png (24.39 KiB) Viewed 457 times
User avatar
Joulinar
Posts: 4836
Joined: Sat Nov 16, 2019 12:49 am

Re: Use second hard disk in samba network for storage

Post by Joulinar »

Where did you store the backup? What is the target location?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nanooker
Posts: 38
Joined: Sun Dec 06, 2020 7:41 pm

Re: Use second hard disk in samba network for storage

Post by nanooker »

with mnt/dietpi-userdata
It is reported that I cannot make a backup of user data.

With mnt/dietpi-backup as requested, the following message appears

The backup target location appears to have insufficient free space to successfully finish the backup.
backup.
│ However, this check is a rough estimation in reasonable time, thus it could be marginally │ incorrect.
│ incorrect.
Would you like to override this warning and continue with the backup?

<Ignore> <Exit>

Although I still have enough free space
User avatar
Joulinar
Posts: 4836
Joined: Sat Nov 16, 2019 12:49 am

Re: Use second hard disk in samba network for storage

Post by Joulinar »

well it depends how much data would need to be backup. Did you ingore the message and continue the back run?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nanooker
Posts: 38
Joined: Sun Dec 06, 2020 7:41 pm

Re: Use second hard disk in samba network for storage

Post by nanooker »

No,but i will try, thank you
Post Reply