Moved zone and data disappeared?


 
Thread Tools Search this Thread
Operating Systems Solaris Moved zone and data disappeared?
# 1  
Old 08-07-2011
Moved zone and data disappeared?

Can't find the data in either pool.

Code:
bash-3.00# zoneadm -z PPSMzone1 move /zpool/ppsmzone1
cannot create ZFS dataset zpool/ppsmzone1: dataset already exists
Moving across file-systems; copying zonepath /rpool/PPSMzone1...
Cleaning up zonepath /rpool/PPSMzone1...
bash-3.00# zonecfg -z PPSMzone1
zonecfg:PPSMzone1> info
zonename: PPSMzone1
zonepath: /zpool/ppsmzone1
brand: native
autoboot: true
bootargs: 
pool: 
limitpriv: 
scheduling-class: 
ip-type: shared
hostid: 
inherit-pkg-dir:
        dir: /lib
inherit-pkg-dir:
        dir: /platform
inherit-pkg-dir:
        dir: /sbin
net:
        address: 192.168.246.26
        physical: bge0
        defrouter: 192.168.246.1
zonecfg:PPSMzone1> exit
bash-3.00# zoneadm -z PPSMzone1 boot
zoneadm: zone 'PPSMzone1': can't stat /zpool/ppsmzone1/root: No such file or directory
zoneadm: zone 'PPSMzone1': call to zoneadmd failed

---------- Post updated at 02:30 PM ---------- Previous update was at 01:26 PM ----------

The original zone pool upon which the zone first resided has not changed at all in size; hopefully that means the data is still there?

---------- Post updated at 02:55 PM ---------- Previous update was at 02:30 PM ----------

The pool appears to have data still there....but I can't view it.

Code:
bash-3.00# zfs list -t all
NAME                       USED  AVAIL  REFER  MOUNTPOINT
rpool                     65.8G  1.15G  28.2G  /rpool
rpool/PPSMzone1           7.29G  1.15G  7.29G  /zpool/PPSMzone1
rpool/ROOT                12.6G  1.15G    18K  legacy
rpool/ROOT/s10s_u7wos_08  12.6G  1.15G  12.6G  /
rpool/dump                1.00G  1.15G  1.00G  -
rpool/export                40K  1.15G    22K  /export
rpool/export/home           18K  1.15G    18K  /export/home
rpool/ppsmtestbedzone1    6.67G  1.15G  6.67G  /rpool/ppsmtestbedzone1
rpool/swap                  10G  10.4G   736M  -
zpool                     89.2G  44.6G  78.1G  /zpool
zpool@071511              10.9G      -  77.6G  -
zpool@080611               102M      -  78.1G  -
zpool/ppsmzone1           28.0K  44.6G  28.0K  /rpool/PPSMzone1
zpool/ppsmzone2           28.0K  44.6G  28.0K  /zpool/ppsmzone2
bash-3.00# ll /rpool/PPSMzone1/
total 7
drwx------   2 root     root           2 Aug  6 13:09 .
drwxr-xr-x   7 root     root           7 Aug  6 13:16 ..
bash-3.00#

---------- Post updated 08-07-11 at 02:02 PM ---------- Previous update was 08-06-11 at 02:55 PM ----------

Looks like it's mounted on the wrong spot somehow. Thoughts on how to proceed? I want it mounted on /zpool and moved there.

Code:
bash-3.00# df -h /zpool/PPSMzone1
Filesystem             size   used  avail capacity  Mounted on
rpool/PPSMzone1         67G   7.3G   1.1G    87%    /zpool/PPSMzone1


Last edited by LittleLebowski; 08-07-2011 at 09:06 PM..
# 2  
Old 08-08-2011
Can you boot the zone after its zonepath was moved?

If you can boot the zone, unmount its dataset, and rename it to something else, and then mount the original dataset. It may work. Problem cause is this error:

cannot create ZFS dataset zpool/ppsmzone1: dataset already exists
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

LDoms disappeared

System: SPARC S7-2 Server; 2x8-core CPUs; 128Gb RAM; 2x600Gb HDD. I have been experimenting on the above system, using ldmp2v to create "clones" of my physical systems as LDoms on the server when there was an unscheduled power outage. After the system came back up I had lost my LDoms, although... (7 Replies)
Discussion started by: apmcd47
7 Replies

2. Post Here to Contact Site Administrators and Moderators

Threads disappeared

Dear admins, it seems that some threads or even users have recently (~ 2 days or so) disappeared. Examples: giuliangiuseppe and greycells. The latter asked me for the solution I provided earlier this week. What happened? Can you help? Regards Rüdiger (10 Replies)
Discussion started by: RudiC
10 Replies

3. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

4. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

5. Solaris

Moved zone now traceroute times out

I recently moved a Solaris 10 zone from one Solaris 10 global zone to another Solaris 10 global zone. Now traceroute doesn't work from the moved zone. I ran traceroute from the global zone and that successfully traced the route. :confused: I can ssh to the local zone from anywhere on the... (1 Reply)
Discussion started by: bluescreen
1 Replies

6. Solaris

HBA disappeared after reboot

Hello all I was configuring a SUN 2540 raid and after a reboot the hba`s is gone. There is no longer an entry in etc/path_to_inst for them (2 cards). I tried a reconfigure boot several times but it does not work. The hba`s is a SUN qlogic 2200 in x4240 server (AMD). Using solaris 10 update7.... (6 Replies)
Discussion started by: vettec3
6 Replies

7. UNIX Desktop Questions & Answers

MV'd a file, now it's disappeared...

I'm doing an assignment for a Unix course at school. I attempted to rename one of the shell programming questions from home to Q1 by typing: mv home Q1 It returned a message saying mv: cannot access home And now there's no home or Q1 in the directory. Please help! (8 Replies)
Discussion started by: slogged
8 Replies

8. Solaris

Help, my printers have disappeared

Hi all I have a really strange situation. This morning I ran lpstat -p and it didn't return any results. I ran lpstat -t and the scheduler is running. How strange, it seems all the printers have disappeared from my server. Can anyone perhaps explain to me how this is possible? (4 Replies)
Discussion started by: soliberus
4 Replies

9. UNIX for Dummies Questions & Answers

crontab disappeared

when i am doing the crontab editing i am using the setenv EDITOR /usr/bin/vi but their was an error i tried to put set EDITOR /usr/bin/vi and it wnet through and i started editing using the command crontab -e but somehow it is slow and displayed something like e300 and i tried to stop because it... (3 Replies)
Discussion started by: afuella
3 Replies
Login or Register to Ask a Question