Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Flipchan
Proxmox is awesome i have trimmed My so i only run A proxmox kernel with kvm

Oliver Marugg  skrev: (8 mars 2017 16:29:24 CET)
>I use Proxmox for VMs, it is KVM based with possibility for LXC.
>OpenBSD, BSDs in general works as proxmox vms. I use it mainly for
>education purposes.
>
>On 8 Mar 2017, at 16:07, Markus Rosjat wrote:
>
>> Hi there,
>>
>> just like to get opinions or examples of OpenBSd as guest on a
>> hypervisor. I had it running on a VMware Host but since the free
>> version is missing quiet a lot features I was wondering where to look
>
>> at. I also tried Hyper-V from MS and this looks qiet ok. So if the
>> "virtual" guys like to share there expericence it would be nice. Im
>> open for every thing so KVM or BHive are points Ive looked at but
>> haven't tried for now.
>>
>> thanks for the input
>>
>> regards
>> --
>> Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de
>>
>> G+H Webservice GbR Gorzolla, Herrmann
>> Königsbrücker Str. 70, 01099 Dresden
>>
>> http://www.ghweb.de
>> fon: +49 351 8107220   fax: +49 351 8107227
>>
>> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss!
>> Before you print it, think about your responsibility and commitment
>to
>> the ENVIRONMENT

--
Sincerly flipchan - LayerProx dev



Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Infoomatic
Hi,

I have not experienced any problems virtualizing OpenBSD with KVM, Xen,
HyperV, VMware.
I have done various performance tests over the years and found KVM to be the
best performing, most stable platform for our environment.
Those non-scientific tests simulated some of our typical workloads - web
platforms (php,js,python), databases, filesystem, running various
stuff in a single VM up to 8 different VMs... they were performed on entry
level server hardware though: maximum 2 CPU sockets, max 128GB
RAM with max 8 SSD/SAS disks.

Haven't tested bhyve yet, but I don't expect it to be faster or more stable
than KVM (if you ignore frequent kernel updates ;-)

regards



> Gesendet: Mittwoch, 08. März 2017 um 16:07 Uhr
> Von: "Markus Rosjat" 
> An: "misc@openbsd.org" 
> Betreff: Running OpenBSD on Hypervisor
>
> Hi there,
>
> just like to get opinions or examples of OpenBSd as guest on a
> hypervisor. I had it running on a VMware Host but since the free version
> is missing quiet a lot features I was wondering where to look at. I also
> tried Hyper-V from MS and this looks qiet ok. So if the "virtual" guys
> like to share there expericence it would be nice. Im open for every
> thing so KVM or BHive are points Ive looked at but haven't tried for now.
>
> thanks for the input
>
> regards
> --



Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Phil Eaton
> What do you mean with "does not yet have full support"?

> We have all relevant virtio drivers.

Could you provide more details, dmesg?

I'm glad to hear it should be working. I didn't spend a lot of time trying
to get virtio devices working when I couldn't find my disks. But all the
expected devices did 'just work' when I switched to full virt. I'll post a
dmesg later when I get some time.

> Your information is obsolete.

> OpenBSD has great Hyper-V drivers. They're awesome.

> The only missing one is the PV disk driver and you have to stick with
wd(4) for now.

Also great to hear! Sorry for the misinformation.

> Offering free accounts? ;)

Sorta. :) There's a free alpha environment while we're working on a new API
and manager: https://alpha.linode.com.

On Wed, Mar 8, 2017 at 10:52 AM, Markus Rosjat  wrote:

> Hi,
>
> ok it's not nice to ask general things I got it  :(
>
> So basically I like to know what kind of Hypervisors are used out there
> and work for people. With that input I can look more closely into  some of
> the  Options and check out if the fit my needs. I was not fully aware that
> there is a OpenBSD version too. Since I plan to just run OpenBSd guest I
> take a look there too.
>
> In the end I want to figure out which of these options come close to
> things I want to do. So if VMware wants me to pay a shitload of money just
> to get replication without inventing the wheel again to make it work on a
> free version I like to take a look at hypervisor that can do it or is at
> least not that costly.
>
> I hope this explains my question somewhat more :(
>
> sorry for the bad english Im just a german and we are mainly evil then
> skilled at languages :)
>
>
> Am 08.03.2017 um 16:35 schrieb Reyk Floeter:
>
>> Hi,
>>
>> what exactly is your question?
>>
>> Nowadays OpenBSD runs by default on:
>>
>> - OpenBSD vmm
>> - Xen (HVM modes)
>> - Hyper-V
>> - VMware
>> - KVM
>> - VirtualBox
>> - bhyve
>> - qemu (also aarch64 and others)
>> - sun4v logical domains
>> - ...
>>
>> We have PV drivers for all of them in GENERIC.
>>
>> Reyk
>>
>> Am 08.03.2017 um 07:07 schrieb Markus Rosjat :
>>>
>>> Hi there,
>>>
>>> just like to get opinions or examples of OpenBSd as guest on a
>>> hypervisor. I
>>>
>> had it running on a VMware Host but since the free version is missing
>> quiet a
>> lot features I was wondering where to look at. I also tried Hyper-V from
>> MS
>> and this looks qiet ok. So if the "virtual" guys like to share there
>> expericence it would be nice. Im open for every thing so KVM or BHive are
>> points Ive looked at but haven't tried for now.
>>
>>>
>>> thanks for the input
>>>
>>> regards
>>> --
>>> Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de
>>>
>>> G+H Webservice GbR Gorzolla, Herrmann
>>> Königsbrücker Str. 70, 01099 Dresden
>>>
>>> http://www.ghweb.de
>>> fon: +49 351 8107220   fax: +49 351 8107227
>>>
>>> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
>>>
>> you print it, think about your responsibility and commitment to the
>> ENVIRONMENT
>>
>>
> --
> Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de
>
> G+H Webservice GbR Gorzolla, Herrmann
> Königsbrücker Str. 70, 01099 Dresden
>
> http://www.ghweb.de
> fon: +49 351 8107220   fax: +49 351 8107227
>
> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
> you print it, think about your responsibility and commitment to the
> ENVIRONMENT
>
>


--
Phil Eaton



Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Markus Rosjat

Hi,

ok it's not nice to ask general things I got it  :(

So basically I like to know what kind of Hypervisors are used out there 
and work for people. With that input I can look more closely into  some 
of the  Options and check out if the fit my needs. I was not fully aware 
that there is a OpenBSD version too. Since I plan to just run OpenBSd 
guest I take a look there too.


In the end I want to figure out which of these options come close to 
things I want to do. So if VMware wants me to pay a shitload of money 
just to get replication without inventing the wheel again to make it 
work on a free version I like to take a look at hypervisor that can do 
it or is at least not that costly.


I hope this explains my question somewhat more :(

sorry for the bad english Im just a german and we are mainly evil then 
skilled at languages :)


Am 08.03.2017 um 16:35 schrieb Reyk Floeter:

Hi,

what exactly is your question?

Nowadays OpenBSD runs by default on:

- OpenBSD vmm
- Xen (HVM modes)
- Hyper-V
- VMware
- KVM
- VirtualBox
- bhyve
- qemu (also aarch64 and others)
- sun4v logical domains
- ...

We have PV drivers for all of them in GENERIC.

Reyk


Am 08.03.2017 um 07:07 schrieb Markus Rosjat :

Hi there,

just like to get opinions or examples of OpenBSd as guest on a hypervisor. I

had it running on a VMware Host but since the free version is missing quiet a
lot features I was wondering where to look at. I also tried Hyper-V from MS
and this looks qiet ok. So if the "virtual" guys like to share there
expericence it would be nice. Im open for every thing so KVM or BHive are
points Ive looked at but haven't tried for now.


thanks for the input

regards
--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before

you print it, think about your responsibility and commitment to the
ENVIRONMENT



--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before 
you print it, think about your responsibility and commitment to the 
ENVIRONMENT




Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Jiri B
On Wed, Mar 08, 2017 at 07:35:15AM -0800, Reyk Floeter wrote:
> We have PV drivers for all of them in GENERIC.
> 
> Reyk

If nothing has changed stay away from virtio-scsi disks.
See https://marc.info/?l=openbsd-misc&m=142652469207347&w=2

j.



Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Reyk Floeter
> Am 08.03.2017 um 07:22 schrieb Phil Eaton :
>
> I have OpenBSD (and FreeBSD) running on Linode VMs (on a KVM host) and it
> works well enough. I'm more than hazy on the details, but the issue as far
> as I'm aware is that OpenBSD does not yet have full support for virtio. So
> I need to use full virtualization for it to recognize my disks and network
> devices. Presumably this affects performance, but I haven't gotten into
> testing it much and haven't noticed it in my (admittedly light) use so far.
>

What do you mean with "does not yet have full support"?

We have all relevant virtio drivers.

Could you provide more details, dmesg?

> At home I have FreeBSD running on Hyper-V and it works well too. But
> FreeBSD has better support for the virtio drivers so I'd expect it to
> perform better in both cases.
>

Your information is obsolete.

OpenBSD has great Hyper-V drivers. They're awesome.

The only missing one is the PV disk driver and you have to stick with wd(4)
for now.

> Disclosure: I work for Linode

Offering free accounts? ;)

Reyk

>> On Wed, Mar 8, 2017 at 10:07 AM, Markus Rosjat  wrote:
>>
>> Hi there,
>>
>> just like to get opinions or examples of OpenBSd as guest on a hypervisor.
>> I had it running on a VMware Host but since the free version is missing
>> quiet a lot features I was wondering where to look at. I also tried
Hyper-V
>> from MS and this looks qiet ok. So if the "virtual" guys like to share
>> there expericence it would be nice. Im open for every thing so KVM or
BHive
>> are points Ive looked at but haven't tried for now.
>>
>> thanks for the input
>>
>> regards
>> --
>> Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de
>>
>> G+H Webservice GbR Gorzolla, Herrmann
>> Königsbrücker Str. 70, 01099 Dresden
>>
>> http://www.ghweb.de
>> fon: +49 351 8107220   fax: +49 351 8107227
>>
>> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
>> you print it, think about your responsibility and commitment to the
>> ENVIRONMENT
>>
>>
>
>
> --
> Phil Eaton



Re: File Server with OpenBSD?

2017-03-08 Thread Solène Rapenne

Le 2017-03-08 16:25, Raimo Niskanen a écrit :

On Tue, Mar 07, 2017 at 05:55:08PM +0100, Solène Rapenne wrote:

Le 2017-03-07 17:29, Roderick a écrit :
For data integrity, you may use sysutils/bitrot to check for data
integrity (bit rot).


mtree(8) with -K sha1digest might be enough, and is in the base
system.


It's a bit more complicated. You have a bitrot  if the file checksum 
changed

AND the modification time hasn't changed. Files that are updated will be
reported as corrupted, which may be boring.

If you have archiving static data, the mtree method works though.



permissions problems after update

2017-03-08 Thread Allan Streib
Hi all,

I'm seeing this on two systems. Yesterday, I tried to update errata
using mtier's "openup" utility which I've used in the past. I only
mention it becase I noticed these problems at the same time; not sure
there is a cause-effect here. A third system was updated without issue.

The problem was noticed when I ran openup:

$ doas openup
===> Checking for openup update
===> Installing/updating binpatch(es)
quirks-2.241 signed on 2016-07-26T16:56:10Z
binpatch60-amd64-httpd-1.0: ok
Error from 
https://stable.mtier.org/updates/6.0/amd64/binpatch60-amd64-iked-1.0.tgz
Can't exec "/usr/bin/ftp": Permission denied at 
/usr/libdata/perl5/OpenBSD/PackageRepository.pm line 641.
Fatal error: Can't run /usr/bin/ftp: Permission denied
 at /usr/libdata/perl5/OpenBSD/PackageRepository.pm line 641.
Can't find CONTENTS from 
https://stable.mtier.org/updates/6.0/amd64/binpatch60-amd64-iked-1.0.tgz
--- binpatch60-amd64-iked-1.0 ---
Can't install binpatch60-amd64-iked-1.0: bad package
Fatal error: Ustar 
[https://stable.mtier.org/updates/6.0/amd64/binpatch60-amd64-kernel-3.0.tgz][?]:
 Error
while reading header
 at /usr/libdata/perl5/OpenBSD/Ustar.pm line 89.

I checked the basics, I can run /usr/bin/ftp as myself. I noticed that
the function in PackageRepository.pm tries to run ftp after first
executing a function "$self->drop_privileges_and_setup_env;"

Now, I find that all sorts of things that involve a change in effective
UID do not work.

Users cannot log in because sshd cannot read their authorizsed_key file
as the owner:

debug1: temporarily_use_uid: 1002/1002 (e=0/0)
debug1: trying public key file /home/im3/.ssh/authorized_keys
debug1: Could not open authorized keys '/home/im3/.ssh/authorized_keys': 
Permission denied

Yet the file exists and its owned by user (im3, user 1002 in this
example).

# ls -l /home/im3/.ssh/authorized_keys
-rw---  1 im3  im3  413 Nov 10 11:49 /home/im3/.ssh/authorized_keys

# cat /home/im3/.ssh/authorized_keys
ssh-rsa B3NzaC1yc2EBIwAAAQEA99 [...]

# doas -u im3 cat /home/im3/.ssh/authorized_keys
doas: cat: Permission denied

# su im3
su: /bin/ksh: Permission denied

Interestingly, I can still log in, but my account is in the "wheel"
group. If I add im3 to the "wheel" group I don't see these issues and
ssh logins work for that user.

# usermod -G wheel im3 
# doas -u im3 cat /home/im3/.ssh/authorized_keys  
ssh-rsa B3NzaC1yc2EBIwAAAQEA99 [...]

Ideas?

Allan



Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Reyk Floeter
Hi,

what exactly is your question?

Nowadays OpenBSD runs by default on:

- OpenBSD vmm
- Xen (HVM modes)
- Hyper-V
- VMware
- KVM
- VirtualBox
- bhyve
- qemu (also aarch64 and others)
- sun4v logical domains
- ...

We have PV drivers for all of them in GENERIC.

Reyk

> Am 08.03.2017 um 07:07 schrieb Markus Rosjat :
>
> Hi there,
>
> just like to get opinions or examples of OpenBSd as guest on a hypervisor. I
had it running on a VMware Host but since the free version is missing quiet a
lot features I was wondering where to look at. I also tried Hyper-V from MS
and this looks qiet ok. So if the "virtual" guys like to share there
expericence it would be nice. Im open for every thing so KVM or BHive are
points Ive looked at but haven't tried for now.
>
> thanks for the input
>
> regards
> --
> Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de
>
> G+H Webservice GbR Gorzolla, Herrmann
> Königsbrücker Str. 70, 01099 Dresden
>
> http://www.ghweb.de
> fon: +49 351 8107220   fax: +49 351 8107227
>
> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
you print it, think about your responsibility and commitment to the
ENVIRONMENT



Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Sterling Archer
On Wed, Mar 8, 2017 at 4:07 PM, Markus Rosjat  wrote:

> Hi there,
>
> just like to get opinions or examples of OpenBSd as guest on a hypervisor.
> I had it running on a VMware Host but since the free version is missing
> quiet a lot features I was wondering where to look at. I also tried Hyper-V
> from MS and this looks qiet ok. So if the "virtual" guys like to share
> there expericence it would be nice. Im open for every thing so KVM or BHive
> are points Ive looked at but haven't tried for now.
>
> thanks for the input
>
> regards
> --
> Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de
>
> G+H Webservice GbR Gorzolla, Herrmann
> Königsbrücker Str. 70, 01099 Dresden
>
> http://www.ghweb.de
> fon: +49 351 8107220   fax: +49 351 8107227
>
> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
> you print it, think about your responsibility and commitment to the
> ENVIRONMENT
>
>
Running 6.0 stable as a build host on a KVM VM here, virtio for disks and
NIC.
Had a few problems with keyboard input in the virt-manager console, but
since
I mostly ssh to the VM, I can live with that.
Virtio for disks and NIC worked in 6.0 release too.

Here's the dmesg:

OpenBSD 6.0-stable (GENERIC.MP) #1: Sun Feb 26 01:19:55 CET 2017
me@obsd60vm:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4278030336 (4079MB)
avail mem = 4143902720 (3951MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf69c0 (10 entries)
bios0: vendor SeaBIOS version "1.9.3-1.fc25" date 04/01/2014
bios0: QEMU Standard PC (i440FX + PIIX, 1996)
acpi0 at bios0: rev 0
acpi0: sleep states S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Core Processor (Haswell, no TSX), 3500.48 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,SS,HTT,SS
E3,PCLMUL,VMX,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE
,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,P
AGE1GB,LONG,LAHF,ABM,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,ARAT
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 999MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel Core Processor (Haswell, no TSX), 3500.10 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,SS,HTT,SS
E3,PCLMUL,VMX,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE
,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,P
AGE1GB,LONG,LAHF,ABM,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,ARAT
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu1: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel Core Processor (Haswell, no TSX), 3500.10 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,SS,HTT,SS
E3,PCLMUL,VMX,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE
,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,P
AGE1GB,LONG,LAHF,ABM,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,ARAT
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu2: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu2: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel Core Processor (Haswell, no TSX), 3503.92 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,SS,HTT,SS
E3,PCLMUL,VMX,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE
,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,P
AGE1GB,LONG,LAHF,ABM,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,ARAT
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu3: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu3: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpicpu2 at acpi0: C1(@1 halt!)
acpicpu3 at acpi0: C1(@1 halt!)
"ACPI0006" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0F13" at acpi0 not configured
"PNP0700" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0A06" at acpi

Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Oliver Marugg
I use Proxmox for VMs, it is KVM based with possibility for LXC. 
OpenBSD, BSDs in general works as proxmox vms. I use it mainly for 
education purposes.


On 8 Mar 2017, at 16:07, Markus Rosjat wrote:


Hi there,

just like to get opinions or examples of OpenBSd as guest on a 
hypervisor. I had it running on a VMware Host but since the free 
version is missing quiet a lot features I was wondering where to look 
at. I also tried Hyper-V from MS and this looks qiet ok. So if the 
"virtual" guys like to share there expericence it would be nice. Im 
open for every thing so KVM or BHive are points Ive looked at but 
haven't tried for now.


thanks for the input

regards
--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! 
Before you print it, think about your responsibility and commitment to 
the ENVIRONMENT




Re: File Server with OpenBSD?

2017-03-08 Thread Raimo Niskanen
On Tue, Mar 07, 2017 at 05:55:08PM +0100, Solène Rapenne wrote:
> Le 2017-03-07 17:29, Roderick a écrit :
> For data integrity, you may use sysutils/bitrot to check for data 
> integrity (bit rot).

mtree(8) with -K sha1digest might be enough, and is in the base
system.

> With OpenBSD, you won't get snapshots, on-the-fly compression etc...
> 
> Don't forget backups, that the most important thing for your file server 
> :-)

Oh yes!

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: Running OpenBSD on Hypervisor

2017-03-08 Thread Phil Eaton
I have OpenBSD (and FreeBSD) running on Linode VMs (on a KVM host) and it
works well enough. I'm more than hazy on the details, but the issue as far
as I'm aware is that OpenBSD does not yet have full support for virtio. So
I need to use full virtualization for it to recognize my disks and network
devices. Presumably this affects performance, but I haven't gotten into
testing it much and haven't noticed it in my (admittedly light) use so far.

At home I have FreeBSD running on Hyper-V and it works well too. But
FreeBSD has better support for the virtio drivers so I'd expect it to
perform better in both cases.

Disclosure: I work for Linode.

On Wed, Mar 8, 2017 at 10:07 AM, Markus Rosjat  wrote:

> Hi there,
>
> just like to get opinions or examples of OpenBSd as guest on a hypervisor.
> I had it running on a VMware Host but since the free version is missing
> quiet a lot features I was wondering where to look at. I also tried Hyper-V
> from MS and this looks qiet ok. So if the "virtual" guys like to share
> there expericence it would be nice. Im open for every thing so KVM or BHive
> are points Ive looked at but haven't tried for now.
>
> thanks for the input
>
> regards
> --
> Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de
>
> G+H Webservice GbR Gorzolla, Herrmann
> Königsbrücker Str. 70, 01099 Dresden
>
> http://www.ghweb.de
> fon: +49 351 8107220   fax: +49 351 8107227
>
> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
> you print it, think about your responsibility and commitment to the
> ENVIRONMENT
>
>


--
Phil Eaton



Running OpenBSD on Hypervisor

2017-03-08 Thread Markus Rosjat

Hi there,

just like to get opinions or examples of OpenBSd as guest on a 
hypervisor. I had it running on a VMware Host but since the free version 
is missing quiet a lot features I was wondering where to look at. I also 
tried Hyper-V from MS and this looks qiet ok. So if the "virtual" guys 
like to share there expericence it would be nice. Im open for every 
thing so KVM or BHive are points Ive looked at but haven't tried for now.


thanks for the input

regards
--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before 
you print it, think about your responsibility and commitment to the 
ENVIRONMENT




Re: File Server with OpenBSD?

2017-03-08 Thread Janne Johansson
2017-03-08 13:52 GMT+01:00 Roderick :
>
> On Tue, 7 Mar 2017, Nick Holland wrote:
>
> The point is, you can't design ONE box for ten years of life.  With
>> modern SSD tech, I suspect you won't see a SATA port on a computer in
>> ten years.
>>
>
> But we can try to speculate. I guess, we will have USB Ports for long
> time. You see that the old RS232 is still alive. And we will have adapters
> to read old discs.
>

Hard to buy computers with serial ports these days, also I have several USB
devices
that will not work in a USB3 port, but need that I have a usb port in
between to get
the bus down to USB2 (or 1.1 or 1) speeds before being visible. Not even
USB handles
obsoletion(sp?) very well, even if adapters exist, but that is just
confirming Nicks story
to be valid.

What if usb4 shows the same issues, then a usb4->3 usb with a 3->2 hub
after?
All so that I don't have to move the data every X years...

-- 
May the most significant bit of your life be positive.



Re: File Server with OpenBSD?

2017-03-08 Thread Roderick

On Tue, 7 Mar 2017, Karel Gardas wrote:


Well, as a ZFS replacement I've added checksumming support into
SR-RAID1. It was really basic and as simple as possible design and
even compatible with plain SR-RAID1, but still was able to detect and
self-heal corrupted block too. So if data correctness is your mantra,
you don't need whole ZFS for it. Well, I've not submitted my code yet
for the second attempt (first you can find in the archive) since I got
kind of stuck in rewrite for family/life reasons but I still keep my
hope on it and also hope it'll be delivered sooner than HAMMER2...


This sounds very good!

For my purpose I need less than a Raid continously checking integrity. 
It would be enough if it is possible to check integrity and correct

data from time to time by issuing a command.

Few questions:

(1) Where are the checksums written?

(2) Where are the metadata of Raid 1 / Raid 1 with Checksum written?

(3) Can I take a disc from the Raid array and mount it somewhere else
as a normal ufs single disk?

(4) Well, sooner than Hammer2, but when? :)

--

On Tue, 7 Mar 2017, Nick Holland wrote:


The point is, you can't design ONE box for ten years of life.  With
modern SSD tech, I suspect you won't see a SATA port on a computer in
ten years.


But we can try to speculate. I guess, we will have USB Ports for long
time. You see that the old RS232 is still alive. And we will have adapters
to read old discs. I fear, the problem will be the firmware of modern
discs written on Eprom. We cannot compare old discs with modern ones also
due to the density of the data. The same could be said about the tapes. We
do not have the experience. Yes, raid does not substitute backup, and one
must keep the system alive and mutate it when necesary. There is in my
opinion till now no solution for archiving electronic data. Continous
migrating is too expensive.

Rodrigo.