Restore ZFS Pool and storage data after a system re-install











up vote
0
down vote

favorite












I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online.



I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive to fail without losing data in my pool.



Now, I want to get that Storage pool back up and running, but am a bit of a newb when it comes to ZFS.



My pool is simply called ZStore. How can I get the drives and pool back up and accessible in my Linux system?
----------------------------------EDIT-----------------------------------
I did the following:



sudo zpool import
pool: ZStore1
id: 6113527918687515983
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:



ZStore1                                          ONLINE
raidz1-0 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:0 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:1 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:2 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:3 ONLINE


But when I try zpool status or sudo zpool status I get



no pools available



Not sure what's going on. The pool shows online when I import, and all drives show online, but not getting anything with status check.



tried



zpool online



then



zpool online ZStore1



then get missing device name, so I'm at a loss - again.










share|improve this question









New contributor




bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I know this is already answered below, but just to explain what you saw: the problem is that “zpool import pool” means “import the pool named ‘pool’”. ZFS is telling you it found a pool named ‘ZStore’, but no pool named ‘pool’.
    – Dan
    Nov 23 at 0:36










  • Thanks @Dan That helped. I was totally misunderstanding. Storage pool is back and showing up properly now.
    – bmcgonag
    yesterday















up vote
0
down vote

favorite












I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online.



I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive to fail without losing data in my pool.



Now, I want to get that Storage pool back up and running, but am a bit of a newb when it comes to ZFS.



My pool is simply called ZStore. How can I get the drives and pool back up and accessible in my Linux system?
----------------------------------EDIT-----------------------------------
I did the following:



sudo zpool import
pool: ZStore1
id: 6113527918687515983
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:



ZStore1                                          ONLINE
raidz1-0 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:0 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:1 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:2 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:3 ONLINE


But when I try zpool status or sudo zpool status I get



no pools available



Not sure what's going on. The pool shows online when I import, and all drives show online, but not getting anything with status check.



tried



zpool online



then



zpool online ZStore1



then get missing device name, so I'm at a loss - again.










share|improve this question









New contributor




bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I know this is already answered below, but just to explain what you saw: the problem is that “zpool import pool” means “import the pool named ‘pool’”. ZFS is telling you it found a pool named ‘ZStore’, but no pool named ‘pool’.
    – Dan
    Nov 23 at 0:36










  • Thanks @Dan That helped. I was totally misunderstanding. Storage pool is back and showing up properly now.
    – bmcgonag
    yesterday













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online.



I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive to fail without losing data in my pool.



Now, I want to get that Storage pool back up and running, but am a bit of a newb when it comes to ZFS.



My pool is simply called ZStore. How can I get the drives and pool back up and accessible in my Linux system?
----------------------------------EDIT-----------------------------------
I did the following:



sudo zpool import
pool: ZStore1
id: 6113527918687515983
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:



ZStore1                                          ONLINE
raidz1-0 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:0 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:1 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:2 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:3 ONLINE


But when I try zpool status or sudo zpool status I get



no pools available



Not sure what's going on. The pool shows online when I import, and all drives show online, but not getting anything with status check.



tried



zpool online



then



zpool online ZStore1



then get missing device name, so I'm at a loss - again.










share|improve this question









New contributor




bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online.



I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive to fail without losing data in my pool.



Now, I want to get that Storage pool back up and running, but am a bit of a newb when it comes to ZFS.



My pool is simply called ZStore. How can I get the drives and pool back up and accessible in my Linux system?
----------------------------------EDIT-----------------------------------
I did the following:



sudo zpool import
pool: ZStore1
id: 6113527918687515983
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:



ZStore1                                          ONLINE
raidz1-0 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:0 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:1 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:2 ONLINE
usb-WDC_WD75_02ABYS-18A6B0_152D00539000-0:3 ONLINE


But when I try zpool status or sudo zpool status I get



no pools available



Not sure what's going on. The pool shows online when I import, and all drives show online, but not getting anything with status check.



tried



zpool online



then



zpool online ZStore1



then get missing device name, so I'm at a loss - again.







system-installation zfs restore






share|improve this question









New contributor




bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 22 at 15:42





















New contributor




bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 22 at 14:56









bmcgonag

32




32




New contributor




bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






bmcgonag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • I know this is already answered below, but just to explain what you saw: the problem is that “zpool import pool” means “import the pool named ‘pool’”. ZFS is telling you it found a pool named ‘ZStore’, but no pool named ‘pool’.
    – Dan
    Nov 23 at 0:36










  • Thanks @Dan That helped. I was totally misunderstanding. Storage pool is back and showing up properly now.
    – bmcgonag
    yesterday


















  • I know this is already answered below, but just to explain what you saw: the problem is that “zpool import pool” means “import the pool named ‘pool’”. ZFS is telling you it found a pool named ‘ZStore’, but no pool named ‘pool’.
    – Dan
    Nov 23 at 0:36










  • Thanks @Dan That helped. I was totally misunderstanding. Storage pool is back and showing up properly now.
    – bmcgonag
    yesterday
















I know this is already answered below, but just to explain what you saw: the problem is that “zpool import pool” means “import the pool named ‘pool’”. ZFS is telling you it found a pool named ‘ZStore’, but no pool named ‘pool’.
– Dan
Nov 23 at 0:36




I know this is already answered below, but just to explain what you saw: the problem is that “zpool import pool” means “import the pool named ‘pool’”. ZFS is telling you it found a pool named ‘ZStore’, but no pool named ‘pool’.
– Dan
Nov 23 at 0:36












Thanks @Dan That helped. I was totally misunderstanding. Storage pool is back and showing up properly now.
– bmcgonag
yesterday




Thanks @Dan That helped. I was totally misunderstanding. Storage pool is back and showing up properly now.
– bmcgonag
yesterday










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










If the disks are recognized from your OS the command:



zpoll import


should be enough to get the pool imported and visible in your current OS. You can check the status with command



zpool status


You can try to import it explicitly by name



zpoll import ZStore


P.S. Do not forget to set the pool online:



zpool online


You can check zpool-features features and if they are enabled or not in your case. Seems like zfs build in your case is new than the version which create it. The problem is if you update you will be able to mount only with same or upper version of zfs



What I can recommend you is to try (if available) with live version (but this with which you create the pool)






share|improve this answer























  • I added a little edit @Romeo Ninov So any help is appreciated.
    – bmcgonag
    Nov 22 at 16:14










  • @bmcgonag, please check my edited answer
    – Romeo Ninov
    Nov 22 at 16:29










  • ok, tried upgrade and got: sudo zpool upgrade -a This system supports ZFS pool feature flags. All pools are already formatted using feature flags. Every feature flags pool already has all supported features enabled
    – bmcgonag
    Nov 22 at 22:33











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






bmcgonag is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483465%2frestore-zfs-pool-and-storage-data-after-a-system-re-install%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










If the disks are recognized from your OS the command:



zpoll import


should be enough to get the pool imported and visible in your current OS. You can check the status with command



zpool status


You can try to import it explicitly by name



zpoll import ZStore


P.S. Do not forget to set the pool online:



zpool online


You can check zpool-features features and if they are enabled or not in your case. Seems like zfs build in your case is new than the version which create it. The problem is if you update you will be able to mount only with same or upper version of zfs



What I can recommend you is to try (if available) with live version (but this with which you create the pool)






share|improve this answer























  • I added a little edit @Romeo Ninov So any help is appreciated.
    – bmcgonag
    Nov 22 at 16:14










  • @bmcgonag, please check my edited answer
    – Romeo Ninov
    Nov 22 at 16:29










  • ok, tried upgrade and got: sudo zpool upgrade -a This system supports ZFS pool feature flags. All pools are already formatted using feature flags. Every feature flags pool already has all supported features enabled
    – bmcgonag
    Nov 22 at 22:33















up vote
1
down vote



accepted










If the disks are recognized from your OS the command:



zpoll import


should be enough to get the pool imported and visible in your current OS. You can check the status with command



zpool status


You can try to import it explicitly by name



zpoll import ZStore


P.S. Do not forget to set the pool online:



zpool online


You can check zpool-features features and if they are enabled or not in your case. Seems like zfs build in your case is new than the version which create it. The problem is if you update you will be able to mount only with same or upper version of zfs



What I can recommend you is to try (if available) with live version (but this with which you create the pool)






share|improve this answer























  • I added a little edit @Romeo Ninov So any help is appreciated.
    – bmcgonag
    Nov 22 at 16:14










  • @bmcgonag, please check my edited answer
    – Romeo Ninov
    Nov 22 at 16:29










  • ok, tried upgrade and got: sudo zpool upgrade -a This system supports ZFS pool feature flags. All pools are already formatted using feature flags. Every feature flags pool already has all supported features enabled
    – bmcgonag
    Nov 22 at 22:33













up vote
1
down vote



accepted







up vote
1
down vote



accepted






If the disks are recognized from your OS the command:



zpoll import


should be enough to get the pool imported and visible in your current OS. You can check the status with command



zpool status


You can try to import it explicitly by name



zpoll import ZStore


P.S. Do not forget to set the pool online:



zpool online


You can check zpool-features features and if they are enabled or not in your case. Seems like zfs build in your case is new than the version which create it. The problem is if you update you will be able to mount only with same or upper version of zfs



What I can recommend you is to try (if available) with live version (but this with which you create the pool)






share|improve this answer














If the disks are recognized from your OS the command:



zpoll import


should be enough to get the pool imported and visible in your current OS. You can check the status with command



zpool status


You can try to import it explicitly by name



zpoll import ZStore


P.S. Do not forget to set the pool online:



zpool online


You can check zpool-features features and if they are enabled or not in your case. Seems like zfs build in your case is new than the version which create it. The problem is if you update you will be able to mount only with same or upper version of zfs



What I can recommend you is to try (if available) with live version (but this with which you create the pool)







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 22 at 16:33

























answered Nov 22 at 15:04









Romeo Ninov

4,98431627




4,98431627












  • I added a little edit @Romeo Ninov So any help is appreciated.
    – bmcgonag
    Nov 22 at 16:14










  • @bmcgonag, please check my edited answer
    – Romeo Ninov
    Nov 22 at 16:29










  • ok, tried upgrade and got: sudo zpool upgrade -a This system supports ZFS pool feature flags. All pools are already formatted using feature flags. Every feature flags pool already has all supported features enabled
    – bmcgonag
    Nov 22 at 22:33


















  • I added a little edit @Romeo Ninov So any help is appreciated.
    – bmcgonag
    Nov 22 at 16:14










  • @bmcgonag, please check my edited answer
    – Romeo Ninov
    Nov 22 at 16:29










  • ok, tried upgrade and got: sudo zpool upgrade -a This system supports ZFS pool feature flags. All pools are already formatted using feature flags. Every feature flags pool already has all supported features enabled
    – bmcgonag
    Nov 22 at 22:33
















I added a little edit @Romeo Ninov So any help is appreciated.
– bmcgonag
Nov 22 at 16:14




I added a little edit @Romeo Ninov So any help is appreciated.
– bmcgonag
Nov 22 at 16:14












@bmcgonag, please check my edited answer
– Romeo Ninov
Nov 22 at 16:29




@bmcgonag, please check my edited answer
– Romeo Ninov
Nov 22 at 16:29












ok, tried upgrade and got: sudo zpool upgrade -a This system supports ZFS pool feature flags. All pools are already formatted using feature flags. Every feature flags pool already has all supported features enabled
– bmcgonag
Nov 22 at 22:33




ok, tried upgrade and got: sudo zpool upgrade -a This system supports ZFS pool feature flags. All pools are already formatted using feature flags. Every feature flags pool already has all supported features enabled
– bmcgonag
Nov 22 at 22:33










bmcgonag is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















bmcgonag is a new contributor. Be nice, and check out our Code of Conduct.













bmcgonag is a new contributor. Be nice, and check out our Code of Conduct.












bmcgonag is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483465%2frestore-zfs-pool-and-storage-data-after-a-system-re-install%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Entries order in /etc/network/interfaces

新発田市

Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)