Find RAID level, Change RAID level.

2011-10-29 Thread Jordan Windsor
Hello,
I was wondering is it possible to find the RAID level currently in use
by a btrfs volume, also can I change the data  metadata (or either)
RAID levels after creation.
Thanks.
--
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: Find RAID level, Change RAID level.

2011-10-29 Thread Hugo Mills
On Sun, Oct 30, 2011 at 12:28:39AM +1030, Jordan Windsor wrote:
 Hello,
 I was wondering is it possible to find the RAID level currently in use
 by a btrfs volume, also can I change the data  metadata (or either)
 RAID levels after creation.

   To see the RAID levels, use

btrfs fi df /path/to/filesystem

   To change RAID levels, you will need Ilya Dryomov's restriper
patches, which were posted to this list back in August.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
 --- Ceci est un travail pour l'Australien. ---  


signature.asc
Description: Digital signature


Re: Find RAID level, Change RAID level.

2011-10-29 Thread Hugo Mills
On Sun, Oct 30, 2011 at 01:06:49AM +1030, Jordan Windsor wrote:
 On Sun, Oct 30, 2011 at 1:04 AM, Hugo Mills h...@carfax.org.uk wrote:
  On Sun, Oct 30, 2011 at 12:55:33AM +1030, Jordan Windsor wrote:
  On Sun, Oct 30, 2011 at 12:43 AM, Hugo Mills h...@carfax.org.uk wrote:
   On Sun, Oct 30, 2011 at 12:28:39AM +1030, Jordan Windsor wrote:
   Hello,
   I was wondering is it possible to find the RAID level currently in use
   by a btrfs volume, also can I change the data  metadata (or either)
   RAID levels after creation.
  
     To see the RAID levels, use
  
   btrfs fi df /path/to/filesystem
  
     To change RAID levels, you will need Ilya Dryomov's restriper
   patches, which were posted to this list back in August.
 
  Thanks, so If it mentions DUP on the metadata  system line I'm using 
  RAID1?
 
    No, DUP is two copies of the data (or metadata), but kept on the
  same block device.
 
 If the word RAID isn't mentioned, I'm in single mode for both metadata  data?

   If there's nothing at all, then it's single. If it says DUP, then
you have two redundant copies, but they could both be on the same
block device, so it'll protect you from a bad block or out-of-band
data corruption, but not from the loss of the whole disk.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
 --- Ceci est un travail pour l'Australien. ---  


signature.asc
Description: Digital signature


Re: Find RAID level, Change RAID level.

2011-10-29 Thread Jordan Windsor
On Sun, Oct 30, 2011 at 1:14 AM, Hugo Mills h...@carfax.org.uk wrote:
 On Sun, Oct 30, 2011 at 01:06:49AM +1030, Jordan Windsor wrote:
 On Sun, Oct 30, 2011 at 1:04 AM, Hugo Mills h...@carfax.org.uk wrote:
  On Sun, Oct 30, 2011 at 12:55:33AM +1030, Jordan Windsor wrote:
  On Sun, Oct 30, 2011 at 12:43 AM, Hugo Mills h...@carfax.org.uk wrote:
   On Sun, Oct 30, 2011 at 12:28:39AM +1030, Jordan Windsor wrote:
   Hello,
   I was wondering is it possible to find the RAID level currently in use
   by a btrfs volume, also can I change the data  metadata (or either)
   RAID levels after creation.
  
     To see the RAID levels, use
  
   btrfs fi df /path/to/filesystem
  
     To change RAID levels, you will need Ilya Dryomov's restriper
   patches, which were posted to this list back in August.
 
  Thanks, so If it mentions DUP on the metadata  system line I'm using 
  RAID1?
 
    No, DUP is two copies of the data (or metadata), but kept on the
  same block device.
 
 If the word RAID isn't mentioned, I'm in single mode for both metadata  
 data?

   If there's nothing at all, then it's single. If it says DUP, then
 you have two redundant copies, but they could both be on the same
 block device, so it'll protect you from a bad block or out-of-band
 data corruption, but not from the loss of the whole disk.

   Hugo.

 --
 === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
             --- Ceci est un travail pour l'Australien. ---

Just curious, If I go with RAID1 will I still get the speed boost that
comes along with RAID0? (Read from both drives)
Thanks.
--
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


help

2011-10-29 Thread Kai Moonbourn


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


[no subject]

2011-10-29 Thread Kai Moonbourn

help
--
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


Ack!

2011-10-29 Thread Kai Moonbourn
It's been a few years since I subscribed to anything and I completely 
forgot which e-mail address I actually needed to send things to.


Pardon my silliness.
--
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: Find RAID level, Change RAID level.

2011-10-29 Thread Helmut Hullen
Hallo, Jordan,

Du meintest am 30.10.11:

 I was wondering is it possible to find the RAID level currently
 in use by a btrfs volume, also can I change the data  metadata
 (or either) RAID levels after creation.

   To see the RAID levels, use

 btrfs fi df /path/to/filesystem


I've just run that command on my system:

Data, RAID0: total=3.81TB, used=3.71TB
System, RAID1: total=16.00MB, used=244.00KB
System: total=4.00MB, used=0.00
Metadata, RAID1: total=16.25GB, used=4.78GB


And that shows what I have defined via mkfs.btrfs: ... --data raid0  
--metadata raid1

What tells your system?

What do you want to be installed?

Viele Gruesse!
Helmut
--
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