zpool_create_tempname failure is obvious and I am pushing a fix.  It seems that 
ZoL allows placing a pool name on zpool create command line before options.  
E.g., zpool create newpool -o xxx ...

import_rewind_device_replaced is not obvious and I am not sure if it's related 
to this merge request.
Some details:
```
19:08:59.94 SUCCESS: wait_for_pool_config testpool1 /dev_import-test/disk0 
/dev_import-test/disk2
19:09:00.32 SUCCESS: zpool export testpool1
19:09:00.32 SUCCESS: mv /dev_import-test/disk2 /dev_import-test/backup/
19:09:01.20 ERROR: zpool import -d /dev_import-test -T 52 testpool1 exited 1
19:09:01.20 cannot import 'testpool1': one or more devices is currently 
unavailable
```

>From zfs_dbgmsg log:
```
19:09:01.94 spa_tryimport: importing testpool1, max_txg=52
19:09:01.94 spa_load($import, config trusted): LOADING
19:09:01.94 file vdev '/dev_import-test/disk0': best uberblock found for spa 
$import. txg 50
19:09:01.94 file vdev '/dev_import-test/disk0': label discarded as txg is too 
large (101 > 50)
19:09:01.94 file vdev '/dev_import-test/disk0': failed to read label config. 
Trying again without txg restrictions.
19:09:01.94 spa_load($import, config untrusted): using uberblock with txg=50
19:09:01.94 spa_load($import, config untrusted): FAILED: unable to open rootbp 
in dsl_pool_init [error=5]
19:09:01.94 spa_load($import, config untrusted): UNLOADING
19:09:01.94 spa_import: importing testpool1, max_txg=52 (RECOVERY MODE)
19:09:01.94 spa_load(testpool1, config trusted): LOADING
19:09:01.94 file vdev '/dev_import-test/disk0': best uberblock found for spa 
testpool1. txg 50
19:09:01.94 file vdev '/dev_import-test/disk0': label discarded as txg is too 
large (101 > 50)
19:09:01.94 file vdev '/dev_import-test/disk0': failed to read label config. 
Trying again without txg restrictions.
19:09:01.94 spa_load(testpool1, config untrusted): using uberblock with txg=50
19:09:01.94 spa_load(testpool1, config untrusted): FAILED: unable to open 
rootbp in dsl_pool_init [error=5]
19:09:01.94 spa_load(testpool1, config untrusted): UNLOADING
19:09:01.94 spa_load(testpool1, config untrusted): spa_load_retry: rewind, max 
txg: 49
...
19:09:01.94 spa_load(testpool1, config untrusted): spa_load_retry: rewind, max 
txg: 46
...
19:09:01.94 spa_load(testpool1, config untrusted): spa_load_retry: rewind, max 
txg: 43
...
...
19:09:01.94 spa_load(testpool1, config untrusted): spa_load_retry: rewind, max 
txg: 4
19:09:01.94 spa_load(testpool1, config untrusted): LOADING
19:09:01.94 file vdev '/dev_import-test/disk0': best uberblock found for spa 
testpool1. txg 4
19:09:01.94 file vdev '/dev_import-test/disk0': label discarded as txg is too 
large (101 > 4)
19:09:01.94 file vdev '/dev_import-test/disk0': failed to read label config. 
Trying again without txg restrictions.
19:09:01.94 spa_load(testpool1, config untrusted): using uberblock with txg=4
19:09:01.94 spa_load(testpool1, config untrusted): FAILED: unable to open 
rootbp in dsl_pool_init [error=5]
19:09:01.94 spa_load(testpool1, config untrusted): UNLOADING
19:09:01.94 spa_load(testpool1, config untrusted): spa_load_retry: rewind, max 
txg: 3
19:09:01.94 spa_load(testpool1, config untrusted): LOADING
19:09:01.94 spa_load(testpool1, config untrusted): FAILED: no valid uberblock 
found
19:09:01.94 spa_load(testpool1, config untrusted): UNLOADING
```

Direct link to the log file [40MB]: 
http://jenkins.open-zfs.org/job/openzfs/job/openzfs/job/PR-600/9/artifact/run-zfs-tests.log

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/600#issuecomment-389138480
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/discussions/T900a082ade0bdbd3-Mf1333b7f35b38ff6f4d09957
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to