LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-07-2015, 10:56 AM   #1
beantownmp
LQ Newbie
 
Registered: Jun 2015
Posts: 1

Rep: Reputation: Disabled
Zpool export/import error


A backup/clone script of ours was recently ran. It normally only clones the rpool and renames in rpoolA. Something must've changed as it found another one of our pools that it shouldn't have. It exported that pool unbeknownst to us. Later on when a coworker realized the other pool was missing he attempted to recover it but by creating a new pool with the same name and using the same lun instead of doing an import first.

It seems that since the new pool was created using the same name and same lun as the exported pool we cannot recover the original pool. We've tried destroying the newly created pool and running zpool import -D to see whats available and its only the newly created pool.

Does anyone know of any further recovery procedures? This was a newly installed system and this was our initial attempt at backing up that system so we are stuck without any data recovery.

Thanks.
 
Old 06-07-2015, 05:18 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by beantownmp View Post
but by creating a new pool with the same name and using the same lun
I'm afraid that if a new pool has been created using the same LUN, i.e. the very same back-end device, the pool that was previously there had its metadata overwritten and then has been lost.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
zpool import pool with that name is already created/imported gwiesenekker Linux - Server 0 01-24-2014 07:45 PM
gpg import/export |nexus| Linux - Newbie 2 05-23-2012 02:17 PM
export and apply zpool configuration Rowley Solaris / OpenSolaris 4 07-05-2011 04:15 AM
How to import and export database umwai Linux - Newbie 1 03-06-2009 02:00 AM
import and export command mrbutabara Linux - Newbie 1 02-17-2009 09:21 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration