Page 1 of 1

Added auto mount external USB, now cant see HDA remotely

Posted: Mon Feb 06, 2017 3:20 pm
by Epedrego
Hello,

Today I added an external usb disk drive and set it to mount automatically. I rebooted my HDA after I did all that, but now can't see my HDA via OpenVPN or SSH. I can't see it in my control panel on Amahi.org either. I can ping it with success and had my wife reboot the server a few times since I could not access it.

Would auto mounting an external HDD cause something like this? I follow the rsnapshot wiki to mount the drive.


Thanks,

Ed

Re: Added auto mount external USB, now cant see HDA remotely

Posted: Mon Feb 06, 2017 4:40 pm
by bigfoot65
Yes.

You likely have broken the HDA. The server is probably booting in to emergency/maintenance mode. You should follow the Amahi wiki for mounting drives.

This will require booting the HDA using a Live CD and removing the drive configuration you added.

We cannot be much help. You should be able to find guidance on the internet.

Re: Added auto mount external USB, now cant see HDA remotely

Posted: Mon Feb 06, 2017 5:31 pm
by Epedrego
Awe man, no way!! I followed the Amahi wiki on mounting external drives and setting up rsnapshot. Only got to the auto mount section and rebooted once I edited the fstab file.

Bummer!!

Re: Added auto mount external USB, now cant see HDA remotely

Posted: Mon Feb 06, 2017 6:08 pm
by bigfoot65
I followed the Amahi wiki on mounting external drives and setting up rsnapshot.
Which guidance did you follow? It may have been outdated.

I always recommend you check the mount before rebooting by doing:

Code: Select all

sudo mount -a
Then verify that it's working correctly.

Unfortunately this is how we learn not what to do. It can still be repaired, but you need to remove the offending line from /etc/fstab.

Re: Added auto mount external USB, now cant see HDA remotely

Posted: Mon Feb 06, 2017 8:17 pm
by Epedrego
This is what I referenced:
https://wiki.amahi.org/index.php/Rsnapshot

Followed through the auto mount instruction.

How do you check for proper function after you run "mount -a"? Go to the directory and add a file or something?

Can I use the CD I used to install fedora? I made the CD using one of the links in the latest Amahi 9 installation instruction set. If so, I'm guessing that will allow me to access the fstab file and delete the "LABEL=usbdisk...." line from it?


Thanks

Re: Added auto mount external USB, now cant see HDA remotely

Posted: Tue Feb 07, 2017 6:42 am
by bigfoot65
Not sure, but that guidance may be outdated. It was created 3+ years ago. I added a note to the page for future reference.
ow do you check for proper function after you run "mount -a"? Go to the directory and add a file or something?
Yes that is one way. Make sure it performs as you would expect.
Can I use the CD I used to install fedora?
No. You need to get a Live CD, such as Ubuntu.
I'm guessing that will allow me to access the fstab file and delete the "LABEL=usbdisk...." line from it?
Yes once you mount the OS drive, you should be able to edit the file.