I have a backup script that automatically mounts a single vdev (disk) pool. To do this, it is dependent upon zpool import having a gptid for the device. I was careless and did not properly unmount a backup pool, and something happend to the gptid.
Before improper unmount:
After improper mount:
I have checked that this has nothing to do with the pool not being upgraded. I have another backup pool that was created in exactly the same way but was not improperly handled, and it is still displaying a gptid.
glabel status still shows the gptid:
and zfs list shows the pool name correctly and all the snapshots.
If I manually mount the pool from the command line using
How can I fix this? (I'm OK with changing to a different gptid if necessary.) I would just rather not have to run the backup again since it contains about 8TB of data and is going to take some time. (Iit will also require a current pool, and I'm not ready to commint to 11.2-U7 just yet.)
Before improper unmount:
Code:
#>zpool import pool: BACKUP02 id: 1487853121776782679 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: BACKUP02 ONLINE gptid/735dxxxx-xxxx-xxxx-xxxx-xxxx17d2xxxx ONLINE
After improper mount:
Code:
#>zpool import pool: BACKUP02 id: 1487853121776782679 state: ONLINE status: Some supported features are not enabled on the pool. action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit 'zpool upgrade'. config: BACKUP02 ONLINE ada3p2 ONLINE
I have checked that this has nothing to do with the pool not being upgraded. I have another backup pool that was created in exactly the same way but was not improperly handled, and it is still displaying a gptid.
glabel status still shows the gptid:
Code:
Name Status Components gptid/735dxxxx-xxxx-xxxx-xxxx-xxxx17d2xxxx N/A ada3p2
and zfs list shows the pool name correctly and all the snapshots.
If I manually mount the pool from the command line using
zpool import BACKUP02
, I can still access the data, so other than the gptid not showing up correctly in the import command (and also zpool status when mounted), everything is OK.How can I fix this? (I'm OK with changing to a different gptid if necessary.) I would just rather not have to run the backup again since it contains about 8TB of data and is going to take some time. (Iit will also require a current pool, and I'm not ready to commint to 11.2-U7 just yet.)