PowerVM

 View Only

viosupgrade -X ROOTUSRFS syntax

  • 1.  viosupgrade -X ROOTUSRFS syntax

    Posted 4 days ago
    Edited by Stefano Calisto 4 days ago

    Hi there

    My migration to 4.1.0.10 fails during copying of our own created FS during the viosupgrade procedure:

    viosupgrade -l -i /tmp/vio41_mksysb -a hdisk1 -g backupfiles.txt
    ---
    Copying /usr/ips contents to /alt_inst/usr/ips failed

    I read that I can exclude these FS with -X ROOTUSRFS but then it fails with:


    Migration of contents to new rootvg initiated.
    Use of uninitialized value in string eq at /usr/ios/sbin/viosupg.pl line 7822.
    Unmatched ( in regex; marked by <-- HERE in m/( <-- HERE /usr/ios/cli/ioscli/ at /usr/ios/sbin/viosupg.pl line 10849.

    then I tried:

    viosupgrade -l -i /tmp/vio41_mksysb -a hdisk1 -g backupfiles.txt -X ROOTUSRFS:/var/ips:/etc/ips:/usr/ips
    Unsupported -X option '/VAR/IPS'.

    $ viosupgrade -l -i /tmp/vio41_mksysb -a hdisk1 -g backupfiles.txt -X ROOTUSRFS:/var/ips,/etc/ips,/usr/ips
    Unsupported -X option '/VAR/IPS,/ETC/IPS,/USR/IPS'.

    $ viosupgrade -l -i /tmp/vio41_mksysb -a hdisk1 -g backupfiles.txt -X ROOTUSRFS:/var/ips;/etc/ips;/usr/ips
    Unsupported -X option '/VAR/IPS'.
    rksh: /etc/ips: 0403-019 The operation is not allowed in a restricted shell.
    rksh: /usr/ips: 0403-019 The operation is not allowed in a restricted shell.

    $ viosupgrade -l -i /tmp/vio41_mksysb -a hdisk1 -g backupfiles.txt -X ROOTUSRFS:/var/ips -X ROOTUSRFS:/etc/ips -X ROOTUSRFS:/usr/ips
    Unsupported -X option '/USR/IPS'.

    What is the correct syntax to exclude more than 1 Filesystem ?

    Thanks in advance and kind regards,

    Stefano



    ------------------------------
    Stefano Calisto
    ------------------------------