08-07-2001
You cannot unmount a partition if you have a process executing in that partition space. This can be as simple as having cd (change directory) from a shell or a process running from/in that partition.
Yes, fsck is great for checking and repairing filesystems. That is the standard utility we all use.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
the program as follow:
mount /dev/fd0135ds18 /mnt
cd /mnt
touch file1
cat /file2 >/mnt/file1
umount /dev/fd135ds18
when error
tell device busy
could you tell me the reason? (1 Reply)
Discussion started by: fresh
1 Replies
2. UNIX for Advanced & Expert Users
hi all,
I inherit a Solaris7 system with /home mounted via a share from the NFS server. When I look at mnttab, there are two entries mounted under /home. Let's say they are server:/home/a and server:/home/b. I would like to maintain /home/a but not /home/b. However, I just don't know where... (4 Replies)
Discussion started by: andrec
4 Replies
3. Solaris
I am trying to umount a NFS share.
When I do the following:
# umount syrupg21
umount: /oebs/syrupg21: device is busy
device bussy so I like to check what is working on the system....
# fuser -muv /oebs/syrupg21/
#
So no locks should be there... any clue?
Regards,
Johan... (3 Replies)
Discussion started by: suntac
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am writing a multi-cd spanning installer for a particular software in Linux (Redhat 4 or greater / Suse )
My Program is in Java. A Shell Script is used to fork the java process. I found out that when the Installer tries to go to the next disc when prompted so, by the installer, the eject... (1 Reply)
Discussion started by: jiju.jacob
1 Replies
5. HP-UX
sorry, wrong section, mod please close thread (0 Replies)
Discussion started by: robertngo
0 Replies
6. HP-UX
Hello,
yeah... here my question :
Exist some way to force umount on HP other than reboot?
Thanks
gb (12 Replies)
Discussion started by: gogol_bordello
12 Replies
7. Linux
I had a umount busy issue, that the usual fuser -mk did not solve, I did a umount -l and was able to unmount the device, I then got in trouble by the storage team staff:
Here was a snippet of their response:
Using "umount -l" is a potentially dangerous act.
The command combination for a lazy... (8 Replies)
Discussion started by: pastajet
8 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I accidentally unmounted filesystems using umount -a command.
How to recover from this. Please help. Thanks in advance!
when i try to use mount -a i got the following output.
# mount -a
mount: /dev/vg00/lvol05 already mounted or /opt busy
mount: /dev/vg00/lvol07 already... (4 Replies)
Discussion started by: lramsb4u
4 Replies
9. UNIX for Dummies Questions & Answers
hi guys
I have to umount a CIFS from a Windows machine...but it's been imposible
there is one special task
/sbin/umount.cifs /mondobackup
that task cannot be kill...so I cannot umount the unit
any idea how to kill this and umount this CIFS share?
by the way I've tried
umount... (5 Replies)
Discussion started by: kopper
5 Replies
10. Linux
Hi,
initially i will mount a image using loop device using below command
mount -n -o loop,noatime,ro -t squashfs /mnt/fsh/bt.img /opt/app/test
then "mount" reflects with below
/dev/loop0 on /opt/app/test type squashfs (ro,noatime)
i will then umount using below commnd, umount is... (0 Replies)
Discussion started by: successlin
0 Replies
LEARN ABOUT HPUX
vparremove
vparremove(1M) vparremove(1M)
NAME
vparremove - remove a virtual partition
SYNOPSIS
vp_name db_file]
DESCRIPTION
The command deletes a virtual partition previously created using the command. All resources associated with the virtual partition are made
available for allocation to other partitions.
Unintentional use of this command has serious consequences; therefore the user is prompted to confirm the operation unless the (force)
option is specified.
Options
recognizes the following command line options and arguments:
Specifies the unique name of the virtual partition which
is to be removed. Required.
Removes a virtual partition from the partition database
contained in db_file. If this option is omitted, the virtual partition is removed from the monitor's database. In this
case, the partition must be in the state to be removed. Thus it is an error to try to remove the current virtual partition,
the one in which the command is executing.
Specifies the force option.
Omits the confirmation dialog before removing the virtual partition. This option is intended for use by scripts and other
non-interactive applications.
SECURITY RESTRICTIONS
This command is restricted to processes owned by superuser.
When virtual partition flexible administrative capability is enabled, a virtual partition can only be removed from within a Designated-
Admin vPar.
RETURN VALUE
The command exits with one of the following values:
Successful completion.
One or more error conditions occurred.
EXAMPLES
Destroy the virtual partition in the partition database currently running in the monitor:
Destroy the virtual partition in the partition database currently running in the monitor using the force option:
Delete partition in partition database file
ERRORS
displays error messages on standard error for any of the following conditions:
o db_file does not exist, cannot be accessed, is not a virtual partition database file, or is corrupt.
o vp_name does not exist in the monitor's database or in db_file.
o vp_name in the monitor's database is in some state other than
o The command and the virtual partition monitor are at different revision levels.
o When the virtual partition flexible administrative capability is enabled and the local virtual partition is not a Designated-
Admin vPar.
AUTHOR
was developed by the Hewlett-Packard Company.
SEE ALSO
vparadmin(1M), vparboot(1M), vparconfig(1M), vparcreate(1M), vpardump(1M), vparefiutil(1M), vparenv(1M), vparextract(1M), vparmodify(1M),
vparreloc(1M), vparreset(1M), vparstatus(1M), vparutil(1M), vparresources(5), vpartition(5), vpmon(5).
vparremove(1M)