歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux LVM 設置和管理

Linux LVM 設置和管理

日期:2017/2/28 16:19:13   编辑:Linux教程

[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
信息雷同

Copyright © Linux教程網 All Rights Reserved