Raspberry Pi 3 Stuck on Reboot after mounting Samba server

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
theChef613
Posts: 5
Joined: Wed Sep 05, 2018 6:59 am

Raspberry Pi 3 Stuck on Reboot after mounting Samba server

Post by theChef613 »

Hi all!
I'm new to the DietPi Forum community but have used dietpi for about a year or so and love it! thank you to the whole DietPi team for such a great distro!

I've been having trouble with rebooting my raspberry pi 3 (using sudo reboot) when I mount a network drive Samba server using the dietpi-drive_manager. when I try to reboot it seems to be stalling, but when I go to physically unplug the pi then plug it back in, to boots up just fine. the reboot functionality works just fine when I unmount the samba server. I suspect that there might be something funky going on with the fstab file but not sure what. any help is appreciated! thank you!!
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: Raspberry Pi 3 Stuck on Reboot after mounting Samba server

Post by WarHawk »

Have you tried

Code: Select all

#shutdown -r now
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Raspberry Pi 3 Stuck on Reboot after mounting Samba server

Post by MichaIng »

Also try reboot -f.

Hmm, never used samba but will try to investigate if/why it prevents reboot.
When you use dietpi-drive_manager on current v6.14 then the fstab should be recreated/updated. So fstab is the reason, then we need to check/identify/remove the faulty e.g. samba mount argument.
theChef613
Posts: 5
Joined: Wed Sep 05, 2018 6:59 am

Re: Raspberry Pi 3 Stuck on Reboot after mounting Samba server

Post by theChef613 »

hello,
thanks for the help. I tried both reboot alternatives and it had the same effect. Below is the fstab entry generated by dietpi (username and password omitted of course. :)
thanks again

Code: Select all

//192.168.1.1/storage /mnt/nighthawk cifs username=XXXXX,password=XXXXX,iocharset=utf8,vers=3.0,_netdev,nofail 0 0
theChef613
Posts: 5
Joined: Wed Sep 05, 2018 6:59 am

Re: Raspberry Pi 3 Stuck on Reboot after mounting Samba server

Post by theChef613 »

bumping this post. does anyone else have this issue?
Thanks again!
Post Reply