Date: Fri, 9 Apr 2021 23:41:13 -0600 From: sesquivels <sesquivels@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: FWD: advise or best practices with ZFS snapshot Message-ID: <YHE6edfvzUHvVNlu@mansecdriver2021> In-Reply-To: <MXqqYhr--3-2@keemail.me> References: <MX_GFO7--B-2@keemail.me> <MXqqYhr--3-2@keemail.me>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 09, 2021 at 03:37:40PM +0200, sesquivels@keemail.me wrote: > > > > Hello team, tank you for your time. > > > > I was building ZFS pool > > > > geom disk list > > Geom name: nvd0 > > Providers: > > 1. Name: nvd0 > > �� Mediasize: 512110190592 (477G) > > �� Sectorsize: 512 > > �� Mode: r2w2e4 > > �� descr: ADATA SX8100NP > > �� lunid: 00000000010000004ce00018dd8c9084 > > �� ident: 2K26291JGN17 > > �� rotationrate: 0 > > �� fwsectors: 0 > > �� fwheads: 0 > > > > Geom name: ada2 > > Providers: > > 1. Name: ada2 > > �� Mediasize: 1000204886016 (932G) > > �� Sectorsize: 512 > > �� Stripesize: 4096 > > �� Stripeoffset: 0 > > �� Mode: r1w1e1 > > �� descr: ST1000LM035-1RK172 > > �� lunid: 5000c500a7f6b348 > > �� ident: WDE31N7X > > �� rotationrate: 5400 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > Geom name: ada3 > > Providers: > > 1. Name: ada3 > > �� Mediasize: 1000204886016 (932G) > > �� Sectorsize: 512 > > �� Stripesize: 4096 > > �� Stripeoffset: 0 > > �� Mode: r1w1e1 > > �� descr: TOSHIBA MQ04ABF100 > > �� lunid: 500003998238047c > > �� ident: 9915PKVBT > > �� rotationrate: 5400 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > Geom name: ada4 > > Providers: > > 1. Name: ada4 > > �� Mediasize: 1000204886016 (932G) > > �� Sectorsize: 512 > > �� Stripesize: 4096 > > �� Stripeoffset: 0 > > �� Mode: r1w1e2 > > �� descr: ST1000LM049-2GH172 > > �� lunid: 5000c500b9fa0d1f > > �� ident: WGS1DNPB > > �� rotationrate: 7200 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > Geom name: ada5 > > Providers: > > 1. Name: ada5 > > �� Mediasize: 1000204886016 (932G) > > �� Sectorsize: 512 > > �� Stripesize: 4096 > > �� Stripeoffset: 0 > > �� Mode: r1w1e2 > > �� descr: ST1000LM035-1RK172 > > �� lunid: 5000c500b40a20b4 > > �� ident: ZDEEM2PD > > �� rotationrate: 5400 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > Geom name: ada6 > > Providers: > > 1. Name: ada6 > > �� Mediasize: 1000204886016 (932G) > > �� Sectorsize: 512 > > �� Stripesize: 4096 > > �� Stripeoffset: 0 > > �� Mode: r1w1e2 > > �� descr: TOSHIBA MQ04ABF100 > > �� lunid: 50000399eb100983 > > �� ident: 30HOP52LT > > �� rotationrate: 5400 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > Geom name: ada7 > > Providers: > > 1. Name: ada7 > > �� Mediasize: 1000204886016 (932G) > > �� Sectorsize: 512 > > �� Stripesize: 4096 > > �� Stripeoffset: 0 > > �� Mode: r1w1e2 > > �� descr: ST1000LM035-1RK172 > > �� lunid: 5000c500b3e1e35e > > �� ident: ZDEEF3X9 > > �� rotationrate: 5400 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > Geom name: ada8 > > Providers: > > 1. Name: ada8 > > �� Mediasize: 1000204886016 (932G) > > �� Sectorsize: 512 > > �� Stripesize: 4096 > > �� Stripeoffset: 0 > > �� Mode: r1w1e1 > > �� descr: WDC WD10SPZX-22Z10T1 > > �� lunid: 50014ee26897b98e > > �� ident: WD-WXB2AA00UENK > > �� rotationrate: 5400 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > Geom name: ada0 > > Providers: > > 1. Name: ada0 > > �� Mediasize: 1000204886016 (932G) > > �� Sectorsize: 512 > > �� Stripesize: 4096 > > �� Stripeoffset: 0 > > �� Mode: r1w1e1 > > �� descr: TOSHIBA MQ04ABF100 > > �� lunid: 5000039a6b124e9a > > �� ident: Y0PPP0UWT > > �� rotationrate: 5400 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > Geom name: ada1 > > Providers: > > 1. Name: ada1 > > �� Mediasize: 128035676160 (119G) > > �� Sectorsize: 512 > > �� Mode: r1w1e2 > > �� descr: MTFDDAK128MAM-1J1 > > �� lunid: 500a0751039d7440 > > �� ident: 1405039D7440 > > �� rotationrate: 0 > > �� fwsectors: 63 > > �� fwheads: 16 > > > > > > ------------------------------------------------ > > > > > > zpool status > > � pool: zroot > > state: ONLINE > > � scan: scrub repaired 0 in 0 days 01:43:28 with 0 errors on Thu Mar 18 01:57:21 2021 > > config: > > > > ������� NAME������� STATE���� READ WRITE CKSUM > > ������� zroot������ ONLINE������ 0���� 0���� 0 > > ��������� raidz1-0� ONLINE������ 0���� 0���� 0 > > ����������� ada4p3� ONLINE������ 0���� 0���� 0 > > ����������� ada5p3� ONLINE������ 0���� 0���� 0 > > ����������� ada6p3� ONLINE������ 0���� 0���� 0 > > ����������� ada7p3� ONLINE������ 0���� 0���� 0 > > ��������� raidz1-2� ONLINE������ 0���� 0���� 0 > > ����������� ada0��� ONLINE������ 0���� 0���� 0 > > ����������� ada2��� ONLINE������ 0���� 0���� 0 > > ����������� ada3��� ONLINE������ 0���� 0���� 0 > > ����������� ada8��� ONLINE������ 0���� 0���� 0 > > ������� logs > > ��������� nvd0p2��� ONLINE������ 0���� 0���� 0 > > ������� cache > > ��������� nvd0p1��� ONLINE������ 0���� 0���� 0 > > > > errors: No known data errors > > > > > > ----------------------------------------------------- > > I found some information at manpages for ZFS and, > > > > https://docs.oracle.com/cd/E18752_01/html/819-5461/gbchx.html > > https://docs.oracle.com/cd/E19253-01/819-5461/gbiqe/index.html > > > > And these are my questions: > > > > About zfs administration, and snapshots, where can I found more information? > > > > I did this snapshot > > > > zfs list -t snapshot > > NAME���������������� USED� AVAIL� REFER� MOUNTPOINT > > zroot/Dom@03252021� 32.6G����� -�� 353G� - > > > > And interested on: > > > > Doing a zfs send to file� as this, may I delete snapshjot from my zpool and then restore it using zfs receiver? > > zfs send zroot/Dom@03252021 | gzip > /mnt/bkp/march2021.gz > > > > I will be appreciate any advise, > > > > Serguei Esquivel > > > > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YHE6edfvzUHvVNlu>