HomeFreeBSD

Fix zpool create -t ENOENT bug.

Description

Fix zpool create -t ENOENT bug.

In userland we need to switch over to the temporary name once the
pool has been created, otherwise the root dataset won't mount
and the error "cannot open 'the_real_name': dataset does not exist"
is printed.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2760

Details

Provenance
ilovezfs <ilovezfs@icloud.com>Authored on Oct 4 2014, 5:20 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 23 2014, 5:00 PM
Parents
rG5f6d0b6f5aa9: Handle block pointers with a corrupt logical size
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG023bbe6f0173: Fix zpool create -t ENOENT bug. (authored by ilovezfs <ilovezfs@icloud.com>).Oct 23 2014, 5:00 PM