Raid1 degraded mode

2011-01-06 Thread Alan Chandler
I am trying to understand how btrfs works with Raid1. Is it possible to create the filesystem with -m raid1 -d raid1 in which there is only one device available when the filesystem is created. Is it possible to refer to a second device as missing The use case I am thinking of is converting

Re: Synching a Backup Server

2011-01-09 Thread Alan Chandler
reclaim the space by deleting some of the old snapshots. -- Alan Chandler http://www.chandlerfamily.org.uk -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Various Questions

2011-01-09 Thread Alan Chandler
is not deleting /home/.* files (if there any there). -- Alan Chandler http://www.chandlerfamily.org.uk -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Synching a Backup Server

2011-01-09 Thread Alan Chandler
was thinking subvolumes where like an LV. They are, but not quite the same. -- Alan Chandler http://www.chandlerfamily.org.uk -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: Synching a Backup Server

2011-01-09 Thread Alan Chandler
completely and add in the freed up device using btrfs device add -- Alan Chandler http://www.chandlerfamily.org.uk -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: Synching a Backup Server

2011-01-09 Thread Alan Chandler
something like a USB stick initially and then failing it, and replacing it with the real device when ready. If thats possible, then perhaps functionality to do it without faking it could be added to the to do list. It sure would be useful in migrating from mdmadm/lvm setup. -- Alan Chandler

Re: Filesystem creation in degraded mode

2011-01-12 Thread Alan Chandler
On 12/01/11 14:02, Hugo Mills wrote: I've had a go at determining exactly what happens when you create a filesystem without enough devices to meet the requested replication strategy: Thanks - being new to this I haven't set up the infrastructure to try these tests - but am interested