From: Hendrik Friedel <hendrik@friedels.name>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: raid0, raid1, raid5, what to choose?
Date: Thu, 13 Jun 2013 23:09:00 +0200 [thread overview]
Message-ID: <51BA34EC.1080800@friedels.name> (raw)
Hello,
I'd appreciate your recommendation on this:
I have three hdd with 3TB each. I intend to use them as raid5 eventually.
currently I use them like this:
# mount|grep sd
/dev/sda1 on /mnt/Datenplatte type ext4
/dev/sdb1 on /mnt/BTRFS/Video type btrfs
/dev/sdb1 on /mnt/BTRFS/rsnapshot type btrfs
#df -h
/dev/sda1 2,7T 1,3T 1,3T 51% /mnt/Datenplatte
/dev/sdb1 5,5T 5,4T 93G 99% /mnt/BTRFS/Video
/dev/sdb1 5,5T 5,4T 93G 99% /mnt/BTRFS/rsnapshot
Now, what surprises me, and here I lack memory- is that sdb appears
twice.. I think, I created a raid1, but how can I find out?
#/usr/local/smarthome# ~/btrfs/btrfs-progs/btrfs fi show /dev/sdb1
Label: none uuid: 989306aa-d291-4752-8477-0baf94f8c42f
Total devices 2 FS bytes used 2.68TB
devid 2 size 2.73TB used 2.73TB path /dev/sdc1
devid 1 size 2.73TB used 2.73TB path /dev/sdb1
Now, I wanted to convert it to raid0, because I lack space and
redundancy is not important for the Videos and the Backup, but this fails:
~/btrfs/btrfs-progs/btrfs fi balance start -dconvert=raid0 /mnt/BTRFS/
ERROR: error during balancing '/mnt/BTRFS/' - Inappropriate ioctl for device
dmesg does not help here.
Anyway: This gave me some time to think about this. In fact, as soon as
raid5 is stable, I want to have all three as a raid5. Will this be
possible with a balance command? If so: will this be possible as soon as
raid5 is stable, or will I have to wait longer?
What approach do you recommend?
Greetings,
Hendrik
next reply other threads:[~2013-06-13 21:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 21:09 Hendrik Friedel [this message]
2013-06-13 21:21 ` raid0, raid1, raid5, what to choose? Hugo Mills
2013-06-13 22:51 ` cwillu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51BA34EC.1080800@friedels.name \
--to=hendrik@friedels.name \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.