On 07/18/10 07:54 AM, Sam Ashcraft wrote:
History:
I had a nice little home file server running OpenSolaris with ZFS. The server
used 2 1.5TB drives for data and Compact Flash for the root drive. It was set
up with one large Zpool dubbed tank with to separate zones for a file and web
server.
The directory tree looked something like this:
/tank
-/file server
--/dev
--/root
-/web server
--/dev
--/root
-/shared folder
The Rpool for each zone was kept in the root of their respective directories
with the global Rpool kept on the CF boot disk. Everything was happy and
awesome.
A few day's ago, something went wrong with the global Rpool disk (it seems
everything except grub simply vanished). After a slight heart attack and
possible mental break down, I went about trying to recover my data.
I Installed OpenSolaris to VM on my windows machine with the 2 drives
containing the Zpool hooked up and imported the pool. All seemed well. The
Directory tree above is intact as well as the contents to the /shared folder.
However, the directories containing the data form the Zones appear empty. The
/dev and /root directories are there, but empty. Before I could always access
the data there form the global zone as long as I had root access.
A little more information would help. Firstly, zones don't have an
"Rpool", they have a root filesystem. So where are the zone roots? You
would have had something like this:
rpool/zoneRoot/test 169K 537G 23K /zoneRoot/test
rpool/zoneRoot/test/ROOT 110K 537G 21K legacy
rpool/zoneRoot/test/ROOT/zbe 21K 537G 21K legacy
So where your zone's roots on the lost pool, or on the safe one?
If they are still safe, you will be able to re-attach the zones to
another system, but we need to know a bit more before showing you how.
If you have them, post the config for the zones. Also post a "zfs list
-r" of your surviving pool.
--
Ian.
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org