All of lore.kernel.org
 help / color / mirror / Atom feed
From: Spam <spam@tnonline.net>
To: neuron <linux-lvm@sistina.com>
Subject: Re: [linux-lvm] LVM across network
Date: Wed Nov 26 12:11:01 2003	[thread overview]
Message-ID: <199870551.20031126190959@tnonline.net> (raw)
In-Reply-To: <20031126165649.1fd1c51b.neuron@hollowtube.mine.nu>

  As far as I can tell NBD 2.x is stable. You can setup failovers with
  NBD  if  you  have  more  than  one NIC in the computers. I have not
  tested this myself.

  The  risk  is  that you accidentally disconnect a network cable etc.
  Otherwise  it  is  up  to the stability of each machine to make this
  work in the long run. For temp space this is fine =).

  I  doubt  any  network  filesystem  will  allow  you to disconnect a
  machine  and still be able to operate. NFS etc support a reastart of
  the  machine,  but  you cannot consolidate the distributed diskspace
  into one logical volume.

  Give  NBD  a  try and test what happens if you disconnect a computer
  then reconnect it.

  I  am  using  NBD 2.0 in Gentoo Linux together with LVM and ReiserFS
  without any problems (so far).


> quick question about this, been looking for a good solution for
> this a long time.  Any filesystems that can loose connectivity?  I
> have a setup where I can't guarantee all the computers will stay
> stable, but it's only a setup for temporary storage anyway (1gb
> networks, temporary storage is for rendering files).

>> 
>>   Yes.  This is possible with NBD 2.0 and later (earlier nbd tools has
>>   limitation  of  4GB  per  shared  disk/volume/device).  You  need to
>>   compile the NBD (Network Block Device) module in the kernel too.
>> 
>>   Then simply run on the server (the machines hosting spare volumes):
>> 
>>     nbd-server  10000 /dev/hdax  (replace 10009 with the port you want
>>     to use)
>> 
>>   On  the  client  machine  (where  you want to run LVM to collect all
>>   space;
>> 
>>     nbd-client IP port /dev/nbd/0
>> 
>>   For  each  server  you connect simply change the IP/port and the NBD
>>   device number. After this you run "vgscan" and "vgchange -ay vg"
>> 
>>   You  should  be warned though. If you loose network connectivity you
>>   can end up with filesystem damage.
>> 
>> 
>> > Hello, 
>> > I have simple question. Is it possible run LVM across network ?
>> > For example, first disk on pc1, second on pc3, third on pc3...
>> > I need file system that colecting free space across network onto one
>> > point.
>> > Thank you, Marek Jan 
>> 
>> 
>> > _______________________________________________
>> > linux-lvm mailing list
>> > linux-lvm@sistina.com
>> > http://lists.sistina.com/mailman/listinfo/linux-lvm
>> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>> 
>> 
>> 

> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

  reply	other threads:[~2003-11-26 12:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-26  8:58 [linux-lvm] LVM across network Marek Jan
2003-11-26  9:41 ` Spam
2003-11-26  9:59   ` neuron
2003-11-26 12:11     ` Spam [this message]
2003-11-27  1:58       ` Rickard Olsson
2003-11-27  9:53         ` Dan Sully

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199870551.20031126190959@tnonline.net \
    --to=spam@tnonline.net \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.