SOLVED: How to remove a disk

steveblakemore
Posts: 38
Joined: Tue Jan 19, 2010 11:41 am
Location: Spain

SOLVED: How to remove a disk

Postby steveblakemore » Sat Feb 24, 2018 5:34 am

Hi,

I have a problem with my HDA and would be grateful for help.
I have two hard drives in it, and want to replace one of them (/dev/sdb).
So, what I have done:
There was one share pointing to sdb, so I deleted that share, shut down the HDA, took out the 3TB disk, sdb, and then replaced it with a 160GB disk. I then started up the HDA. It then showed the following message on the screen:
---------------------------
Welcome to emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to try again to boot into default mode.
Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.
Press Enter to continue.
----------------------------

Pressing Enter took me to a grey screen with three little squares on for a few minutes, then the message above reappeared.
I tried removing the 160GB disk. Same problem, made no difference.
I put the 3TB disk back - it booted up fine!

Please advise how to safely remove the 3TB disk.

Steve

steveblakemore
Posts: 38
Joined: Tue Jan 19, 2010 11:41 am
Location: Spain

Re: How to remove a disk

Postby steveblakemore » Sat Feb 24, 2018 5:44 am

OK, so I just found this on the wiki:

CAUTION: If you mount a drive and at some point remove it, ensure you remove the appropriate entry from the /etc/fstab. If you don't, your HDA will boot into Emergency Mode and be inoperable.

I will remove the line that refers to the 3TB disk, then shut down and remove it.

Steve

steveblakemore
Posts: 38
Joined: Tue Jan 19, 2010 11:41 am
Location: Spain

Re: How to remove a disk

Postby steveblakemore » Sat Feb 24, 2018 6:24 am

And what do you know - IT JUST WORKS!!
I guess I answered my own question in a way - but thanks for the Wiki. I must remember to read it next time before I post to the forum
:lol:

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: How to remove a disk

Postby bigfoot65 » Sat Feb 24, 2018 8:34 am

Glad to hear the wiki was helpful for you.

It’s our intent to put common tasks and tutorials there for users.

Will mark this as resolved.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: Google [Bot] and 16 guests