Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了lvm – 磁盘/ dev / mapper / VolGroup不包含有效的分区表大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

如何修复“磁盘/ dev / mapper / VolGroup不包含有效的分区表” [root@localhost _work]# fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 =
如何修复“磁盘/ dev / mapper / VolGroup不包含有效的分区表
[root@localhost _work]# fdisk -l

Disk /dev/sda: 160.0 GB,160041885696 bytes
255 heads,63 sectors/track,19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x13159c87

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64       19458   155777024   8e  Linux LVM

Disk /dev/mapper/VolGroup-lv_root: 156.8 GB,156766306304 bytes
255 heads,19059 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_root doesn't contain a valid partition table

Disk /dev/mapper/VolGroup-lv_swap: 2113 MB,2113929216 bytes
255 heads,257 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_swap doesn't contain a valid partition table

解决方法

你没有解决它.它不应该有一个有效的分区表,文件系统直接在块设备上.这是一个逻辑卷.只需忽略fdisk抱怨不是磁盘的设备. 对于任何/ dev / mapper设备,fdisk -l命令输出几乎完全没用.

大佬总结

以上是大佬教程为你收集整理的lvm – 磁盘/ dev / mapper / VolGroup不包含有效的分区表全部内容,希望文章能够帮你解决lvm – 磁盘/ dev / mapper / VolGroup不包含有效的分区表所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。