Re: [PVE-User] ZFS Replication on different storage

2019-03-18 Thread Fabrizio Cuseo
I don't know what Proxmox does during replication; i think that it use the pool 
name and not the mountpoint; i will check.
Regards, Fabrizio 


- Il 15-mar-19, alle 16:18,  devz...@web.de ha scritto:

> have a look at zfs get|set mountpoint
> 
> root@pve1:/etc/apt# zfs get mountpoint
> NAME  PROPERTYVALUE   SOURCE
> rpool mountpoint  /rpool  default
> rpool/ROOTmountpoint  /rpool/ROOT default
> rpool/ROOT/pve-1  mountpoint  /   local
> rpool/datamountpoint  /rpool/data default
> rpool/data/vm-100-disk-0  mountpoint  -   -
> rpool/testdataset mountpoint  /rpool/testdataset  default
> 
> 
> 
> 
>> Gesendet: Freitag, 15. März 2019 um 15:10 Uhr
>> Von: "Fabrizio Cuseo" 
>> An: pve-user 
>> Betreff: Re: [PVE-User] ZFS Replication on different storage
>>
>> Hello Mark.
>> I can't rename the zpool because is the primary pool (rpool).
>> 
>> So i have:
>> 
>> Node A:
>> rpool/data (source)
>> 
>> Node B:
>> rpool/data (small partition)
>> pool2 (my desired destination)
>> 
>> I can rename rpool/data as rpool/data_ori, but i can't rename pool2 as
>> rpool/data because is a different pool
>> 
>> - Il 15-mar-19, alle 10:26, Mark Adams  ha scritto:
>> 
>> > Why don't you just rename the zpool so they match?
>> 
>> > On Fri, 15 Mar 2019, 09:10 Fabrizio Cuseo, < [ 
>> > mailto:f.cu...@panservice.it |
>> > f.cu...@panservice.it ] > wrote:
>> 
>> >> Hello Gianni.
>> >> I wrote in my email that pve-zsync is not suitable for my need 
>> >> (redundancy with
>> >> VM migration from one host to another).
>> 
>> >> Fabrizio
>> 
>> >> - Il 15-mar-19, alle 10:08, Gianni M. < [ 
>> >> mailto:tribali...@hotmail.com |
>> >> tribali...@hotmail.com ] > ha scritto:
>> 
>> >> > I think it's hardcoded to use rpool as the default target pool, but I 
>> >> > might be
>> >> > wrong.
>> 
>> >> > You might want to have a look at pve-zsync instead ?
>> 
>> >>> [ https://pve.proxmox.com/wiki/PVE-zsync |
>> >> > https://pve.proxmox.com/wiki/PVE-zsync ]
>> 
>> >> > NiCK
>> 
>> >>> From: pve-user < [ mailto:pve-user-boun...@pve.proxmox.com |
>> >> > pve-user-boun...@pve.proxmox.com ] > on behalf of Fabrizio Cuseo
>> >> > < [ mailto:f.cu...@panservice.it | f.cu...@panservice.it ] >
>> >> > Sent: Friday, March 15, 2019 8:48:58 AM
>> >> > To: pve-user
>> >> > Subject: Re: [PVE-User] ZFS Replication on different storage
>> >> > Thank you, I have already seen this page; i know and use zfs with 
>> >> > freenas and
>> >> > other (tipically i use ceph, but for this cluster I only need the 
>> >> > replication
>> >> > feature), but pve-zsync is used more for offsite-backup than 
>> >> > redundancy, and
>> >> > the VM can't be migrated from one host to another.
>> >> > So, is not usable :(
>> 
>> >> > Thanks, Fabrizio
>> 
>> >>> - Il 15-mar-19, alle 9:36, [ mailto:b...@todoo.biz | b...@todoo.biz 
>> >>> ] ha
>> >> > scritto:
>> 
>> >> > > Please check this page :
>> 
>> >>>> [ [ https://pve.proxmox.com/wiki/PVE-zsync |
>> >> >> https://pve.proxmox.com/wiki/PVE-zsync ] |
>> >>> > [ https://pve.proxmox.com/wiki/PVE-zsync |
>> >> > > https://pve.proxmox.com/wiki/PVE-zsync ] ]
>> 
>> >> > > pve-zsync is a very nice tool. You need to know and understand what 
>> >> > > you are
>> >> > > doing (generally speaking, it is a good advise).
>> 
>> >> > > ZFS is a complex file system with major features, but It has a 
>> >> > > certain learning
>> >> > > curve.
>> >> > > If you have no notion of ZFS, use another backup strategy or learn 
>> >> > > some basics
>> >> > > about ZFS.
>> 
>> >> > > you should first install pve-zsync and issue a command looking 
>> >> > > similar to this
>> >> > > one :
>> 
>> >> > > pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 

Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread devzero
have a look at zfs get|set mountpoint

root@pve1:/etc/apt# zfs get mountpoint
NAME  PROPERTYVALUE   SOURCE
rpool mountpoint  /rpool  default
rpool/ROOTmountpoint  /rpool/ROOT default
rpool/ROOT/pve-1  mountpoint  /   local
rpool/datamountpoint  /rpool/data default
rpool/data/vm-100-disk-0  mountpoint  -   -
rpool/testdataset mountpoint  /rpool/testdataset  default




> Gesendet: Freitag, 15. März 2019 um 15:10 Uhr
> Von: "Fabrizio Cuseo" 
> An: pve-user 
> Betreff: Re: [PVE-User] ZFS Replication on different storage
>
> Hello Mark. 
> I can't rename the zpool because is the primary pool (rpool). 
> 
> So i have: 
> 
> Node A: 
> rpool/data (source) 
> 
> Node B: 
> rpool/data (small partition) 
> pool2 (my desired destination) 
> 
> I can rename rpool/data as rpool/data_ori, but i can't rename pool2 as 
> rpool/data because is a different pool 
> 
> - Il 15-mar-19, alle 10:26, Mark Adams  ha scritto: 
> 
> > Why don't you just rename the zpool so they match?
> 
> > On Fri, 15 Mar 2019, 09:10 Fabrizio Cuseo, < [ mailto:f.cu...@panservice.it 
> > |
> > f.cu...@panservice.it ] > wrote:
> 
> >> Hello Gianni.
> >> I wrote in my email that pve-zsync is not suitable for my need (redundancy 
> >> with
> >> VM migration from one host to another).
> 
> >> Fabrizio
> 
> >> - Il 15-mar-19, alle 10:08, Gianni M. < [ 
> >> mailto:tribali...@hotmail.com |
> >> tribali...@hotmail.com ] > ha scritto:
> 
> >> > I think it's hardcoded to use rpool as the default target pool, but I 
> >> > might be
> >> > wrong.
> 
> >> > You might want to have a look at pve-zsync instead ?
> 
> >>> [ https://pve.proxmox.com/wiki/PVE-zsync |
> >> > https://pve.proxmox.com/wiki/PVE-zsync ]
> 
> >> > NiCK
> 
> >>> From: pve-user < [ mailto:pve-user-boun...@pve.proxmox.com |
> >> > pve-user-boun...@pve.proxmox.com ] > on behalf of Fabrizio Cuseo
> >> > < [ mailto:f.cu...@panservice.it | f.cu...@panservice.it ] >
> >> > Sent: Friday, March 15, 2019 8:48:58 AM
> >> > To: pve-user
> >> > Subject: Re: [PVE-User] ZFS Replication on different storage
> >> > Thank you, I have already seen this page; i know and use zfs with 
> >> > freenas and
> >> > other (tipically i use ceph, but for this cluster I only need the 
> >> > replication
> >> > feature), but pve-zsync is used more for offsite-backup than redundancy, 
> >> > and
> >> > the VM can't be migrated from one host to another.
> >> > So, is not usable :(
> 
> >> > Thanks, Fabrizio
> 
> >>> - Il 15-mar-19, alle 9:36, [ mailto:b...@todoo.biz | b...@todoo.biz ] 
> >>> ha
> >> > scritto:
> 
> >> > > Please check this page :
> 
> >>>> [ [ https://pve.proxmox.com/wiki/PVE-zsync |
> >> >> https://pve.proxmox.com/wiki/PVE-zsync ] |
> >>> > [ https://pve.proxmox.com/wiki/PVE-zsync |
> >> > > https://pve.proxmox.com/wiki/PVE-zsync ] ]
> 
> >> > > pve-zsync is a very nice tool. You need to know and understand what 
> >> > > you are
> >> > > doing (generally speaking, it is a good advise).
> 
> >> > > ZFS is a complex file system with major features, but It has a certain 
> >> > > learning
> >> > > curve.
> >> > > If you have no notion of ZFS, use another backup strategy or learn 
> >> > > some basics
> >> > > about ZFS.
> 
> >> > > you should first install pve-zsync and issue a command looking similar 
> >> > > to this
> >> > > one :
> 
> >> > > pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600 
> >> > > -maxsnap 7
> >> > > -name kvm1.srv -source 133 -verbose
> 
> >> > > Where 192.168.210.28 is the IP of your second host / backup host… and
> >> > > tank/proxmox1 is the dataset where you'll backup.
> 
> >> > > First run will actually create the backup and sync It.
> >> > > It will also create a cron job available in /etc/cron.d/pve-zsync
> 
> >> > > You can edit this file in order to tune the various parameters (most 
> >> > > probably
> >> > > the frequency).
> 
> >&

Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread Fabrizio Cuseo
Hello Mark. 
I can't rename the zpool because is the primary pool (rpool). 

So i have: 

Node A: 
rpool/data (source) 

Node B: 
rpool/data (small partition) 
pool2 (my desired destination) 

I can rename rpool/data as rpool/data_ori, but i can't rename pool2 as 
rpool/data because is a different pool 

- Il 15-mar-19, alle 10:26, Mark Adams  ha scritto: 

> Why don't you just rename the zpool so they match?

> On Fri, 15 Mar 2019, 09:10 Fabrizio Cuseo, < [ mailto:f.cu...@panservice.it |
> f.cu...@panservice.it ] > wrote:

>> Hello Gianni.
>> I wrote in my email that pve-zsync is not suitable for my need (redundancy 
>> with
>> VM migration from one host to another).

>> Fabrizio

>> - Il 15-mar-19, alle 10:08, Gianni M. < [ mailto:tribali...@hotmail.com |
>> tribali...@hotmail.com ] > ha scritto:

>> > I think it's hardcoded to use rpool as the default target pool, but I 
>> > might be
>> > wrong.

>> > You might want to have a look at pve-zsync instead ?

>>> [ https://pve.proxmox.com/wiki/PVE-zsync |
>> > https://pve.proxmox.com/wiki/PVE-zsync ]

>> > NiCK

>>> From: pve-user < [ mailto:pve-user-boun...@pve.proxmox.com |
>> > pve-user-boun...@pve.proxmox.com ] > on behalf of Fabrizio Cuseo
>> > < [ mailto:f.cu...@panservice.it | f.cu...@panservice.it ] >
>> > Sent: Friday, March 15, 2019 8:48:58 AM
>> > To: pve-user
>> > Subject: Re: [PVE-User] ZFS Replication on different storage
>> > Thank you, I have already seen this page; i know and use zfs with freenas 
>> > and
>> > other (tipically i use ceph, but for this cluster I only need the 
>> > replication
>> > feature), but pve-zsync is used more for offsite-backup than redundancy, 
>> > and
>> > the VM can't be migrated from one host to another.
>> > So, is not usable :(

>> > Thanks, Fabrizio

>>> - Il 15-mar-19, alle 9:36, [ mailto:b...@todoo.biz | b...@todoo.biz ] ha
>> > scritto:

>> > > Please check this page :

>>>> [ [ https://pve.proxmox.com/wiki/PVE-zsync |
>> >> https://pve.proxmox.com/wiki/PVE-zsync ] |
>>> > [ https://pve.proxmox.com/wiki/PVE-zsync |
>> > > https://pve.proxmox.com/wiki/PVE-zsync ] ]

>> > > pve-zsync is a very nice tool. You need to know and understand what you 
>> > > are
>> > > doing (generally speaking, it is a good advise).

>> > > ZFS is a complex file system with major features, but It has a certain 
>> > > learning
>> > > curve.
>> > > If you have no notion of ZFS, use another backup strategy or learn some 
>> > > basics
>> > > about ZFS.

>> > > you should first install pve-zsync and issue a command looking similar 
>> > > to this
>> > > one :

>> > > pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600 
>> > > -maxsnap 7
>> > > -name kvm1.srv -source 133 -verbose

>> > > Where 192.168.210.28 is the IP of your second host / backup host… and
>> > > tank/proxmox1 is the dataset where you'll backup.

>> > > First run will actually create the backup and sync It.
>> > > It will also create a cron job available in /etc/cron.d/pve-zsync

>> > > You can edit this file in order to tune the various parameters (most 
>> > > probably
>> > > the frequency).

>> > > Do read the doc.

>>> >> Le 15 mars 2019 à 09:18, Fabrizio Cuseo < [ mailto:f.cu...@panservice.it 
>>> >> |
>> > >> f.cu...@panservice.it ] > a écrit :

>> > >> Hello Yannis.
>> > >> I can't see an option to specify remote storage (or pool) name.
>> > >> If you read my email, i need to replicate:

>> > >> HostA/poolZ > HostB/poolY

>> > >> But without specifying the remote pool name (there is no pool field in 
>> > >> the gui),
>> > >> it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no enough 
>> > >> space)
>> > >> Regards, Fabrizio

>>> >> - Il 14-mar-19, alle 19:48, Yannis Milios < [ 
>>> >> mailto:yannis.mil...@gmail.com
>> > >> | yannis.mil...@gmail.com ] > ha
>> > >> scritto:

>> > >>> Yes, it is possible...

>>>>>> [ [ [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
>> >>>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ] |
>>> >>> [ https://pve.prox

Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread Mark Adams
Why don't you just rename the zpool so they match?

On Fri, 15 Mar 2019, 09:10 Fabrizio Cuseo,  wrote:

> Hello Gianni.
> I wrote in my email that pve-zsync is not suitable for my need (redundancy
> with VM migration from one host to another).
>
> Fabrizio
>
> - Il 15-mar-19, alle 10:08, Gianni M.  ha
> scritto:
>
> > I think it's hardcoded to use rpool as the default target pool, but I
> might be
> > wrong.
>
> > You might want to have a look at pve-zsync instead ?
>
> > https://pve.proxmox.com/wiki/PVE-zsync
>
> > NiCK
>
> > From: pve-user  on behalf of Fabrizio
> Cuseo
> > 
> > Sent: Friday, March 15, 2019 8:48:58 AM
> > To: pve-user
> > Subject: Re: [PVE-User] ZFS Replication on different storage
> > Thank you, I have already seen this page; i know and use zfs with
> freenas and
> > other (tipically i use ceph, but for this cluster I only need the
> replication
> > feature), but pve-zsync is used more for offsite-backup than redundancy,
> and
> > the VM can't be migrated from one host to another.
> > So, is not usable :(
>
> > Thanks, Fabrizio
>
> > - Il 15-mar-19, alle 9:36, b...@todoo.biz ha scritto:
>
> > > Please check this page :
>
> >> [ https://pve.proxmox.com/wiki/PVE-zsync |
> > > https://pve.proxmox.com/wiki/PVE-zsync ]
>
>
> > > pve-zsync is a very nice tool. You need to know and understand what
> you are
> > > doing (generally speaking, it is a good advise).
>
> > > ZFS is a complex file system with major features, but It has a certain
> learning
> > > curve.
> > > If you have no notion of ZFS, use another backup strategy or learn
> some basics
> > > about ZFS.
>
> > > you should first install pve-zsync and issue a command looking similar
> to this
> > > one :
>
> > > pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600
> -maxsnap 7
> > > -name kvm1.srv -source 133 -verbose
>
>
> > > Where 192.168.210.28 is the IP of your second host / backup host… and
> > > tank/proxmox1 is the dataset where you'll backup.
>
> > > First run will actually create the backup and sync It.
> > > It will also create a cron job available in /etc/cron.d/pve-zsync
>
> > > You can edit this file in order to tune the various parameters (most
> probably
> > > the frequency).
>
>
> > > Do read the doc.
>
> > >> Le 15 mars 2019 à 09:18, Fabrizio Cuseo  a
> écrit :
>
> > >> Hello Yannis.
> > >> I can't see an option to specify remote storage (or pool) name.
> > >> If you read my email, i need to replicate:
>
> > >> HostA/poolZ > HostB/poolY
>
> > >> But without specifying the remote pool name (there is no pool field
> in the gui),
> > >> it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no
> enough space)
> > >> Regards, Fabrizio
>
> > >> - Il 14-mar-19, alle 19:48, Yannis Milios <
> yannis.mil...@gmail.com> ha
> > >> scritto:
>
> > >>> Yes, it is possible...
>
> >>>> [ [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
> > >>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ] |
> >>>> [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
> > >>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ] ]
>
> >>>> On Thu, 14 Mar 2019 at 11:19, Fabrizio Cuseo < [ [ mailto:
> f.cu...@panservice.it
> > >>> |
> > mailto:f.cu...@panservice.it ] |
> > >>> f.cu...@panservice.it ] > wrote:
>
> > >>>> Hello.
> > >>>> I have a customer with a small cluster, 2 servers (different
> models).
>
> > >>>> I would like to replicate VMs from host A to host B, but from
> local-zfs (host A)
> > >>>> to "zfs-data-2" (host B).
>
> > >>>> On the GUI this is not possibile, what about some workaround ?
>
> > >>>> Regards, Fabrizio
>
> > >>>> --
> > >>>> ---
> >>>>> Fabrizio Cuseo - mailto: [ [ mailto:f.cu...@panservice.it |
> > >>>> mailto:f.cu...@panservice.it ] | f.cu...@panservice.it
> > >>>> ]
> > >>>> Direzione Generale - Panservice InterNetWorking
> > >>>> Servizi Professionali per Internet ed il Networking
> > >>>> Panservice e' associata AIIP - RIPE Local Registry
> > >>>> Phone: +39 0773 4100

Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread Fabrizio Cuseo
Yes, I can. But i want to try another way before. 

- Il 15-mar-19, alle 10:26, Mark Adams  ha scritto: 

> Why don't you just rename the zpool so they match?

> On Fri, 15 Mar 2019, 09:10 Fabrizio Cuseo, < [ mailto:f.cu...@panservice.it |
> f.cu...@panservice.it ] > wrote:

>> Hello Gianni.
>> I wrote in my email that pve-zsync is not suitable for my need (redundancy 
>> with
>> VM migration from one host to another).

>> Fabrizio

>> - Il 15-mar-19, alle 10:08, Gianni M. < [ mailto:tribali...@hotmail.com |
>> tribali...@hotmail.com ] > ha scritto:

>> > I think it's hardcoded to use rpool as the default target pool, but I 
>> > might be
>> > wrong.

>> > You might want to have a look at pve-zsync instead ?

>>> [ https://pve.proxmox.com/wiki/PVE-zsync |
>> > https://pve.proxmox.com/wiki/PVE-zsync ]

>> > NiCK

>>> From: pve-user < [ mailto:pve-user-boun...@pve.proxmox.com |
>> > pve-user-boun...@pve.proxmox.com ] > on behalf of Fabrizio Cuseo
>> > < [ mailto:f.cu...@panservice.it | f.cu...@panservice.it ] >
>> > Sent: Friday, March 15, 2019 8:48:58 AM
>> > To: pve-user
>> > Subject: Re: [PVE-User] ZFS Replication on different storage
>> > Thank you, I have already seen this page; i know and use zfs with freenas 
>> > and
>> > other (tipically i use ceph, but for this cluster I only need the 
>> > replication
>> > feature), but pve-zsync is used more for offsite-backup than redundancy, 
>> > and
>> > the VM can't be migrated from one host to another.
>> > So, is not usable :(

>> > Thanks, Fabrizio

>>> - Il 15-mar-19, alle 9:36, [ mailto:b...@todoo.biz | b...@todoo.biz ] ha
>> > scritto:

>> > > Please check this page :

>>>> [ [ https://pve.proxmox.com/wiki/PVE-zsync |
>> >> https://pve.proxmox.com/wiki/PVE-zsync ] |
>>> > [ https://pve.proxmox.com/wiki/PVE-zsync |
>> > > https://pve.proxmox.com/wiki/PVE-zsync ] ]

>> > > pve-zsync is a very nice tool. You need to know and understand what you 
>> > > are
>> > > doing (generally speaking, it is a good advise).

>> > > ZFS is a complex file system with major features, but It has a certain 
>> > > learning
>> > > curve.
>> > > If you have no notion of ZFS, use another backup strategy or learn some 
>> > > basics
>> > > about ZFS.

>> > > you should first install pve-zsync and issue a command looking similar 
>> > > to this
>> > > one :

>> > > pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600 
>> > > -maxsnap 7
>> > > -name kvm1.srv -source 133 -verbose

>> > > Where 192.168.210.28 is the IP of your second host / backup host… and
>> > > tank/proxmox1 is the dataset where you'll backup.

>> > > First run will actually create the backup and sync It.
>> > > It will also create a cron job available in /etc/cron.d/pve-zsync

>> > > You can edit this file in order to tune the various parameters (most 
>> > > probably
>> > > the frequency).

>> > > Do read the doc.

>>> >> Le 15 mars 2019 à 09:18, Fabrizio Cuseo < [ mailto:f.cu...@panservice.it 
>>> >> |
>> > >> f.cu...@panservice.it ] > a écrit :

>> > >> Hello Yannis.
>> > >> I can't see an option to specify remote storage (or pool) name.
>> > >> If you read my email, i need to replicate:

>> > >> HostA/poolZ > HostB/poolY

>> > >> But without specifying the remote pool name (there is no pool field in 
>> > >> the gui),
>> > >> it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no enough 
>> > >> space)
>> > >> Regards, Fabrizio

>>> >> - Il 14-mar-19, alle 19:48, Yannis Milios < [ 
>>> >> mailto:yannis.mil...@gmail.com
>> > >> | yannis.mil...@gmail.com ] > ha
>> > >> scritto:

>> > >>> Yes, it is possible...

>>>>>> [ [ [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
>> >>>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ] |
>>> >>> [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
>> > >>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ] ] |
>>>>>> [ [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
>> >>>> https://pve.

Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread Fabrizio Cuseo
Hello Gianni. 
I wrote in my email that pve-zsync is not suitable for my need (redundancy with 
VM migration from one host to another). 

Fabrizio 

- Il 15-mar-19, alle 10:08, Gianni M.  ha scritto: 

> I think it's hardcoded to use rpool as the default target pool, but I might be
> wrong.

> You might want to have a look at pve-zsync instead ?

> https://pve.proxmox.com/wiki/PVE-zsync

> NiCK

> From: pve-user  on behalf of Fabrizio Cuseo
> 
> Sent: Friday, March 15, 2019 8:48:58 AM
> To: pve-user
> Subject: Re: [PVE-User] ZFS Replication on different storage
> Thank you, I have already seen this page; i know and use zfs with freenas and
> other (tipically i use ceph, but for this cluster I only need the replication
> feature), but pve-zsync is used more for offsite-backup than redundancy, and
> the VM can't be migrated from one host to another.
> So, is not usable :(

> Thanks, Fabrizio

> - Il 15-mar-19, alle 9:36, b...@todoo.biz ha scritto:

> > Please check this page :

>> [ https://pve.proxmox.com/wiki/PVE-zsync |
> > https://pve.proxmox.com/wiki/PVE-zsync ]


> > pve-zsync is a very nice tool. You need to know and understand what you are
> > doing (generally speaking, it is a good advise).

> > ZFS is a complex file system with major features, but It has a certain 
> > learning
> > curve.
> > If you have no notion of ZFS, use another backup strategy or learn some 
> > basics
> > about ZFS.

> > you should first install pve-zsync and issue a command looking similar to 
> > this
> > one :

> > pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600 -maxsnap 7
> > -name kvm1.srv -source 133 -verbose


> > Where 192.168.210.28 is the IP of your second host / backup host… and
> > tank/proxmox1 is the dataset where you'll backup.

> > First run will actually create the backup and sync It.
> > It will also create a cron job available in /etc/cron.d/pve-zsync

> > You can edit this file in order to tune the various parameters (most 
> > probably
> > the frequency).


> > Do read the doc.

> >> Le 15 mars 2019 à 09:18, Fabrizio Cuseo  a écrit :

> >> Hello Yannis.
> >> I can't see an option to specify remote storage (or pool) name.
> >> If you read my email, i need to replicate:

> >> HostA/poolZ > HostB/poolY

> >> But without specifying the remote pool name (there is no pool field in the 
> >> gui),
> >> it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no enough 
> >> space)
> >> Regards, Fabrizio

> >> - Il 14-mar-19, alle 19:48, Yannis Milios  ha
> >> scritto:

> >>> Yes, it is possible...

>>>> [ [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
> >>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ] |
>>>> [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
> >>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ] ]

>>>> On Thu, 14 Mar 2019 at 11:19, Fabrizio Cuseo < [ [ 
>>>> mailto:f.cu...@panservice.it
> >>> |
> mailto:f.cu...@panservice.it ] |
> >>> f.cu...@panservice.it ] > wrote:

> >>>> Hello.
> >>>> I have a customer with a small cluster, 2 servers (different models).

> >>>> I would like to replicate VMs from host A to host B, but from local-zfs 
> >>>> (host A)
> >>>> to "zfs-data-2" (host B).

> >>>> On the GUI this is not possibile, what about some workaround ?

> >>>> Regards, Fabrizio

> >>>> --
> >>>> ---
>>>>> Fabrizio Cuseo - mailto: [ [ mailto:f.cu...@panservice.it |
> >>>> mailto:f.cu...@panservice.it ] | f.cu...@panservice.it
> >>>> ]
> >>>> Direzione Generale - Panservice InterNetWorking
> >>>> Servizi Professionali per Internet ed il Networking
> >>>> Panservice e' associata AIIP - RIPE Local Registry
> >>>> Phone: +39 0773 410020 - Fax: +39 0773 470219
>>>>> [ [ http://www.panservice.it/ | http://www.panservice.it/ ] | [
> >>>> http://www.panservice.it/ |
> http://www.panservice.it ] ] mailto: [
> >>>> [ mailto:i...@panservice.it | mailto:i...@panservice.it ] | 
> >>>> i...@panservice.it ]
> >>>> Numero verde nazionale: 800 901492
> >>>> ___
> >>>> pve-user mailing list
>>>>> [ [ mailto:pve-user@pve.proxmox.com | mailto:pve-user@pve.proxmox.com ] |
> >>>> pve-user@pve.proxmox

Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread Gianni M .
I think it's hardcoded to use rpool as the default target pool, but I might be 
wrong.

You might want to have a look at pve-zsync instead ?

https://pve.proxmox.com/wiki/PVE-zsync


NiCK

From: pve-user  on behalf of Fabrizio Cuseo 

Sent: Friday, March 15, 2019 8:48:58 AM
To: pve-user
Subject: Re: [PVE-User] ZFS Replication on different storage

Thank you, I have already seen this page; i know and use zfs with freenas and 
other (tipically i use ceph, but for this cluster I only need the replication 
feature), but pve-zsync is used more for offsite-backup than redundancy, and 
the VM can't be migrated  from one host to another.
So, is not usable :(

Thanks, Fabrizio


- Il 15-mar-19, alle 9:36,  b...@todoo.biz ha scritto:

> Please check this page :
>
> https://pve.proxmox.com/wiki/PVE-zsync
>
>
> pve-zsync is a very nice tool. You need to know and understand what you are
> doing (generally speaking, it is a good advise).
>
> ZFS is a complex file system with major features, but It has a certain 
> learning
> curve.
> If you have no notion of ZFS, use another backup strategy or learn some basics
> about ZFS.
>
> you should first install pve-zsync and issue a command looking similar to this
> one :
>
> pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600 -maxsnap 7
> -name kvm1.srv -source 133 -verbose
>
>
> Where 192.168.210.28 is the IP of your second host / backup host… and
> tank/proxmox1 is the dataset where you'll backup.
>
> First run will actually create the backup and sync It.
> It will also create a cron job available in /etc/cron.d/pve-zsync
>
> You can edit this file in order to tune the various parameters (most probably
> the frequency).
>
>
> Do read the doc.
>
>> Le 15 mars 2019 à 09:18, Fabrizio Cuseo  a écrit :
>>
>> Hello Yannis.
>> I can't see an option to specify remote storage (or pool) name.
>> If you read my email, i need to replicate:
>>
>> HostA/poolZ > HostB/poolY
>>
>> But without specifying the remote pool name (there is no pool field in the 
>> gui),
>> it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no enough 
>> space)
>> Regards, Fabrizio
>>
>> - Il 14-mar-19, alle 19:48, Yannis Milios  ha
>> scritto:
>>
>>> Yes, it is possible...
>>
>>> [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
>>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ]
>>
>>> On Thu, 14 Mar 2019 at 11:19, Fabrizio Cuseo < [ 
>>> mailto:f.cu...@panservice.it |
>>> f.cu...@panservice.it ] > wrote:
>>
>>>> Hello.
>>>> I have a customer with a small cluster, 2 servers (different models).
>>
>>>> I would like to replicate VMs from host A to host B, but from local-zfs 
>>>> (host A)
>>>> to "zfs-data-2" (host B).
>>
>>>> On the GUI this is not possibile, what about some workaround ?
>>
>>>> Regards, Fabrizio
>>
>>>> --
>>>> ---
>>>> Fabrizio Cuseo - mailto: [ mailto:f.cu...@panservice.it | 
>>>> f.cu...@panservice.it
>>>> ]
>>>> Direzione Generale - Panservice InterNetWorking
>>>> Servizi Professionali per Internet ed il Networking
>>>> Panservice e' associata AIIP - RIPE Local Registry
>>>> Phone: +39 0773 410020 - Fax: +39 0773 470219
>>>> [ http://www.panservice.it/ | http://www.panservice.it ] mailto: [
>>>> mailto:i...@panservice.it | i...@panservice.it ]
>>>> Numero verde nazionale: 800 901492
>>>> ___
>>>> pve-user mailing list
>>>> [ mailto:pve-user@pve.proxmox.com | pve-user@pve.proxmox.com ]
>>>> [ https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user |
>>>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user ]
>>
>>> --
>>> Sent from Gmail Mobile
>>
>> --
>> ---
>> Fabrizio Cuseo - mailto:f.cu...@panservice.it
>> Direzione Generale - Panservice InterNetWorking
>> Servizi Professionali per Internet ed il Networking
>> Panservice e' associata AIIP - RIPE Local Registry
>> Phone: +39 0773 410020 - Fax: +39 0773 470219
>> http://www.panservice.it mailto:i...@panservice.it
>> Numero verde nazionale: 800 901492
>> ___
>> pve-user mailing list
>> pve-user@pve.proxmox.com
> > https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

--
---
Fabrizio Cuseo - mailto:f.cu...@panservice.it
Direzione Generale - Panservice InterNetWorking
Servizi Professionali per Internet ed il Networking
Panservice e' associata AIIP - RIPE Local Registry
Phone: +39 0773 410020 - Fax: +39 0773 470219
http://www.panservice.it  mailto:i...@panservice.it
Numero verde nazionale: 800 901492
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread Fabrizio Cuseo
Thank you, I have already seen this page; i know and use zfs with freenas and 
other (tipically i use ceph, but for this cluster I only need the replication 
feature), but pve-zsync is used more for offsite-backup than redundancy, and 
the VM can't be migrated  from one host to another.
So, is not usable :( 

Thanks, Fabrizio 


- Il 15-mar-19, alle 9:36,  b...@todoo.biz ha scritto:

> Please check this page :
> 
> https://pve.proxmox.com/wiki/PVE-zsync
> 
> 
> pve-zsync is a very nice tool. You need to know and understand what you are
> doing (generally speaking, it is a good advise).
> 
> ZFS is a complex file system with major features, but It has a certain 
> learning
> curve.
> If you have no notion of ZFS, use another backup strategy or learn some basics
> about ZFS.
> 
> you should first install pve-zsync and issue a command looking similar to this
> one :
> 
> pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600 -maxsnap 7
> -name kvm1.srv -source 133 -verbose
> 
> 
> Where 192.168.210.28 is the IP of your second host / backup host… and
> tank/proxmox1 is the dataset where you'll backup.
> 
> First run will actually create the backup and sync It.
> It will also create a cron job available in /etc/cron.d/pve-zsync
> 
> You can edit this file in order to tune the various parameters (most probably
> the frequency).
> 
> 
> Do read the doc.
> 
>> Le 15 mars 2019 à 09:18, Fabrizio Cuseo  a écrit :
>> 
>> Hello Yannis.
>> I can't see an option to specify remote storage (or pool) name.
>> If you read my email, i need to replicate:
>> 
>> HostA/poolZ > HostB/poolY
>> 
>> But without specifying the remote pool name (there is no pool field in the 
>> gui),
>> it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no enough 
>> space)
>> Regards, Fabrizio
>> 
>> - Il 14-mar-19, alle 19:48, Yannis Milios  ha
>> scritto:
>> 
>>> Yes, it is possible...
>> 
>>> [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
>>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ]
>> 
>>> On Thu, 14 Mar 2019 at 11:19, Fabrizio Cuseo < [ 
>>> mailto:f.cu...@panservice.it |
>>> f.cu...@panservice.it ] > wrote:
>> 
 Hello.
 I have a customer with a small cluster, 2 servers (different models).
>> 
 I would like to replicate VMs from host A to host B, but from local-zfs 
 (host A)
 to "zfs-data-2" (host B).
>> 
 On the GUI this is not possibile, what about some workaround ?
>> 
 Regards, Fabrizio
>> 
 --
 ---
 Fabrizio Cuseo - mailto: [ mailto:f.cu...@panservice.it | 
 f.cu...@panservice.it
 ]
 Direzione Generale - Panservice InterNetWorking
 Servizi Professionali per Internet ed il Networking
 Panservice e' associata AIIP - RIPE Local Registry
 Phone: +39 0773 410020 - Fax: +39 0773 470219
 [ http://www.panservice.it/ | http://www.panservice.it ] mailto: [
 mailto:i...@panservice.it | i...@panservice.it ]
 Numero verde nazionale: 800 901492
 ___
 pve-user mailing list
 [ mailto:pve-user@pve.proxmox.com | pve-user@pve.proxmox.com ]
 [ https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user |
 https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user ]
>> 
>>> --
>>> Sent from Gmail Mobile
>> 
>> --
>> ---
>> Fabrizio Cuseo - mailto:f.cu...@panservice.it
>> Direzione Generale - Panservice InterNetWorking
>> Servizi Professionali per Internet ed il Networking
>> Panservice e' associata AIIP - RIPE Local Registry
>> Phone: +39 0773 410020 - Fax: +39 0773 470219
>> http://www.panservice.it mailto:i...@panservice.it
>> Numero verde nazionale: 800 901492
>> ___
>> pve-user mailing list
>> pve-user@pve.proxmox.com
> > https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

-- 
---
Fabrizio Cuseo - mailto:f.cu...@panservice.it
Direzione Generale - Panservice InterNetWorking
Servizi Professionali per Internet ed il Networking
Panservice e' associata AIIP - RIPE Local Registry
Phone: +39 0773 410020 - Fax: +39 0773 470219
http://www.panservice.it  mailto:i...@panservice.it
Numero verde nazionale: 800 901492
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread bsd--- via pve-user
--- Begin Message ---
Please check this page : 

https://pve.proxmox.com/wiki/PVE-zsync


pve-zsync is a very nice tool. You need to know and understand what you are 
doing (generally speaking, it is a good advise). 

ZFS is a complex file system with major features, but It has a certain learning 
curve. 
If you have no notion of ZFS, use another backup strategy or learn some basics 
about ZFS. 

you should first install pve-zsync and issue a command looking similar to this 
one : 

pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600 -maxsnap 7 
-name kvm1.srv -source 133 -verbose


Where 192.168.210.28 is the IP of your second host / backup host… and 
tank/proxmox1 is the dataset where you'll backup. 

First run will actually create the backup and sync It. 
It will also create a cron job available in /etc/cron.d/pve-zsync 

You can edit this file in order to tune the various parameters (most probably 
the frequency). 


Do read the doc. 

> Le 15 mars 2019 à 09:18, Fabrizio Cuseo  a écrit :
> 
> Hello Yannis. 
> I can't see an option to specify remote storage (or pool) name. 
> If you read my email, i need to replicate: 
> 
> HostA/poolZ > HostB/poolY 
> 
> But without specifying the remote pool name (there is no pool field in the 
> gui), it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no enough 
> space) 
> Regards, Fabrizio 
> 
> - Il 14-mar-19, alle 19:48, Yannis Milios  ha 
> scritto: 
> 
>> Yes, it is possible...
> 
>> [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ]
> 
>> On Thu, 14 Mar 2019 at 11:19, Fabrizio Cuseo < [ 
>> mailto:f.cu...@panservice.it |
>> f.cu...@panservice.it ] > wrote:
> 
>>> Hello.
>>> I have a customer with a small cluster, 2 servers (different models).
> 
>>> I would like to replicate VMs from host A to host B, but from local-zfs 
>>> (host A)
>>> to "zfs-data-2" (host B).
> 
>>> On the GUI this is not possibile, what about some workaround ?
> 
>>> Regards, Fabrizio
> 
>>> --
>>> ---
>>> Fabrizio Cuseo - mailto: [ mailto:f.cu...@panservice.it | 
>>> f.cu...@panservice.it
>>> ]
>>> Direzione Generale - Panservice InterNetWorking
>>> Servizi Professionali per Internet ed il Networking
>>> Panservice e' associata AIIP - RIPE Local Registry
>>> Phone: +39 0773 410020 - Fax: +39 0773 470219
>>> [ http://www.panservice.it/ | http://www.panservice.it ] mailto: [
>>> mailto:i...@panservice.it | i...@panservice.it ]
>>> Numero verde nazionale: 800 901492
>>> ___
>>> pve-user mailing list
>>> [ mailto:pve-user@pve.proxmox.com | pve-user@pve.proxmox.com ]
>>> [ https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user |
>>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user ]
> 
>> --
>> Sent from Gmail Mobile
> 
> -- 
> --- 
> Fabrizio Cuseo - mailto:f.cu...@panservice.it 
> Direzione Generale - Panservice InterNetWorking 
> Servizi Professionali per Internet ed il Networking 
> Panservice e' associata AIIP - RIPE Local Registry 
> Phone: +39 0773 410020 - Fax: +39 0773 470219 
> http://www.panservice.it mailto:i...@panservice.it 
> Numero verde nazionale: 800 901492 
> ___
> pve-user mailing list
> pve-user@pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

--- End Message ---
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] ZFS Replication on different storage

2019-03-15 Thread Fabrizio Cuseo
Hello Yannis. 
I can't see an option to specify remote storage (or pool) name. 
If you read my email, i need to replicate: 

HostA/poolZ > HostB/poolY 

But without specifying the remote pool name (there is no pool field in the 
gui), it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no enough 
space) 
Regards, Fabrizio 

- Il 14-mar-19, alle 19:48, Yannis Milios  ha 
scritto: 

> Yes, it is possible...

> [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ]

> On Thu, 14 Mar 2019 at 11:19, Fabrizio Cuseo < [ mailto:f.cu...@panservice.it 
> |
> f.cu...@panservice.it ] > wrote:

>> Hello.
>> I have a customer with a small cluster, 2 servers (different models).

>> I would like to replicate VMs from host A to host B, but from local-zfs 
>> (host A)
>> to "zfs-data-2" (host B).

>> On the GUI this is not possibile, what about some workaround ?

>> Regards, Fabrizio

>> --
>> ---
>> Fabrizio Cuseo - mailto: [ mailto:f.cu...@panservice.it | 
>> f.cu...@panservice.it
>> ]
>> Direzione Generale - Panservice InterNetWorking
>> Servizi Professionali per Internet ed il Networking
>> Panservice e' associata AIIP - RIPE Local Registry
>> Phone: +39 0773 410020 - Fax: +39 0773 470219
>> [ http://www.panservice.it/ | http://www.panservice.it ] mailto: [
>> mailto:i...@panservice.it | i...@panservice.it ]
>> Numero verde nazionale: 800 901492
>> ___
>> pve-user mailing list
>> [ mailto:pve-user@pve.proxmox.com | pve-user@pve.proxmox.com ]
>> [ https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user |
>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user ]

> --
> Sent from Gmail Mobile

-- 
--- 
Fabrizio Cuseo - mailto:f.cu...@panservice.it 
Direzione Generale - Panservice InterNetWorking 
Servizi Professionali per Internet ed il Networking 
Panservice e' associata AIIP - RIPE Local Registry 
Phone: +39 0773 410020 - Fax: +39 0773 470219 
http://www.panservice.it mailto:i...@panservice.it 
Numero verde nazionale: 800 901492 
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] ZFS Replication on different storage

2019-03-14 Thread Yannis Milios
Yes, it is possible...

https://pve.proxmox.com/pve-docs/chapter-pvesr.html



On Thu, 14 Mar 2019 at 11:19, Fabrizio Cuseo  wrote:

> Hello.
> I have a customer with a small cluster, 2 servers (different models).
>
> I would like to replicate VMs from host A to host B, but from local-zfs
> (host A) to "zfs-data-2" (host B).
>
> On the GUI this is not possibile, what about some workaround ?
>
> Regards, Fabrizio
>
>
> --
> ---
> Fabrizio Cuseo - mailto:f.cu...@panservice.it
> Direzione Generale - Panservice InterNetWorking
> Servizi Professionali per Internet ed il Networking
> Panservice e' associata AIIP - RIPE Local Registry
> Phone: +39 0773 410020 - Fax: +39 0773 470219
> http://www.panservice.it  mailto:i...@panservice.it
> Numero verde nazionale: 800 901492
> ___
> pve-user mailing list
> pve-user@pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
-- 
Sent from Gmail Mobile
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user