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 th

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

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

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

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 super

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 wi

Re: Adding a disk fails

2011-01-21 Thread Fajar A. Nugraha
On Fri, Jan 21, 2011 at 2:00 PM, Helmut Hullen 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 don

Re: Adding a disk fails

2011-01-20 Thread Helmut Hullen
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 every boot? Yes - this advice is added in the Wiki (?). > If so, wher

Re: Adding a disk fails

2011-01-20 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

Re: Adding a disk fails

2011-01-20 Thread Hubert Kario
On Friday 21 of January 2011 00:10:54 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 > >

Re: Adding a disk fails

2011-01-20 Thread Carl Cook
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 one > btrfs device add /dev/sdc /me

Re: Adding a disk fails

2011-01-20 Thread Carl Cook
I must have done something wrong because for the past week or so, almost none of my questions have been answered here. I'm pretty much in trouble now because I have -no- backups, as I cannot get my backup server running, as I've put all my eggs in the btrfs basket. Am I asking things wrong, o

Re: Adding a disk fails

2011-01-20 Thread Goffredo Baroncelli
On 01/20/2011 10:18 PM, Carl Cook wrote: > > Well I've just tried to add a disk to another, but it fails. I > created the first (starting with no traditional partitions) with: # > mkfs.btrfs /dev/sdb > > Then I mounted it to /media/backups and put lots of files on it. I > shut down the system,

Adding a disk fails

2011-01-20 Thread Carl Cook
Well I've just tried to add a disk to another, but it fails. I created the first (starting with no traditional partitions) with: # mkfs.btrfs /dev/sdb Then I mounted it to /media/backups and put lots of files on it. I shut down the system, added another disk. Set it up with: # mkfs.btrfs /de