ZFS How to import zpool without history like root pool?

I don't think that's possible.
history is part of the zpool and contains a lot of useful information. Information about how it was originally created, everytime you change/set a property on the pool or a subordinate dataset, everytime you create a snapshot, everytime you scrub.

Why would you not want that available? Why do you think it's not necessary?
 
I don't think that's possible.
history is part of the zpool and contains a lot of useful information. Information about how it was originally created, everytime you change/set a property on the pool or a subordinate dataset, everytime you create a snapshot, everytime you scrub.

Why would you not want that available? Why do you think it's not necessary?
Sorry, I misspoke. What I meant was there's no history like zpool import mypool
 
Ahh, so the import command is not showing up in the history?

That may be a "which comes first"? If the pool is not imported maybe the history isn't available to update. The initial zpool create shows up in history, but maybe that's a special case.
 
Ahh, so the import command is not showing up in the history?

That may be a "which comes first"? If the pool is not imported maybe the history isn't available to update. The initial zpool create shows up in history, but maybe that's a special case.
Yes, I want the zpool import mypool not show up in the zpool history when I import it manually
 
Back
Top