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 OPENSOLARIS
mac_partition
MAC_PARTITION(4) BSD Kernel Interfaces Manual MAC_PARTITION(4)
NAME
mac_partition -- process partition policy
SYNOPSIS
To compile the process partition policy into your kernel, place the following lines in your kernel configuration file:
options MAC
options MAC_PARTITION
Alternately, to load the process partition module at boot time, place the following line in your kernel configuration file:
options MAC
and in loader.conf(5):
mac_partition_load="YES"
DESCRIPTION
The mac_partition policy module implements a process partition policy, which allows administrators to place running processes into
``partitions'', based on their numeric process partition (specified in the process's MAC label). Processes with a specified partition can
only see processes that are in the same partition. If no partition is specified for a process, it can see all other processes in the system
(subject to other MAC policy restrictions not defined in this man page). No provisions for placing processes into multiple partitions are
available.
Label Format
Partition labels take on the following format:
partition/value
Where value can be any integer value or ``none''. For example:
partition/1
partition/20
partition/none
SEE ALSO
mac(4), mac_biba(4), mac_bsdextended(4), mac_ifoff(4), mac_lomac(4), mac_mls(4), mac_none(4), mac_portacl(4), mac_seeotheruids(4),
mac_test(4), maclabel(7), mac(9)
HISTORY
The mac_partition policy module first appeared in FreeBSD 5.0 and was developed by the TrustedBSD Project.
AUTHORS
This software was contributed to the FreeBSD Project by Network Associates Labs, the Security Research Division of Network Associates Inc.
under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program.
BUGS
See mac(9) concerning appropriateness for production use. The TrustedBSD MAC Framework is considered experimental in FreeBSD.
While the MAC Framework design is intended to support the containment of the root user, not all attack channels are currently protected by
entry point checks. As such, MAC Framework policies should not be relied on, in isolation, to protect against a malicious privileged user.
BSD
December 9, 2002 BSD