Saya mencoba menambahkan volume fisik untuk digunakan untuk menambah grup volume dan dengan demikian LV di dalamnya. Sayangnya saya mendapatkan kesalahan berikut.
[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
Saya sangat menghargai bantuan yang bisa Anda berikan. Ini akan menjadi pertama kalinya saya harus menambahkan pv dan ketika meneliti masalah ini saya tidak menemukan apa pun yang banyak membantu.
OS adalah centos 6 - 64bit
Filter
# 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/.*/" ]
Berpisah:
parted /dev/sdb "unit s" "print"
Model: Adaptec AdaptecRAID5 (scsi)
Disk /dev/sdb: 38996510720s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
grep filter /etc/lvm.conf
danparted /dev/sdb "unit s" "print"
/etc/lvm.conf
? Dan saat Anda melakukannya, perlihatkan tabel partisi Anda.