Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've done LVM resizes numerous times, but I can't seem to figure this problem out. ext3 filesystem, extra space is available on the VG, but the lvextend command continually fails:

lvextend -v -L+50G /dev/VolGroup00/LogVol05
    Finding volume group VolGroup00
    Archiving volume group "VolGroup00" metadata (seqno 7).
  Extending logical volume LogVol05 to 100.00 GB
    Creating volume group backup "/etc/lvm/backup/VolGroup00" (seqno 8).
    Found volume group "VolGroup00"
    Found volume group "VolGroup00"
    Clearing inactive table VolGroup00-LogVol05 (253:4)
    Loading VolGroup00-LogVol05 table
  /dev/VolGroup00/LogVol05: matchpathcon 0120000 failed: No such file or directory
  Failed to create symlinks for LogVol05.
  Failed to suspend LogVol05

The only thing I can find out about the matchpathcon binary is that it's related to SELinux, which is currently disabled on the server.

A little info on the VG:

  LV       VG         Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  LogVol00 VolGroup00 -wi-ao 48.83G                                      
  LogVol01 VolGroup00 -wi-ao  8.00G                                      
  LogVol02 VolGroup00 -wi-ao 48.83G                                      
  LogVol03 VolGroup00 -wi-ao 48.83G                                      
  LogVol04 VolGroup00 -wi-ao 48.83G                                      
  LogVol05 VolGroup00 -wi-ao 50.00G   
share|improve this question
    
Do you have any snapshots of this LV? Edit: NM looks like you don't. –  Mark Wagner Mar 3 '12 at 3:10
add comment

1 Answer

Looks like this bug or something very similar. Please try to install selinux-policy-targeted package. SELinux is disabled but it looks like that LVM needs some files from this package.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.