Some devices missing behaviour

2010-10-09 Thread Hugo Mills
I've just encountered some odd behaviour with regard to removed devices. Brief summary: - It's hard (in some sense) to tell a btrfs filesystem that a device has been removed permanently, and seems to require an unmount/remount, or resize to do so. - Removed devices break btrfs dev

Re: Some devices missing behaviour

2010-10-09 Thread Goffredo Baroncelli
Hi Hugo, I can reproduce this behavior, and the solution is quite simple: do a sync after the removing the device. Let me explain what (I think) happen. The command btrfs filesystem show reads every block device and shows the relevant information. This is performed without passing for the