Re: Adding a disk fails

2011-01-21 Thread Fajar A. Nugraha
On Fri, Jan 21, 2011 at 2:00 PM, Helmut Hullen hul...@t-online.de wrote: Hallo, Carl, Du meintest am 20.01.11: If you shutdown the system, at the reboot you should scan all the device in order to find the btrfs ones # find the btrfs device btrfs device scan This must be done at

btrfs RAID1 woes and tiered storage

2011-01-21 Thread Hubert Kario
I've been experimenting lately with btrfs RAID1 implementation and have to say that it is performing quite well, but there are few problems: * when I purposefully damage partitions on which btrfs stores data (for example, by changing the case of letters) it will read the other copy and

Re: btrfs, broken design?

2011-01-21 Thread Benoît Thiébault
Ok, thanks, I will read the project wiki more carefully then :-) Beware however that Wikipedia is the first place to look for information for a lot of people (whether this is a good practice or not) and it currently does not provide a very good advertisement to btrfs. Kind regards Le 21 janv.

Re: btrfs, broken design?

2011-01-21 Thread Hubert Kario
On Friday 21 of January 2011 09:11:57 Benoît Thiébault wrote: Ok, thanks, I will read the project wiki more carefully then :-) Beware however that Wikipedia is the first place to look for information for a lot of people (whether this is a good practice or not) and it currently does not provide

Re: Kernel error during btrfs balance

2011-01-21 Thread Yan, Zheng
please try patch attached below, Thanks. --- diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index b37d723..49d6b13 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -1158,6 +1158,7 @@ static int clone_backref_node(struct btrfs_trans_handle *trans,

Re: Adding a disk fails

2011-01-21 Thread CACook
On Thu 20 January 2011 22:55:54 Hubert Kario wrote: You still have a btrfs on /dev/sdc, do a dd if=/dev/zero of=/dev/sdc bs=8192 (overkill, but I don't remember which blocks have to be zeroed to destroy btrfs superblock) I gave up and started over. Maybe it should be clarified in the wiki

Re: Adding a disk fails

2011-01-21 Thread Hubert Kario
On Friday, January 21, 2011 11:16:49 cac...@quantum-sci.com wrote: On Thu 20 January 2011 22:55:54 Hubert Kario wrote: You still have a btrfs on /dev/sdc, do a dd if=/dev/zero of=/dev/sdc bs=8192 (overkill, but I don't remember which blocks have to be zeroed to destroy btrfs superblock)

Re: Adding a disk fails

2011-01-21 Thread Helmut Hullen
Hallo, Goffredo, Du meintest am 20.01.11: To add another disk you don't have to run mkfs.btrfs. For example: # add the first disk mkfs.btrfs /dev/sdb # mount the disk mount /dev/sdb /media/backups # add another disk to the first one btrfs device add /dev/sdc /media/backup Note1: the

version (was: btrfs, broken design?)

2011-01-21 Thread Helmut Hullen
Hallo, Chris, Du meintest am 20.01.11: Is there a planned date for the final release of btrfs? A final release? We'll keep improving things for a long time. The biggest missing feature today is btrfsck, which I'm working on full time right now. Could it be possible to tell somewhere the

Re: Adding a disk fails

2011-01-21 Thread Helmut Hullen
Hallo, Goffredo, Du meintest am 20.01.11: To add another disk you don't have to run mkfs.btrfs. For example: # add the first disk mkfs.btrfs /dev/sdb # mount the disk mount /dev/sdb /media/backups # add another disk to the first one btrfs device add /dev/sdc /media/backup Note1: the

Re: version

2011-01-21 Thread Helmut Hullen
Hallo, Hugo, Du meintest am 21.01.11: Could it be possible to tell somewhere the actual version? Sometimes I download via git, git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-un stable.git and I never have found which version that is; version.sh tells something wrong.

latest btrfs hangs when creating/deleting snapshots

2011-01-21 Thread Ian! D. Allen
I can make the latest btrfs from Chris hang my system. I got a fresh clone yesterday from: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstagle.git Built and installed both tools and kernel into Ubuntu

Re: version

2011-01-21 Thread Helmut Hullen
Hallo, Diego, Du meintest am 21.01.11: And I never have seen somethin like Changelog - that would be fine too. Check the wiki, I keep that updated: https://btrfs.wiki.kernel.org/index.php/Main_Page#News Thank you - that's more simple for me than first cloning via git clone and then

Re: version

2011-01-21 Thread Helmut Hullen
Hallo, Hugo, Du meintest am 21.01.11: Check the wiki, I keep that updated: https://btrfs.wiki.kernel.org/index.php/Main_Page#News Thank you - that's more simple for me than first cloning via git clone and then running git log. Once you've done a git clone, you can keep it up to date by

Re: Shrinking virtual disk with btrfs on it

2011-01-21 Thread Hugo Mills
On Fri, Jan 21, 2011 at 10:20:34AM -0700, Rodney Beede wrote: Any tools to go about zeroing about the free space on a btrfs file system so I can shrink the VMware vmdk virtual disk? I ran the VMware command, but the dynamic disk is still really big. I presume it is due to free space that

Re: Adding a disk fails

2011-01-21 Thread Goffredo Baroncelli
On 01/21/2011 12:10 AM, Carl Cook wrote: On Thu 20 January 2011 14:13:22 Goffredo Baroncelli wrote: To add another disk you don't have to run mkfs.btrfs. For example: # add the first disk mkfs.btrfs /dev/sdb # mount the disk mount /dev/sdb /media/backups # add another disk to the first

Re: Backup Command

2011-01-21 Thread CACook
Well thanks to some help from you guys I seem to have my backup server almost fully running and functional with rsync. Amazing functions, this snapshotting and rsync. I still don't know why I cannot remove snapshots though. (Debian Testing with 2.6.32-28) And I don't know how to reach out

Re: Backup Command

2011-01-21 Thread Goffredo Baroncelli
On 01/21/2011 08:07 PM, cac...@quantum-sci.com wrote: Well thanks to some help from you guys I seem to have my backup server almost fully running and functional with rsync. Amazing functions, this snapshotting and rsync. I still don't know why I cannot remove snapshots though. (Debian

Re: Backup Command

2011-01-21 Thread Niklas Schnelle
Kernel 2.6.32.x is to old for snapshot deletion, you will have to use something more recent On Fri, 2011-01-21 at 11:07 -0800, cac...@quantum-sci.com wrote: Well thanks to some help from you guys I seem to have my backup server almost fully running and functional with rsync. Amazing functions,

Re: Adding a disk fails

2011-01-21 Thread CACook
On Fri 21 January 2011 10:42:39 Goffredo Baroncelli wrote: Thanks Goffredo but as I say, I did this and it responds with ERROR: error adding the device '/dev/sdc' .. it doesn't give a clue. In your email you wrote that before adding the device you format it. Anyway I don't think that

Re: Synching a Backup Server

2011-01-21 Thread Freddie Cash
On Sun, Jan 9, 2011 at 10:30 AM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Sun, Jan 09, 2011 at 09:59:46AM -0800, Freddie Cash wrote: Let see if I can match up the terminology and layers a bit: LVM Physical Volume == Btrfs disk == ZFS disk / vdevs LVM Volume Group == Btrfs filesystem ==

Re: Backup Command

2011-01-21 Thread Freddie Cash
On Fri, Jan 21, 2011 at 11:07 AM, cac...@quantum-sci.com wrote: Well thanks to some help from you guys I seem to have my backup server almost fully running and functional with rsync.  Amazing functions, this snapshotting and rsync. I still don't know why I cannot remove snapshots though.

Re: Shrinking virtual disk with btrfs on it

2011-01-21 Thread David Pottage
On 21/01/11 17:20, Rodney Beede wrote: Any tools to go about zeroing about the free space on a btrfs file system so I can shrink the VMware vmdk virtual disk? I ran the VMware command, but the dynamic disk is still really big. I presume it is due to free space that isn't zeroed out. Does

[PATCH] Btrfs: make shrink_delalloc a little friendlier

2011-01-21 Thread Josef Bacik
Xfstests 224 will just sit there and spin for ever until eventually we give up flushing delalloc and exit. On my box this took several hours. I could not interrupt this process either, even though we use INTERRUPTIBLE. So do 2 things 1) Keep us from looping over and over again without

Re: Backup Command

2011-01-21 Thread CACook
On Fri 21 January 2011 11:44:24 Freddie Cash wrote: #!/bin/sh ssh someu...@mythtv.pc /path/to/some/script stop /path/to/your/rsync/script ssh someu...@mythtv.pc /path/to/some/script start Ho-lee crap, this is fantastic. Everything seems to work. I find though that if I stop myth