ZFS Increasing Size

Character Encoding for USS

Needed to increase the size of a zFS mounted dataset the other day. I will just provide the link to IBM website for the details but instead of duplicating everthing here, but I wasn’t aware this could be done with the pax command instead of the DFSMS REPRO command.

Snippet example from the IBM site

//SYSTSIN  DD  *
OSHELL /usr/sbin/mount -t ZFS -f PLEX.OLD.AGGR002.LDS0002           +
 /service2                                                        ; +
  /usr/sbin/mount -t ZFS -f PLEX.NEW.AGGR002.LDS0002 /service3    ; +
  cd /service2                                                    ; +
  pax -rwvCMX -p eW . /service3                                   ;
/*

IBM link LARGER dataset