RAID1 storage server won't boot with one disk missing

2015-09-16 Thread erp...@gmail.com
Good afternoon, Earlier today, I tried to set up a storage server using btrfs but ran into some problems. The goal was to use two disks (4.0TB each) in a raid1 configuration. What I did: 1. Attached a single disk to a regular PC configured to boot with UEFI. 2. Booted from a thumb drive that had

Re: Defrag operations sometimes don't work.

2015-07-12 Thread erp...@gmail.com
On Sun, Jul 12, 2015 at 2:54 AM, Martin Steigerwald wrote: > Note however: Even without "sync" BTRFS will defragment the file. It may > just take a while till the new extents are written. So there is no need to > call "sync" after btrfs fi defrag. My purpose in calling sync in that transcript was

Re: Defrag operations sometimes don't work.

2015-07-11 Thread erp...@gmail.com
On Sat, Jul 11, 2015 at 4:12 AM, Martin Steigerwald wrote: > Always do "sync" after a "btrfs fi defrag" and before measuring with > "filefrag". The kernel may not have written everything. I have seen this > repeatedly that the extent count drops further after a "sync", following > "btrfs fi defrag

Defrag operations sometimes don't work.

2015-07-10 Thread erp...@gmail.com
Good afternoon, First, my apologies if this is a repeat email. My original email contained an uncompressed copy of dmesg's output and I *believe* that pushed the message over the 100KB limit, causing the list to drop it. When I try to defragment files (or recursively defragment trees of files) on