<gateway_item> <interface>wan</interface> <gateway>192.168.1.1</gateway> <name>WAN_VODA</name> <priority>255</priority> <weight>1</weight> <ipprotocol>inet</ipprotocol> <interval/> <descr/> <defaultgw>1</defaultgw> </gateway_item>
+ read -p 'Select device to import from (e.g. ada0) or leave blank to exit: ' DEVSelect device to import from (e.g. ada0) or leave blank to exit: da0+ echo+ [ -z da0 ]+ [ da0 '=' ! ]+ import_start da0+ local 'DEV=da0'+ export 'PART='+ export 'TYPE='+ export 'POOL='+ [ -e /dev/da0s1a ]+ [ -e /dev/da0p3 ]+ echo zroot 2567126352270511923 110G+ grep -c '^da0 '+ [ 0 '!=' 0 ]+ [ -e /dev/da0s1 ]+ export 'PART=/dev/da0s1'+ export 'TYPE=msdos'+ return 0+ mkdir -p /tmp/hdrescue+ [ -n /dev/da0s1 -a -n msdos ]+ echo $'Starting import for partition \'/dev/da0s1\'.'Starting import for partition '/dev/da0s1'.+ echo+ [ msdos '=' ufs ]+ mount -t msdos /dev/da0s1 /tmp/hdrescue+ [ -n '' ]+ [ -n '' ]+ [ -f /tmp/hdrescue/conf/config.xml ]+ grep -cx -- '---- BEGIN config.xml ----' /tmp/hdrescue/conf/config.xml+ [ 0 '!=' 0 ]+ rm -rf /conf/backup /conf/config.xml /conf/dhcpleases.tgz /conf/event_config_changed.json /conf/sshd+ [ -f /tmp/hdrescue/conf/captiveportal.sqlite ]+ [ -f /tmp/hdrescue/conf/config.xml ]+ echo -n 'Restoring config.xml...'Restoring config.xml...+ cp /tmp/hdrescue/conf/config.xml /conf+ echo done.done.+ [ -f /tmp/hdrescue/conf/dhcpleases.tgz ]+ [ -f /tmp/hdrescue/conf/dhcp6c_duid ]+ [ -f /tmp/hdrescue/conf/netflow.tgz ]+ [ -f /tmp/hdrescue/conf/rrd.tgz ]+ [ -d /tmp/hdrescue/conf/backup ]+ mkdir -p /conf/backup+ [ -d /tmp/hdrescue/conf/sshd ]+ mkdir -p /conf/sshd+ find /conf/sshd -type f -name '*key'+ break+ [ -z '' ]+ echo 'Please reboot.'Please reboot.+ bootstrap_and_exit 0+ RET=0+ mkdir -p /conf/backup+ mkdir -p /conf/sshd+ [ ! -f /conf/config.xml ]+ mount+ grep -cw /tmp/hdrescue+ [ -d /tmp/hdrescue -a 1 '!=' 0 ]+ [ -n /dev/da0s1 ]+ umount /tmp/hdrescue+ zfs_unload+ [ -n '' ]+ [ -z 0 ]+ exit 0
zpool status pool: zroot state: ONLINEstatus: One or more devices has experienced an error resulting in data corruption. Applications may be affected.action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A scan: scrub in progress since Tue Nov 14 07:01:02 2023 1.27G scanned at 41.9M/s, 396M issued at 12.8M/s, 1.27G total 0B repaired, 30.44% done, 00:01:10 to goconfig: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 ada0p4 ONLINE 0 0 1.65Kerrors: 747 data errors, use '-v' for a list
smartctl 7.4 2023-08-01 r5530 [FreeBSD 13.2-RELEASE-p5 amd64] (local build)Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF READ SMART DATA SECTION ===SMART overall-health self-assessment test result: PASSEDsmartctl 7.4 2023-08-01 r5530 [FreeBSD 13.2-RELEASE-p5 amd64] (local build)Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF READ SMART DATA SECTION ===SMART Self-test log structure revision number 1Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error# 1 Short offline Completed without error 00% 4387 -
# smartctl -A /dev/ada0