WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 3999.7 GB, 3999688294400 bytes
255 heads, 63 sectors/track, 486267 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
/dev/sda2 1 2090 16785120 82 Linux swap / Solaris
/dev/sda3 1 218918 1758456029+ 8e Linux LVM
Partition table entries are not in disk order上面是我的"fdisk -l",我当前的问题是当我尝试执行"pvcreate /dev/sda2 2“时,它给了我”不能只打开/dev/sda2 2。挂载文件系统?“我搜索谷歌已经有一段时间了,我正试图找到一种方法来解决这个问题。我在谷歌( google )尝试过一些违抗的事情,但最后都没有一件奏效。
发布于 2022-07-04 21:08:35
检查正在使用的磁盘/分区,不要将其挂载到系统上的任何目录。
如果是的话,试一次。
https://stackoverflow.com/questions/23435996
复制相似问题