SOLVED: Remove from /etc/fstab

TeamHodgdon
Posts: 14
Joined: Tue Aug 23, 2016 9:34 am

SOLVED: Remove from /etc/fstab

Postby TeamHodgdon » Sun Oct 07, 2018 9:26 am

So, I am trying to remove an old 300gb drive to replace it with something more modern. It's part of the greyhole pool, but I have already migrated data out and removed it from the pool. I'm at the part where there's a big red banner in the wiki about removing the drive's entry from /etc/fstab. I see a ton of mentions of this in other posts, but I have no idea how to actually do it. I managed to display the contents of fstab. I know the drive's name and UUID.

I think this is a thing that everyone seems to know how to do, but I'm not able to figure it out. Thanks in advance for any help!

Edit: The drive is still physically connected to the HDA and I have not moved past migrating the data out of the pool and removing the drive from the pool.

TeamHodgdon
Posts: 14
Joined: Tue Aug 23, 2016 9:34 am

Re: Remove from /etc/fstab

Postby TeamHodgdon » Sun Oct 07, 2018 9:59 am

Okay, so a little googling and I managed to get the fstab file open. Is it as simple as deleting the entire line with the UUID of the drive I want to delete?

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

Re: Remove from /etc/fstab

Postby bigfoot65 » Sun Oct 07, 2018 10:09 am

Is it as simple as deleting the entire line with the UUID of the drive I want to delete?
For the most part, that will do it.

Recommend you do the following:

Code: Select all

sudo umount path_of_drive_mount
Replace the path_of_drive_mount with the path from the /etc/fstab. Once unmounted, you should be good.
ßîgƒσστ65
Applications Manager

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

TeamHodgdon
Posts: 14
Joined: Tue Aug 23, 2016 9:34 am

Re: Remove from /etc/fstab

Postby TeamHodgdon » Sun Oct 07, 2018 11:02 am

All done, everything's good. Thanks for the sanity check!

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

Re: Remove from /etc/fstab

Postby bigfoot65 » Sun Oct 07, 2018 11:04 am

No problem.

Marking 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: No registered users and 16 guests