lvm – 磁盘/ dev / mapper / VolGroup不包含有效的分区表

前端之家收集整理的这篇文章主要介绍了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 = 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命令输出几乎完全没用.
原文链接:/linux/396555.html

猜你在找的Linux相关文章