I have setup my raspberry as my media streamer server using minidlna. I have also auto-mounted the HDD using its UUID. It works but I have notice from time to time, the drive gets disconnected and reconnected, and it now fails in automounting, I have to explicit run the command
sudo mount/dev/sdb1 /media/Drive
I have also noticed, every time I cannot access /media/Drive
, the hard drive changes its name (e.g. from sda
to sdb
to sdc
to sdd
to sde
and so on).
How do I determine the problem? I have already setup an external powered usb hub, that's why my pi can power up the HDD. The pi is open for 24/7 also.
EDIT:
I did the following:
Installed
ntfs-3g
so that pi will recognized my hard drive.Retrieve the UUID of my hard drive using
ls -l /dev/disk/by-uuid
Created a directory for my drive:
mkdir /media/Mett
, and gave it755
permission.opened
/etc/fstab file
, and appended the lineUUID=01D031EB07CC4ED0 /media/Mett ntfs-3g uid=1000,gid=1000,umask=007 0 0