加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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

发布时间:2020-12-14 02:47:54 所属栏目:Linux 来源:网络整理
导读:如何修复“磁盘/ dev / mapper / VolGroup不包含有效的分区表” [root@localhost _work]# fdisk -lDisk /dev/sda: 160.0 GB,160041885696 bytes255 heads,63 sectors/track,19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (lo
如何修复“磁盘/ 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命令输出几乎完全没用.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读