数码资讯
centos – 未找到设备/ dev / sdb1(或通过过滤忽略)
选购提示
关注价格、性能、续航、售后和真实使用场景,理性比较后再下单。
我正在尝试添加一个物理卷,用于添加卷组,从而在其中添加LV.可悲的是,我收到以下错误.
[root@server ~]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ignored by filtering). [root@server ~]# fdisk -l /dev/sdb WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdb: 19966.2 GB, 19966213488640 bytes 255 heads, 63 sectors/track, 2427420 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 267350 2147483647+ ee GPT
我很感激你能给予的任何帮助.这将是我第一次添加光伏,在研究这个问题时,我没有遇到任何有用的东西.
操作系统是6 – 64位
过滤器
# By default we accept every block device: filter = [ "a/.*/" ] # Exclude the cdrom drive # filter = [ "r|/dev/cdrom|" ] # When testing I like to work with just loopback devices: # filter = [ "a/loop/", "r/.*/" ] # Or maybe all loops and ide drives except hdc: # filter =[ "a|loop|", "r|/dev/hdc|", "a|/dev/ide|", "r|.*|" ] # Use anchors if you want to be really specific # filter = [ "a|^/dev/hda8$|", "r/.*/" ]
分手:
parted /dev/sdb "unit s" "print" Model: Adaptec AdaptecRAID5 (scsi) Disk /dev/sdb: 38996510720s Sector size (logical/physical): 512B/512B Partition Table: gptMBR中的分区类型设置为“ee”,表示磁盘上应该有一个 GPT分区表,但是如分开显示的那样,根本没有GPT表.
你需要:a)使用parted制作GPT分区,并将该分区用作PVb)完全从MBR中删除分区表,并使用块设备/ dev / sdb作为PV
声明:本文内容用于数码产品信息整理与选购参考,具体价格、库存、售后政策以官方渠道和电商页面实时信息为准。