05-18-2010
did you tried manually force unmount ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello All,
I have a question that I think I have the answer to but I'm not sure. All the information I get kind of dance around it. Well, my question is if you have NFS running, automount running, with auto_master and auto_home on a server. If a user logs in form cleint machine that has... (3 Replies)
Discussion started by: larry
3 Replies
2. UNIX for Advanced & Expert Users
Hi all,
First of all, i am so sorry about my bad level in English writing.
I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me.
I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies
3. Programming
Hi,
For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar.
Target OS- VxWorks
Host OS - Windows Embedded.
mounted a directory in wondows onto VxWorks.
During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Discussion started by: suraj.bc
0 Replies
4. UNIX for Advanced & Expert Users
My issue is I want an NFS share where I can write to the directory, but not list any of the files in there. (doesn't matter if someone knows the name can open the file).
Have an NFS export for example:
drwxrwxrw- 2 cranes staff 256 18 May 12:48 cranes
The export will only... (1 Reply)
Discussion started by: Cranie
1 Replies
5. Solaris
I have installed Solaris 11 Express on my machine, created a raidz2 zpool named shares and set up sharing (zfs set sharesmb=on shares). I also created a script for automatic backuping using snapshots.
Everything worked fine. But yesterday I tried recovering from one of those backuped snapshots:... (1 Reply)
Discussion started by: RychnD
1 Replies
6. Solaris
I shared from linux server a dir with nfs3,solaris mount
ok,and can tar files,but if i do ls or cp..
on mnt i have mount the nfs share
root@solaris: mnt $ touch 2
root@solaris: mnt $ ls -lh
ls: can't read ACL on .: Permission denied
root@solaris: mnt $ ls
1.tar
2
root@solaris: mnt $ cp... (4 Replies)
Discussion started by: Linusolaradm1
4 Replies
7. UNIX for Advanced & Expert Users
Hi,
I would like to know how can we mount a directory using nfs v4 ?
When I use the below command, I am not sure what nfs version am using to mount the directory.
mount -t <server_name>:<shared_directory> <shared_directory>.
eg:
mount -t 10.50.0.8:/home/arun/mount/share_dir... (7 Replies)
Discussion started by: arunsriniv
7 Replies
8. Solaris
I'm having a strange issue that I'm unsure what to do with. I have a new Solaris home server that I want hard mount /home to all our servers. I've made each user's home directory a filesystem so that I can manage every user with a quota. In each one of my server vfstab files I have it set as:
... (4 Replies)
Discussion started by: mijohnst
4 Replies
9. Solaris
Hi,
I am having some NFS directory consistency problems with the below setup on a local (192.) network:
1. Different permissions (chmod) for the same NFS dir are reflected on different clients.
2. (more serious) an NFS dir created on client1 cannot be accessed on client2; this applies to some... (10 Replies)
Discussion started by: cosmojetz
10 Replies
10. HP-UX
Hi,
I have exported a few nfs mounts from one server to the nfs clients.
This is my nfs server dfstab :
# cat /etc/dfs/dfstab
# place share(1M) commands here for automatic execution
# on entering init state 3.
#
# share <pathname>
# .e.g,
# share -F... (3 Replies)
Discussion started by: anaigini45
3 Replies
LEARN ABOUT CENTOS
blkdeactivate
BLKDEACTIVATE(8) BLKDEACTIVATE(8)
NAME
blkdeactivate - utility to deactivate block devices
SYNOPSIS
blkdeactivate [options] [device...]
DESCRIPTION
blkdeactivate utility deactivates block devices. If a device is mounted, the utility can unmount it automatically before trying to deacti-
vate. The utility currently supports device-mapper devices, including LVM volumes. LVM volumes are handled directly using the lvm command.
Other device-mapper based devices are handled using the dmsetup command.
OPTIONS
-e, --errors
Show errors reported from tools called by blkdeactivate. Without this option, any error messages from these external tools are sup-
pressed and the blkdeactivate itself provides only a summary message about device being skipped or not.
-h, --help
Display the help text.
-u, --umount
Unmount a mounted device before trying to deactivate it. Without this option used, a device that is mounted is not deactivated.
-v, --verbose
Run in verbose mode.
-d, --dmoption dm_options
Comma separated list of device-mapper specific options.
-l, --lvmoption lvm_options
Comma separated list of LVM specific options.
DM_OPTIONS
retry Retry removal several times in case of failure.
force Force device removal. See dmsetup(8) for more information.
LVM_OPTIONS
retry Retry removal several times in case of failure.
wholevg
Deactivate the whole LVM Volume Group when processing a Logical Volume. Deactivating Volume Group as a whole takes less time than
deactivating each Logical Volume separately.
EXAMPLES
Deactivate all supported block devices found in the system. If a device is mounted, skip its deactivation.
blkdeactivate
Deactivate all supported block devices found in the system. If a device is mounted, unmount it first if possible.
blkdeactivate -u
Deactivate supplied device together with all its holders. If any of the devices processed is mounted, unmount it first if possible.
blkdeactivate -u /dev/vg/lvol0
Deactivate all supported block devices found in the system. Retry deactivation of device-mapper devices in case the deactivation fails.
Deactivate the whole Volume Group at once when processing an LVM Logical Volume.
blkdeactivate -u -d retry -l wholevg
Deactivate all supported block devices found in the system. Retry deactivation of device-mapper devices in case the deactivation fails and
force removal.
blkdeactivate -d force,retry
SEE ALSO
lsblk(8) umount(8) dmsetup(8) lvm(8)
Red Hat, Inc LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) BLKDEACTIVATE(8)