Re: Btrfs partition lost after RAID1 mirror disk failure?

2012-01-06 Thread C Anthony Risinger
On Wed, Jan 4, 2012 at 2:30 PM, Dan Garton dan.gar...@gmail.com wrote:

 Assuming that this is the case, do I stand a chance of retrieving that
 volume and accessing that data again?
 Or does destructive imply total loss? (In which case, I'll cut my
 losses)

unfortunately i really don't know enough to advise ... i did similar
actions a long time ago while experimenting for an initcpio-based
rollback utility, but in my case the FS was a dummy/loopback, so i
just burned it.  my only suggestion would be to try Josef's readonly
recovery/slurp utility and maybe you can pull some data off, since my
completely uninformed guess is the structures are 99% intact, but your
UUIDs no longer match, or internal top-level pointers to wrong
locations, etc etc.  perhaps someone more familiar with actual
internals can be of more help -- good luck.

-- 

C Anthony
--
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: Btrfs partition lost after RAID1 mirror disk failure?

2012-01-03 Thread C Anthony Risinger
On Tue, Jan 3, 2012 at 8:44 AM, Dan Garton dan.gar...@gmail.com wrote:

  [...]
  1327  btrfs-vol -a
  1328  btrfs-vol -a /nuvat
  1329  btrfs-vol -a asdasd /nuvat
  1330  btrfs-vol -a missing /nuvat
  1331  btrfs-vol -a /dev/sdc /nuvat
  1332  btrfs-vol -a /dev/sdb /nuvat
  1334  btrfs-vol -a missing /nuvat
  [...]

these look destructive to me ... adding the wrong devices and the
existing devices back to the current array?  IIRC you should have `-r
missing`, but in general, do not use the btrfsctl utility at all -- it
won't have as much visibility/exception-handling/recovery as the
`btrfs` utility.

at what point did your FS become inaccessible?  your command history
suggest it was working until shortly after these commands ... :-(

-- 

C Anthony
--
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