root filesystem on softraid
I saw the commits for this a few weeks past and thought I'd give it a go. I have successfully built a RAID1 on two ~500GB physical drives. The root filesystem is on partition a. I shutdown the machine and replaced one of the disks with a fresh unused one to test the rebuild process. All seems to have went well, it is still rebuilding, but in checking status I see no serial in the status output. Should the serial number contain the duid? Is this expected or did I miss something? Maybe the serial relates to hardware raid? # bioctl -hv sd2 Volume Status Size Device softraid0 0 Rebuild 458G sd2 RAID1 20% done 0 Online 458G 0:0.0 noencl sd0d 'unknown serial' 1 Rebuild 458G 0:1.0 noencl sd1d 'unknown serial' My test machine is a Lenovo w500. Next up is a Sun v240. Thanks to the developers for this. I've been hoping for this for some time. I now just need to remember to update the kernel file on the a partitions when doing normal updates. Regards All Ray Just for the record: OpenBSD 5.0-current (GENERIC) #90: Sat Oct 22 20:51:52 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 8515162112 (8120MB) avail mem = 8274382848 (7891MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries) bios0: vendor LENOVO version 6FET79WW (3.09 ) date 10/02/2009 bios0: LENOVO 406227U acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA DMAR SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.42 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 265MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4619 serial 7236 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) cpu0: Enhanced SpeedStep 2793 MHz: speeds: 2801, 2800, 2133, 1600, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: msi pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Mobility Radeon HD 3650 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 00:21:86:a3:08:d0 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi azalia0: codecs: Conexant CX20561, Conexant/0x2c06, using Conexant CX20561 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi pci3 at ppb2 bus 3 iwn0 at pci3 dev 0 function 0 Intel WiFi Link 5100 rev 0x00: msi, MIMO 1T2R, MoW, address 00:21:5d:77:88:dc ppb3 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: msi pci4 at ppb3 bus 4 Intel Turbo Memory rev 0x11 at pci4 dev 0 function 0 not configured ppb4 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: msi pci5 at ppb4 bus 5 ppb5 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: msi pci6 at ppb5 bus 13 uhci3 at
job offer for you
Hello, new job offer for you http://www.universfreeads.com/job.php?job=41264 ..
Re: Multi-byte nvi
On Fri, Oct 28, 2011 at 07:41:20PM +0200, Sime Ramov wrote: Since OpenBSD libc now supports multi-byte characters, are there any forthcoming plans to bring this support to nvi? There is no editor in base which supports it and I don't want to install or use vim. You should read undeadly, in particular the 3rd part of the hackathon report.
Pointers on starting X, then run browser and when it quits, automatically shutdown the computer X
Good day, My task is to design a kiosk that will only display a web browser, Firefox for now (I'd also appreciate guide on other graphical web browser) when OpenBSD boots up. When the browser quits, the whole system should shutdown as well. Can you please point me to guides how to do this? My idea is for the whole system to run off a Live CD, but I'm quite lost how to start the X windowing system, then the web browser and then automatically shutdown the whole system after quitting web browser. I hope you can help me. Thank you very much.
Re: Multi-byte nvi
* Marc Espie es...@nerim.net [2011-10-29T10:53+0200]: You should read undeadly, in particular the 3rd part of the hackathon report. Missed that, thanks!
Oferta limitada solo por este mes
[IMAGE] [demime 1.01d removed an attachment of type image/jpeg which had a name of oferta nov1.jpg]
Re: Multi-byte nvi
* patsy open...@ethernull.org [2011-10-28T23:57+]: Check the latest post on http://undeadly.org (naddy@'s report) Nice to know this is on the radar, about the only thing I miss occasionally.
Re: Pointers on starting X, then run browser and when it quits, automatically shutdown the computer X
* Tito Mari Francis Escaqo titomarifran...@gmail.com [2011-10-29T17:50+0800]: My idea is for the whole system to run off a Live CD, but I'm quite lost how to start the X windowing system, then the web browser and then automatically shutdown the whole system after quitting web browser. As for the browser starting when X is started, this would do: echo exec firefox ~/.xinitrc When you quit Firefox, X will terminate, too. Your other requirements are a bit trickier though.
Re: Pointers on starting X, then run browser and when it quits, automatically shutdown the computer X
titomarifran...@gmail.com (Tito Mari Francis Escaqo), 2011.10.29 (Sat) 11:50 (CEST): My task is to design a kiosk that will only display a web browser, Firefox for now (I'd also appreciate guide on other graphical web browser) when OpenBSD boots up. When the browser quits, the whole system should shutdown as well. Can you please point me to guides how to do this? My idea is for the whole system to run off a Live CD, but I'm quite lost how to start the X windowing system, then the web browser and then automatically shutdown the whole system after quitting web browser. I hope you can help me. Thank you very much. see also: http://marc.info/?l=openbsd-miscm=108366855830141 http://marc.info/?l=openbsd-miscm=105658656000695 my task was to connect to a rdp server; tried all of the various approaches and this is how it finally worked: $ grep autologin /etc/ttys ttyC1 /usr/local/sbin/autologin.getty vt220 on secure $ cat autologin.getty #!/bin/sh -e TERM=vt220 /usr/local/sbin/autologin /dev/$1 /dev/$1 $ cat autologin #!/bin/sh -e exec su -l autologin $ grep autologin /etc/passwd autologin:bla:1001:1001::0:0:AUTOMATIC Login:/home/autologin:/bin/ksh $ cat autologin/.profile PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:. export PATH HOME TERM rm ~/.serverauth.* print -n sleep 3 # more important than you think /usr/X11R6/bin/startx -- -nolisten tcp shutdown -hp now exit $ cat autologin/.xinitrc /usr/X11R6/bin/xset -dpms /usr/X11R6/bin/xset s off /usr/X11R6/bin/xsetroot -solid black /usr/X11R6/bin/fvwm || /usr/X11R6/bin/xterm $ cat autologin/.fvwmrc AddToFunc InitFunction + I Exec exec run-your-app-and-than-shutdown.sh $ grep autologin /etc/sudoers autologin ALL= NOPASSWD: /sbin/shutdown -hp now autologin ALL= NOPASSWD: /sbin/reboot Bye, Marcus
A bunch of crap in /etc/mail WTF?
I am backing up my server before doing a fresh install. I saw all this crap in /etc/mail when tarring. Seems to be almost all in German. I have no idea where from or how any this got there. Some has recent dates, some are from 2009. I never saw any of this when I backed up /etc recently. I do not speak German and I have cleared all spam from my mail accounts. Chris Bennett
Re: OpenBSD 5.0 Shipping
Le 10/27/11 14:48, OpenBSD Europe a icrit : On Wed, Oct 26, 2011 at 2:44 PM, OpenBSD Europem...@openbsdeurope.com wrote: We have started shipping OpenBSD 5.0 :-) All orders have been shipped (only a couple remaining which will be shipped tomorrow). Received today, thanks !!! -- Thomas de Grivel http://b.lowh.net/billitch I must plunge into the water of doubt again and again.
mixerctl.conf(5), mixerctl(1)
In no of the above man pages stay (1) the format of mixerctl.conf or (2) where it must be placed. From the end of the page mixerctl.conf(5) I can infer /etc/mixerctl.conf is the place. Waht is the format? Name=value pairs separated by new lines? Rod.
Re: OpenBSD 5.0 Shipping
Le 10/29/11 17:50, Thomas de Grivel a icrit : Le 10/27/11 14:48, OpenBSD Europe a icrit : On Wed, Oct 26, 2011 at 2:44 PM, OpenBSD Europem...@openbsdeurope.com wrote: We have started shipping OpenBSD 5.0 :-) All orders have been shipped (only a couple remaining which will be shipped tomorrow). Received today, thanks !!! That was from Blowfish Unlimited actually ! -- Thomas de Grivel http://b.lowh.net/billitch I must plunge into the water of doubt again and again.
Re: mixerctl.conf(5), mixerctl(1)
On 10/29/2011 10:58 AM, sc...@web.de wrote: In no of the above man pages stay (1) the format of mixerctl.conf or (2) where it must be placed. From the end of the page mixerctl.conf(5) I can infer /etc/mixerctl.conf is the place. Waht is the format? Name=value pairs separated by new lines? Rod. Normally, what I do, is mixerctl /etc/mixerctl.conf and then just edit from there as needed. Shane
Re: mixerctl.conf(5), mixerctl(1)
Shane Harbour sh...@netsyssecurity.net wrote: Normally, what I do, is mixerctl /etc/mixerctl.conf and then just edit from there as needed. OK, thanks. I suppose, mixerctl.conf is placed in /etc and consist of name/value pairs as in output of the comand mixerctl, I suppose you edit only the values changing them. I supose that I must supose because these man pages are not precise enought. Rod.
Re: mixerctl.conf(5), mixerctl(1)
On 10/29/2011 01:56 PM, sc...@web.de wrote: Shane Harbour sh...@netsyssecurity.net wrote: Normally, what I do, is mixerctl /etc/mixerctl.conf and then just edit from there as needed. OK, thanks. I suppose, mixerctl.conf is placed in /etc and consist of name/value pairs as in output of the comand mixerctl, I suppose you edit only the values changing them. I supose that I must supose because these man pages are not precise enought. Rod. Pretty much. All the different settings (name/value) are outputted to the config file in /etc. Just edit it and mixerctl will use that file for it's config.
Re: mixerctl.conf(5), mixerctl(1)
On Sat, Oct 29, 2011 at 04:58:51PM +, sc...@web.de wrote: In no of the above man pages stay (1) the format of mixerctl.conf or (2) where it must be placed. From the end of the page mixerctl.conf(5) I can infer /etc/mixerctl.conf is the place. Waht is the format? Name=value pairs separated by new lines? Rod. by cosmic coincidence, ajacoutot this very day committed a stub /etc/mixerctl.conf file. in response to your questions: the omission of mixerctl.conf syntax was an omission on my part. i just fixed this in the man page a minute ago. as to where to put them, there is no neccessary inference. FILES describes it exactly. we could say so again, in the body of the page, but i think there would be no gain. jmc
Prepara la navidad con IberRegalos!
Prepara la Navidad con Iberregalos! En Iberregalos, lmder en Marketing Promocional, le ofrecemos una gran seleccisn de artmculos personalizados, a precios incomparables. Desde Paraguas, Bolmgrafos, Agendas, Libretas, Cuadernos, Blocs, Textil, Llaveros, Encendedores Toda una amplia gama de artmculos para ofrecer a sus clientes esta Navidad. A continuacisn compruebe: * Bolmgrafos desde 0,08 con la impresisn incluida * Encendedores desde 0,14 con la impresisn incluida * Agendas A5 desde 2,47 con la impresisn incluida * Paraguas desde 1,89 con la impresisn incluida Contamos con produccisn propia de cientos de artmculos, pudiendo ofrecer: * Alfombrillas de ratsn en PP y base en latex con impresisn en cuadricomma desde 0,46 * Tazas con impresisn en cuadricomma desde 1,71 * Imanes de neveras con impresisn en cuadricomma desde 0,30 * Calendarios de bolsillo con impresisn en cuadricomma desde 0,09 * Calendarios de Mesa con impresisn en cuadricomma desde 0,19 Realizamos presupuestos personalizados en todos los pedidos y ofrecemos una maqueta digital para que pueda visualizar como queda el artmculo con impresisn! Pmdanos ya un presupuesto gratis sin compromiso! Si haces tu pedido antes del 31 de Octubre, puedes disfrutar de un descuento EXTRA! Tenemos mas de 20.000 artmculos znicos y originales en stock! Vismtenos en www.iberregalos.com Esperamos tu visita Atentamente, El equipo de Iberregalos Si recibes este correo es porque tu email consta en nuestra base de datos. Este correo te da acceso a noticias sobre nuestros productos, promociones y ofertas especiales. Caso no desee recibir mas informacisn responda a este correo con BAJA en el asunto y su correo sera eliminado.
Re: root filesystem on softraid
On Fri, Oct 28, 2011 at 11:30:10PM -0700, Raymond Lillard wrote: ...All seems to have went well, it is still rebuilding, but in checking status I see no serial in the status output. Should the serial number contain the duid? Is this expected or did I miss something? Maybe the serial relates to hardware raid? # bioctl -hv sd2 Volume Status Size Device softraid0 0 Rebuild 458G sd2 RAID1 20% done 0 Online 458G 0:0.0 noencl sd0d 'unknown serial' 1 Rebuild 458G 0:1.0 noencl sd1d 'unknown serial' Regardless of rebuilding, this has been my experience. The DUID is a component of the disklabel. You will see it in your dmesg, and if you match it in your fstab(5), it will be mounted. 'unkown serial' is what the partitions used in a softraid device list use, when -v is added to bioctl -i.