Upgrade from 2.3.2 to 3.3.2_1 Fails



  • Hi I seems to have a problems mounting the second partition on Nanobsd.

    Updating repositories metadata…
    Updating pfSense-core repository catalogue...
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    pfSense repository is up-to-date.
    All repositories are up-to-date.
    **** WARNING ****
    Duplicate slice required!!

    Before starting the upgrade process, the currently mounted nanobsd partition
    needs to be cloned to the secondary partition, where the update will happen

    After installation a reboot will be required to switch partition.

    Cleaning secondary partition... done.
    Duplicating current slice... done.
    Restoring slice label... done.
    Testing duplicated partition integrity... done.
    Mounting second partition to run upgrade... failed.
    Failed

    I have tried this from within the GUI and and option 13 from the console menu.  Both end in the same error.
    I did originally get errors about the second partition not being clean so I let it fix them and then I ran fsck -t ufs /dev/ufs/pfsense1  and that found no more errors and reported that it was clean.

    Can anybody offer advice?

    Thanks



  • I have run pfSense-upgrade -d in this is the output:

    
    >>> Updating repositories metadata... 
    Updating pfSense-core repository catalogue...
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    pfSense repository is up-to-date.
    All repositories are up-to-date.
    **** WARNING ****
    Duplicate slice required!!
    
    Before starting the upgrade process, the currently mounted nanobsd partition
    needs to be cloned to the secondary partition, where the update will happen
    
    After installation a reboot will be required to switch partition.
    
    Proceed with upgrade? (y/N) >>> Cleaning secondary partition... 
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.401989 secs (2608469 bytes/sec)
    >>> Duplicating current slice... 
    30034+1 records in
    30034+1 records out
    1968349696 bytes transferred in 1275.749963 secs (1542896 bytes/sec)
    >>> Restoring slice label... 
    >>> Testing duplicated partition integrity... 
    ** /dev/ufs/pfsense1
    ** Last Mounted on /
    ** Phase 1 - Check Blocks and Sizes
    3748448 DUP I=224073
    3748449 DUP I=224073
    3748450 DUP I=224073
    3748451 DUP I=224073
    3748452 DUP I=224073
    3748453 DUP I=224073
    3748454 DUP I=224073
    3748455 DUP I=224073
    3748456 DUP I=224073
    3748457 DUP I=224073
    3748458 DUP I=224073
    EXCESSIVE DUP BLKS I=224073
    CONTINUE? yes
    
    INCORRECT BLOCK COUNT I=224073 (76 should be 10)
    CORRECT? yes
    
    3748520 DUP I=224075
    3748521 DUP I=224075
    3748522 DUP I=224075
    3748523 DUP I=224075
    3748524 DUP I=224075
    3748525 DUP I=224075
    3748526 DUP I=224075
    3748527 DUP I=224075
    3748528 DUP I=224075
    3748529 DUP I=224075
    3748530 DUP I=224075
    EXCESSIVE DUP BLKS I=224075
    CONTINUE? yes
    
    INCORRECT BLOCK COUNT I=224075 (128 should be 10)
    CORRECT? yes
    
    3748648 DUP I=224076
    3748649 DUP I=224076
    3748650 DUP I=224076
    3748651 DUP I=224076
    3748652 DUP I=224076
    3748653 DUP I=224076
    3748654 DUP I=224076
    3748655 DUP I=224076
    3748656 DUP I=224076
    3748657 DUP I=224076
    3748658 DUP I=224076
    EXCESSIVE DUP BLKS I=224076
    CONTINUE? yes
    
    INCORRECT BLOCK COUNT I=224076 (64 should be 10)
    CORRECT? yes
    
    3748712 DUP I=224078
    3748713 DUP I=224078
    3748714 DUP I=224078
    3748715 DUP I=224078
    3748716 DUP I=224078
    3748717 DUP I=224078
    3748718 DUP I=224078
    3748719 DUP I=224078
    3748720 DUP I=224080
    3748721 DUP I=224080
    3748722 DUP I=224080
    3748723 DUP I=224080
    3748724 DUP I=224080
    3748725 DUP I=224080
    3748728 DUP I=224082
    3748729 DUP I=224082
    3748730 DUP I=224082
    3748731 DUP I=224082
    3748732 DUP I=224082
    3748733 DUP I=224082
    3748734 DUP I=224082
    3748735 DUP I=224082
    3748744 DUP I=224084
    3748745 DUP I=224084
    3748746 DUP I=224084
    3748747 DUP I=224084
    3748748 DUP I=224084
    3748749 DUP I=224084
    3748750 DUP I=224084
    3748751 DUP I=224084
    3748752 DUP I=224084
    3748753 DUP I=224084
    3748754 DUP I=224084
    EXCESSIVE DUP BLKS I=224084
    CONTINUE? yes
    
    INCORRECT BLOCK COUNT I=224084 (17 should be 10)
    CORRECT? yes
    
    3748760 DUP I=224086
    3748761 DUP I=224086
    3748762 DUP I=224086
    3748763 DUP I=224086
    3748764 DUP I=224086
    3748765 DUP I=224086
    3748766 DUP I=224086
    3748767 DUP I=224086
    3746207 DUP I=224086
    3748768 DUP I=224088
    3748769 DUP I=224088
    3748770 DUP I=224088
    3748771 DUP I=224088
    3748772 DUP I=224088
    3748773 DUP I=224088
    3748774 DUP I=224088
    3748775 DUP I=224088
    3748776 DUP I=224090
    3748777 DUP I=224090
    3748778 DUP I=224090
    3748779 DUP I=224090
    3748780 DUP I=224090
    3748781 DUP I=224090
    3748782 DUP I=224090
    3748783 DUP I=224090
    3748784 DUP I=224092
    3748785 DUP I=224092
    3748786 DUP I=224092
    3748787 DUP I=224092
    3748788 DUP I=224092
    3748789 DUP I=224092
    3748790 DUP I=224092
    3748791 DUP I=224092
    3748792 DUP I=224092
    3748793 DUP I=224092
    3748794 DUP I=224092
    EXCESSIVE DUP BLKS I=224092
    CONTINUE? yes
    
    INCORRECT BLOCK COUNT I=224092 (37 should be 10)
    CORRECT? yes
    
    3748816 DUP I=224094
    3748817 DUP I=224094
    3748818 DUP I=224094
    3748819 DUP I=224094
    3748820 DUP I=224094
    3748821 DUP I=224094
    3748822 DUP I=224094
    3748823 DUP I=224094
    3748824 DUP I=224094
    3748825 DUP I=224094
    3748826 DUP I=224094
    EXCESSIVE DUP BLKS I=224094
    CONTINUE? yes
    
    INCORRECT BLOCK COUNT I=224094 (15 should be 10)
    CORRECT? yes
    
    ** Phase 1b - Rescan For More DUPS
    3748448 DUP I=223945
    3748449 DUP I=223945
    3748450 DUP I=223945
    3748451 DUP I=223945
    3748452 DUP I=223945
    3748453 DUP I=223945
    3748454 DUP I=223945
    3748455 DUP I=223945
    3748456 DUP I=223945
    3748457 DUP I=223945
    3748520 DUP I=223947
    3748521 DUP I=223947
    3748522 DUP I=223947
    3748523 DUP I=223947
    3748524 DUP I=223947
    3748525 DUP I=223947
    3748526 DUP I=223947
    3748527 DUP I=223947
    3748528 DUP I=223947
    3748529 DUP I=223947
    3748648 DUP I=223948
    3748649 DUP I=223948
    3748650 DUP I=223948
    3748651 DUP I=223948
    3748652 DUP I=223948
    3748653 DUP I=223948
    3748654 DUP I=223948
    3748655 DUP I=223948
    3748656 DUP I=223948
    3748657 DUP I=223948
    3748712 DUP I=223950
    3748713 DUP I=223950
    3748714 DUP I=223950
    3748715 DUP I=223950
    3748716 DUP I=223950
    3748717 DUP I=223950
    3748718 DUP I=223950
    3748719 DUP I=223950
    3748720 DUP I=223952
    3748721 DUP I=223952
    3748722 DUP I=223952
    3748723 DUP I=223952
    3748724 DUP I=223952
    3748725 DUP I=223952
    3748728 DUP I=223954
    3748729 DUP I=223954
    3748730 DUP I=223954
    3748731 DUP I=223954
    3748732 DUP I=223954
    3748733 DUP I=223954
    3748734 DUP I=223954
    3748735 DUP I=223954
    3748744 DUP I=223956
    3748745 DUP I=223956
    3748746 DUP I=223956
    3748747 DUP I=223956
    3748748 DUP I=223956
    3748749 DUP I=223956
    3748750 DUP I=223956
    3748751 DUP I=223956
    3748752 DUP I=223956
    3748753 DUP I=223956
    3748760 DUP I=223958
    3748761 DUP I=223958
    3748762 DUP I=223958
    3748763 DUP I=223958
    3748764 DUP I=223958
    3748765 DUP I=223958
    3748766 DUP I=223958
    3748767 DUP I=223958
    3746207 DUP I=223958
    3748768 DUP I=223960
    3748769 DUP I=223960
    3748770 DUP I=223960
    3748771 DUP I=223960
    3748772 DUP I=223960
    3748773 DUP I=223960
    3748774 DUP I=223960
    3748775 DUP I=223960
    3748776 DUP I=223962
    3748777 DUP I=223962
    3748778 DUP I=223962
    3748779 DUP I=223962
    3748780 DUP I=223962
    3748781 DUP I=223962
    3748782 DUP I=223962
    3748783 DUP I=223962
    3748784 DUP I=223964
    3748785 DUP I=223964
    3748786 DUP I=223964
    3748787 DUP I=223964
    3748788 DUP I=223964
    3748789 DUP I=223964
    3748790 DUP I=223964
    3748791 DUP I=223964
    3748792 DUP I=223964
    3748793 DUP I=223964
    3748816 DUP I=223966
    3748817 DUP I=223966
    3748818 DUP I=223966
    3748819 DUP I=223966
    3748820 DUP I=223966
    3748821 DUP I=223966
    3748822 DUP I=223966
    3748823 DUP I=223966
    3748824 DUP I=223966
    3748825 DUP I=223966
    ** Phase 2 - Check Pathnames
    DUP/BAD  I=223945  OWNER=root MODE=100444
    SIZE=38704 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libnv.a
    
    REMOVE? yes
    
    DUP/BAD  I=223947  OWNER=root MODE=100444
    SIZE=58998 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libopie.a
    
    REMOVE? yes
    
    DUP/BAD  I=223948  OWNER=root MODE=100444
    SIZE=32736 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libopie.so.7
    
    REMOVE? yes
    
    DUP/BAD  I=223950  OWNER=root MODE=100444
    SIZE=4036 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_chroot.so.5
    
    REMOVE? yes
    
    DUP/BAD  I=223952  OWNER=root MODE=100444
    SIZE=2856 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_deny.so.5
    
    REMOVE? yes
    
    DUP/BAD  I=223954  OWNER=root MODE=100444
    SIZE=3856 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_echo.so.5
    
    REMOVE? yes
    
    DUP/BAD  I=223956  OWNER=root MODE=100444
    SIZE=8284 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_exec.so.5
    
    REMOVE? yes
    
    DUP/BAD  I=223958  OWNER=root MODE=100444
    SIZE=4280 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_ftpusers.so.5
    
    REMOVE? yes
    
    DUP/BAD  I=223960  OWNER=root MODE=100444
    SIZE=3836 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_group.so.5
    
    REMOVE? yes
    
    DUP/BAD  I=223962  OWNER=root MODE=100444
    SIZE=3664 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_guest.so.5
    
    REMOVE? yes
    
    DUP/BAD  I=223964  OWNER=root MODE=100444
    SIZE=18516 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_krb5.so.5
    
    REMOVE? yes
    
    DUP/BAD  I=223966  OWNER=root MODE=100444
    SIZE=7380 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/pam_ksu.so.5
    
    REMOVE? yes
    
    BAD TYPE VALUE  I=224072  OWNER=root MODE=120755
    SIZE=16 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libncurses.a
    
    FIX? yes
    
    DUP/BAD  I=224073  OWNER=root MODE=100444
    SIZE=38704 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libncursesw.a
    
    REMOVE? yes
    
    DUP/BAD  I=224075  OWNER=root MODE=100444
    SIZE=58998 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libcurses.a
    
    REMOVE? yes
    
    DUP/BAD  I=224076  OWNER=root MODE=100444
    SIZE=32736 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libncursesw.so
    
    REMOVE? yes
    
    DUP/BAD  I=224078  OWNER=root MODE=100444
    SIZE=4036 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libtermlib.a
    
    REMOVE? yes
    
    DUP/BAD  I=224080  OWNER=root MODE=100444
    SIZE=2856 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libcurses.so
    
    REMOVE? yes
    
    DUP/BAD  I=224082  OWNER=root MODE=100444
    SIZE=3856 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libtermcap.so
    
    REMOVE? yes
    
    DUP/BAD  I=224084  OWNER=root MODE=100444
    SIZE=8284 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libtermlib.so
    
    REMOVE? yes
    
    DUP/BAD  I=224086  OWNER=root MODE=100444
    SIZE=4280 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libtinfo.so
    
    REMOVE? yes
    
    DUP/BAD  I=224088  OWNER=root MODE=100444
    SIZE=3836 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libcursesw.so
    
    REMOVE? yes
    
    DUP/BAD  I=224090  OWNER=root MODE=100444
    SIZE=3664 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libtermlibw.so
    
    REMOVE? yes
    
    DUP/BAD  I=224092  OWNER=root MODE=100444
    SIZE=18516 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libpanel.a
    
    REMOVE? yes
    
    BAD TYPE VALUE  I=224093  OWNER=root MODE=120755
    SIZE=13 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libpanelw.a
    
    FIX? yes
    
    DUP/BAD  I=224094  OWNER=root MODE=100444
    SIZE=7380 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libmenu.a
    
    REMOVE? yes
    
    BAD TYPE VALUE  I=224095  OWNER=root MODE=120755
    SIZE=12 MTIME=Jul 19 19:46 2016 
    FILE=/usr/lib/libpanel.so.5
    
    FIX? yes
    
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    BAD/DUP FILE I=223945  OWNER=root MODE=100444
    SIZE=38704 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223947  OWNER=root MODE=100444
    SIZE=58998 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223948  OWNER=root MODE=100444
    SIZE=32736 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223950  OWNER=root MODE=100444
    SIZE=4036 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223952  OWNER=root MODE=100444
    SIZE=2856 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223954  OWNER=root MODE=100444
    SIZE=3856 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223956  OWNER=root MODE=100444
    SIZE=8284 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223958  OWNER=root MODE=100444
    SIZE=4280 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223960  OWNER=root MODE=100444
    SIZE=3836 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223962  OWNER=root MODE=100444
    SIZE=3664 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223964  OWNER=root MODE=100444
    SIZE=18516 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=223966  OWNER=root MODE=100444
    SIZE=7380 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224073  OWNER=root MODE=100444
    SIZE=38704 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224075  OWNER=root MODE=100444
    SIZE=58998 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224076  OWNER=root MODE=100444
    SIZE=32736 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224078  OWNER=root MODE=100444
    SIZE=4036 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224080  OWNER=root MODE=100444
    SIZE=2856 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224082  OWNER=root MODE=100444
    SIZE=3856 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224084  OWNER=root MODE=100444
    SIZE=8284 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224086  OWNER=root MODE=100444
    SIZE=4280 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224088  OWNER=root MODE=100444
    SIZE=3836 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224090  OWNER=root MODE=100444
    SIZE=3664 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224092  OWNER=root MODE=100444
    SIZE=18516 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    BAD/DUP FILE I=224094  OWNER=root MODE=100444
    SIZE=7380 MTIME=Jul 19 19:46 2016 
    CLEAR? yes
    
    ** Phase 5 - Check Cyl groups
    BLK(S) MISSING IN BIT MAPS
    SALVAGE? yes
    
    FREE BLK COUNT(S) WRONG IN SUPERBLK
    SALVAGE? yes
    
    SUMMARY INFORMATION BAD
    SALVAGE? yes
    
    18847 files, 1121231 used, 2658797 free (2597 frags, 332025 blocks, 0.1% fragmentation)
    
    ***** FILE SYSTEM MARKED DIRTY *****
    
    ***** FILE SYSTEM WAS MODIFIED *****
    
    ***** PLEASE RERUN FSCK *****
    >>> Mounting second partition to run upgrade... 
    mount: /dev/ufs/pfsense1: R/W mount of / denied. Filesystem is not clean - run fsck.: Operation not permitted
    
    

    but if I run fsck -v -f -y -t ufs /dev/ufs/pfsense1 I get:

    
    start (null) wait fsck_ufs -f -y /dev/ufs/pfsense1
    ** /dev/ufs/pfsense1
    ** Last Mounted on /
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    18847 files, 1121231 used, 2658797 free (2597 frags, 332025 blocks, 0.1% fragmentation)
    
    ***** FILE SYSTEM IS CLEAN *****
    
    

  • Rebel Alliance Developer Netgate

    I'd swap the storage card out for a fresh one.


Log in to reply