how to unmount /home/<user name>

how to unmount /home/<user name>

Post by George Le » Thu, 01 Feb 2001 20:46:51



How can I unmount user's automounted home dir, for example, /home/john
without waiting for time out or in case of the
original NFS server down and I have to quickly move the /home/john to be
mounted from other server?

Thanks.

 
 
 

how to unmount /home/<user name>

Post by Casper H.S. Dik - Network Security Engine » Thu, 01 Feb 2001 23:06:54


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>How can I unmount user's automounted home dir, for example, /home/john
>without waiting for time out or in case of the
>original NFS server down and I have to quickly move the /home/john to be
>mounted from other server?

umount /home/user

(If it's not in use)

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

how to unmount /home/<user name>

Post by Demandre » Sun, 04 Feb 2001 07:19:46


can you umount any directory???  I think I'm confused it looks like /home is
the mount point not /home/john.  I would think you could only umount /home
but not the user directory too.



> [[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


> >How can I unmount user's automounted home dir, for example, /home/john
> >without waiting for time out or in case of the
> >original NFS server down and I have to quickly move the /home/john to be
> >mounted from other server?

> umount /home/user

> (If it's not in use)

> Casper
> --
> Expressed in this posting are my opinions.  They are in no way related
> to opinions held by my employer, Sun Microsystems.
> Statements on Sun products included here are not gospel and may
> be fiction rather than truth.

 
 
 

how to unmount /home/<user name>

Post by Casper H.S. Dik - Network Security Engine » Sun, 04 Feb 2001 09:21:16


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>can you umount any directory???  I think I'm confused it looks like /home is
>the mount point not /home/john.  I would think you could only umount /home
>but not the user directory too.

If it's automounted you can unmount it by hand.  it will get remounted
when you use it.  If it doesn't show up with df, it isn't in use
and therefor not mounted.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

how to unmount /home/<user name>

Post by Demandre » Wed, 07 Feb 2001 01:19:44


Let me get this straight.  The only mount points you can unmount is anything
under df -k command.  This is because they are your mount points.  Anything
else you can't unmout the only thing you could do is disable it by changing
the rights to the directory under a certain mount point.  Is this a true
statement?



> [[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


> >can you umount any directory???  I think I'm confused it looks like /home
is
> >the mount point not /home/john.  I would think you could only umount
/home
> >but not the user directory too.

> If it's automounted you can unmount it by hand.  it will get remounted
> when you use it.  If it doesn't show up with df, it isn't in use
> and therefor not mounted.

> Casper
> --
> Expressed in this posting are my opinions.  They are in no way related
> to opinions held by my employer, Sun Microsystems.
> Statements on Sun products included here are not gospel and may
> be fiction rather than truth.

 
 
 

how to unmount /home/<user name>

Post by Casper H.S. Dik - Network Security Engine » Wed, 07 Feb 2001 01:41:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>Let me get this straight.  The only mount points you can unmount is anything
>under df -k command.  This is because they are your mount points.  Anything
>else you can't unmout the only thing you could do is disable it by changing
>the rights to the directory under a certain mount point.  Is this a true
>statement?

No, you can unmount everything though that might confused vold
and automount.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.