Re: Add big device, remove small device, read-only

2016-01-06 Thread Rasmus Abrahamsen
On Wed, Jan 6, 2016, at 07:45 AM, Duncan wrote: > Rasmus Abrahamsen posted on Fri, 01 Jan 2016 21:20:13 +0100 as excerpted: > > > I accidentically sent my messages directly to Duncan, I am copying them > > in here. > > > > Hello Duncan, > > > > Thank you for the amazing response. Wow, you are

Re: Add big device, remove small device, read-only

2016-01-05 Thread Duncan
Rasmus Abrahamsen posted on Fri, 01 Jan 2016 21:20:13 +0100 as excerpted: > I accidentically sent my messages directly to Duncan, I am copying them > in here. > > Hello Duncan, > > Thank you for the amazing response. Wow, you are awesome. Just a note to mention that real life (TM) got in the

Re: Add big device, remove small device, read-only

2016-01-03 Thread Rasmus Abrahamsen
Okay thank you. I don't know the ordering of && and |. I think you can use parentheses in bash perhaps? In any case, line breaks work to separate the tasks. I am now doing the following: I detached my new 4 TB drive and am mounting -o degraded. Then I am doing # find . -type f -exec cat {} >

Re: Add big device, remove small device, read-only

2016-01-02 Thread Rasmus Abrahamsen
This morning I wanted to check on progress of removing the device but when trying to get the screen to wake, I was met with nothing. I tried SSH, nothing. The machine had crashed or something of the like. After a reboot, the device is still part of the filesystem. I have now tried booting from an

Re: Add big device, remove small device, read-only

2016-01-02 Thread Rasmus Abrahamsen
Oops, sent this message from the wrong email, then tried attaching a file. I am really bad at this. This morning I wanted to check on progress of removing the device but when trying to get the screen to wake, I was met with nothing. I tried SSH, nothing. The machine had crashed or something of

Re: Add big device, remove small device, read-only

2016-01-02 Thread Rasmus Abrahamsen
The scrub was frozen. I tried to cancel it but it had become read-only. I rebooted and am now looking into what btrfsck can do for me On Sat, Jan 2, 2016, at 05:45 PM, Rasmus Abrahamsen wrote: > Okay, the scrub seemingly did nothing, I am now running balance. This is > what I am getting so far: >

Re: Add big device, remove small device, read-only

2016-01-02 Thread Rasmus Abrahamsen
What do you recommend I do? Everything is redundant across disks. Perhaps I can disconnect the one you mentioned and delete missing. On Sat, Jan 2, 2016, at 08:56 PM, Chris Murphy wrote: > On Fri, Jan 1, 2016 at 1:20 PM, Rasmus Abrahamsen wrote: > > [ralle@rasmusahome ~]$ sudo

Re: Add big device, remove small device, read-only

2016-01-02 Thread Chris Murphy
On Sat, Jan 2, 2016 at 12:47 PM, Rasmus Abrahamsen wrote: > The scrub was frozen. I tried to cancel it but it had become read-only. > I rebooted and am now looking into what btrfsck can do for me Stay away from btrfs check --repair until it's a last restort. As in, you have to

Re: Add big device, remove small device, read-only

2016-01-02 Thread Chris Murphy
On Fri, Jan 1, 2016 at 1:20 PM, Rasmus Abrahamsen wrote: > [ralle@rasmusahome ~]$ sudo btrfs fi usage /mnt/fortune/ [snip] > Unallocated: >/dev/sda1 137.48GiB >/dev/sdb1 16.00EiB >/dev/sdc1 135.76GiB >/dev/sdd1 3.14TiB Another phantom

Re: Add big device, remove small device, read-only

2016-01-02 Thread Chris Murphy
On Sat, Jan 2, 2016 at 12:58 PM, Rasmus Abrahamsen wrote: > What do you recommend I do? Everything is redundant across disks. > Perhaps I can disconnect the one you mentioned and delete missing. No, please stop trying new things like throwing spaghetti at a wall. The file

Re: Add big device, remove small device, read-only

2016-01-02 Thread Rasmus Abrahamsen
Okay, the scrub seemingly did nothing, I am now running balance. This is what I am getting so far: https://www.dropbox.com/s/02rpab0zcc6er2u/2016-01-02%20IMG_8483.jpg?dl=0-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to

Re: Add big device, remove small device, read-only

2016-01-02 Thread Chris Murphy
On Sat, Jan 2, 2016 at 1:15 PM, Chris Murphy wrote: > On Sat, Jan 2, 2016 at 12:58 PM, Rasmus Abrahamsen wrote: >> What do you recommend I do? Everything is redundant across disks. >> Perhaps I can disconnect the one you mentioned and delete missing. >

Re: Add big device, remove small device, read-only

2016-01-02 Thread Chris Murphy
On Sat, Jan 2, 2016 at 2:30 PM, Rasmus Abrahamsen wrote: > Okay, I will rebuild it then. Thank you. > > Where do I add -p? OK for me, I have these ro snapshots: drwxrwx---. 1 chris chris 218 Apr 3 2015 everything-20150403 drwxrwx---. 1 chris chris 218 Apr 3 2015

Re: Add big device, remove small device, read-only

2016-01-02 Thread Rasmus Abrahamsen
Do you mean that the pipe is not a bash pipe or that you executed the commands as written? Sounds like you had two terminals and executed the left side of the pipe and then the right side. On Sat, Jan 2, 2016, at 10:37 PM, Chris Murphy wrote: > On Sat, Jan 2, 2016 at 2:30 PM, Rasmus Abrahamsen

Re: Add big device, remove small device, read-only

2016-01-02 Thread Rasmus Abrahamsen
Sounds like you think my best bet is to re-roll my filesystem instead of attempt to repair it. Is that right? I have snapshots which are based on each other as a backup of a remote machine by date. By sending these snapshots to a new filesystem, will I be able to have them still be incremental

Re: Add big device, remove small device, read-only

2016-01-02 Thread Chris Murphy
On Sat, Jan 2, 2016 at 1:39 PM, Rasmus Abrahamsen wrote: > Sounds like you think my best bet is to re-roll my filesystem instead of > attempt to repair it. Is that right? If you want to get back to a working fs as soon as possible, yes. You could take a btrfs-image of it

Re: Add big device, remove small device, read-only

2016-01-02 Thread Chris Murphy
On Sat, Jan 2, 2016 at 2:42 PM, Rasmus Abrahamsen wrote: > On Sat, Jan 2, 2016, at 10:37 PM, Chris Murphy wrote: >> On Sat, Jan 2, 2016 at 2:30 PM, Rasmus Abrahamsen >> wrote: >> > Okay, I will rebuild it then. Thank you. >> > >> > Where do I add -p? >> >>

Re: Add big device, remove small device, read-only

2016-01-02 Thread Rasmus Abrahamsen
Okay, I will rebuild it then. Thank you. Where do I add -p? On Sat, Jan 2, 2016, at 10:28 PM, Chris Murphy wrote: > On Sat, Jan 2, 2016 at 1:39 PM, Rasmus Abrahamsen > wrote: > > Sounds like you think my best bet is to re-roll my filesystem instead of > > attempt to repair

Re: Add big device, remove small device, read-only

2016-01-01 Thread Chris Murphy
On Fri, Jan 1, 2016 at 4:47 AM, Rasmus Abrahamsen wrote: > Happy New Year! > > I have a raid with a 1TB, .5TB, 1.5TB and recently added a 4TB and want to > remove the 1.5TB. When saying btrfs dev delete it turned into readonly. I am > on 4.2.5-1-ARCH and btrfs-progs v4.3.1

Re: Add big device, remove small device, read-only

2016-01-01 Thread Rasmus Abrahamsen
I accidentically sent my messages directly to Duncan, I am copying them in here. Hello Duncan, Thank you for the amazing response. Wow, you are awesome. Here is the output of fi show, fi df and mount, sorry for not providing them to begin with: http://pastebin.com/DpiuDvRy > On 01 Jan 2016,

Add big device, remove small device, read-only

2016-01-01 Thread Rasmus Abrahamsen
Happy New Year! I have a raid with a 1TB, .5TB, 1.5TB and recently added a 4TB and want to remove the 1.5TB. When saying btrfs dev delete it turned into readonly. I am on 4.2.5-1-ARCH and btrfs-progs v4.3.1 what can I do? On top of that, my linux is on this same raid, so perhaps btrfs is

Re: Add big device, remove small device, read-only

2016-01-01 Thread Duncan
Rasmus Abrahamsen posted on Fri, 01 Jan 2016 12:47:08 +0100 as excerpted: > Happy New Year! > > I have a raid with a 1TB, .5TB, 1.5TB and recently added a 4TB and want > to remove the 1.5TB. When saying btrfs dev delete it turned into > readonly. I am on 4.2.5-1-ARCH and btrfs-progs v4.3.1 what