raid1 disk exchange issues

2010-10-24 Thread William Uther
Hi, I chose the weekend to upgrade my ageing MythTV box. Now I've broken things. I'm wondering if there is a way to recover. To be clear - I appear to have my data, I just can't seem to get where I want from here. The particular issue that I'm having is that I have a raid1 filesystem

Can't remove missing drive

2010-10-30 Thread William Uther
Hi, I have a raid1 setup with a missing device. I have added a new device and everything seems to be working fine, except I cannot remove the old, missing, device. There is no error - but the 'some devices missing' tag doesn't go away. r...@willvo:~# btrfs filesystem show failed to read

Re: Can't remove missing drive

2010-10-31 Thread William Uther
Thanks to Chris and Brian for the help! On 31/10/2010, at 11:01 PM, Chris Mason wrote: On Sat, Oct 30, 2010 at 06:37:06PM +1100, William Uther wrote: [snip - issues removing a missing drive - see below for new log] Is this actually a problem, or can I just keep running as is? It seems

Re: Can't remove missing drive

2010-11-06 Thread William Uther
Hi, I was trying to remove a 'missing' drive from a raid1 setup. It was suggested on this list that I update to HEAD. I updated my kernel to Ubuntu-lts-2.6.37-2.9, which appears to have the latest BTRFS code in it. I then tried to remove my missing drive again: r...@willvo:~# btrfs

Re: btrfs filesystem defragment error

2010-11-09 Thread William Uther
You need to run it as root (via sudo or whatever). On the other hand, it probably doesn't work like you think it does, and you probably don't want to defrag anyway :p btrfs fi defrag takes a file or folder, and defrags just that file or folder (i.e., no recursion). Quick question about