$ sudo vgextend rootvg /dev/sdb No space for ‘/dev/sdb’ – volume group ‘rootvg’ holds max 1 physical volume(s). Unable to add physical volume ‘/dev/sdb’ to volume group ‘rootvg’.
-p, –maxphysicalvolumes MaxPhysicalVolumes Changes the maximum number of physical volumes that can belong to this volume group. For volume groups with metadata in lvm1 format, the limit is 255. If the metadata uses lvm2 format, the value 0 removes this restriction: there is then no limit. If you have a large number of physical volumes in a volume group with metadata in lvm2 format, for tool performance reasons, you should consider some use of –pvmetadatacopies 0 as described in pvcreate(8), and/or use –vgmetadatacopies.
$ sudo vgextend rootvg /dev/sdb Volume group “rootvg” successfully extended
after this doing the rootvg is extend and have the new size:
Wir messen anonymisiert, welche Inhalte gelesen und welche Stellen uebersehen
werden. Ohne deine Einwilligung setzen wir keine Cookies und laden keine externen
Dienste.
Mehr dazu in der Datenschutzerklärung.