[OmniOS-discuss] beadm activate error

2018-07-27 Thread Jürgen Bereuter
Hello,
i have a strange situation on a Dell R320 server with the omniosce 20180530 
(also with the r151026). I installed omnios on a usb stick inside the server, 
not on the hdds.
When i pkg update, the new boot environment is not activated, it starts with 
the original  boot environment. When i try to activate the new one with beadm, 
there is this error:

$ sudo beadm activate -v omnios-2   
 
be_do_installboot: device c5t0d0
be_do_installboot: install failed for device c5t0d0.
  Command: "/usr/sbin/installboot -m -f /tmp/.be.BDaasb/boot/pmbr 
/tmp/.be.BDaasb/boot/gptzfsboot /dev/rdsk/c5t0d0s1"
  Errors:
open: No such file or directory
Unable to open device /dev/rdsk/c5t0d0s1
be_run_cmd: command terminated with error status: 1
Unable to activate omnios-2.
Error installing boot files.


Obviously, there is no device with dev/rdsk/c5* on my system. When i change the 
device to the correct one,  beadm says there are problems with opening or 
reading the tmp directory. Although zpool says so:

  pool: rpool
 state: ONLINE
  scan: none requested
config:

NAMESTATE READ WRITE CKSUM
rpool   ONLINE   0 0 0
  c5t0d0ONLINE   0 0 0

errors: No known data errors

I exported and re-imported the rpool, which changed the device-name from c6* to 
c5*.
The usb was formated as fat32 with mbr, on a mac. Shpuld i use a special format 
for omnios/illumos?
Thanks!


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] How to create an installer/ bootable recovery iso from a running system?

2018-07-27 Thread Guenther Alka

Question:

Is it possible to create a bootable iso installer from a configured and 
at best online from a running system (that works then like the regular 
OS iso installer)?


Intention is to reinstall the fully configued Oi/OmniOS from this iso 
for disaster recovery with the help of the regular installer process.


I have done this in the past with a Linux appliance where this was part 
of the distribution and where you are able to create a bootable 
installer DVD on the fly to restore the system after a crash or to go 
back to a former state. Simple and genious. A bootable USB stick can be 
easily created from the iso with the Rufus tool.



Gea
@napp-it.org
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] beadm activate error

2018-07-27 Thread Jeff Stockett
FWIW - I ran into this problem with R151024 on an R720 also when trying to 
install on a USB stick - the install worked and would boot, but updating would 
not.

From: OmniOS-discuss  On Behalf Of 
Jürgen Bereuter
Sent: Friday, July 27, 2018 12:31 AM
To: omnios-discuss@lists.omniti.com
Subject: [OmniOS-discuss] beadm activate error

Hello,
i have a strange situation on a Dell R320 server with the omniosce 20180530 
(also with the r151026). I installed omnios on a usb stick inside the server, 
not on the hdds.
When i pkg update, the new boot environment is not activated, it starts with 
the original  boot environment. When i try to activate the new one with beadm, 
there is this error:

$ sudo beadm activate -v omnios-2
be_do_installboot: device c5t0d0
be_do_installboot: install failed for device c5t0d0.
  Command: "/usr/sbin/installboot -m -f /tmp/.be.BDaasb/boot/pmbr 
/tmp/.be.BDaasb/boot/gptzfsboot /dev/rdsk/c5t0d0s1"
  Errors:
open: No such file or directory
Unable to open device /dev/rdsk/c5t0d0s1
be_run_cmd: command terminated with error status: 1
Unable to activate omnios-2.
Error installing boot files.



Obviously, there is no device with dev/rdsk/c5* on my system. When i change the 
device to the correct one,  beadm says there are problems with opening or 
reading the tmp directory. Although zpool says so:

  pool: rpool
 state: ONLINE
  scan: none requested
config:

NAMESTATE READ WRITE CKSUM
rpool   ONLINE   0 0 0
  c5t0d0ONLINE   0 0 0

errors: No known data errors

I exported and re-imported the rpool, which changed the device-name from c6* to 
c5*.
The usb was formated as fat32 with mbr, on a mac. Shpuld i use a special format 
for omnios/illumos?
Thanks!


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss