From: Tejas Rao <raot@bnl.gov>
To: linux-raid@vger.kernel.org
Subject: scsi_debug support
Date: Thu, 14 Jan 2016 19:22:05 -0500 [thread overview]
Message-ID: <56983BAD.9040308@bnl.gov> (raw)
Are scsi_debug devices supported with linux raid. I cannot seem to
create a basic array.
[root@temp01 ~]# modprobe scsi_debug add_host=2 max_luns=3 num_tgts=4
dev_size_mb=10240
[root@temp01 ~]# lsscsi | grep -e sda -e sdb
[8:2:0:0] disk IBM ServeRAID M5110e 3.34 /dev/sdbm
[8:2:1:0] disk IBM ServeRAID M5110e 3.34 /dev/sdbn
[52:0:0:0] disk Linux scsi_debug 0004 /dev/sda
[52:0:0:1] disk Linux scsi_debug 0004 /dev/sdb
[root@temp01 ~]# fdisk -l /dev/sda
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 32768 bytes
Disk identifier: 0x00000000
[root@temp01 ~]# mdadm --create --verbose /dev/md0 --level=0
--raid-devices=2 /dev/sda /dev/sdb
mdadm: super1.x cannot open /dev/sda: Device or resource busy
mdmon: ddf: Cannot use /dev/sda: Device or resource busy
mdmon: Cannot use /dev/sda: It is busy
mdadm: cannot open /dev/sda: Device or resource busy
[root@temp01 ~]#
[root@temp01 ~]# mdadm -V
mdadm - v3.3 - 3rd September 2013
[root@temp01 ~]# uname -a
Linux temp01.rcf.bnl.gov 2.6.32-573.12.1.el6.x86_64 #1 SMP Mon Nov 23
12:55:32 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@temp01 ~]#
reply other threads:[~2016-01-15 0:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=56983BAD.9040308@bnl.gov \
--to=raot@bnl.gov \
--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.