Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Trouble mounting new filesystem
@ 2002-10-14 10:52 Ger
  2002-10-14 12:15 ` Lovro Vres
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ger @ 2002-10-14 10:52 UTC (permalink / raw)


Hi,
 I'm trying to mount /tmp on a new disk, but I keep getting "Device
Busy" message.In fact when I type mount -a, I get the same message for
all the filesystems.How can I make the Devices un-busy?

Rgds
Ger


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Trouble mounting new filesystem
  2002-10-14 10:52 Trouble mounting new filesystem Ger
@ 2002-10-14 12:15 ` Lovro Vres
  2002-10-14 20:10 ` Quarter Horseman
  2002-10-14 21:49 ` Bob Harris
  2 siblings, 0 replies; 5+ messages in thread
From: Lovro Vres @ 2002-10-14 12:15 UTC (permalink / raw)


Hi,
Try to use fuser command (ie. fuser /tmp)

Regards,
Lovro

"Ger" <gerard.holmes@mail.esb.ie> wrote in message
news:e5e615f2.0210140252.77ad4614@posting.google.com...
> Hi,
>  I'm trying to mount /tmp on a new disk, but I keep getting "Device
> Busy" message.In fact when I type mount -a, I get the same message for
> all the filesystems.How can I make the Devices un-busy?
>
> Rgds
> Ger




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Trouble mounting new filesystem
  2002-10-14 10:52 Trouble mounting new filesystem Ger
  2002-10-14 12:15 ` Lovro Vres
@ 2002-10-14 20:10 ` Quarter Horseman
  2002-10-14 21:49 ` Bob Harris
  2 siblings, 0 replies; 5+ messages in thread
From: Quarter Horseman @ 2002-10-14 20:10 UTC (permalink / raw)


I think your concept of mounting is a little skewed.  You don't mount a 
directory on a disk.  You mount a prepared filesystem (or a 
filedomain#fileset for AdvFS or a logical volume for LSM) to a 
directory, and that directory must (or I should say ought to) be 
otherwise unused.  /tmp is used for all kinds of "stuff" on a running 
system, in fact there may be several things already running that keep 
the directory used/open, perhaps entirely invisible to you at first 
glance.  That you can't mount a filesystem to /tmp does not surprise me 
in the least, in fact it sounds quite correct.  There are several ways 
around this, having as much to do with personal preference as with 
specific site or machine requirements.  You might want to come back in 
and tell us exactly what you're trying to accomplish.

QH



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Trouble mounting new filesystem
  2002-10-14 10:52 Trouble mounting new filesystem Ger
  2002-10-14 12:15 ` Lovro Vres
  2002-10-14 20:10 ` Quarter Horseman
@ 2002-10-14 21:49 ` Bob Harris
  2002-10-15 10:10   ` Ger
  2 siblings, 1 reply; 5+ messages in thread
From: Bob Harris @ 2002-10-14 21:49 UTC (permalink / raw)


In article <e5e615f2.0210140252.77ad4614@posting.google.com>,
 gerard.holmes@mail.esb.ie (Ger) wrote:

X Hi,
X  I'm trying to mount /tmp on a new disk, but I keep getting "Device
X Busy" message.In fact when I type mount -a, I get the same message for
X all the filesystems.How can I make the Devices un-busy?
X 
X Rgds
X Ger

You mean you are trying to

        mount /dev/dsk/dsk27c /tmp

of course after you have built a file system on /dev/dsk/dsk27c

The "mount /tmp" syntax does work if you have your /etc/fstab file setup 
correctly.

The device busy error would be referring to the physical device.  In my 
example this would be /dev/dsk/dsk27c, _NOT_ /tmp.  You can have files 
open in /tmp and still mount something over top of it.

Generally the busy error is because someone else is already using 
/dev/dsk/dsk27c as a file system.

Check to make sure it is not already in use.  fuser might help, but also 
look for overlapping partitions, and see if it is part of an AdvFS 
domain by looking in /etc/fdmns/*/*

Also it could be in use by LSM (not sure how to check if LSM owns it, 
but that is also a possibility).

                                        Bob Harris


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Trouble mounting new filesystem
  2002-10-14 21:49 ` Bob Harris
@ 2002-10-15 10:10   ` Ger
  0 siblings, 0 replies; 5+ messages in thread
From: Ger @ 2002-10-15 10:10 UTC (permalink / raw)


QH,
  You can mount a filesystem on a particular disk.Files such as
/dev/rz2c, my 3rd hard drive partition c,.I mounted /tmp on this,
quite easily, once I did an fuser on /tmp and found out that a process
was using /tmp.If u want to get picky about it, u mount a new
filesystem to a directory, and this in turn is mounted on a block
special or character special file (can never remember which) and then
this in turn talks to ur hardware.

Thanks to everyone else who replied folks, greatly appreciate the
contributions.

Rgds
Ger


Bob Harris <harris@zk3.dec.com> wrote in message news:<harris-2C9111.17412914102002@juggl7.zk3.dec.com>...
> In article <e5e615f2.0210140252.77ad4614@posting.google.com>,
>  gerard.holmes@mail.esb.ie (Ger) wrote:
> 
> X Hi,
> X  I'm trying to mount /tmp on a new disk, but I keep getting "Device
> X Busy" message.In fact when I type mount -a, I get the same message for
> X all the filesystems.How can I make the Devices un-busy?
> X 
> X Rgds
> X Ger
> 
> You mean you are trying to
> 
>         mount /dev/dsk/dsk27c /tmp
> 
> of course after you have built a file system on /dev/dsk/dsk27c
> 
> The "mount /tmp" syntax does work if you have your /etc/fstab file setup 
> correctly.
> 
> The device busy error would be referring to the physical device.  In my 
> example this would be /dev/dsk/dsk27c, _NOT_ /tmp.  You can have files 
> open in /tmp and still mount something over top of it.
> 
> Generally the busy error is because someone else is already using 
> /dev/dsk/dsk27c as a file system.
> 
> Check to make sure it is not already in use.  fuser might help, but also 
> look for overlapping partitions, and see if it is part of an AdvFS 
> domain by looking in /etc/fdmns/*/*
> 
> Also it could be in use by LSM (not sure how to check if LSM owns it, 
> but that is also a possibility).
> 
>                                         Bob Harris


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-15 10:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-14 10:52 Trouble mounting new filesystem Ger
2002-10-14 12:15 ` Lovro Vres
2002-10-14 20:10 ` Quarter Horseman
2002-10-14 21:49 ` Bob Harris
2002-10-15 10:10   ` Ger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox