All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roy Sigurd Karlsbakk <roy@karlsbakk.net>
To: Linux RAID <linux-raid@vger.kernel.org>
Subject: raid-5 initiated as raid-4?
Date: Thu, 7 Feb 2013 18:08:59 +0100 (CET)	[thread overview]
Message-ID: <4216250.12.1360256939673.JavaMail.root@zimbra> (raw)

Hi all

I have a test vm on which I do some testing of md raid. Just tried

root@raidtest:~# mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/vd{b..d}
(wait a bit)
root@raidtest:~# cat /proc/mdstat 
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md0 : active raid5 vdf[5](S) vde[4](S) vdd[3] vdc[1] vdb[0]
      4191232 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]

ok, raid's up, but checking the data actually stored on disk on the host system shows:

root@smilla:/raid/libvirt/images# ls -l raidtest-{1..3}.qcow2
-rw-r--r-- 1 libvirt-qemu kvm     393216 Feb  7 18:06 raidtest-1.qcow2
-rw-r--r-- 1 libvirt-qemu kvm     393216 Feb  7 18:06 raidtest-2.qcow2
-rw-r--r-- 1 libvirt-qemu kvm 2146500608 Feb  7 18:06 raidtest-3.qcow2

Does this mean the raid-5 is actually initiated as a raid-4?

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
roy@karlsbakk.net
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2013-02-07 17:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 17:08 Roy Sigurd Karlsbakk [this message]
2013-02-07 17:53 ` raid-5 initiated as raid-4? Robin Hill
2013-02-07 17:56   ` Roy Sigurd Karlsbakk
2013-02-07 18:32     ` Roy Sigurd Karlsbakk

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=4216250.12.1360256939673.JavaMail.root@zimbra \
    --to=roy@karlsbakk.net \
    --cc=linux-raid@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.