我的KVM主机在LVM卷上运行VM时遇到了问题.截至昨晚,逻辑卷不再是这样(我无法创建它们的快照,即使我已经好几个月了).
@H_403_2@运行任何扫描都会导致找不到任何内容:
这不是缺少inode:
[root@apollo ~]# pvscan No matching physical volumes found [root@apollo ~]# vgscan Reading all physical volumes. This may take a while... No volume groups found root@apollo ~]# lvscan No volume groups found@H_403_2@如果我尝试从/ etc / lvm / backups / vg0恢复VG conf备份,我会收到以下错误:
[root@apollo ~]# vgcfgrestore -f /etc/lvm/backup/vg0 vg0 Couldn't find device with uuid 20zG25-H8MU-UQPf-u0hD-NftW-ngsC-mG63dt. Cannot restore Volume Group vg0 with 1 PVs marked as missing. Restore Failed.@H_403_2@/ etc / lvm / backups / vg0具有以下物理卷:
physical_volumes { pv0 { id = "20zG25-H8MU-UQPf-u0hD-NftW-ngsC-mG63dt" device = "/dev/sda5" # Hint only status = ["ALLOCATABLE"] flags = [] dev_size = 4292870143 # 1.99902 Terabytes pe_start = 384 pe_count = 524031 # 1.99902 Terabytes } }@H_403_2@fdisk -l / dev / sda显示以下内容:
[root@apollo ~]# fdisk -l /dev/sda Disk /dev/sda: 6000.1 GB,6000069312512 bytes 64 heads,32 sectors/track,5722112 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000188b7 Device Boot Start End Blocks Id System /dev/sda1 2 32768 33553408 82 Linux swap / Solaris /dev/sda2 32769 33280 524288 83 Linux /dev/sda3 33281 1081856 1073741824 83 Linux /dev/sda4 1081857 3177984 2146435072 85 Linux extended /dev/sda5 1081857 3177984 2146435071+ 8e Linux LVM@H_403_2@服务器正在运行4磁盘硬盘RAID10,根据megacli和smartd看起来非常健康. @H_403_2@/ var / log / messages中唯一奇怪的消息是每隔几小时出现的以下信息:
Jun 10 09:41:57 apollo udevd[527]: Failed to create queue file: No space left on device@H_403_2@输出df -h
[root@apollo ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 1016G 119G 847G 13% / /dev/sda2 508M 67M 416M 14% /boot@H_403_2@有没有人有任何想法下一步做什么?除了无法对它们进行快照之外,VM目前都运行良好. @H_403_2@更新了额外信息
这不是缺少inode:
[root@apollo ~]# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda3 67108864 48066 67060798 1% / /dev/sda2 32768 47 32721 1% /boot@H_403_2@pvs,vgs& lvs要么输出任何内容,要么“找不到卷组”.