当我重新启动并尝试使用lvextend –l +100%FREE /dev/vda5时,我使用Gparted来调整卷组和逻辑分区的大小,我得到了以下消息:
Path required for Logical Volume "–l"
Please provide a volume group name
Run `lvextend --help' for more information.
这是我的pvs、lvs、vgs输出:
VG #PV #LV #SN Attr VSize VFree
d8dev-vg 1 2 0 wz-
我在我的ssd上安装了新系统,我用同样的linux将第二个磁盘插入到我的PC上,除了文件夹grub之外,我看不到任何东西,但是我必须从第二个磁盘复制文件。我怎么能这么做?
我不能上马,或者我不知道怎么骑。当我使用:‘`sudo挂载/dev/sdb2 2 /home时,我得到
wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog
我使用的是CentOS 6.x。我想调整LVM分区的大小,但是当我使用parted查看分区信息时,我并不感到困惑。我有几个问题。请查看下面的分区信息。
$ parted
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
Model: VMware Virtual disk (scsi)
Disk /dev/sda: 65.9GB
Sector size (logical/physical): 512B/5
全。原谅我,我对Linux不熟悉。我正在尝试在CentOS中安装VMWare。正如我所知,Linux只能创建三种分区。它们是primary, extended, and logical,对于MBR,主分区和扩展分区的最大数目为4,并且可以在扩展分区下创建无限多的逻辑分区。(如果我错了。请纠正我。谢谢。)
但是关于CentOS。在创建分区时,我得到了如下选项。与primary, extended, and logical的概念相比,我无法理解Standard partition and LVM physical volume,也不知道它们之间有什么区别。创建LVM physical volume