Linux LVM 设置和管理

[root@localhost robin]# rpm -qa|grep lvm
lvm2-2.02.56-8.el5

--这里缺少了 system-config-lvm

---------------------
[root@localhost ~]# fdisk /dev/sda

Command (m for help): t
Partition number (1-5): 5
Hex code (type L to list codes): L

------------------------
[root@localhost ~]# fdisk -l /dev/sda5

Disk /dev/sda5: 4227 MB, 4227761664 bytes
255 heads, 63 sectors/track, 513 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda5 doesn't contain a valid partition table
[root@localhost ~]# fdisk -l /dev/sda4
[root@localhost ~]#

看来 fdisk -l /dev/sda5 是对的。因为,如果  /dev/sda3
[root@localhost ~]# fdisk -l /dev/sda3

Disk /dev/sda3: 55.9 GB, 55956579840 bytes
255 heads, 63 sectors/track, 6803 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda3 doesn't contain a valid partition table
信息雷同

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/24644.html