I use this RPi as a network disk & printer server. No probs in two months operation till tonight. I could not access the disk (a 500Gb portable drive). I did a df -h and it was there. I did a fdisk -l and it was there. Then I spotted a difference. df was reporting it as sda which is what is should be. fdisk was reporting as sdb hence the issue.
But it was working earlier in the day so it must have been sda at that time. A reboot perhaps? Nope 'w' showed the system up for six days.
So how did my portable disk magically move from being sda to sdb during the day with no user intervention? How come df & fdisk report differently?
Help, do I have a haunted pie!