To make a long story short, after a Solaris reinstall I needed to access a disk from the previous install. I realize now I should have done a zpool import, but instead I recreated the pool, thinking this would bring my file system back. I destroyed the new pool, but other than that I have done nothing to overwrite data. Is it possible to recover the data from the old pool? --Stig
On Sat, 09 May 2009 21:36:19 +0200, Stig <stigto at cotse.net> wrote:>To make a long story short, after a Solaris reinstall I needed to access >a disk from the previous install. I realize now I should have done a >zpool import, but instead I recreated the pool, thinking this would >bring my file system back. I destroyed the new pool, but other than that >I have done nothing to overwrite data. > >Is it possible to recover the data from the old pool?Yes, restore your last backup to a zfs filesystem in a newly created pool. If you don''t have a backup, there is no way, because the new pool has overwritten all labels, ueberblocks and pointer blocks of the original pool.>--Stig-- ( Kees Nuyt ) c[_]
Kees Nuyt wrote:> On Sat, 09 May 2009 21:36:19 +0200, Stig <stigto at cotse.net> > wrote: > > >> To make a long story short, after a Solaris reinstall I needed to access >> a disk from the previous install. I realize now I should have done a >> zpool import, but instead I recreated the pool, thinking this would >> bring my file system back. I destroyed the new pool, but other than that >> I have done nothing to overwrite data. >> >> Is it possible to recover the data from the old pool? >> > > Yes, restore your last backup to a zfs filesystem in a newly > created pool. > If you don''t have a backup, there is no way, because the new > pool has overwritten all labels, ueberblocks and pointer > blocks of the original pool. > >That''s what I was afraid of... I do have a backup, but older than I''d like. I''ll write this one down to experience; it''s nice to have confirmation in any case. Thanks for the answer. Stig>> --Stig >>