Re: Remove a materially failed device from a Btrfs "single-raid" using partitions

2013-05-14 Thread Chris Murphy
On May 14, 2013, at 9:30 AM, Vincent wrote: > Why is it more easier to extend a Brfs partition rather than to reduce it, > while the single raid is supposed to be made ​​for that? Are you referring to normal operation or your degraded case? In normal operation, yes you can reduce it within th

Re: Remove a materially failed device from a Btrfs "single-raid" using partitions

2013-05-13 Thread Chris Murphy
On May 13, 2013, at 9:30 AM, Vincent wrote: > Shit, I've followed the official documentation > https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices#Replacing_failed_devices > > With, as explain: > mkfs.btrfs -d single /dev/sda3 /dev/sdb1 /dev/sdc1 /dev/sdd1 You did this o

Re: Remove a materially failed device from a Btrfs "single-raid" using partitions

2013-05-13 Thread Vincent
Shit, I've followed the official documentation https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices#Replacing_failed_devices With, as explain: mkfs.btrfs -d single /dev/sda3 /dev/sdb1 /dev/sdc1 /dev/sdd1 mount -o degraded /dev/sda3 /media/single-raid/ btrfs device delete mi

Re: Remove a materially failed device from a Btrfs "single-raid" using partitions

2013-05-13 Thread Harald Glatt
On Mon, May 13, 2013 at 4:33 PM, Vincent wrote: > Le 13/05/2013 16:29, Harald Glatt a écrit : > >> On Mon, May 13, 2013 at 4:15 PM, Vincent wrote: >>> >>> Hello, >>> >>> I am on Ubuntu Server 13.04 with Linux 3.8. >>> >>> I've created a "single-raid" using /dev/sd{a,b,c,d}{1,3}. One of my hard >>

Re: Remove a materially failed device from a Btrfs "single-raid" using partitions

2013-05-13 Thread Vincent
Le 13/05/2013 16:29, Harald Glatt a écrit : On Mon, May 13, 2013 at 4:15 PM, Vincent wrote: Hello, I am on Ubuntu Server 13.04 with Linux 3.8. I've created a "single-raid" using /dev/sd{a,b,c,d}{1,3}. One of my hard drives has failed, I mean it's materially dead. :~$ sudo btrfs filesystem sh

Re: Remove a materially failed device from a Btrfs "single-raid" using partitions

2013-05-13 Thread Harald Glatt
On Mon, May 13, 2013 at 4:15 PM, Vincent wrote: > Hello, > > I am on Ubuntu Server 13.04 with Linux 3.8. > > I've created a "single-raid" using /dev/sd{a,b,c,d}{1,3}. One of my hard > drives has failed, I mean it's materially dead. > > :~$ sudo btrfs filesystem show > Label: none uuid: 40886f51-8

Remove a materially failed device from a Btrfs "single-raid" using partitions

2013-05-13 Thread Vincent
Hello, I am on Ubuntu Server 13.04 with Linux 3.8. I've created a "single-raid" using /dev/sd{a,b,c,d}{1,3}. One of my hard drives has failed, I mean it's materially dead. :~$ sudo btrfs filesystem show Label: none uuid: 40886f51-8c9b-4be1-8721-83bf5653d2a0 Total devices 5 FS bytes used