Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 19:36:55 +0000
From:      kc atgb <kisscoolandthegangbang@hotmail.fr>
To:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Different size after zfs send receive
Message-ID:  <DBXPR05MB157C1956B267EA6BE59F570A0E40@DBXPR05MB157.eurprd05.prod.outlook.com>

next in thread | raw e-mail | index | archive | help
Hi,

Some days ago I had a need to backup my current pool and restore it after p=
ool destroy and create.=20

The pool in my home server is a raidz1 with 4 disks. To backup this pool I =
grabbed two 4TB disks (single disk pools) to have a double backup (I have j=
ust one
sata port left I can use to plug a disk).=20

The whole process of backup and restore went well as I can say. But looking=
 at the size reported by zfs list make me a little bit curious.=20

storage/datas/ISO                                                        35=
420869824  381747995136    35420726976  /datas/ISO
storage/datas/ISO@backup_send                                              =
   142848             -    35420726976  -
storage/datas/ISO@backup_sync                                              =
        0             -    35420726976  -

b1/datas/ISO                                                        3543930=
8800  2176300351488    35439210496  /datas/ISO
b1/datas/ISO@backup_send                                                  9=
8304              -    35439210496  -
b1/datas/ISO@backup_sync                                                   =
   0              -    35439210496  -

b2/datas/ISO                                                        3543930=
8800  2176298991616    35439210496  /datas/ISO
b2/datas/ISO@backup_send                                                  9=
8304              -    35439210496  -
b2/datas/ISO@backup_sync                                                   =
   0              -    35439210496  -

storage/datas/ISO                                                        35=
421024576  381303470016    35420715072  /datas/ISO
storage/datas/ISO@backup_send                                              =
   142848             -    35420715072  -
storage/datas/ISO@backup_sync                                              =
    11904             -    35420715072  -


storage/usrobj                                                            5=
819085888  381747995136     5816276544  legacy
storage/usrobj@create                                                      =
   166656             -         214272  -
storage/usrobj@backup_send                                                 =
  2642688             -     5816228928  -
storage/usrobj@backup_sync                                                 =
        0             -     5816276544  -

b1/usrobj                                                            567508=
1728  2176300351488     5673222144  legacy
b1/usrobj@create                                                         11=
4688              -         147456  -
b1/usrobj@backup_send                                                   174=
4896              -     5673222144  -
b1/usrobj@backup_sync                                                      =
   0              -     5673222144  -

b2/usrobj                                                            567518=
8224  2176298991616     5673328640  legacy
b2/usrobj@create                                                         11=
4688              -         147456  -
b2/usrobj@backup_send                                                   174=
4896              -     5673328640  -
b2/usrobj@backup_sync                                                      =
   0              -     5673328640  -

storage/usrobj                                                            5=
820359616  381303470016     5815098048  legacy
storage/usrobj@create                                                      =
   166656             -         214272  -
storage/usrobj@backup_send                                                 =
  2535552             -     5815098048  -
storage/usrobj@backup_sync                                                 =
    11904             -     5815098048  -

As you can see the numbers are different for each pool (the initial raidz1,=
 backup1 disk, backup2 disk and new raidz1). I mean in the USED column. I h=
ave
nearly all my datasets in the same situation (those with fixed data that ha=
ve not changed between the beginning of the process and now). backup1 and b=
ackup2
are identical disks with exactly the same configurations and have different=
 numbers. I used the same commands for all my transfers except the name of =
the
destination pool.=20

So, I wonder what can cause these differences ? Is it something I have to w=
orry about ? Can I consider this as a normal behavior ?=20

Thanks for your enlightments,
K.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBXPR05MB157C1956B267EA6BE59F570A0E40>