It’s documented in the ZFS Administration book, section “Copying the
physical blocks of the aggregate to a larger dataset”.

Don’t format the .NEW or it doesn’t work.

On Wed, Oct 11, 2023 at 2:07 PM Mark Pace <[email protected]> wrote:

> Hmm - never tried repo on an zfs aggregate.  I'll give it a try.  Thanks./
>
> On Wed, Oct 11, 2023 at 3:01 PM Michael Babcock <[email protected]>
> wrote:
>
> > I usually allocate a .NEW, REPRO from the current to .NEW and RENAME.
> >
> > On Wed, Oct 11, 2023 at 1:59 PM Mark Pace <[email protected]>
> wrote:
> >
> > > Same results using replace or replaceu
> > >
> > > On Wed, Oct 11, 2023 at 2:47 PM Mark Pace <[email protected]>
> > wrote:
> > >
> > > > No, I've used REPLACE.  I'll give that a try.
> > > >
> > > > On Wed, Oct 11, 2023 at 2:46 PM Art Zeigler <[email protected]>
> > wrote:
> > > >
> > > >> Did you use the REPLACEUnconditional parameter with the restore?
> > Also,
> > > >> make sure you don't have SMS routines getting in the way.
> > > >>
> > > >> Art Zeigler
> > > >>
> > > >> ________________________________
> > > >> From: IBM Mainframe Discussion List <[email protected]> on
> > > behalf
> > > >> of Mark Pace <[email protected]>
> > > >> Sent: Wednesday, October 11, 2023 2:26 PM
> > > >> To: [email protected] <[email protected]>
> > > >> Subject: Resize a ZFS aggregate
> > > >>
> > > >> I have a zfs file that has grown so large it can't any more extents.
> > > >>
> > > >> So the plan was to
> > > >> Unmount the filesystem
> > > >> Dump the file to disk dataset.
> > > >> Delete the filesystem
> > > >> Define the filesystem with larger primary and secondary extents.
> > > >> Restore the dump to the new filesystem
> > > >> and remount.
> > > >>
> > > >> BUT - when I restore the dump it deletes the filesystem I created
> and
> > > >> creates a new one using the old allocations.
> > > >>
> > > >> How do I make adrdssu use the new preallocated filesystem
> allocation?
> > > >>
> > > >> --
> > > >> The postings on this site are my own and don’t necessarily represent
> > > >> Mainline’s positions or opinions
> > > >>
> > > >> Mark D Pace
> > > >> Senior Systems Engineer
> > > >> Mainline Information Systems
> > > >>
> > > >>
> ----------------------------------------------------------------------
> > > >> For IBM-MAIN subscribe / signoff / archive access instructions,
> > > >> send email to [email protected] with the message: INFO
> > IBM-MAIN
> > > >>
> > > >>
> ----------------------------------------------------------------------
> > > >> For IBM-MAIN subscribe / signoff / archive access instructions,
> > > >> send email to [email protected] with the message: INFO
> > IBM-MAIN
> > > >>
> > > >
> > > >
> > > > --
> > > > The postings on this site are my own and don’t necessarily represent
> > > > Mainline’s positions or opinions
> > > >
> > > > Mark D Pace
> > > > Senior Systems Engineer
> > > > Mainline Information Systems
> > > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > The postings on this site are my own and don’t necessarily represent
> > > Mainline’s positions or opinions
> > >
> > > Mark D Pace
> > > Senior Systems Engineer
> > > Mainline Information Systems
> > >
> > > ----------------------------------------------------------------------
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to [email protected] with the message: INFO IBM-MAIN
> > >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
>
>
> --
> The postings on this site are my own and don’t necessarily represent
> Mainline’s positions or opinions
>
> Mark D Pace
> Senior Systems Engineer
> Mainline Information Systems
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to