From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: btrfs raid configuration vs mdraid Date: Tue, 21 May 2019 10:25:44 +0200 Message-ID: <871s0s9ptj.fsf@roquette.mug.biscuolo.net> References: <877earc513.fsf@roquette.mug.biscuolo.net> <87d0kc522q.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT066-0005hX-4A for help-guix@gnu.org; Tue, 21 May 2019 04:26:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hT064-0006y0-OE for help-guix@gnu.org; Tue, 21 May 2019 04:26:10 -0400 Received: from ns13.heimat.it ([46.4.214.66]:56996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT064-0006wX-IJ for help-guix@gnu.org; Tue, 21 May 2019 04:26:08 -0400 In-Reply-To: <87d0kc522q.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Fredrik Salomonsson , help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Fredrik, Fredrik Salomonsson writes: [...] >> Assuming I'm going to format the root filesystem as: >> >> mkfs.btrfs -m raid1 -d raid1 /dev/sda3 /dev/sdb3 >> >> how should I configure (file-system...)? this way: >> >> (file-system >> (mount-point "/") >> (type "btrfs") >> (device (uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb"))) >> >> with UUID taken from "lsblk -f"? > > That should work. I confirm it worked, easily! :-) [...] > One thing you should note is that guix might generate incorrect > paths for grub if you are using subvolumes. At least guix < 1.0 does > that for me, haven't tested 1.0+ yet. But I have been using a shell > script that works around that issue. I did not use root on a subvolume for my installation, but I'll try to reproduce it in a test install: can you please file a bug report for this, IMHO this should be fixed >> From you experience is RAID on brtfs as solid as the one on mdadm? > > I have very little experience with mdadm, so can only speak of my > experience with btrfs and RAID-1. Which I have been using for 3+ years. > For me it has been solid. Only issue I have encountered was when my > fileserver lost power a few times leaving the filesystem corrupt. A > "btrfs check --repair" fixed that issue. Thanks for sharing! You give me courage to adopt btrfs more extensively :-) Best regards, Gio'. [...] =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlzjtgkACgkQ030Op87M ORIr4g/+Na7YnJbHkyE++xRflPBuIHtXoUh4XzYQDeMSQhUSKOYNUxa3KTcpF50O OxBGUQDBszriINmiFr2JhXWmd4rWpNYKURvckCEw3iad1/jNv9KjlpICpitmV0zM OTXdDuSx550O0RtucdsM4Xuuwf5nkOQhIGK45Piadwu6B/YwKBeskm4Sgpgl7/DF OqlXaCdGNj87kUyg+wxm1Gks135cqydPMN2bY0oNBPl8SPywF7MDWYv4OdbGcn1K eh5MsS+dhq2vvAzNC5c32jRNLgRQNnfAn6bhvEolyPtEjjXhKX59PPlgsvhG5sUe nucCyaaQXgBbgDcmnKMwKes7Z2sBWYsWLbRjh352+PXoy0O9VXspz18N336zmfZW spSuylu/Z5160oPBvfEtZQBN7L+CTsdCEj4Ohftm+OJt9rs+YqUYSZUFbVQ2/xvm yybmSeYKcE/5A/AR3Tw11/Ah1WISFlShqmuCtyUTmDaErxnmvIbT0o0LjDFuGkik df6ckixPBJ4/0BRLMPsbhd83JBKgeDDM3Y/8PSe+2BJbjLZ7brikmeYsO3UaXLm5 AUr4f1IKh11wslzAiowh3CBOag+MqP95NyJhdUa5ojtXkcMULQNSCcOd7kr79hvp OUj3W9Zoz0cJJVbGOnW0hM3eRH/Qrb7jZ8erKK695FQe6jq3ZKU= =/3cl -----END PGP SIGNATURE----- --=-=-=--