Zone BEADM destroy bootenv failed


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Zone BEADM destroy bootenv failed
# 1  
Old 06-13-2018
Zone BEADM destroy bootenv failed

Need assistance in destroying unbootable environment

Code:
solaris-0          !R    -          16.60G static 2015-12-16 17:17
solaris-1          !R    -          282.0K static 2016-05-11 16:21
solaris-2          !R    -          14.56G static 2017-03-14 16:36
solaris-2-backup-1 !     -          194.0K static 2018-02-21 14:39
solaris-3          NR    /          3.44G  static 2018-04-19 14:47

Code:
#beadm destory solaris-0

Result
Code:
root@hrappt53:~# beadm destroy solaris-0
Are you sure you want to destroy solaris-0?  This action cannot be undone(y/[n]): y
be_destroy: Operation not supported on active unbootable BE
Unable to destroy solaris-0.
Operation not supported for zone BE

Any inputs highly appreciated

Last edited by ajayram_arya; 06-13-2018 at 03:05 PM.. Reason: update
# 2  
Old 06-14-2018
What is your release ?

In most cases, those are destroyed from the global zone.
Did you try that ?

Regards
Peasant.
# 3  
Old 07-23-2018
Solution .

Code:
root@hrappt53:~# beadm list
BE                 Flags Mountpoint Space  Policy Created
--                 ----- ---------- -----  ------ -------
solaris-0          !R    -          16.60G static 2015-12-16 17:17
solaris-1          !R    -          282.0K static 2016-05-11 16:21
solaris-2          !R    -          14.56G static 2017-03-14 16:36
solaris-2-backup-1 !     -          194.0K static 2018-02-21 14:39
solaris-3          NR    /          3.44G  static 2018-04-19 14:47

root@hrappt53:/# zfs set org.opensolaris.libbe:active=off rpool/ROOT/solaris-0
root@hrappt53:/# beadm destroy solaris-0
Are you sure you want to destroy solaris-0?  This action cannot be undone(y/[n]): y
root@hrappt53:/#

root@hrappt53:~# beadm list
BE                 Flags Mountpoint Space  Policy Created
--                 ----- ---------- -----  ------ -------
solaris-1          !R    -          282.0K static 2016-05-11 16:21
solaris-2          !R    -          33.56G static 2017-03-14 16:36
solaris-2-backup-1 !     -          194.0K static 2018-02-21 14:39
solaris-3          NR    /          3.44G  static 2018-04-19 14:47

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Beadm create -p on another pool - making sense of it

Hi all, I am trying out Solaris 11.3 Realize the option of -p when using beadm that i can actually create another boot environment on another pool. root@Unicorn6:~# beadm create -p mypool solaris-1 root@Unicorn6:~# beadm list -a BE/Dataset/Snapshot Flags... (1 Reply)
Discussion started by: javanoob
1 Replies

3. What is on Your Mind?

How to destroy one's business...?

I don't know enough about this subject but this is for the big guns... Yesterday:- Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent (5 Replies)
Discussion started by: wisecracker
5 Replies

4. 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

5. Emergency UNIX and Linux Support

Solaris zone attach failed

I have a non global zone in server1, its name is server1-zone1. I am migrating this non global zone to server2 -- > I have already detached zone from server1, copied all contents from /zones/server1-zone1 of server1 to /zone/server1-zone1/root of psobip01 ( I intentionally changing root path in... (0 Replies)
Discussion started by: solaris_1977
0 Replies

6. 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

7. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

8. High Performance Computing

Non global zone check failed error

Hi All, When i was installing patches in the Solaris 10 machine. It does not install properly and gave the below message =========================================== Approved patches will be installed in this order: 126868-02 Preparing checklist for non-global zone check... Checking... (1 Reply)
Discussion started by: jegaraman
1 Replies

9. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies
Login or Register to Ask a Question