[linux-lvm] Add a disk from remote node to LVM

Mahmood Naderan nt_mahmood at yahoo.com
Wed May 7 07:33:07 UTC 2014


Hello,
Is it possible to add a network drive to an existing LVM? I have created a group on the main node (N1) and have added three local drives. Now I want to add a remote disk from another node (N2). In other words, I want to add N2:/dev/sdb to N1:/dev/tigerfiler/tigervolume


Is that possible? How? All examples I see are trying to add extra local drives and not remote drives.


Here are some info


# vgdisplay
  --- Volume group ---
  VG Name               tigerfiler1
  System ID

Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max
PV                0
  Cur PV                3
  Act PV                3
  VG Size               2.73 TiB
  PE Size               4.00 MiB
  Total PE              715401
  Alloc PE / Size       715401 / 2.73 TiB
  Free  PE / Size       0 / 0
  VG
UUID               8Ef8Vj-bDc7-H4ia-D3X4-cDpY-kE9Z-njc8lj



pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdb
  VG Name               tigerfiler1
  PV Size               931.51 GiB / not usable 1.71 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB

Total PE              238467
  Free PE               0
  Allocated PE          238467
  PV UUID               FmC77z-9UaR-FhYa-ONHZ-EazF-5Hm2-8zmUuj

  --- Physical volume ---
  PV Name               /dev/sdc
  VG Name               tigerfiler1
  PV Size               931.51 GiB / not usable 1.71 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              238467
  Free PE               0
  Allocated PE          238467
  PV UUID               1jBQUn-gkkD-37I3-R3nL-KeHA-Hn2A-4zgNcR

  --- Physical volume ---
  PV Name               /dev/sdd
  VG Name               tigerfiler1
  PV Size               931.51 GiB / not usable 1.71 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              238467
  Free PE               0
  Allocated PE          238467
  PV
UUID               mxi8jW-O868-iPse-IfY7-ag3m-R3vZ-gS3Jdx



Regards,
Mahmood    




More information about the linux-lvm mailing list