[opensuse] Transferring LVM
Hi, Coming week, I'll try to transfer to a more recent virtualisation server and install it with more up-to-date platform (12.3 => 42.3) My XEN-clients (SLES) are all stored in LVM's What would be the most efficiant way to transfer them from one piece of iron to another? After I create new LVM's, can I 'dd' them over the network? from node1:/dev/data/minoss-servers ==> node2:/dev/data/minoss-servers Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
suse@a-domani.nl wrote:
Hi,
Coming week, I'll try to transfer to a more recent virtualisation server and install it with more up-to-date platform (12.3 => 42.3) My XEN-clients (SLES) are all stored in LVM's What would be the most efficiant way to transfer them from one piece of iron to another?
Rsync.
After I create new LVM's, can I 'dd' them over the network? from node1:/dev/data/minoss-servers ==> node2:/dev/data/minoss-servers
I don't think 'dd' works with URLs. -- Per Jessen, Zürich (19.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/07/2018 10:00 AM, Per Jessen wrote:
suse@a-domani.nl wrote:
Hi,
Coming week, I'll try to transfer to a more recent virtualisation server and install it with more up-to-date platform (12.3 => 42.3) My XEN-clients (SLES) are all stored in LVM's What would be the most efficiant way to transfer them from one piece of iron to another? Rsync.
After I create new LVM's, can I 'dd' them over the network? from node1:/dev/data/minoss-servers ==> node2:/dev/data/minoss-servers I don't think 'dd' works with URLs.
That's correct: "dd" doesn't accept network addresses. But recently I successfully used "wget [options] node://path/to/dir | dd of=/device/addr". But rsync is probably easier if it's possible to use. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
ken wrote:
On 04/07/2018 10:00 AM, Per Jessen wrote:
suse@a-domani.nl wrote:
Hi,
Coming week, I'll try to transfer to a more recent virtualisation server and install it with more up-to-date platform (12.3 => 42.3) My XEN-clients (SLES) are all stored in LVM's What would be the most efficiant way to transfer them from one piece of iron to another? Rsync.
After I create new LVM's, can I 'dd' them over the network? from node1:/dev/data/minoss-servers ==> node2:/dev/data/minoss-servers I don't think 'dd' works with URLs.
That's correct: "dd" doesn't accept network addresses. But recently I successfully used "wget [options] node://path/to/dir | dd of=/device/addr". But rsync is probably easier if it's possible to use.
wget ?? Not for this kind of job - you would need something listening on the source side. A webserver for instance. -- Per Jessen, Zürich (10.3°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2018-04-09 at 15:51 -0400, ken wrote:
On 04/07/2018 10:00 AM, Per Jessen wrote:
suse@a-domani.nl wrote:
Hi,
Coming week, I'll try to transfer to a more recent virtualisation server and install it with more up-to-date platform (12.3 => 42.3) My XEN-clients (SLES) are all stored in LVM's What would be the most efficiant way to transfer them from one piece of iron to another? Rsync.
After I create new LVM's, can I 'dd' them over the network? from node1:/dev/data/minoss-servers ==> node2:/dev/data/minoss-servers I don't think 'dd' works with URLs.
That's correct: "dd" doesn't accept network addresses. But recently I successfully used "wget [options] node://path/to/dir | dd of=/device/addr". But rsync is probably easier if it's possible to use.
And safer. It verifies if asked. - -- Cheers, Carlos E. R. (from openSUSE 42.3 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlrMlkoACgkQtTMYHG2NR9XFIgCfSNzKaHx8ONvnwGXiIDtad7rd PfQAmwSk0y4gAs3NwmelSsFAEl8evDlk =ixJc -----END PGP SIGNATURE-----
Den 2018-04-06 kl. 23:43, skrev suse@a-domani.nl:
Hi,
Coming week, I'll try to transfer to a more recent virtualisation server and install it with more up-to-date platform (12.3 => 42.3) My XEN-clients (SLES) are all stored in LVM's What would be the most efficiant way to transfer them from one piece of iron to another?
After I create new LVM's, can I 'dd' them over the network? from node1:/dev/data/minoss-servers ==> node2:/dev/data/minoss-servers
As someone already mentioned dd doesn't do urls. But you can pipe the output to ex. ssh. ex. dd if=/dev/sda | ssh user@host.domain.tld "dd of=/dev/sdb" I've also used netcat to do quite weird things. Cheers, -- /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Bengt Gördén wrote:
Den 2018-04-06 kl. 23:43, skrev suse@a-domani.nl:
Hi,
Coming week, I'll try to transfer to a more recent virtualisation server and install it with more up-to-date platform (12.3 => 42.3) My XEN-clients (SLES) are all stored in LVM's What would be the most efficiant way to transfer them from one piece of iron to another?
After I create new LVM's, can I 'dd' them over the network? from node1:/dev/data/minoss-servers ==> node2:/dev/data/minoss-servers
As someone already mentioned dd doesn't do urls. But you can pipe the output to ex. ssh.
ex. dd if=/dev/sda | ssh user@host.domain.tld "dd of=/dev/sdb"
Interesting one, haven't seen that one before. -- Per Jessen, Zürich (15.9°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Bengt Gördén
-
Carlos E. R.
-
ken
-
Per Jessen
-
suse@a-domani.nl