On 07/18/10 02:10 PM, Sam Ashcraft wrote:
Sorry, Its been about a year since I last had to mess with the Zones, so my
memory is a little fuzzy on the original configuration.
The root file systems for the zones should have been in the safe pool (tank)
and not the lost one (the original Rpool).
I don't seem to have the configs for the Zones as I believe those were in the
Rpool.
Heres the output of "zfs list -r"
rpool 6.72G 22.6G 77.5K /rpool
rpool/ROOT 3.64G 22.6G 21K legacy
rpool/ROOT/opensolaris 3.64G 22.6G 3.52G /
rpool/dump 1.46G 22.6G 1.46G -
rpool/export 55.4M 22.6G 23K /export
rpool/export/home 55.3M 22.6G 23K /export/home
rpool/export/home/sam 55.3M 22.6G 55.3M /export/home/sam
rpool/swap 1.56G 24.0G 112M -
tank 1.24T 1.44T 24K /tank
tank/serve 894G 1.44T 23K /tank/serve<--Directory for the
File Server
tank/serve/ROOT 894G 1.44T 19K legacy<--File servers Root
(currently seems empty)
tank/serve/ROOT/zbe 45.8M 1.44T 999M legacy
tank/serve/ROOT/zbe-1 894G 1.44T 822G legacy
tank/torrents 367G 1.44T 344G /tank/torrents<--The shared folder
'owned' by the global zone (this seems fine)
tank/web 2.52G 1.44T 22K /tank/web
tank/web/ROOT 2.52G 1.44T 19K legacy<--Web servers root (also
seems empty)
tank/web/ROOT/zbe 2.52G 1.44T 2.46G legacy
tank/weblx 4.18G 1.44T 21K /tank/weblx
Good news (I think) the problem directory still seem to be taking up the right
amount of space.
That is good, you can access all the data or attach the zones to another
system running the same or a newer build.
Also, not sure it matters but in "tank/serve/ROOT" and "tank/web/ROOT" root is not actully in all
caps. "zfs list -r" lists them in all caps but in the file browser and cd/ls in the terminal shows that it
is in fact lower case "root"
Don't worry about the ROOT filesystems, they are just a container. All
the data is under zbe.
To access your data, set the mountpoint of these filesystems and mount
them. This should work:
zfs set zoned=off tank/serve/ROOT
zfs set mountpoint=/tank/serve/ROOT/zbe tank/serve/ROOT/zbe
zfs mount tank/serve/ROOT/zbe
You should now be able to see /tank/serve/ROOT/zbe/root/
Let me know if you want to attach the zones to a new system.
--
Ian.
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org