09-27-2012
vgdisplay -v File-based locking initialisation failed.
Hi,
I am running Red Hat Enterprise Linux Server release 5.6 (Tikanga)
i am havining a hard time to find these RPMs:
i tried to install device-mapper wich require for LVM to function, but got error with dependencies:
rpm -Uvh ./device-mapper-multipath-libs-0.4.9-56.el6_3.1.x86_64.rpm
warning: ./device-mapper-multipath-libs-0.4.9-56.el6_3.1.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID fd431d51
error: Failed dependencies:
libc.so.6(GLIBC_2.7)(64bit) is needed by device-mapper-multipath-libs-0.4.9-56.el6_3.1.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by device-mapper-multipath-libs-0.4.9-56.el6_3.1.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by device-mapper-multipath-libs-0.4.9-56.el6_3.1.x86_64
Where i can find thiese rpms?
Thank you!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am using Red Hat 7.1 . I have installed one Server and trying to make network installing workstations on other system of a network. The Ethernet of the server has been mounted and working properly. I am getting problem installing /mounting the Ethernet of the workstations .I have tryed this by... (1 Reply)
Discussion started by: at_renai2001
1 Replies
2. UNIX for Dummies Questions & Answers
I have a set of scripts to do software releases to remote machines which uses ftp. I'm having a problem getting 'lost connection' messages.
What I wanted to ask is, does ftp employ some sort of file locking if two ftp processes are trying to copy the same file at the same time? & if so could... (2 Replies)
Discussion started by: Kevin Pryke
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Simple question but I just need to confirm the answer:
If two or more processes attempt to move the same file at exactly the same time, will unix internal file locking allow only one of the processes to access the file?
Many thanks
Helen :) (2 Replies)
Discussion started by: Bab00shka
2 Replies
4. UNIX for Dummies Questions & Answers
Hi
I would like to lock a file using korn Shell Script before coping the contents of the file.
Do let me know
Thanks in Advance.
Senone (3 Replies)
Discussion started by: senone
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
Does anyone know what happens when two processes are simultaneously trying to write to a single file in UNIX (AIX)?
Cheers (1 Reply)
Discussion started by: penfold
1 Replies
6. UNIX for Dummies Questions & Answers
We want to lock a file, during a program(pgm1) execution(until the execution of the program is completed), so that other program(pgm2) can't read/edit that file, until execution of earlier program(pgm1) is completed. How can this be achieved thru shell scripting...
we tried chmod +l option, but... (1 Reply)
Discussion started by: thanuman
1 Replies
7. UNIX for Dummies Questions & Answers
how do i implement file locking in unix?
example if i want to update a file, i would like to use file locking. how do i implement it?
i am using shell script
thanks (3 Replies)
Discussion started by: yang
3 Replies
8. UNIX for Dummies Questions & Answers
how to ensure all files are being locked while updateing some files?
example when i want to update the password and shadow file in unix. how do i implement file locking??
please advice
thanks (2 Replies)
Discussion started by: yang
2 Replies
9. UNIX for Advanced & Expert Users
i am working on a device runnin on linux....i have configured the samba server in the device such that my windows PC can access a shared folder in the device. Also in the device i am runnin some programs which access the files in this shared folder. What i want to know is whether there is any way i... (1 Reply)
Discussion started by: abhinx
1 Replies
10. Shell Programming and Scripting
Hello,
The task is quite simple. I need to initialise а string variable and assign to it a very long value. For the reason of readability I want to devide this long value into equal parts and place each part at a separate line.
For instance, I have -
... (1 Reply)
Discussion started by: Pretoria
1 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)