ERROR: ZFS pool <Pool_Name> does not support boot environments

Hello,

I am a newbie to the world of Solaris. so please ignore if I make any silly point.

Recently I was trying to migrate UFS file system to ZFS on Solaris 10 (x86 platform).

I have followed standard procedures/documents available online

_http://docs.oracle.com/cd/E19253-01/821-0438/ggeej/index.html

Steps:

  • Create a zpool
  • fire lucreate command

Error I am getting is :

ERROR: ZFS pool <rpool> does not support boot environments.

I have relabeled my disk to SMI label using "format -e" command after creating zpool. But still I am not able to pass through this lucreate step.

Details from my test is below.

bash 3.2# zpool create rpool c1t5d0

<<Used Format -e command to overwrite SMI label using format -e command>> 

bash-3.2# lucreate -c c0t0d0s0 -n newzfsBE -p rpool
Determining types of file systems supported
Validating file system requests
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Checking GRUB menu...
Analyzing system configuration.
No name for current boot environment.
Current boot environment is named <c0t0d0s0>.
Creating initial configuration for primary boot environment <c0t0d0s0>.
INFORMATION: No BEs are configured on this system.
The device </dev/dsk/c0t0d0s0> is not a root device for any boot environment; cannot get BE ID.
PBE configuration successful: PBE name <c0t0d0s0> PBE Boot Device </dev/dsk/c0t0d0s0>.
ERROR: ZFS pool <rpool> does not support boot environments
WARNING: The boot environment definition file </etc/lutab> was removed because the PBE was not successfully defined and created.

NOTE: I am performing this test on a VM (solaris 10) created on virtualbox.

Kindly suggest what else can be checked or done.

Thanks

https://docs.oracle.com/cd/E19253-01/819-5461/gijoc/index.html

Your config:

bash 3.2# zpool create rpool c1t5d0xx
1 Like

After creating zpool I have created SMI label on top pf the disk I used for my pool i.e. c1t5d0 (Overwriting EFI label created while creating zpool)

Is there anything which I missed ?

Did you read the link? Have you tried to create the zpool on a slice?

1 Like

On the first go it was not clear to me that rpool needs to be created on a slice..

After creating my pool on a slice my issue is Resolved.!

Thanks DukeNuke for your help. :slight_smile: :b: