Re: Which device is missing ?

2018-10-08 Thread Pierre Couderc
On 10/08/2018 11:21 PM, Hugo Mills wrote: On Mon, Oct 08, 2018 at 11:01:35PM +0200, Pierre Couderc wrote: On 10/08/2018 06:14 PM, Hugo Mills wrote: On Mon, Oct 08, 2018 at 04:10:55PM +, Hugo Mills wrote: On Mon, Oct 08, 2018 at 03:49:53PM +0200, Pierre Couderc wrote: I ma trying

Which device is missing ?

2018-10-08 Thread Pierre Couderc
I ma trying to make a "RAID1" with /dev/sda2 ans /dev/sdb (or similar). But I have stranges status or errors  about "missing devices" and I do not understand the current situation : root@server:~# btrfs fi show Label: none  uuid: 28c2b7ab-631c-40a3-bab7-00dac5dd20eb     Total devices 1

Re: IO errors when building RAID1.... ?

2018-09-03 Thread Pierre Couderc
On 09/03/2018 05:15 AM, Chris Murphy wrote: On Sat, Sep 1, 2018 at 1:03 AM, Pierre Couderc wrote: On 08/31/2018 08:52 PM, Chris Murphy wrote: Bad sector which is failing write. This is fatal, there isn't anything the block layer or Btrfs (or ext4 or XFS) can do about it. Well, ext234 do

Re: IO errors when building RAID1.... ?

2018-09-01 Thread Pierre Couderc
On 09/01/2018 03:35 AM, Duncan wrote: Chris Murphy posted on Fri, 31 Aug 2018 13:02:16 -0600 as excerpted: If you want you can post the output from 'sudo smartctl -x /dev/sda' which will contain more information... but this is in some sense superfluous. The problem is very clearly a bad

Re: IO errors when building RAID1.... ?

2018-09-01 Thread Pierre Couderc
On 08/31/2018 08:52 PM, Chris Murphy wrote: Bad sector which is failing write. This is fatal, there isn't anything the block layer or Btrfs (or ext4 or XFS) can do about it. Well, ext234 do have an option to scan for bad sectors and create a bad sector map which then can be used at mkfs

IO errors when building RAID1.... ?

2018-08-31 Thread Pierre Couderc
When trying to build a RAID1 on main fs. After  normal debian stretch install : root@server:/home/nous# btrfs device add /dev/sdb1 / root@server:/home/nous# btrfs fi show Label: none  uuid: ef0b9dad-c0eb-4a3b-9b41-e5e249363abc     Total devices 2 FS bytes used 824.60MiB     devid    1

Re: How to erase a RAID1 (+++)?

2018-08-31 Thread Pierre Couderc
On 08/31/2018 04:54 PM, Alberto Bursi wrote: On 8/31/2018 8:53 AM, Pierre Couderc wrote: OK, I have understood the message... I was planning that as you said "semi-routinely", and I understand btrfs is not soon enough ready, and I am very very far to be a specialist as you are. S

Re: How to erase a RAID1 (+++)?

2018-08-31 Thread Pierre Couderc
On 08/31/2018 04:29 AM, Duncan wrote: Chris Murphy posted on Thu, 30 Aug 2018 11:08:28 -0600 as excerpted: My purpose is a simple RAID1 main fs, with bootable flag on the 2 disks in prder to start in degraded mode Good luck with this. The Btrfs archives are full of various limitations

Re: How to erase a RAID1 (+++)?

2018-08-31 Thread Pierre Couderc
On 08/30/2018 07:08 PM, Chris Murphy wrote: On Thu, Aug 30, 2018 at 3:13 AM, Pierre Couderc wrote: Trying to install a RAID1 on a debian stretch, I made some mistake and got this, after installing on disk1 and trying to add second disk : root@server:~# fdisk -l Disk /dev/sda: 1.8 TiB

Re: How to erase a RAID1 (+++)?

2018-08-30 Thread Pierre Couderc
On 08/30/2018 11:35 AM, Qu Wenruo wrote: On 2018/8/30 下午5:13, Pierre Couderc wrote: Trying to install a RAID1 on a debian stretch, I made some mistake and got this, after installing on disk1 and trying to add second disk  : root@server:~# fdisk -l Disk /dev/sda: 1.8 TiB, 2000398934016

Re: How to erase a RAID1 (+++)?

2018-08-30 Thread Pierre Couderc
Trying to install a RAID1 on a debian stretch, I made some mistake and got this, after installing on disk1 and trying to add second disk  : root@server:~# fdisk -l Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size

Re: How to erase a RAID1 ?

2018-08-29 Thread Pierre Couderc
On 08/29/2018 02:52 PM, Qu Wenruo wrote: On 2018/8/29 下午8:49, Pierre Couderc wrote: I want to reinstall a RAID1 btrfs system (wchis is now under debian stretch, and will be reinstalled in stretch). If you still want to use btrfs, just umount the original fs, and # mkfs.btrfs -f

How to erase a RAID1 ?

2018-08-29 Thread Pierre Couderc
I want to reinstall a RAID1 btrfs system (wchis is now under debian stretch, and will be reinstalled in stretch). How to correctly "erase" it ? Not truly hard erase it, but so that old data does not appear... It is not clear in the wiki. Thanks PC

Re: Problems with debian install

2017-09-20 Thread Pierre Couderc
On 09/20/2017 02:39 AM, Qu Wenruo wrote: On 2017年09月20日 05:35, Pierre Couderc wrote: I am trying to install stretch on a computer with 2 btrfs disks and EFI. Is there a howto to do that ? Did someone success ? I get problems as soon as the partionning in debian installer. What partitions

Problems with debian install

2017-09-19 Thread Pierre Couderc
I am trying to install stretch on a computer with 2 btrfs disks and EFI. Is there a howto to do that ? Did someone success ? I get problems as soon as the partionning in debian installer. What partitions do I need ? I understand the grub needs them even if btrfs does not require them. But I