Unix Technical Forum

umount: /a busy

This is a discussion on umount: /a busy within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I am restoring from tape to disk. newfs /dev/rdsk/c1t1d0s0 Construct a new filesystem (y/n): y mount /dev/dsk/c1t1d0s0 /a cd ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 06:55 AM
TingChong
 
Posts: n/a
Default umount: /a busy

I am restoring from tape to disk.

newfs /dev/rdsk/c1t1d0s0
Construct a new filesystem (y/n): y
mount /dev/dsk/c1t1d0s0 /a
cd /a
ufsrestore r

....
umount: /a busy

How to fix this problem?
Reboot and start again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 06:55 AM
Greg Andrews
 
Posts: n/a
Default Re: umount: /a busy

ma7777772@hotmail.com (TingChong) writes:
>I am restoring from tape to disk.
>
>newfs /dev/rdsk/c1t1d0s0
>Construct a new filesystem (y/n): y
>mount /dev/dsk/c1t1d0s0 /a
>cd /a
>ufsrestore r
>
>...
>umount: /a busy
>
>How to fix this problem?


cd /
umount /a

You can't unmount a filesystem after you've cd'ed into it.
You must cd back out of the filesystem before unmounting it.

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 06:55 AM
Bigdakine
 
Posts: n/a
Default Re: umount: /a busy

>Subject: umount: /a busy
>From: ma7777772@hotmail.com (TingChong)
>Date: 11/21/03 9:53 AM Hawaiian Standard Time
>Message-id: <451a2a55.0311211153.43d4327@posting.google.com>
>
>I am restoring from tape to disk.
>
>newfs /dev/rdsk/c1t1d0s0
>Construct a new filesystem (y/n): y
>mount /dev/dsk/c1t1d0s0 /a
>cd /a
>ufsrestore r
>
>...
>umount: /a busy
>
>How to fix this problem?
>Reboot and start again.


You could do that.

But simply doing "cd .." will take care of it.

Because your PWD is currently set to /a you can't umount /a because you're
there! Hence it is busy.

Stuart
Dr. Stuart A. Weinstein
Ewa Beach Institute of Tectonics
"To err is human, but to really foul things up
requires a creationist"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2008, 06:55 AM
pidbel
 
Posts: n/a
Default Re: umount: /a busy


"TingChong" <ma7777772@hotmail.com> wrote in message
news:451a2a55.0311211153.43d4327@posting.google.co m...
> I am restoring from tape to disk.
>
> newfs /dev/rdsk/c1t1d0s0
> Construct a new filesystem (y/n): y
> mount /dev/dsk/c1t1d0s0 /a
> cd /a
> ufsrestore r
>
> ...


cd /

> umount: /a busy


>
> How to fix this problem?
> Reboot and start again.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com