[OmniOS-discuss] booting from a raidz

2014-06-23 Thread Nicolas Di Gregorio
Hi,

I'm wanting to try and learn omnios. I've a linux background.

This question can seems odd but is it possible to boot from a raidz pool?

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


Re: [OmniOS-discuss] booting from a raidz

2014-06-23 Thread Valrhona
Is there a particular reason that you want to do this? OmniOS takes up
just a few gigabytes, and boots just fine (for me) off a USB stick. It
makes to mirror that kind of configuration, and there are advantages
to having a dedicated boot drive (since the zpool will consume the
whole disk). So I don't have an obvious usage case for a RAIDZ pool
for the boot rpool, but I very well may be missing something.

On Mon, Jun 23, 2014 at 2:18 AM, Nicolas Di Gregorio
nicolas.digrego...@gmail.com wrote:
 Hi,

 I'm wanting to try and learn omnios. I've a linux background.

 This question can seems odd but is it possible to boot from a raidz pool?

 Kind regards

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

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


[OmniOS-discuss] any way to get virtual consoles?

2014-06-23 Thread Mayuresh Kathe
hello,

i mostly use omnios to better understand unix administration with a
focus on solaris based systems.

most of my previous work has been under linux and various bsd systems.

there used to be provision to have virtual consoles which are typically
cycled through by a key-combination (ctrl + alt + fnx).

such functionality probably does not exist under omnios.
i can understand that the intended use is not as a workstation 'os',
and hence it's supposed to be accessed only over the network (ssh).
but, it would be kind-a nice to have virtual consoles, especially for
those situations when there is no alternative but to be at the physical
console and manage the system.

is there any configuration file i can edit to get that functionality?
maybe add in some package?
or would stuff like 'tmux' be the only option? it is kind-a painful. ;)

thanks,

~mayuresh

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


Re: [OmniOS-discuss] any way to get virtual consoles?

2014-06-23 Thread Volker A. Brandt
Hello Mayuresh!


 there used to be provision to have virtual consoles which are
 typically cycled through by a key-combination (ctrl + alt + fnx).

Solaris-based systems typically use Alt-FNx.

 such functionality probably does not exist under omnios.

What makes you think that?

 is there any configuration file i can edit to get that
 functionality?

Do a

  # svcs console-login

to look at the available services, and then enable the virtual consoles
that you want.  If it is the first virtual console, you also have to
enable the vtdaemon service.

Example:

  # uname -a
  SunOS nfs 5.11 omnios-b281e50 i86pc i386 i86pc

  # svcs console-login
  STATE  STIMEFMRI
  disabled   15:45:47 svc:/system/console-login:vt2
  disabled   15:45:47 svc:/system/console-login:vt3
  disabled   15:45:47 svc:/system/console-login:vt4
  disabled   15:45:47 svc:/system/console-login:vt5
  disabled   15:45:47 svc:/system/console-login:vt6
  online 15:45:54 svc:/system/console-login:default

  # svcadm enable vtdaemon

  # svcs console-login vtdaemon
  STATE  STIMEFMRI
  disabled   15:45:47 svc:/system/console-login:vt3
  disabled   15:45:47 svc:/system/console-login:vt4
  disabled   15:45:47 svc:/system/console-login:vt5
  disabled   15:45:47 svc:/system/console-login:vt6
  online 15:45:54 svc:/system/console-login:default
  online  9:26:32 svc:/system/vtdaemon:default
  online  9:26:32 svc:/system/console-login:vt2


HTH -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt  Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

When logic and proportion have fallen sloppy dead
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] any way to get virtual consoles?

2014-06-23 Thread Volker A. Brandt
   # svcadm enable vtdaemon

Missing the svcadm enable console-login:vt2 command here.

   # svcs console-login vtdaemon
[...]


Regards -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt  Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

When logic and proportion have fallen sloppy dead
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] any way to get virtual consoles?

2014-06-23 Thread Mayuresh Kathe
yes, did it, followed your instructions to the last letter.

no effect.

  # svcs console-login vtdaemon

shows the word online for all of the virtual terminals i started.

anything i might have done wrong?

~mayuresh


On Mon, Jun 23, 2014 at 09:32:17AM +0200, Volker A. Brandt wrote:
# svcadm enable vtdaemon
 
 Missing the svcadm enable console-login:vt2 command here.
 
# svcs console-login vtdaemon
 [...]
 
 
 Regards -- Volker
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] any way to get virtual consoles?

2014-06-23 Thread Volker A. Brandt
Mayuresh Kathe writes:
 yes, did it, followed your instructions to the last letter.
 
 no effect.

So I tried it myself, just for you. :-)

I forgot that by default, the hotkey switching is disabled.
Don't ask me why... I think it is stupid.

So, you need to set the SMF property for the hotkeys:

  # svccfg -s vtdaemon setprop options/hotkeys=true

  # svcadm refresh vtdaemon

  # svcadm restart vtdaemon

  # svcprop vtdaemon | grep hotkey

options/hotkeys boolean true

... then use Ctrl+Alt+Fn to login, and:

  # who
  root pts/1Jun 23 10:29 (192.168.111.52)
  root vt/2 Jun 23 10:30
  root vt/4 Jun 23 10:39
  root vt/3 Jun 23 10:39
  root vt/5 Jun 23 10:39

:-)

If you don't want to enter a password every time you switch
virtual consoles, you also need to set the value for secure
to false:

  # svccfg -s vtdaemon setprop options/secure=false



Good luck -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt  Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

When logic and proportion have fallen sloppy dead
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] any way to get virtual consoles?

2014-06-23 Thread Mayuresh Kathe
yes, did it, and now everything working just fine. :)
thanks for this.

~mayuresh

On Mon, Jun 23, 2014 at 10:45:04AM +0200, Volker A. Brandt wrote:
 Mayuresh Kathe writes:
  yes, did it, followed your instructions to the last letter.
  
  no effect.
 
 So I tried it myself, just for you. :-)
 
 I forgot that by default, the hotkey switching is disabled.
 Don't ask me why... I think it is stupid.
 
 So, you need to set the SMF property for the hotkeys:
 
   # svccfg -s vtdaemon setprop options/hotkeys=true
 
   # svcadm refresh vtdaemon
 
   # svcadm restart vtdaemon
 
   # svcprop vtdaemon | grep hotkey
 
 options/hotkeys boolean true
 
 ... then use Ctrl+Alt+Fn to login, and:
 
   # who
   root pts/1Jun 23 10:29 (192.168.111.52)
   root vt/2 Jun 23 10:30
   root vt/4 Jun 23 10:39
   root vt/3 Jun 23 10:39
   root vt/5 Jun 23 10:39
 
 :-)
 
 If you don't want to enter a password every time you switch
 virtual consoles, you also need to set the value for secure
 to false:
 
   # svccfg -s vtdaemon setprop options/secure=false
 
 
 
 Good luck -- Volker
 -- 
 
 Volker A. Brandt   Consulting and Support for Oracle Solaris
 Brandt  Brandt Computer GmbH   WWW: http://www.bb-c.de/
 Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
 Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgr??e: 46
 Gesch?ftsf?hrer: Rainer J.H. Brandt und Volker A. Brandt
 
 When logic and proportion have fallen sloppy dead
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss