linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adding a disk fails
@ 2011-01-20 21:18 Carl Cook
  2011-01-20 22:13 ` Goffredo Baroncelli
  2011-01-20 22:31 ` Carl Cook
  0 siblings, 2 replies; 14+ messages in thread
From: Carl Cook @ 2011-01-20 21:18 UTC (permalink / raw)
  To: linux-btrfs


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 /dev/sdc
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL
WARNING! - see http://btrfs.wiki.kernel.org before using
fs created label (null) on /dev/sdc
        nodesize 4096 leafsize 4096 sectorsize 4096 size 1.82TB
Btrfs Btrfs v0.19
# btrfs device scan
Scanning for Btrfs filesystems
#
(... Nothing?  Not even my known mounted sdb drive?)
# btrfs device add /dev/sdc /media/backups
ERROR: error adding the device '/dev/sdc'

It gives no clue as to what might possibly be the problem.  I want raid0.

Also I can not understand this:
"Note: While subvolumes can be created anywhere in the filesystem tree, in order to be mounted by name a subvolume or snapshot must be in the root of the btrfs filesystem."

I want to do this, but do not know what this means.  Tentatively I've created a BTRFS volume and mounted it on /media/backups.  I then created subvolumes as backup-hex, backup-droog, snaps-hex and snaps-droog.  When I created a snapshot it created a subdir under snaps-hex called hex-root.

It won't allow me to remove snapshots. (Debian Testing)

Also does anyone know how to create a shapshot with the current date in the name?

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-01-21 19:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 21:18 Adding a disk fails Carl Cook
2011-01-20 22:13 ` Goffredo Baroncelli
2011-01-20 23:10   ` Carl Cook
2011-01-21  6:55     ` Hubert Kario
2011-01-21 10:16       ` CACook
2011-01-21 10:41         ` Hubert Kario
2011-01-21  7:00     ` Helmut Hullen
2011-01-21  8:00       ` Fajar A. Nugraha
2011-01-21 18:42     ` Goffredo Baroncelli
2011-01-21 19:16       ` CACook
2011-01-21  6:57   ` Helmut Hullen
2011-01-21 10:51   ` Helmut Hullen
2011-01-21 13:23   ` Helmut Hullen
2011-01-20 22:31 ` Carl Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).