{"id":634,"date":"2026-07-28T10:08:35","date_gmt":"2026-07-28T01:08:35","guid":{"rendered":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/634"},"modified":"2026-07-28T10:08:35","modified_gmt":"2026-07-28T01:08:35","slug":"pvs%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%e3%81%a8%e5%ae%9f%e4%be%8b","status":"publish","type":"post","link":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/634","title":{"rendered":"pvs\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u4f8b"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>pvs\u306fLinux\u306eLogical Volume Manager\uff08LVM\uff09\u3067\u7269\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\uff08Physical Volume\uff09\u306e\u4e00\u89a7\u3084\u8a73\u7d30\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u4e0a\u306e\u30c7\u30a3\u30b9\u30af\u3084\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u3069\u306e\u3088\u3046\u306bLVM\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u304b\u3092\u628a\u63e1\u3059\u308b\u969b\u306b\u983b\u7e41\u306b\u5229\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<p>\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u5f62\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre><code>pvs<\/code><\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ab\u30e9\u30e0\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>PV\uff08Physical Volume\uff09\u306e\u540d\u524d<\/li>\n<li>VG\uff08Volume Group\uff09\u540d<\/li>\n<li>PV\u306e\u30b5\u30a4\u30ba<\/li>\n<li>\u4f7f\u7528\u6e08\u307f\u30b5\u30a4\u30ba\u3068\u7a7a\u304d\u30b5\u30a4\u30ba<\/li>\n<li>\u5c5e\u6027\u60c5\u5831<\/li>\n<\/ul>\n<h2>\u4e3b\u306a\u30aa\u30d7\u30b7\u30e7\u30f3<\/h2>\n<ul>\n<li><strong>-a, &#8211;all<\/strong>\uff1a\u3059\u3079\u3066\u306e\u5c5e\u6027\u3068\u96a0\u3057\u60c5\u5831\u3092\u8868\u793a<\/li>\n<li><strong>-o, &#8211;options<\/strong>\uff1a\u8868\u793a\u3059\u308b\u30ab\u30e9\u30e0\u3092\u6307\u5b9a\uff08\u4f8b\uff1a<code>-o pv_name,vg_name,pv_size<\/code>\uff09<\/li>\n<li><strong>-S, &#8211;select<\/strong>\uff1a\u6761\u4ef6\u3067\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\uff08\u4f8b\uff1a<code>-S 'vg_name=myvg'<\/code>\uff09<\/li>\n<li><strong>-t, &#8211;noheadings<\/strong>\uff1a\u30d8\u30c3\u30c0\u30fc\u884c\u3092\u7701\u7565<\/li>\n<li><strong>-e, &#8211;separator<\/strong>\uff1a\u51fa\u529b\u533a\u5207\u308a\u6587\u5b57\u3092\u5909\u66f4\uff08CSV\u5f62\u5f0f\u306b\u4fbf\u5229\uff09<\/li>\n<\/ul>\n<h2>\u5b9f\u969b\u306e\u4f7f\u7528\u4f8b<\/h2>\n<h3>1. \u57fa\u672c\u60c5\u5831\u306e\u78ba\u8a8d<\/h3>\n<pre><code>pvs<\/code><\/pre>\n<h3>2. \u30ab\u30e9\u30e0\u3092\u7d5e\u308a\u8fbc\u3080<\/h3>\n<pre><code>pvs -o pv_name,vg_name,pv_size,pe_count<\/code><\/pre>\n<h3>3. \u7279\u5b9a\u306eVG\u3060\u3051\u3092\u8868\u793a<\/h3>\n<pre><code>pvs -S 'vg_name=vg_data'<\/code><\/pre>\n<h3>4. CSV\u5f62\u5f0f\u3067\u51fa\u529b\u3057\u3066\u4ed6\u30c4\u30fc\u30eb\u306b\u6e21\u3059<\/h3>\n<pre><code>pvs -o pv_name,vg_name,pv_size --separator ',' -t<\/code><\/pre>\n<h2>\u6ce8\u610f\u70b9<\/h2>\n<ul>\n<li>pvs\u306f\u8aad\u307f\u53d6\u308a\u5c02\u7528\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u5b9f\u969b\u306b\u30c7\u30d0\u30a4\u30b9\u3092\u5909\u66f4\u3059\u308b\u64cd\u4f5c\u306f\u5225\u306e\u30b3\u30de\u30f3\u30c9\uff08pvcreate, pvremove\u306a\u3069\uff09\u3067\u884c\u3044\u307e\u3059\u3002<\/li>\n<li>\u5927\u898f\u6a21\u74b0\u5883\u3067\u5927\u91cf\u306ePV\u304c\u3042\u308b\u5834\u5408\u3001\u51fa\u529b\u304c\u591a\u304f\u306a\u308b\u305f\u3081<code>-t<\/code>\u3084<code>-S<\/code>\u3067\u7d5e\u308a\u8fbc\u3080\u3068\u898b\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u30ab\u30b9\u30bf\u30e0\u30ab\u30e9\u30e0\u3092\u6307\u5b9a\u3059\u308b\u969b\u306f\u3001\u30ab\u30e9\u30e0\u540d\u306f<code>man pvs<\/code>\u306e\u300cDISPLAY columns\u300d\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>pvs\u306fLVM\u7ba1\u7406\u306b\u304a\u3044\u3066\u300c\u73fe\u72b6\u628a\u63e1\u300d\u306e\u7b2c\u4e00\u6b69\u3068\u306a\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u57fa\u672c\u7684\u306a\u8868\u793a\u306b\u52a0\u3048\u3066\u3001\u30ab\u30e9\u30e0\u6307\u5b9a\u3084\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3001CSV\u51fa\u529b\u306a\u3069\u67d4\u8edf\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u76e3\u8996\u30c4\u30fc\u30eb\u3067\u3082\u6d3b\u7528\u3057\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u5b9f\u969b\u306e\u904b\u7528\u3067\u306f\u3001\u5b9a\u671f\u7684\u306bpvs\u51fa\u529b\u3092\u78ba\u8a8d\u3057\u3001\u7269\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u306e\u4f7f\u7528\u72b6\u6cc1\u3084\u4f59\u88d5\u5bb9\u91cf\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 pvs\u306fLinux\u306eLogical Volume Manager\uff08LVM\uff09\u3067\u7269\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\uff08Physical Volume\uff09\u306e\u4e00\u89a7\u3084\u8a73\u7d30\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u4e0a\u306e\u30c7\u30a3\u30b9\u30af\u3084\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u3069\u306e\u3088\u3046\u306bL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-634","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/comments?post=634"}],"version-history":[{"count":0,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/634\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/media?parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/categories?post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/tags?post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}