{"id":2640,"date":"2020-04-10T11:19:30","date_gmt":"2020-04-10T11:19:30","guid":{"rendered":"https:\/\/wiki.thomasandsofia.com\/?p=2640"},"modified":"2020-04-10T17:41:36","modified_gmt":"2020-04-10T17:41:36","slug":"7-lvm-attributes","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=2640","title":{"rendered":"7. LVM Attributes"},"content":{"rendered":"<p><a href=\"\/6-metadata-recover-of-a-physical-volume\/\">&lt; 6 Metadata Recovery of a Physical Volume<\/a> | Commands<\/p>\n<p><a href=\"https:\/\/www.udemy.com\/course\/a-complete-guide-on-linux-lvm\/learn\/lecture\/13062676#overview\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/course\/a-complete-guide-on-linux-lvm\/learn\/lecture\/13062676#overview<\/a><\/p>\n<h1>35. Physical Volume Attributes<\/h1>\n<pre>pvs\r\n\u00a0 PV         VG   Fmt  Attr PSize   PFree\r\n  \/dev\/sda3  v1VG lvm2 a--  196.96g    0\u00a0\r\n  \/dev\/sdb1       lvm2 ---  196.96g    0\u00a0\r\n  \/dev\/sdc1  v2vm lvm2 ax-  196.96g    0<\/pre>\n<ul>\n<li>PV &#8211; Physical volume location<\/li>\n<li>VG &#8211; Name of the VG it belongs to<\/li>\n<li>Fmt &#8211; ?<\/li>\n<li>Attr &#8211; Attributes\n<ul>\n<li>a &#8211; Allocated to a volume group\n<ul>\n<li>Notice \/sdb1 has no VG, and does not have &#8216;a&#8217;<\/li>\n<li>You can also stop allocation to an allocated PV using the pvchange command and remove the &#8216;a&#8217; flag<\/li>\n<\/ul>\n<\/li>\n<li>x &#8211; The volume group has been exported<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h1>36. Volume Group Attributes<\/h1>\n<p><a href=\"https:\/\/www.udemy.com\/course\/a-complete-guide-on-linux-lvm\/learn\/lecture\/13062684#overview\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/course\/a-complete-guide-on-linux-lvm\/learn\/lecture\/13062676#overview<\/a><\/p>\n<pre>vgs\r\nVG   #PV  #LV  #SN  Attr   VSize  VFree\r\nmyvg   3    5    0  wz--n- 5.98g  4.86g<\/pre>\n<ul>\n<li>VG &#8211; Name of the Volume Group<\/li>\n<li>PV &#8211; Physical Volumes<\/li>\n<li>LV &#8211; Logical Volumes contained within this VG<\/li>\n<li>SN &#8211; Serial Number.\u00a0 Starts at 0 and increments by 1.<\/li>\n<li>Attr &#8211; Attributes\n<ul>\n<li>w\/r &#8211; (w)rite or (r)ead only<\/li>\n<li>z &#8211; si(z)e. The VG can be expanded.<\/li>\n<li>x &#8211; The VG has been e(x)ported.<\/li>\n<li>p &#8211; (p)artially deactivated<\/li>\n<li>n &#8211; Allocation Policy: (n)ormal<\/li>\n<li>c &#8211; (c)luster<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>UC-c61cd94a-2497-4468-a5eb-33c723c44ac4<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt; 6 Metadata Recovery of a Physical Volume | Commands https:\/\/www.udemy.com\/course\/a-complete-guide-on-linux-lvm\/learn\/lecture\/13062676#overview 35. Physical Volume Attributes pvs \u00a0 PV VG Fmt Attr PSize PFree \/dev\/sda3 v1VG lvm2 a&#8211; 196.96g 0\u00a0 \/dev\/sdb1 lvm2 &#8212; 196.96g 0\u00a0 \/dev\/sdc1 v2vm lvm2 ax- 196.96g 0 PV &#8211; Physical volume location VG &#8211; Name of the VG it belongs to Fmt ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=2640\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2640","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/2640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2640"}],"version-history":[{"count":4,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/2640\/revisions"}],"predecessor-version":[{"id":2644,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/2640\/revisions\/2644"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}