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命令输出几乎完全没用.

相关文章

1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...
如何抑制stable_secret读取关键的“net.ipv6.conf.all.stabl...
1 删除0字节文件 find -type f -size 0 -exec rm -rf {} ...
## 步骤 1:安装必要的软件包 首先,需要确保系统已安装 `dh...