如何只将一个分区和该分区根挂载到多个分区?

如何只将一个分区和该分区根挂载到多个分区?

我使用带有 Linux 操作系统的公共云服务器。我想创建另一个分区。我应该怎么办?我想使用LVM,但是Linux说

Can't open /dev/vda1 exclusively.  Mounted filesystem?

pvcreate /dev/vda1

让我们来看看:

# fdisk -l

Disk /dev/vda: 42.9 GB, 42949672960 bytes, 83886080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000aea28

Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *        2048    83875364    41936658+  8e  Linux LVM

# pvcreate /dev/vda1
Can't open /dev/vda1 exclusively.  Mounted filesystem?
Can't open /dev/vda1 exclusively.  Mounted filesystem?

请帮我。我还是个新手。

相关内容