[CentOS] Can't delete or move /home on 7.3 install

Thu Dec 15 15:41:11 UTC 2016
Jon LaBadie <jcu at labadie.us>

On Thu, Dec 15, 2016 at 04:10:07AM -0600, geo.inbox.ignored wrote:
> 
> 
> On 12/15/2016 01:47 AM, Gianluca Cecchi wrote:
> > On Thu, Dec 15, 2016 at 2:49 AM, Glenn E. Bailey III <
> > replicant at dallaslamers.org> wrote:
> > 
> >> Tried this in both AWS and GCE as I though it may be a specific cloud
> >> vendor issue. SELinux is disabled, lsof | grep home shows nothing,
> >> lsattr /home shows nothing. Simply get "Device or resource busy."
> >>
> >> Works just find on 7.2 so I'm kinda at a loss. Scanned over the RHEL
> >> release notes and didn't see anything. Anyone else have this issue? We
> >> move our /home to another mount point and symlink /home to it ..
> >>
> >>
> > Do you have access to the console, so that you can try to do the move while
> > in single user mode?
> >
> }}
> 
> that is one possibility.
> 
> even greater is op is a 'user', not 'root'.
> 

Another possibility is /home is a separate file system.  In that
case the OP does not want to "move it" but unmount it, change
the mount point in /etc/fstab, rmdir /home, and ln -s
new_mntpoint to /home.  Then mount it again.  Probably best
done is single user mode.

jl
-- 
Jon H. LaBadie                 jon at jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)