差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:lvm [2012/07/14 01:57] – [LV(論理ボリューム) の縮小] ともやんlinux:lvm [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 211: 行 211:
   Reducing logical volume lv_home to 3.54 TiB   Reducing logical volume lv_home to 3.54 TiB
   Logical volume lv_home successfully resized   Logical volume lv_home successfully resized
 +</code>
 +
 +===== 他で使用していたディスクのLVMを認識させる =====
 +<code>
 +$ sudo lvscan
 +  inactive          '/dev/vg_hoge/lv_swap' [4.00 GiB] inherit
 +  inactive          '/dev/vg_hoge/lv_root' [144.53 GiB] inherit
 +  ACTIVE            '/dev/vg_thecircle-fc/lv_swap' [3.94 GiB] inherit
 +  ACTIVE            '/dev/vg_thecircle-fc/lv_home' [201.56 GiB] inherit
 +  ACTIVE            '/dev/vg_thecircle-fc/lv_root' [50.00 GiB] inherit
 +</code>
 +
 +<code>
 +$ sudo vgchange -ay vg_hoge
 +  2 logical volume(s) in volume group "vg_hoge" now active
 +</code>
 +
 +<code>
 +$ sudo vgchange -an vg_hoge
 +  0 logical volume(s) in volume group "vg_hoge" now active
 +</code>
 +
 +<code>
 +$ sudo lvscan
 +  inactive          '/dev/vg_hoge/lv_swap' [2.00 GiB] inherit
 +  inactive          '/dev/vg_hoge/lv_root' [124.00 GiB] inherit
 +  ACTIVE            '/dev/vg_thecircle-fc/lv_swap' [3.94 GiB] inherit
 +  ACTIVE            '/dev/vg_thecircle-fc/lv_home' [201.56 GiB] inherit
 +  ACTIVE            '/dev/vg_thecircle-fc/lv_root' [50.00 GiB] inherit
 </code> </code>
  • linux/lvm.1342198622.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)