Re: File Server with OpenBSD?

2017-03-13 Thread I love BSDs
>> 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

Re: File Server with OpenBSD?

2017-03-10 Thread lists
Tue, 7 Mar 2017 16:29:12 + (GMT) Roderick > Before I make a decision, I want to ask you for suggestions. Hi Roderick, As you probably know well already, read _carefully_ Nick Holland's advice to this (and previous) threads in the OpenBSD mailing lists. These will, most

Re: File Server with OpenBSD?

2017-03-10 Thread Roderick
On Thu, 9 Mar 2017, Karel Gardas wrote: I ask this because I want to know if I will make me dependent of todays stand of OpenBSD. Mounting ffs partitions of OpenBSD in FreeBSD and the opposite is possible without big problems. Will this change with Raid? Yes, as FreeBSD does not know

Re: File Server with OpenBSD?

2017-03-09 Thread Karel Gardas
On Thu, Mar 9, 2017 at 12:13 PM, Roderick wrote: > And where are the planned checksums written? First version divided partition to data and checksum areas which means RAID1 with checksums and RAID1 were compatible in a sense that if something terribly happen in checksumming

Re: File Server with OpenBSD?

2017-03-09 Thread Roderick
I want to make my questions below more concrete. Let us suppose, I boot from wd0 and want to make a Raid 1 with wd1 and wd2, and that I follow the instructions in "man softraid": # printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd1 # printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd2 # bioctl

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

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

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

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

Re: File Server with OpenBSD?

2017-03-07 Thread Nick Holland
On 03/07/17 13:21, Roderick wrote: > On Tue, 7 Mar 2017, Christian Weisgerber wrote: > >> On 2017-03-07, Roderick wrote: >> >>> Disk are to be readable for many decades. Standard File System >>> readable after moving the Disks to another computer, different >>>

Re: File Server with OpenBSD?

2017-03-07 Thread Juan Francisco Cantero Hurtado
On Tue, Mar 07, 2017 at 04:39:50PM -0500, alexmcwhir...@triadic.us wrote: > On 2017-03-07 15:57, Karel Gardas wrote: > > RAID10 should be simple. RAID6 is in tree in some form. W.r.t. > > HAMMER2/ZFS as a ZFS user using ZFS solely for more than 10 years > > already, I'm not so keen anymore about

Re: File Server with OpenBSD?

2017-03-07 Thread Tinker
What about the some day upcoming RAID1C (RAID1-checksummed)?

Re: File Server with OpenBSD?

2017-03-07 Thread alexmcwhirter
On 2017-03-07 15:57, Karel Gardas wrote: RAID10 should be simple. RAID6 is in tree in some form. W.r.t. HAMMER2/ZFS as a ZFS user using ZFS solely for more than 10 years already, I'm not so keen anymore about COW due to fragmentation. Otherwise snapshots are nice, but I'd rather snapshots to be

Re: File Server with OpenBSD?

2017-03-07 Thread Karel Gardas
On Tue, Mar 7, 2017 at 9:22 PM, wrote: > On 2017-03-07 15:34, Karel Gardas wrote: >> >> So if data correctness is your mantra, you don't need whole ZFS for it. > > > ZFS appeals to me for the snapshots / compression type stuff. Oh, I've mistaken you for OP. >> Well,

Re: File Server with OpenBSD?

2017-03-07 Thread alexmcwhirter
On 2017-03-07 15:34, Karel Gardas wrote: So if data correctness is your mantra, you don't need whole ZFS for it. ZFS appeals to me for the snapshots / compression type stuff. Well, I've not submitted my code yet for the second attempt (first you can find in the archive) since I got kind of

Re: File Server with OpenBSD?

2017-03-07 Thread Karel Gardas
On Tue, Mar 7, 2017 at 8:26 PM, wrote: > On 2017-03-07 14:16, Stuart Henderson wrote: >> >> - ZFS *does* checksum, even on mirrors, and can pick which of a pair of >> mirrored drives is good and use it to correct the other one. > > > That i was not aware of, i only

Re: File Server with OpenBSD?

2017-03-07 Thread alexmcwhirter
On 2017-03-07 14:16, Stuart Henderson wrote: - ZFS *does* checksum, even on mirrors, and can pick which of a pair of mirrored drives is good and use it to correct the other one. That i was not aware of, i only thought ZFS did that on RAIDZ pools. Regardless of whether it will happen or not, I

Re: File Server with OpenBSD?

2017-03-07 Thread Stuart Henderson
On 2017-03-07, alexmcwhir...@triadic.us wrote: > softraid / regular hardware raid does the same checksumming, ZFS just > implements a ton of extra nice features such as snapshots, compression, > cow, etc... at the cost of a large amount of RAM. It's probably safe to >

Re: File Server with OpenBSD?

2017-03-07 Thread Roderick
I can read till now very old SCSI disks, also 3 1/2'' floppies, but not always 5 1/4'' (because of the low level formatting). Of course, And even much older magnetic tapes are easier to read than floppies.

Re: File Server with OpenBSD?

2017-03-07 Thread Jan Stary
On Mar 07 16:29:12, hru...@gmail.com wrote: > (2) some degree of indepencence from hardware and operating system. > Disk are to be readable for many decades. Standard File System > readable after moving the Disks to another computer, different > hardware, perhaps with different OS.

Re: File Server with OpenBSD?

2017-03-07 Thread Roderick
On Tue, 7 Mar 2017, Christian Weisgerber wrote: On 2017-03-07, Roderick wrote: Disk are to be readable for many decades. Standard File System readable after moving the Disks to another computer, different hardware, perhaps with different OS. *uncontrollable

Re: File Server with OpenBSD?

2017-03-07 Thread Christian Weisgerber
On 2017-03-07, Roderick wrote: > Disk are to be readable for many decades. Standard File System > readable after moving the Disks to another computer, different > hardware, perhaps with different OS. *uncontrollable laughter* -- Christian "naddy" Weisgerber

Re: File Server with OpenBSD?

2017-03-07 Thread alexmcwhirter
On 2017-03-07 11:29, Roderick wrote: Before I make a decision, I want to ask you for suggestions. I want to make a small file server, just to separate important files from my working system. Two disks as Raid 1. Files are to be read with NFS. Emphasis: (1) Data Integrity (not security :).

Re: File Server with OpenBSD?

2017-03-07 Thread sven falempin
>> a checksum in a disk is wrong (using the other disk in the array), >> (b) many OS are implementing it. But I find horrible how >> resource hungry it is. >> >> Do you have an idea? >> >> I do preffer OpenBSD, but is there an appropriate file system >> f

Re: File Server with OpenBSD?

2017-03-07 Thread Solène Rapenne
system for archiving? I thank for any suggestion Rodrigo. Hello, I have my private file server using OpenBSD. That's not the best system for that but it works. If you are comfortable with and you don't need extra speed, that will be ok. For data integrity, you may use sysutils/bitrot to check

File Server with OpenBSD?

2017-03-07 Thread Roderick
Before I make a decision, I want to ask you for suggestions. I want to make a small file server, just to separate important files from my working system. Two disks as Raid 1. Files are to be read with NFS. Emphasis: (1) Data Integrity (not security :). (2) some degree of indepencence from