Re: softraid, bioctl -c 1C failed array question

2025-02-24 Thread Stefan Sperling
On Sat, Feb 22, 2025 at 10:03:58PM -0500, James Boyle wrote: > Hi again, > > I attempted to get the debug messages to print by doing: > cd /usr/src/sys/arch/amd64/conf, copying GENERIC.MP to > GENERIC.MP.BIODEBUG, and making this change: > --- GENERIC.MP Wed Feb 5 23:54:35 2025 > +++ GENERIC.MP

Re: softraid, bioctl -c 1C failed array question

2025-02-22 Thread James Boyle
stead of bioctl -c 1C)? Thank you, --James On Sat, 25 Jan 2025, Stefan Sperling wrote: > Date: Sat, 25 Jan 2025 23:12:01 +0100 > From: Stefan Sperling > To: James Boyle > Cc: misc@openbsd.org > Subject: Re: softraid, bioctl -c 1C failed array question > > On Fri, Jan 24

Re: softraid, bioctl -c 1C failed array question

2025-01-25 Thread Stefan Sperling
On Fri, Jan 24, 2025 at 02:53:06PM -0500, James Boyle wrote: > Hello, > > I was hoping to get a little help with bioctl and the 1C raid mode after a > drive failure. The most recent error message I'm getting when trying to > start the array in a degraded mode is: > # bioctl -c 1C -l /dev/sd0a s

Re: softraid encrypting discipline

2023-11-17 Thread Masanori Ogino
Hi, On Friday, November 17th, 2023 at 08:26, D.A. wrote: > What encryption algorithm does softraid? According to the presentation titled "softraid(4) boot" by Stefan Sperling at EuroBSDCon 2015, AES with 256-bit key(s) in XTS mode. (You can check sys/dev/softraid_crypto.c in sys.tar.gz if desir

Re: Softraid crypto metadata backup

2023-01-08 Thread Nathan Carruth
>On Sat, Jan 07, 2023 at 02:33:31PM +, Nathan Carruth wrote: >>The way I see it, this depends on one's use case. >>There certainly are cases where it is important to be able >>to irrevocably destroy all data in an instant. But there are >>also use cases where one is only interested in making su

Re: Softraid crypto metadata backup

2023-01-08 Thread Wolfgang Pfeiffer
On Sat, Jan 07, 2023 at 02:33:31PM +, Nathan Carruth wrote: The way I see it, this depends on one's use case.  There certainly are cases where it is important to be able to irrevocably destroy all data in an instant. But there are also use cases where one is only interested in making sure tha

Re: ??????: Softraid crypto metadata backup

2023-01-05 Thread Crystal Kolipe
Hi, Please fix your email client to correctly attribute quotes in list mail that you reply to. On Thu, Jan 05, 2023 at 02:13:53PM +, Nathan Carruth wrote: > Thank you for your response (apologies that I just saw this). > > I will have a look at the file you mentioned. > > I am curious what

Re: Softraid crypto metadata backup

2023-01-05 Thread Crystal Kolipe
On Thu, Jan 05, 2023 at 05:13:05AM +, Nathan Carruth wrote: > Perhaps I should have clarified my use case. I have data which > is potentially legally privileged and which I also cannot afford > to lose. Thus an unencrypted backup is out of the question, and > my first thought was to use full-di

Re: Softraid crypto metadata backup

2023-01-05 Thread Crystal Kolipe
On Thu, Jan 05, 2023 at 05:13:05AM +, Nathan Carruth wrote: > I presume that OpenBSD also writes on-disk metadata of the > same sort somewhere. Where? Look at /usr/src/sys/dev/softraidvar.h. The structures that contain the softraid metadata are defined there. There is general softraid metada

Re: Softraid crypto metadata backup

2023-01-02 Thread Nick Holland
On 1/2/23 22:22, Nathan Carruth wrote: Does a softraid(4) crypto volume require metadata backup? (I am running amd64 OpenBSD 6.9 if it is relevant, will probably upgrade in the next few months.) I understand FreeBSD GELI (e.g.) requires such a backup to protect against crypto-related metadata co

Re: softraid disk read error

2022-10-18 Thread Nick Holland
On 10/18/22 09:35, se...@0x.su wrote: I have raid1 volume (one of two on PC) with 2 disks. # disklabel sd5 # /dev/rsd5c: type: SCSI disk: SCSI disk label: SR RAID 1 duid: 7a03a84165b3d165 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 24320

Re: Softraid on NVMe

2022-05-06 Thread Nick Holland
On 5/6/22 9:03 AM, Proton wrote: Hi, I'm using softraid 1C on my remote dedicated server, built on two NVMe disks. It works really well from performance perspective and provide some data protection, but there is no way to check device health status because SMART doesn’t work. I guess bioctl wil

Re: softraid/bioctl cant find device /dev/bio

2020-08-03 Thread Sven F.
On Mon, Aug 3, 2020 at 2:09 PM Brian Brombacher wrote: > > > > On Aug 3, 2020, at 12:22 PM, sven falempin > wrote: > > > > On Mon, Aug 3, 2020 at 12:00 PM Brian Brombacher > > wrote: > > > >> > >> > >> On Aug 3, 2020, at 11:51 AM, sven falempin > >> wrote: > >> > >>  > >> > >> > >>> On Mon,

Re: softraid/bioctl cant find device /dev/bio

2020-08-03 Thread Brian Brombacher
> On Aug 3, 2020, at 12:22 PM, sven falempin wrote: > > On Mon, Aug 3, 2020 at 12:00 PM Brian Brombacher > wrote: > >> >> >> On Aug 3, 2020, at 11:51 AM, sven falempin >> wrote: >> >>  >> >> >>> On Mon, Aug 3, 2020 at 11:38 AM Brian Brombacher >>> wrote: >>> >>> >>> On Aug 3

Re: softraid/bioctl cant find device /dev/bio

2020-08-03 Thread sven falempin
On Mon, Aug 3, 2020 at 12:00 PM Brian Brombacher wrote: > > > On Aug 3, 2020, at 11:51 AM, sven falempin > wrote: > >  > > > On Mon, Aug 3, 2020 at 11:38 AM Brian Brombacher > wrote: > >> >> >> > On Aug 3, 2020, at 9:54 AM, sven falempin >> wrote: >> > >> > Hello >> > >> > I saw a similar is

Re: softraid/bioctl cant find device /dev/bio

2020-08-03 Thread Brian Brombacher
> On Aug 3, 2020, at 11:51 AM, sven falempin wrote: > >  > > >> On Mon, Aug 3, 2020 at 11:38 AM Brian Brombacher >> wrote: >> >> >> > On Aug 3, 2020, at 9:54 AM, sven falempin wrote: >> > >> > Hello >> > >> > I saw a similar issue in the mailing list around decembre 2019, >> > follo

Re: softraid i/o errors, crypto blocks

2020-02-22 Thread freda_bundchen
>> plugged in and just run /sbin/bioctl -c C -l softraid0 >> DUIDHERE.a on. > The last two arguments in that command are reversed. Fixing > that should solve at least part of your problem. Thank you very much. I apologize, I did reverse the arguments in my email. However, I was using them cor

Re: softraid i/o errors, crypto blocks

2020-02-22 Thread Tim van der Molen
freda_bundc...@nym.hush.com (2020-02-18 10:13 -0600): > I've had Postgresql data on an encrypted external USB drive > (encrypted via the OpenBSD FAQ instructions) for about a year > and it's worked great. > > Recently, I started gettting dmesg messages > saying softraid i/o error and it listed v

Re: softraid(4) RAID1 tools or experimental patches for consistency checking

2020-01-13 Thread Karel Gardas
Few missing notes to this email: - my performance testing, results and conclusion were done only on mechanical drives (hitachi 7k500 and wd re 500) and only with meta-data intensive workload. Basically tar -xf src.tar; unmount and rm -rf src; unmount where src.tar was src.tar of stable at th

Re: softraid(4) RAID1 tools or experimental patches for consistency checking

2020-01-12 Thread Karel Gardas
Tried something like that in the past: https://marc.info/?l=openbsd-tech&m=144217941801350&w=2 It worked kind of OK except the performance. The problem is that data layout makes read op. -> 2x read op. and write op. -> read op. + 2x write op. which is not the speed winner. Caching of checks

Re: Softraid data recovery

2019-10-18 Thread Steven Surdock
> -Original Message- > From: Aaron Mason > Sent: Monday, October 14, 2019 7:13 PM > To: Steven Surdock > Cc: misc@openbsd.org > Subject: Re: Softraid data recovery > > On Tue, Oct 15, 2019 at 7:34 AM Steven Surdock net.com> wrote: > > ... > >

Re: Softraid data recovery

2019-10-16 Thread Steven Surdock
> -Original Message- > From: Karel Gardas > Sent: Wednesday, October 16, 2019 11:26 AM > To: Steven Surdock > Cc: misc@openbsd.org > Subject: Re: Softraid data recovery > > On 2019-10-15 13:44, Steven Surdock wrote: > > Model Family: Western Digital B

Re: Softraid data recovery

2019-10-16 Thread Karel Gardas
On 2019-10-15 13:44, Steven Surdock wrote: Model Family: Western Digital Black Device Model: WDC WD4001FAEX-00MJRA0 196 Reallocated_Event_Count 0x0032 200 200 000Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always -

Re: Softraid data recovery

2019-10-15 Thread Steven Surdock
> -Original Message- > From: Karel Gardas > Sent: Tuesday, October 15, 2019 5:31 AM > To: Steven Surdock > Cc: misc@openbsd.org > Subject: Re: Softraid data recovery > > > > On 2019-10-15 04:26, Steven Surdock wrote: > > I believe the disks are mo

Re: Softraid data recovery

2019-10-15 Thread Karel Gardas
On 2019-10-15 04:26, Steven Surdock wrote: I believe the disks are mostly healthy. I seriously doubt that. What's the output from smartctl -a for both drives? I can't imagine why would you get failures on heave reads on one drive and then later failures on another one and yet it would not

Re: Softraid data recovery

2019-10-14 Thread Patrick Dohman
> On Oct 14, 2019, at 3:04 PM, Steven Surdock wrote: > > root@host# more /var/backups/disklabel.sd1.backup > # /dev/rsd1c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 8ec2330eabf7cd26 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065

Re: Softraid data recovery

2019-10-14 Thread Steven Surdock
> -Original Message- > From: Aaron Mason > Sent: Monday, October 14, 2019 7:13 PM > To: Steven Surdock > Cc: misc@openbsd.org > Subject: Re: Softraid data recovery > > On Tue, Oct 15, 2019 at 7:34 AM Steven Surdock net.com> wrote: > > > > I have a

Re: Softraid data recovery

2019-10-14 Thread Aaron Mason
On Tue, Oct 15, 2019 at 7:34 AM Steven Surdock wrote: > > I have a simple RAID1 configuration on wd0, wd1. I was in the process of > performing a rebuild on wd1, as it failed during some heavy reads. During > the rebuild wd0 went into a failure state. After some troubleshooting I > decided t

Re: softraid: Derivation of a keydisk based on a passphrase

2018-08-15 Thread Jacqueline Jolicoeur
> My understanding is that a softraid passphrase is a seed from which bioctl > creates a key. > > I currently use a passphrase to decrypt my CRYPTO volume. > (How) can I create a corresponding keydisk that will decrypt the same volume? I believe it is mutually exclusive. You can either use a pas

Re: SoftRAID disk size

2018-05-01 Thread Håkon Robbestad Gylterud
> I can imagine you have some old softraid metadata lying around. Did you > try to wipe any existing metadata from the RAID partitions before > attaching it? > Thanks! That did the trick. Best regards, —Håkon

Re: SoftRAID disk size

2018-05-01 Thread Alexander Hall
On Tue, May 01, 2018 at 02:36:49PM +0200, Håkon Robbestad Gylterud wrote: > Hi, > > I have two 5TB disks, which I want to set up as mirrored using RAID 1 > through softraid(4). But after attaching the disk using bioctl(8), the > disk appears with 2TB, not 5TB. I can imagine you have some old soft

Re: softraid crypto with keydisk and password

2017-10-10 Thread Stefan Sperling
On Tue, Oct 10, 2017 at 11:13:45PM +1100, tomr wrote: > Well... there's nothing in the FAQ about using a keydisk at all, and > there's no hints in bioctl(8) about using both a keydisk and a password > together. That's because using both isn't a supported use case yet. In the current design and imp

Re: softraid crypto with keydisk and password

2017-10-10 Thread tomr
On 09/28/17 17:58, Stefan Sperling wrote: > On Thu, Sep 28, 2017 at 04:15:20AM +0200, Erling Westenvik wrote: >> On Thu, Sep 28, 2017 at 09:11:49AM +1000, tomr wrote: >>> I remember seeing a post, I think on undeadly.org, which went through >>> having the bootloader on password-encrypted usb driv

Re: softraid crypto with keydisk and password

2017-09-28 Thread Stefan Sperling
On Thu, Sep 28, 2017 at 04:15:20AM +0200, Erling Westenvik wrote: > On Thu, Sep 28, 2017 at 09:11:49AM +1000, tomr wrote: > > I remember seeing a post, I think on undeadly.org, which went through > > having the bootloader on password-encrypted usb drive, that also > > contains a keyfile for the mai

Re: softraid crypto with keydisk and password

2017-09-27 Thread Erling Westenvik
On Thu, Sep 28, 2017 at 09:11:49AM +1000, tomr wrote: > I remember seeing a post, I think on undeadly.org, which went through > having the bootloader on password-encrypted usb drive, that also > contains a keyfile for the main disk. It said something like "I also > wanted the laptop to appear broke

Re: softraid crypto seem really slower than plain ffs

2017-09-18 Thread bofh
On Mon, Sep 18, 2017 at 11:30 AM, Joel Carnat wrote: > Hello, > > I was really annoyed by the numbers I got. So I did the testings again. > Using > a brand new VM. Being really careful on what I was doing and writing it > down > after each command run. I did the testings using 6.1 and 6.2-current

Re: softraid crypto seem really slower than plain ffs

2017-09-18 Thread Joel Carnat
Hello, I was really annoyed by the numbers I got. So I did the testings again. Using a brand new VM. Being really careful on what I was doing and writing it down after each command run. I did the testings using 6.1 and 6.2-current, in case there were some changes. There weren't. First of all

Re: softraid crypto seem really slower than plain ffs

2017-09-18 Thread Stefan Sperling
On Sun, Sep 17, 2017 at 07:32:49PM +0100, Kevin Chadwick wrote: > I'm not a developer but I know 6.1 moved to a shiny new side channel > resistant AES. I seem to remember Theo saying that if it is that slow > then even worse; people won't use encryption at all and if they need > side channel resis

Re: softraid crypto seem really slower than plain ffs

2017-09-17 Thread Kevin Chadwick
On Fri, 15 Sep 2017 12:24:32 +0200 > I noticed that there were a huge difference between > plain and encrypted filesystem using OpenBSD. I'm not a developer but I know 6.1 moved to a shiny new side channel resistant AES. I seem to remember Theo saying that if it is that slow then even worse; p

Re: softraid crypto seem really slower than plain ffs

2017-09-15 Thread Hiltjo Posthuma
On Fri, Sep 15, 2017 at 12:24:32PM +0200, Joel Carnat wrote: > Hi, > > Initially comparing I/O speed between FreeBSD/ZFS/GELI and > OpenBSD/FFS/CRYPTO, I noticed that there were a huge difference between > plain and encrypted filesystem using OpenBSD. I ran the test on a 1 > vCore/1GB RAM Vultr VP

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Karel Gardas
On Tue, Apr 18, 2017 at 7:02 PM, Ian Watts wrote: > Thanks for the feedback, Karel, Allan, and Kamil. The motivation is > long-term data storage reliability. For example, my wife creates > graphical books, which involves large files, plus other work and > personal files. > so kind of SOHO NAS?

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Ian Watts
Thanks for the feedback, Karel, Allan, and Kamil. The motivation is long-term data storage reliability. For example, my wife creates graphical books, which involves large files, plus other work and personal files. Having a mirror is not terribly important, so doing a nightly sync to anothe

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Karel Gardas
loose -> lose. Sorry not native English speaker here. On Tue, Apr 18, 2017 at 6:09 PM, Karel Gardas wrote: > How much data can you loose on this mirror? The rebuild time is long > and the chance of another drive dying is higher during rebuild so I > would consider either increasing redundancy to

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Karel Gardas
On Tue, Apr 18, 2017 at 1:56 AM, Ian Watts wrote: > After 17 hours it is 24% complete, so it'll be about three > days to complete. The system is: How much data can you loose on this mirror? The rebuild time is long and the chance of another drive dying is higher during rebuild so I would conside

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Stuart Henderson
On 2017-04-18, Allan Streib wrote: > Ian Watts writes: > >> With this much disk space, should I be looking at another way of >> achieving data redundancy? > > Buy a hardware RAID controller. I'd sooner have decent software RAID with disks spread across multiple controllers..

Re: softraid mirror & large drives (3T)

2017-04-18 Thread trondd
On Tue, April 18, 2017 8:48 am, Kamil CholewiÅ*ski wrote: > On Tue, 18 Apr 2017, Jiri B wrote: >> On Tue, Apr 18, 2017 at 08:23:56AM -0400, Allan Streib wrote: >>> Buy a hardware RAID controller. >> >> I suppose you wanted to write - 'buy two equal hardware RAID >> controllers', >> or how would yo

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Kamil Cholewiński
On Tue, 18 Apr 2017, Jiri B wrote: > On Tue, Apr 18, 2017 at 08:23:56AM -0400, Allan Streib wrote: >> Buy a hardware RAID controller. > > I suppose you wanted to write - 'buy two equal hardware RAID controllers', > or how would you be solving problem in broken hw raid controller in > cca 10 yrs fr

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Jiri B
On Tue, Apr 18, 2017 at 08:23:56AM -0400, Allan Streib wrote: > Ian Watts writes: > > > With this much disk space, should I be looking at another way of > > achieving data redundancy? > > Buy a hardware RAID controller. I suppose you wanted to write - 'buy two equal hardware RAID controllers',

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Allan Streib
Ian Watts writes: > With this much disk space, should I be looking at another way of > achieving data redundancy? Buy a hardware RAID controller. Allan

Re: softraid mirror & large drives (3T)

2017-04-18 Thread Nick Holland
On 04/17/17 19:56, Ian Watts wrote: > Hello, > > I'm planning on replacing an old fileserver that has a single 1T drive > with something a little newer having 3T of space. I have two 3T drives > and have installed OpenBSD 6.0 to both as a softraid mirror. Works well > and I simulated a drive

Re: softraid & GPT configuration.

2017-03-05 Thread Christian Weisgerber
On 2017-03-03, Eric Huiban wrote: > bioctl needs a mandatory bootable partition to act correctly even on > disks not aimed to be bootable. I find that very surprising. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: softraid & GPT configuration.

2017-03-04 Thread Stuart Henderson
On 2017-03-03, Eric Huiban wrote: > i just performed some remote connection... recreating GPT with an .i EFI > boot partition. The softraid is now 2.7TiB... Grumbl! conclusion : > bioctl needs a mandatory bootable partition to act correctly even on > disks not aimed to be bootable. Too late no

Re: softraid & GPT configuration.

2017-03-03 Thread Eric Huiban
Eric Huiban wrote: Stefan Sperling wrote: On Fri, Mar 03, 2017 at 01:27:20PM +0100, Eric Huiban wrote: Hello, I should have miss something in the man pages with softraid and bioctl. But i want to form a RAID 1 between two 3TB harddisk (2.7TiB) and it is acting like 2TiB MBR disks with OpenBSD

Re: softraid & GPT configuration.

2017-03-03 Thread Eric Huiban
Stefan Sperling wrote: On Fri, Mar 03, 2017 at 01:27:20PM +0100, Eric Huiban wrote: Hello, I should have miss something in the man pages with softraid and bioctl. But i want to form a RAID 1 between two 3TB harddisk (2.7TiB) and it is acting like 2TiB MBR disks with OpenBSD 6.0. fdisk -ig sd1

Re: softraid & GPT configuration.

2017-03-03 Thread Stefan Sperling
On Fri, Mar 03, 2017 at 01:27:20PM +0100, Eric Huiban wrote: > Hello, > > I should have miss something in the man pages with softraid and bioctl. But > i want to form a RAID 1 between two 3TB harddisk (2.7TiB) and it is acting > like 2TiB MBR disks with OpenBSD 6.0. > > fdisk -ig sd1 is OK. Did

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread lists
> I'm taking the plunge now. You're done with the swings.

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread Nick Holland
On 11/16/16 11:52, Ax0n wrote: > I'm taking the plunge now. Mostly, I was concerned about SSD longevity and > if TRIM would be a problem due to the different way data is going to be > accessed. It was the cheapest drive I could find locally anyway, and I keep > good backups (dump to a much larger e

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread lists
Wed, 16 Nov 2016 19:10:08 +0100 ludovic coues > Trim and ssd longevity and what not may have been an issue when ssd where a > novelty. > These day, it should last just as long as an hard drive. So make backups if > what matters and don't worry about your disk. Hi Ludovic, You have to face it, th

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread ludovic coues
Trim and ssd longevity and what not may have been an issue when ssd where a novelty. These day, it should last just as long as an hard drive. So make backups if what matters and don't worry about your disk. On 16 Nov 2016 5:54 p.m., "Ax0n" wrote: > I'm taking the plunge now. Mostly, I was concer

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread Ax0n
I'm taking the plunge now. Mostly, I was concerned about SSD longevity and if TRIM would be a problem due to the different way data is going to be accessed. It was the cheapest drive I could find locally anyway, and I keep good backups (dump to a much larger external drive that's also using softrai

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread Marc Peters
Am 11/16/16 um 17:07 schrieb Ax0n: > I'm less concerned about swap, and more concerned about how a fully > encrypted softraid Solid State Disk is going to act. I can't find a lot > about FDE on SSD. > It acts as a normal harddisk would, just faster :). I had one in my worklaptop i used before for

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread Ax0n
I'm less concerned about swap, and more concerned about how a fully encrypted softraid Solid State Disk is going to act. I can't find a lot about FDE on SSD. On Wed, Nov 16, 2016 at 9:41 AM, trondd wrote: > On Wed, November 16, 2016 10:23 am, Jiri B wrote: > > On Wed, Nov 16, 2016 at 09:14:51AM

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread Stefan Sperling
On Wed, Nov 16, 2016 at 10:23:39AM -0500, Jiri B wrote: > On Wed, Nov 16, 2016 at 09:14:51AM -0600, Ax0n wrote: > > I just purchased a SanDisk SSD for my daily-driver laptop which has been > > running -CURRENT well. I'm considering going with FDE and a fresh snapshot > > install, adding my packages

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread trondd
On Wed, November 16, 2016 10:23 am, Jiri B wrote: > On Wed, Nov 16, 2016 at 09:14:51AM -0600, Ax0n wrote: >> I just purchased a SanDisk SSD for my daily-driver laptop which has been >> running -CURRENT well. I'm considering going with FDE and a fresh >> snapshot >> install, adding my packages then

Re: softraid(4) full-disk encryption on SSD

2016-11-16 Thread Jiri B
On Wed, Nov 16, 2016 at 09:14:51AM -0600, Ax0n wrote: > I just purchased a SanDisk SSD for my daily-driver laptop which has been > running -CURRENT well. I'm considering going with FDE and a fresh snapshot > install, adding my packages then copying over what I need from my old > spinning rust drive

Re: softraid crypto performance on Sun Fire T1000

2016-11-07 Thread Alexander Bochmann
Hi, ...on Sat, Oct 29, 2016 at 03:06:05PM +0200, Jonathan Schleifer wrote: > While a single core of the T1000 is quite slow, this just seems too slow, > making this setup unusable. openssl speed shows 10 MB/s for AES-128-CBC and 7 > MB/s for AES-256-CBC on a single core. So a single core is de

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Jonathan Schleifer
> Uhm, but the dd command wasn't :-) (the guest's root disk is sd2, not sd0...) > > Now our numbers align much better: > > # dd if=/dev/rsd2c of=/dev/null bs=10m count=50 > 50+0 records in > 50+0 records out > 524288000 bytes transferred in 131.796 secs (3978008 bytes/sec) Ah, thanks. I was just a

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Stefan Sperling
On Sat, Oct 29, 2016 at 07:53:06PM +0200, Stefan Sperling wrote: > > Are you sure that LDOM was indeed using softraid crypto? > > Yes. Uhm, but the dd command wasn't :-) (the guest's root disk is sd2, not sd0...) Now our numbers align much better: # dd if=/dev/rsd2c of=/dev/null bs=10m count=50

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Stefan Sperling
On Sat, Oct 29, 2016 at 07:39:29PM +0200, Jonathan Schleifer wrote: > > I have the 1GHz version with 4 cores (32 threads). > > Ok, so same per-core speed, so single-threaded performance should be the same. > (Btw, you have 8 cores, not 4. 8 cores @ 4 threads each.) > > > Otherwise it's probably s

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Jonathan Schleifer
> I have the 1GHz version with 4 cores (32 threads). Ok, so same per-core speed, so single-threaded performance should be the same. (Btw, you have 8 cores, not 4. 8 cores @ 4 threads each.) > Otherwise it's probably similar to yours. > It's running 6.0 at the moment, yes. Some guests are running

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Stefan Sperling
On Sat, Oct 29, 2016 at 06:57:00PM +0200, Jonathan Schleifer wrote: > Oh, wow, these are *much* better than what I get. Which CPU do you have? I > have 6x 1 GHz (meaning 24 threads). Are you running 6.0? > > Thank you for these numbers, they make me much more hopeful about this > machine. I hav

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Jonathan Schleifer
Am 29.10.2016 um 18:34 schrieb Stefan Sperling : > On Sat, Oct 29, 2016 at 06:08:37PM +0200, Jonathan Schleifer wrote: >> Hm, my main problem seems to be that whenever I decrypt something from the >> disk, all other 23 cores seem to get stalled. >> >> So, would you recommend doing the following th

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Stefan Sperling
On Sat, Oct 29, 2016 at 06:08:37PM +0200, Jonathan Schleifer wrote: > Hm, my main problem seems to be that whenever I decrypt something from the > disk, all other 23 cores seem to get stalled. > > So, would you recommend doing the following then: > > * Have a partition for the main system on a so

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Jonathan Schleifer
Hi, > I run a T1000 which is segregated into a couple of LDOM guests (about 10). > Some of the guests use softraid crypto inside. The host does not. Yeah, I was planning on using LDOMs as well. However, since I wanted to put this into a datacenter (for a cheap price, so it not being the most curr

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Stefan Sperling
On Sat, Oct 29, 2016 at 05:12:51PM +0200, Jonathan Schleifer wrote: > Another thing I noticed: > > When running dd if=/dev/zero of=foo bs=65536, my SSH connection gets extremely > laggy. If I open 4 more in parallel, all go down to KB/s of writes, and SSH > becomes unusable. Now unusable as in thi

Re: softraid crypto performance on Sun Fire T1000

2016-10-29 Thread Jonathan Schleifer
Another thing I noticed: When running dd if=/dev/zero of=foo bs=65536, my SSH connection gets extremely laggy. If I open 4 more in parallel, all go down to KB/s of writes, and SSH becomes unusable. Now unusable as in things need forever to start. Unusable as in I press a key and it takes forever t

heap full Re: Softraid Keydisk reboot loop

2015-12-27 Thread Thomas Bohl
Am 26.12.2015 um 23:18 schrieb Alexander Hall: > On Sat, Dec 26, 2015 at 10:41:34PM +0100, Thomas Bohl wrote: >> Hello, >> >> I updated from 5.8-stabel to current today. (First just an update, than >> because of the problem a fresh installation.) On 5.8-stabel I had a >> working softraid boot setup

Re: Softraid Keydisk reboot loop

2015-12-26 Thread Alexander Hall
On Sat, Dec 26, 2015 at 10:41:34PM +0100, Thomas Bohl wrote: > Hello, > > I updated from 5.8-stabel to current today. (First just an update, than > because of the problem a fresh installation.) On 5.8-stabel I had a > working softraid boot setup with a USB-Stick as keydisk. > > Now, if the keydis

Re: Softraid-Crypto: Installation not possible

2015-11-14 Thread Stefan Sperling
On Sun, Nov 15, 2015 at 12:22:09AM +0100, Stefan Wollny wrote: > What is the problem? I have downloaded the 'install58.iso'-file > (amd64-current) and burned the disk to start from. dmesg recognizes the > three media and reports them as 'sd0' (=m.2-SSD), 'sd1' (SATA-SSD) and 'sd2' > (USB-stick). I

Re: softraid(4)/bioctl(8) vs. non-512-byte sectors disks

2015-10-09 Thread Tobias Ulmer
On Thu, Oct 08, 2015 at 08:42:14AM -0400, Kenneth R Westerback wrote: > ... It works fine, I'm exercising 4K sr crypto with rsync every night. Commit it pretty please :) The remaining bugs don't find themselves

Re: softraid(4)/bioctl(8) vs. non-512-byte sectors disks

2015-10-08 Thread Kenneth Westerback
On 8 October 2015 at 07:13, Marcus MERIGHI wrote: > mcmer-open...@tor.at (Marcus MERIGHI), 2015.10.08 (Thu) 12:26 (CEST): >> kwesterb...@gmail.com (Kenneth Westerback), 2014.03.19 (Wed) 17:09 (CET): >> > Alas, softraid only supports 512 byte block devices at the moment. >> > Ken >> >> Any new

Re: softraid(4)/bioctl(8) vs. non-512-byte sectors disks

2015-10-08 Thread Kenneth R Westerback
On 10/08, Marcus MERIGHI wrote: > kwesterb...@gmail.com (Kenneth Westerback), 2014.03.19 (Wed) 17:09 (CET): > > Alas, softraid only supports 512 byte block devices at the moment. > > Ken > > Any news on this one? No answer as always means 'no'. > > I saw plus58.html: > * Use DEV_BSIZE inste

Re: softraid(4)/bioctl(8) vs. non-512-byte sectors disks

2015-10-08 Thread Marcus MERIGHI
mcmer-open...@tor.at (Marcus MERIGHI), 2015.10.08 (Thu) 12:26 (CEST): > kwesterb...@gmail.com (Kenneth Westerback), 2014.03.19 (Wed) 17:09 (CET): > > Alas, softraid only supports 512 byte block devices at the moment. > > Ken > > Any news on this one? No answer as always means 'no'. After re

Re: softraid(4)/bioctl(8) vs. non-512-byte sectors disks

2015-10-08 Thread Marcus MERIGHI
kwesterb...@gmail.com (Kenneth Westerback), 2014.03.19 (Wed) 17:09 (CET): > Alas, softraid only supports 512 byte block devices at the moment. > Ken Any news on this one? No answer as always means 'no'. I saw plus58.html: * Use DEV_BSIZE instead of 512 where appropriate in the kernel. This

Re: Softraid crypto - howto mount partitions from multiple devices at boot?

2015-07-17 Thread Maurice McCarthy
On Thu, Jul 16, 2015 at 11:17:16PM +0200 or thereabouts, Jan Vlach wrote: > Hello misc, > > I have a small netbook with two flash devices - 32G and 4G. I'm using > softraid crypto discipline with passphrase on the 32G one. That works > fine. > > I would also like to use softraid crypto on the sec

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-12 Thread Noth
On 12/06/15 18:15, Noth wrote: On 12/06/15 18:11, Joel Sing wrote: On Saturday 13 June 2015, Joel Sing wrote: On Friday 12 June 2015, Noth wrote: Hi misc@ I've got a couple of softraid 1 volumes on a server and the /home one was filling up a bit too much so I had to delete a bunch of is

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-12 Thread Noth
On 12/06/15 14:57, Jan Stary wrote: On Jun 11 19:47:43, nothingn...@citycable.ch wrote: Hi misc@ I've got a couple of softraid 1 volumes on a server and the /home one was filling up a bit too much so I had to delete a bunch of isos and other non necessary items. I did this yesterday and it s

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-12 Thread Noth
On 12/06/15 18:11, Joel Sing wrote: On Saturday 13 June 2015, Joel Sing wrote: On Friday 12 June 2015, Noth wrote: Hi misc@ I've got a couple of softraid 1 volumes on a server and the /home one was filling up a bit too much so I had to delete a bunch of isos and other non necessary items.

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-12 Thread Joel Sing
On Saturday 13 June 2015, Joel Sing wrote: > On Friday 12 June 2015, Noth wrote: > > Hi misc@ > > > >I've got a couple of softraid 1 volumes on a server and the /home one > > was filling up a bit too much so I had to delete a bunch of isos and > > other non necessary items. I did this yesterday

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-12 Thread Joel Sing
On Friday 12 June 2015, Noth wrote: > Hi misc@ > >I've got a couple of softraid 1 volumes on a server and the /home one > was filling up a bit too much so I had to delete a bunch of isos and > other non necessary items. I did this yesterday and it still hasn't > cleared the disk space completel

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-12 Thread Noth
[Fri Jun 12 16:59:18] homeuser@casper: ~ $ sync ; sync ; sync ; df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/sd3a 19.7G5.6G 13.1G30%/ /dev/sd2a 906G819G 41.6G95%/home [Fri Jun 12 16:59:23] homeuser@casper: ~ $ dd if=/dev/zero of=file bs=1

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-12 Thread Jan Stary
> >># df -kh > >>Filesystem SizeUsed Avail Capacity Mounted on > >>/dev/sd2a 906G859G1.2G 100%/home $ cd $ sync ; sync ; sync ; df -h $ dd if=/dev/zero of=file bs=1m count=1024 $ du -h file $ sync ; sync ; sync ; df -h Did the Avail space drop by 1G? $ rm -f

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-12 Thread Jan Stary
On Jun 11 19:47:43, nothingn...@citycable.ch wrote: > Hi misc@ > > I've got a couple of softraid 1 volumes on a server and the /home one was > filling up a bit too much so I had to delete a bunch of isos and other non > necessary items. I did this yesterday and it still hasn't cleared the disk >

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-11 Thread Noth
No clue comes from it... # fstat -f /home USER CMD PID FD MOUNTINUM MODE R/W SZ|DV root fstat 30300 wd /home 2 drwxr-xr-x r 512 homeuser imap 29865 wd /home12595200 drwxr-xr-x r 3584 homeuser imap 32331 wd /home12595

Re: Softraid 1 takes forever to declare disk space free after delete

2015-06-11 Thread Alexander Hall
On June 11, 2015 7:47:43 PM GMT+02:00, Noth wrote: >Hi misc@ > > I've got a couple of softraid 1 volumes on a server and the /home one >was filling up a bit too much so I had to delete a bunch of isos and >other non necessary items. I did this yesterday and it still hasn't >cleared the disk spa

Re: Softraid question

2015-05-31 Thread Duncan Patton a Campbell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Sun, 31 May 2015 10:20:25 +0200 Stefan Sperling wrote: > On Sat, May 30, 2015 at 08:07:07PM -0600, Duncan Patton a Campbell > wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > > > So now I'm in recovery mode and it is doin

Re: Softraid question

2015-05-31 Thread Stefan Sperling
On Sat, May 30, 2015 at 08:07:07PM -0600, Duncan Patton a Campbell wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > So now I'm in recovery mode and it is doing about 1% per hour > (it's a 2Tb raid1). Is this normal That's normal. Just let it run until it's done. You can reboot th

Re: Softraid question

2015-05-30 Thread Duncan Patton a Campbell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 So now I'm in recovery mode and it is doing about 1% per hour (it's a 2Tb raid1). Is this normal and can it be speeded up from userland? Thanks, Dhu On Thu, 21 May 2015 04:24:22 -0400 Jiri B wrote: > > > bioctl sd3 ? > > > > > > j. > > > > >

Re: Softraid question

2015-05-21 Thread Duncan Patton a Campbell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thu, 21 May 2015 04:24:22 -0400 Jiri B wrote: > > > bioctl sd3 ? > > > > > > j. > > > > > # bioctl sd3 > > Volume Status Size Device > > softraid0 0 Degraded2000396018176 sd3 RAID1 > > 0 Offline

Re: Softraid question

2015-05-21 Thread Jiri B
> > bioctl sd3 ? > > > > j. > > > # bioctl sd3 > Volume Status Size Device > softraid0 0 Degraded2000396018176 sd3 RAID1 > 0 Offline 0 0:0.0 noencl <> > 1 Online 2000396018176 0:1.0 noencl > So you got the answer, full

  1   2   3   4   >