0
Solution

/var/lock/lvm/V_vg00: open failed: No space left on device

vgs
/var/lock/lvm/V_vg00: open failed: No space left on device
Can’t lock volume group vg00: skipping

  • Red Hat Enterprise Linux 4/5/6

 

[root@shebanglinux subsys]# pvscan
/var/lock/lvm/P_global: open failed: No space left on device
Unable to obtain global lock.

 

[root@shebanglinux subsys]# pvscan -vvv
Processing: pvscanvvv
O_DIRECT will be used
Setting global/locking_type to 1
File-based locking selected.
Setting global/locking_dir to /var/lock/lvm
Locking /var/lock/lvm/P_global WB
/var/lock/lvm/P_global: open failed: No space left on device
Unable to obtain global lock.

solution

Extend the maximum inode count in an ext3/4 file system.

The Problem is no free inodes on the filesystem

  • Use the command “df -ih” and check if there are free inodes on the particular filesystem.
# df -ih

 

You Might Also Like...

No Comments

    Leave a Reply