Re: Add a disk from remote node to LVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/07/2014 09:33 AM, Mahmood Naderan wrote:
> 
> 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.
> 

How do you mean "remote drive" exactly? What type is it - is it iscsi, nbd...?
Or is it just a standard local drive attached to machine N2 you need to access on machine N1?
Is the drive shared? Or you have exclusive access to that drive for single machine?

In case the drive is shared amongst several nodes, you need to consider using clustered LVM (clvmd).

But essentially, you need to connect the remote drive first and then do a pvcreate and vgextend.

-- 
Peter

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux