I mounted an external ntfs drive on my ubuntu server. Since it's an external hdd at night I unplugged it and when I plugged it back in ubuntu didn't detect the already mounted hdd :(
This is what I did to mount the hdd:
sudo mount -t ntfs-3g /dev/sdb1 /mnt/discoexterno1/
This worked great. I even shared it with my windows machine, but since I unplugged it and plugged back I can't access it. Every time I do:
ls /mnt/discoexterno1
I get:
ls: cannot access /mnt/discoexterno1: Input/output error
What can I do to make ubuntu server associate automatically the directory with the hdd?
This is everything I have in the dev directory starting with s
/dev/scd0 /dev/sda1 /dev/sda5 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sg1 /dev/sg3 /dev/snapshot /dev/sr0 /dev/stdin /dev/sda /dev/sda2 /dev/sdc /dev/sdd /dev/sde /dev/sg0 /dev/sg2 /dev/sg4 /dev/sndstat /dev/stderr /dev/stdout
/dev/shm:
/dev/snd: controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p timer
I also have 2 other external hdd but I only mounted one to test this. (I am a newbie)
So, do I have to keep mounting the hdd everytime I unplug and plug it?? Or is there some way (by detecting the serial number or something) that I can tell ubuntu server that I have mounted that hdd??
Thanks