<font size=2 face="sans-serif">Ok this is a cross list post (DRBD and
SCST) as I don't know if this is an issue BETWEEN DRBD and SCST</font>
<br>
<br><font size=2 face="sans-serif">I believe I'm doing this as "plain"
as I can but STILL have issues, clean rebuild etc.</font>
<br><font size=2 face="sans-serif">This is a LONG email but I feel it's
the only way I'm going to get anywhere with trying to solve the issue I'm
having.</font>
<br><font size=2 face="sans-serif">I really need one of "the powers
that be" tell me what step I'm either missing or what i'm screwing
up.</font>
<br><font size=2 face="sans-serif">I have a very simple setup in a lab
environment for now (no use implementing this in production unless I can
get it working in the lab)</font>
<br><font size=2 face="sans-serif">I'm using VMware workstation.</font>
<br><font size=2 face="sans-serif">I have a single VM setup.</font>
<br><font size=2 face="sans-serif">1024Mb RAM</font>
<br><font size=2 face="sans-serif">1 cpu, 4 cores (Core i5 is the lab machine)</font>
<br><font size=2 face="sans-serif">6 nic's (4 for MPIO), 1 for dedicated
drbd replication, 1 for "management acces" + heartbeat</font>
<br><font size=2 face="sans-serif">serial connection for heartbeat.</font>
<br><font size=2 face="sans-serif">VMdisks are IDE, NOT lsi scsi (keeping
it simple in the lab)</font>
<br><font size=2 face="sans-serif">Basically I want to build a simple iSCSI
SAN (x2) for redundancy</font>
<br><font size=2 face="sans-serif">scst</font>
<br><font size=2 face="sans-serif">iscsi-scst</font>
<br><font size=2 face="sans-serif">drbd</font>
<br><font size=2 face="sans-serif">heartbeat</font>
<br><font size=2 face="sans-serif">lvm2</font>
<br>
<br><font size=2 face="sans-serif">storage00 Ubuntu 10.40 LTS 64bit</font>
<br>
<br><font size=2 face="sans-serif">Followed the bouncing ball for the installation.</font>
<br><font size=2 face="sans-serif">Manually configured partitions</font>
<br>
<br><font size=2 face="sans-serif">/ 20GB</font>
<br><font size=2 face="sans-serif">swap 512MB</font>
<br><font size=2 face="sans-serif">unmounted 1GB partition (/devdrbd0 once
configured)</font>
<br><font size=2 face="sans-serif">unmounted 40GB partition (/dev/drbd1
once configured)</font>
<br>
<br><font size=2 face="sans-serif">Installation completes with no issues.</font>
<br>
<br><font size=2 face="sans-serif">Now I'm doing a blow by blow for this
as I need someone to tell me what I'm doing wrong.</font>
<br>
<br><font size=2 face="sans-serif">-> Login as user</font>
<br><font size=2 face="sans-serif">root@storage00:sudo su</font>
<br><font size=2 face="sans-serif">root@storage00:passwd root</font>
<br><font size=2 face="sans-serif">root@storage00:exit</font>
<br><font size=2 face="sans-serif">root@storage00:exit</font>
<br>
<br><font size=2 face="sans-serif">-> Login as root</font>
<br><font size=2 face="sans-serif">root@storage00:apt-get update</font>
<br><font size=2 face="sans-serif">root@storage00:apt-get install ssh openssh-server
ntp ntpdate</font>
<br><font size=2 face="sans-serif">root@storage00:exit</font>
<br>
<br><font size=2 face="sans-serif">-> SSH from now on</font>
<br><font size=2 face="sans-serif">-> Setup some basic stuff</font>
<br><font size=2 face="sans-serif">root@storage00:/# cat /etc/hosts</font>
<br><font size=2 face="sans-serif">127.0.0.1 localhost</font>
<br><font size=2 face="sans-serif">192.168.1.10 storage00</font>
<br><font size=2 face="sans-serif">192.168.1.11 storage01</font>
<br>
<br><font size=2 face="sans-serif"># The following lines are desirable
for IPv6 capable hosts</font>
<br><font size=2 face="sans-serif">::1 localhost ip6-localhost
ip6-loopback</font>
<br><font size=2 face="sans-serif">fe00::0 ip6-localnet</font>
<br><font size=2 face="sans-serif">ff00::0 ip6-mcastprefix</font>
<br><font size=2 face="sans-serif">ff02::1 ip6-allnodes</font>
<br><font size=2 face="sans-serif">ff02::2 ip6-allrouters</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:/# cat /etc/network/interfaces</font>
<br><font size=2 face="sans-serif"># This file describes the network interfaces
available on your system</font>
<br><font size=2 face="sans-serif"># and how to activate them. For more
information, see interfaces(5).</font>
<br>
<br><font size=2 face="sans-serif"># The loopback network interface</font>
<br><font size=2 face="sans-serif">auto lo</font>
<br><font size=2 face="sans-serif">iface lo inet loopback</font>
<br>
<br><font size=2 face="sans-serif">auto eth0</font>
<br><font size=2 face="sans-serif">iface eth0 inet static</font>
<br><font size=2 face="sans-serif"> address
10.1.5.10</font>
<br><font size=2 face="sans-serif"> netmask
255.255.255.0</font>
<br>
<br><font size=2 face="sans-serif">auto eth1</font>
<br><font size=2 face="sans-serif">iface eth1 inet static</font>
<br><font size=2 face="sans-serif"> address
10.1.5.11</font>
<br><font size=2 face="sans-serif"> netmask
255.255.255.0</font>
<br>
<br><font size=2 face="sans-serif">auto eth2</font>
<br><font size=2 face="sans-serif">iface eth2 inet static</font>
<br><font size=2 face="sans-serif"> address
10.1.5.12</font>
<br><font size=2 face="sans-serif"> netmask
255.255.255.0</font>
<br>
<br><font size=2 face="sans-serif">auto eth3</font>
<br><font size=2 face="sans-serif">iface eth3 inet static</font>
<br><font size=2 face="sans-serif"> address
10.1.5.13</font>
<br><font size=2 face="sans-serif"> netmask
255.255.255.0</font>
<br>
<br><font size=2 face="sans-serif"># The primary network interface</font>
<br><font size=2 face="sans-serif">auto eth4</font>
<br><font size=2 face="sans-serif">iface eth4 inet static</font>
<br><font size=2 face="sans-serif"> address
10.0.10.71</font>
<br><font size=2 face="sans-serif"> netmask
255.255.255.0</font>
<br><font size=2 face="sans-serif"> network
10.0.10.0</font>
<br><font size=2 face="sans-serif"> broadcast
10.0.10.255</font>
<br><font size=2 face="sans-serif"> gateway
10.0.10.1</font>
<br><font size=2 face="sans-serif"> # dns-*
options are implemented by the resolvconf package, if installed</font>
<br><font size=2 face="sans-serif"> dns-nameservers
10.0.10.10</font>
<br><font size=2 face="sans-serif"> dns-search
eyemedia.net.au</font>
<br>
<br><font size=2 face="sans-serif">auto eth5</font>
<br><font size=2 face="sans-serif">iface eth5 inet static</font>
<br><font size=2 face="sans-serif"> address
192.168.1.10</font>
<br><font size=2 face="sans-serif"> netmask
255.255.255.0</font>
<br>
<br><font size=2 face="sans-serif">-> SCST</font>
<br><font size=2 face="sans-serif">root@storage00:apt-get install subversion</font>
<br><font size=2 face="sans-serif">root@storage00:cd ~</font>
<br><font size=2 face="sans-serif">root@storage00:svn co </font><a href=https://scst.svn.sourceforge.net/svnroot/scst/trunk><font size=2 face="sans-serif">https://scst.svn.sourceforge.net/svnroot/scst/trunk</font></a><font size=2 face="sans-serif">
scst</font>
<br>
<br><font size=2 face="sans-serif">-> DRBD is built into 2.6.33 now
so latest stable 2.6.33.6</font>
<br><font size=2 face="sans-serif">root@storage00:cd /usr/src/</font>
<br><font size=2 face="sans-serif">root@storage00:wget </font><a href="http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.6.tar.bz2"><font size=2 face="sans-serif">http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.6.tar.bz2</font></a>
<br><font size=2 face="sans-serif">root@storage00:tar vxjf linux-2.6.33.6.tar.bz2</font>
<br><font size=2 face="sans-serif">root@storage00:ln -s linux-2.6.33.6
linux</font>
<br><font size=2 face="sans-serif">root@storage00:cd linux</font>
<br><font size=2 face="sans-serif">root@storage00:apt-get install build-essential
libncurses5-dev kernel-package</font>
<br><font size=2 face="sans-serif">root@storage00:/usr/src/linux# patch
-p1 < ~/scst/iscsi-scst/kernel/patches/put_page_callback-2.6.33.patch</font>
<br><font size=2 face="sans-serif">patching file include/linux/mm_types.h</font>
<br><font size=2 face="sans-serif">patching file include/linux/net.h</font>
<br><font size=2 face="sans-serif">patching file net/core/dev.c</font>
<br><font size=2 face="sans-serif">Hunk #1 succeeded at 2654 (offset 2
lines).</font>
<br><font size=2 face="sans-serif">patching file net/core/skbuff.c</font>
<br><font size=2 face="sans-serif">patching file net/ipv4/ip_output.c</font>
<br><font size=2 face="sans-serif">patching file net/ipv4/Makefile</font>
<br><font size=2 face="sans-serif">patching file net/ipv4/tcp.c</font>
<br><font size=2 face="sans-serif">patching file net/ipv4/tcp_output.c</font>
<br><font size=2 face="sans-serif">patching file net/ipv4/tcp_zero_copy.c</font>
<br><font size=2 face="sans-serif">patching file net/ipv6/ip6_output.c</font>
<br><font size=2 face="sans-serif">patching file net/Kconfig</font>
<br><font size=2 face="sans-serif">root@storage00:/usr/src/linux# patch
-p1 < ~/scst/scst/kernel/scst_exec_req_fifo-2.6.33.patch</font>
<br><font size=2 face="sans-serif">patching file block/blk-map.c</font>
<br><font size=2 face="sans-serif">patching file include/linux/blkdev.h</font>
<br><font size=2 face="sans-serif">patching file include/linux/scatterlist.h</font>
<br><font size=2 face="sans-serif">patching file lib/scatterlist.c</font>
<br><font size=2 face="sans-serif">root@storage00:cp /boot/config-2.6.32-21-server
.config</font>
<br><font size=2 face="sans-serif">root@storage00:export CONCURRENCY_LEVEL=5</font>
<br><font size=2 face="sans-serif">root@storage00:make mrproper</font>
<br><font size=2 face="sans-serif">root@storage00:make oldconfig</font>
<br>
<br><font size=2 face="sans-serif">Kernel compression mode</font>
<br><font size=2 face="sans-serif">> 1. Gzip (KERNEL_GZIP)</font>
<br><font size=2 face="sans-serif"> 2. Bzip2 (KERNEL_BZIP2)</font>
<br><font size=2 face="sans-serif"> 3. LZMA (KERNEL_LZMA)</font>
<br><font size=2 face="sans-serif"> 4. LZO (KERNEL_LZO) (NEW)</font>
<br>
<br><font size=2 face="sans-serif">-> answered 1</font>
<br>
<br><font size=2 face="sans-serif">TCP/IP networking (INET) [Y/n/?] y</font>
<br><font size=2 face="sans-serif"> TCP/IP zero-copy transfer completion
notification (TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION) [N/y/?] (NEW)</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">-> answered y</font>
<br>
<br><font size=2 face="sans-serif">DRBD Distributed Replicated Block Device
support (BLK_DEV_DRBD) [N/m/y/?] (NEW)</font>
<br>
<br><font size=2 face="sans-serif">-> answered m</font>
<br>
<br><font size=2 face="sans-serif">DRBD fault injection (DRBD_FAULT_INJECTION)
[N/y/?] (NEW)</font>
<br>
<br><font size=2 face="sans-serif">-> answered n</font>
<br><font size=2 face="sans-serif">-> took defaults for all other .config
(NEW) options which where all no</font>
<br><font size=2 face="sans-serif">-> will run make localmodconfig on
the production machine but didn't here</font>
<br><font size=2 face="sans-serif">root@storage00:make menuconfig</font>
<br>
<br><font size=2 face="sans-serif">in "Kernel hacking" ->
"Kernel debugging"</font>
<br><font size=2 face="sans-serif"> disable
"Compile the kernel with debug info"</font>
<br><font size=2 face="sans-serif">in "Enable the block layer"
-> "IO Schedulers"</font>
<br><font size=2 face="sans-serif"> enable
"CFQ I/O scheduler"</font>
<br><font size=2 face="sans-serif"> set
"Default I/O scheduler" to "CFQ"</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:fakeroot make-kpkg --initrd
--append-to-version=-scst --revision=1.0 kernel_image kernel_headers</font>
<br>
<br><font size=2 face="sans-serif">-> Got coffee, stared at the screen,
got more coffee...</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:mkdir /etc/kernel/</font>
<br><font size=2 face="sans-serif">root@storage00:mkdir /etc/kernel/postinst.d</font>
<br><font size=2 face="sans-serif">root@storage00:mkdir /etc/kernel/postrm.d</font>
<br><font size=2 face="sans-serif">root@storage00:cp /usr/share/doc/kernel-package/examples/etc/kernel/postinst.d/initramfs
/etc/kernel/postinst.d/initramfs</font>
<br><font size=2 face="sans-serif">root@storage00:cp /usr/share/doc/kernel-package/examples/etc/kernel/postrm.d/initramfs
/etc/kernel/postrm.d/initramfs</font>
<br><font size=2 face="sans-serif">root@storage00:dpkg -i linux-headers-2.6.33.6-scst_1.0_amd64.deb</font>
<br><font size=2 face="sans-serif">root@storage00:/usr/src# dpkg -i linux-image-2.6.33.6-scst_1.0_amd64.deb</font>
<br><font size=2 face="sans-serif">Selecting previously deselected package
linux-image-2.6.33.6-scst.</font>
<br><font size=2 face="sans-serif">(Reading database ... 59444 files and
directories currently installed.)</font>
<br><font size=2 face="sans-serif">Unpacking linux-image-2.6.33.6-scst
(from linux-image-2.6.33.6-scst_1.0_amd64.deb) ...</font>
<br><font size=2 face="sans-serif">Done.</font>
<br><font size=2 face="sans-serif">Setting up linux-image-2.6.33.6-scst
(1.0) ...</font>
<br><font size=2 face="sans-serif">Running depmod.</font>
<br><font size=2 face="sans-serif">Examining /etc/kernel/postinst.d.</font>
<br><font size=2 face="sans-serif">run-parts: executing /etc/kernel/postinst.d/initramfs
2.6.33.6-scst /boot/vmlinuz-2.6.33.6-scst</font>
<br><font size=2 face="sans-serif">Running postinst hook script update-grub.</font>
<br><font size=2 face="sans-serif">Generating grub.cfg ...</font>
<br><font size=2 face="sans-serif">Found linux image: /boot/vmlinuz-2.6.33.6-scst</font>
<br><font size=2 face="sans-serif">Found initrd image: /boot/initrd.img-2.6.33.6-scst</font>
<br><font size=2 face="sans-serif">Found linux image: /boot/vmlinuz-2.6.32-21-server</font>
<br><font size=2 face="sans-serif">Found initrd image: /boot/initrd.img-2.6.32-21-server</font>
<br><font size=2 face="sans-serif">Found memtest86+ image: /boot/memtest86+.bin</font>
<br><font size=2 face="sans-serif">done</font>
<br><font size=2 face="sans-serif">root@storage00:reboot</font>
<br>
<br><font size=2 face="sans-serif">-> Reboot perfectly no issues to
note.</font>
<br><font size=2 face="sans-serif">-> Setup DRBD.</font>
<br><font size=2 face="sans-serif">root@storage00:apt-get install flex</font>
<br><font size=2 face="sans-serif">root@storage00:cd ~</font>
<br><font size=2 face="sans-serif">root@storage00:wget </font><a href="http://oss.linbit.com/drbd/8.3/drbd-8.3.7.tar.gz"><font size=2 face="sans-serif">http://oss.linbit.com/drbd/8.3/drbd-8.3.7.tar.gz</font></a>
<br><font size=2 face="sans-serif">root@storage00:tar zxvf drbd-8.3.7.tar.gz</font>
<br><font size=2 face="sans-serif">root@storage00:cd drbd-8.3.7</font>
<br><font size=2 face="sans-serif">root@storage00:./configure --with-utils
--with-km=no --with-pacemaker=no --prefix=/usr --localstatedir=/var --sysconfdir=/etc</font>
<br><font size=2 face="sans-serif">root@storage00:export CONCURRENCY_LEVEL=5</font>
<br><font size=2 face="sans-serif">root@storage00:make clean</font>
<br><font size=2 face="sans-serif">root@storage00:make KDIR=/usr/src/linux</font>
<br><font size=2 face="sans-serif">root@storage00:make install</font>
<br><font size=2 face="sans-serif">root@storage00:cp /etc/drbd.conf drbd.conf.orig</font>
<br><font size=2 face="sans-serif">root@storage00:/etc# fdisk -l</font>
<br><font size=2 face="sans-serif">Disk /dev/sda: 21.5 GB, 21474836480
bytes</font>
<br><font size=2 face="sans-serif">255 heads, 63 sectors/track, 2610 cylinders</font>
<br><font size=2 face="sans-serif">Units = cylinders of 16065 * 512 = 8225280
bytes</font>
<br><font size=2 face="sans-serif">Sector size (logical/physical): 512
bytes / 512 bytes</font>
<br><font size=2 face="sans-serif">I/O size (minimum/optimal): 512 bytes
/ 512 bytes</font>
<br><font size=2 face="sans-serif">Disk identifier: 0x000dfa04</font>
<br>
<br><font size=2 face="sans-serif"> Device Boot
Start End Blocks
Id System</font>
<br><font size=2 face="sans-serif">/dev/sda1 *
1 2432 19530752
83 Linux</font>
<br><font size=2 face="sans-serif">/dev/sda2
2432 2494 498689
5 Extended</font>
<br><font size=2 face="sans-serif">/dev/sda3
2494 2611 939008
83 Linux</font>
<br><font size=2 face="sans-serif">/dev/sda5
2432 2494 498688
82 Linux swap / Solaris</font>
<br>
<br><font size=2 face="sans-serif">Disk /dev/sdb: 42.9 GB, 42949672960
bytes</font>
<br><font size=2 face="sans-serif">255 heads, 63 sectors/track, 5221 cylinders</font>
<br><font size=2 face="sans-serif">Units = cylinders of 16065 * 512 = 8225280
bytes</font>
<br><font size=2 face="sans-serif">Sector size (logical/physical): 512
bytes / 512 bytes</font>
<br><font size=2 face="sans-serif">I/O size (minimum/optimal): 512 bytes
/ 512 bytes</font>
<br><font size=2 face="sans-serif">Disk identifier: 0x0005e4f9</font>
<br>
<br><font size=2 face="sans-serif"> Device Boot
Start End Blocks
Id System</font>
<br><font size=2 face="sans-serif">/dev/sdb1
1 5222 41940992
8e Linux LVM</font>
<br>
<br><font size=2 face="sans-serif">-> update /etc/drbd.conf</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:/etc# cat drbd.conf</font>
<br><font size=2 face="sans-serif">global {</font>
<br><font size=2 face="sans-serif"> usage-count
no;</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br><font size=2 face="sans-serif">common {</font>
<br><font size=2 face="sans-serif"> syncer {
rate 110M; }</font>
<br><font size=2 face="sans-serif">}</font>
<br><font size=2 face="sans-serif">resource meta {</font>
<br><font size=2 face="sans-serif"> protocol
C;</font>
<br><font size=2 face="sans-serif"> handlers
{</font>
<br><font size=2 face="sans-serif"> pri-on-incon-degr
"echo O > /proc/sysrq-trigger ; halt -f";</font>
<br><font size=2 face="sans-serif"> pri-lost-after-sb
"echo O > /proc/sysrq-trigger ; halt -f";</font>
<br><font size=2 face="sans-serif"> local-io-error
"echo O > /proc/sysrq-trigger ; halt -f";</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> startup
{</font>
<br><font size=2 face="sans-serif"> #
wfc-timeout 0;</font>
<br><font size=2 face="sans-serif"> degr-wfc-timeout
120; # 2 minutes.</font>
<br><font size=2 face="sans-serif"> }</font>
<br><font size=2 face="sans-serif"> disk {</font>
<br><font size=2 face="sans-serif"> on-io-error
detach;</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> net {</font>
<br><font size=2 face="sans-serif"> after-sb-0pri
disconnect;</font>
<br><font size=2 face="sans-serif"> after-sb-1pri
disconnect;</font>
<br><font size=2 face="sans-serif"> after-sb-2pri
disconnect;</font>
<br><font size=2 face="sans-serif"> rr-conflict
disconnect;</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> syncer {</font>
<br><font size=2 face="sans-serif"> #
rate 110M;</font>
<br><font size=2 face="sans-serif"> #
after "r2";</font>
<br><font size=2 face="sans-serif"> al-extents
257;</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> on storage00
{</font>
<br><font size=2 face="sans-serif"> device
/dev/drbd0;</font>
<br><font size=2 face="sans-serif"> disk
/dev/sda3;</font>
<br><font size=2 face="sans-serif"> address
192.168.1.10:7788;</font>
<br><font size=2 face="sans-serif"> meta-disk
internal;</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> on storage01
{</font>
<br><font size=2 face="sans-serif"> device
/dev/drbd0;</font>
<br><font size=2 face="sans-serif"> disk
/dev/sda3;</font>
<br><font size=2 face="sans-serif"> address
192.168.1.11:7788;</font>
<br><font size=2 face="sans-serif"> meta-disk
internal;</font>
<br><font size=2 face="sans-serif"> }</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br><font size=2 face="sans-serif">resource data {</font>
<br><font size=2 face="sans-serif"> protocol
C;</font>
<br><font size=2 face="sans-serif"> startup
{</font>
<br><font size=2 face="sans-serif"> wfc-timeout
0; ## Infinite!</font>
<br><font size=2 face="sans-serif"> degr-wfc-timeout
120; ## 2 minutes.</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> disk {</font>
<br><font size=2 face="sans-serif"> on-io-error
detach;</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> net {</font>
<br><font size=2 face="sans-serif"> #
timeout 60;</font>
<br><font size=2 face="sans-serif"> #
connect-int 10;</font>
<br><font size=2 face="sans-serif"> #
ping-int 10;</font>
<br><font size=2 face="sans-serif"> #
max-buffers 2048;</font>
<br><font size=2 face="sans-serif"> #
max-epoch-size 2048;</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> syncer {</font>
<br><font size=2 face="sans-serif"> after
"meta";</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif"> on storage00
{</font>
<br><font size=2 face="sans-serif"> device
/dev/drbd1;</font>
<br><font size=2 face="sans-serif"> disk
/dev/sdb1;</font>
<br><font size=2 face="sans-serif"> address
192.168.1.10:7789;</font>
<br><font size=2 face="sans-serif"> meta-disk
internal;</font>
<br><font size=2 face="sans-serif"> }</font>
<br><font size=2 face="sans-serif"> on storage01
{</font>
<br><font size=2 face="sans-serif"> device
/dev/drbd1;</font>
<br><font size=2 face="sans-serif"> disk
/dev/sdb1;</font>
<br><font size=2 face="sans-serif"> address
192.168.1.11:7789;</font>
<br><font size=2 face="sans-serif"> meta-disk
internal;</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br>
<br><font size=2 face="sans-serif">root@storage00:/etc# drbdadm create-md
meta</font>
<br><font size=2 face="sans-serif">Writing meta data...</font>
<br><font size=2 face="sans-serif">initializing activity log</font>
<br><font size=2 face="sans-serif">NOT initialized bitmap</font>
<br><font size=2 face="sans-serif">New drbd meta data block successfully
created.</font>
<br><font size=2 face="sans-serif">root@storage00:/etc# drbdadm create-md
data</font>
<br><font size=2 face="sans-serif">Writing meta data...</font>
<br><font size=2 face="sans-serif">initializing activity log</font>
<br><font size=2 face="sans-serif">NOT initialized bitmap</font>
<br><font size=2 face="sans-serif">New drbd meta data block successfully
created.</font>
<br><font size=2 face="sans-serif">root@storage00:/etc/init.d/drbd start</font>
<br><font size=2 face="sans-serif">root@storage00:drbdsetup /dev/drbd0
primary -o</font>
<br><font size=2 face="sans-serif">root@storage00:drbdsetup /dev/drbd1
primary -o</font>
<br><font size=2 face="sans-serif">root@storage00:/etc# /etc/init.d/drbd
status</font>
<br><font size=2 face="sans-serif">drbd driver loaded OK; device status:</font>
<br><font size=2 face="sans-serif">version: 8.3.7 (api:88/proto:86-91)</font>
<br><font size=2 face="sans-serif">srcversion: EE47D8BF18AC166BE219757</font>
<br><font size=2 face="sans-serif">m:res cs
ro
ds p mounted
fstype</font>
<br><font size=2 face="sans-serif">0:meta WFConnection Primary/Unknown
UpToDate/DUnknown C</font>
<br><font size=2 face="sans-serif">1:data WFConnection Primary/Unknown
UpToDate/DUnknown C</font>
<br>
<br><font size=2 face="sans-serif">-> So far all looks good.</font>
<br><font size=2 face="sans-serif">root@storage00:apt-get install lvm2</font>
<br><font size=2 face="sans-serif">root@storage00:reboot</font>
<br><font size=2 face="sans-serif">root@storage00:/etc/init.d/drbd start</font>
<br><font size=2 face="sans-serif">root@storage00:~# drbdsetup /dev/drbd0
primary -o</font>
<br><font size=2 face="sans-serif">root@storage00:~# drbdsetup /dev/drbd1
primary -o</font>
<br><font size=2 face="sans-serif">root@storage00:~# /etc/init.d/drbd status</font>
<br><font size=2 face="sans-serif">drbd driver loaded OK; device status:</font>
<br><font size=2 face="sans-serif">version: 8.3.7 (api:88/proto:86-91)</font>
<br><font size=2 face="sans-serif">srcversion: EE47D8BF18AC166BE219757</font>
<br><font size=2 face="sans-serif">m:res cs
ro
ds p mounted
fstype</font>
<br><font size=2 face="sans-serif">0:meta WFConnection Primary/Unknown
UpToDate/DUnknown C</font>
<br><font size=2 face="sans-serif">1:data WFConnection Primary/Unknown
UpToDate/DUnknown C</font>
<br><font size=2 face="sans-serif">root@storage00:~#</font>
<br>
<br><font size=2 face="sans-serif">-> update filter to filter = [ "r|/dev/sdb1|"
]</font>
<br><font size=2 face="sans-serif">root@storage00:~# vim /etc/lvm/lvm.conf</font>
<br><font size=2 face="sans-serif">root@storage00:~# vgscan</font>
<br><font size=2 face="sans-serif"> Reading all physical volumes.
This may take a while...</font>
<br><font size=2 face="sans-serif">root@storage00:~# pvcreate /dev/drbd1</font>
<br><font size=2 face="sans-serif"> Physical volume "/dev/drbd1"
successfully created</font>
<br><font size=2 face="sans-serif">root@storage00:~# vgcreate esx-vol /dev/drbd1</font>
<br><font size=2 face="sans-serif"> Volume group "esx-vol"
successfully created</font>
<br><font size=2 face="sans-serif">root@storage00:~# lvcreate -n test --size
20g esx-vol</font>
<br><font size=2 face="sans-serif"> Logical volume "test"
created</font>
<br><font size=2 face="sans-serif">root@storage00:~#</font>
<br>
<br><font size=2 face="sans-serif">->Setup SCST</font>
<br><font size=2 face="sans-serif">root@storage00:cd ~/scst/</font>
<br><font size=2 face="sans-serif">root@storage00:make scst scst_install
iscsi iscsi_install scstadm scstadm_install</font>
<br><font size=2 face="sans-serif">-> the only errors I get are</font>
<br><font size=2 face="sans-serif">make[1]: /usr/lib/lsb/install_initd:
Command not found</font>
<br><font size=2 face="sans-serif">make[1]: [install] Error 127 (ignored)</font>
<br><font size=2 face="sans-serif">/usr/lib/lsb/install_initd qla2x00t</font>
<br><font size=2 face="sans-serif">make[1]: /usr/lib/lsb/install_initd:
Command not found</font>
<br><font size=2 face="sans-serif">make[1]: [install] Error 127 (ignored)</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/root/scst/scstadmin'</font>
<br>
<br><font size=2 face="sans-serif">-> Remove the scst_disk module from
the startup file</font>
<br><font size=2 face="sans-serif">root@storage00:vim /etc/init.d/scst</font>
<br><font size=2 face="sans-serif">-> change the line SCST_MODULES="scst
scst-disk scst_vdisk" to SCST_MODULES="scst scst_vdisk"</font>
<br><font size=2 face="sans-serif">root@storage00:cd ~/scst/iscsi-scst</font>
<br><font size=2 face="sans-serif">root@storage00:cp etc/initiators.* /etc</font>
<br><font size=2 face="sans-serif">root@storage00:cp etc/iscsi-scstd.conf
/etc</font>
<br><font size=2 face="sans-serif">root@storage00:vim /etc/iscsi-scstd.conf</font>
<br><font size=2 face="sans-serif">-> add Target iqn.2010-01.com.test:sn.00</font>
<br><font size=2 face="sans-serif">root@storage00:touch /etc/scst.conf</font>
<br><font size=2 face="sans-serif">root@storage00:/etc/init.d/scst start</font>
<br>
<br><font size=2 face="sans-serif">[ 3319.098243] [3129]: scst_suspend_activity:673:suspend_count
0</font>
<br><font size=2 face="sans-serif">[ 3319.098249] [3129]: scst_susp_wait:639:wait_event()
returned 0</font>
<br><font size=2 face="sans-serif">[ 3319.098252] [3129]: scst_suspend_activity:718:Waiting
for 0 active commands finally to complete</font>
<br><font size=2 face="sans-serif">[ 3319.098269] [3129]: scst_susp_wait:639:wait_event()
returned 0</font>
<br><font size=2 face="sans-serif">[ 3319.098314] [3129]: __scst_resume_activity:749:suspend_count
0 left</font>
<br><font size=2 face="sans-serif">[ 3319.098317] [3129]: scst: scst_register_device:887:Attached
to scsi0, channel 0, id 0, lun 0, type 0</font>
<br><font size=2 face="sans-serif">[ 3319.098401] [3129]: scst_suspend_activity:673:suspend_count
0</font>
<br><font size=2 face="sans-serif">[ 3319.098404] [3129]: scst_susp_wait:639:wait_event()
returned 0</font>
<br><font size=2 face="sans-serif">[ 3319.098406] [3129]: scst_suspend_activity:718:Waiting
for 0 active commands finally to complete</font>
<br><font size=2 face="sans-serif">[ 3319.098408] [3129]: scst_susp_wait:639:wait_event()
returned 0</font>
<br><font size=2 face="sans-serif">[ 3319.098413] [3129]: __scst_resume_activity:749:suspend_count
0 left</font>
<br><font size=2 face="sans-serif">[ 3319.098415] [3129]: scst: scst_register_device:887:Attached
to scsi0, channel 0, id 1, lun 0, type 0</font>
<br><font size=2 face="sans-serif">[ 3319.098422] [3129]: scst_suspend_activity:673:suspend_count
0</font>
<br><font size=2 face="sans-serif">[ 3319.098424] [3129]: scst_susp_wait:639:wait_event()
returned 0</font>
<br><font size=2 face="sans-serif">[ 3319.098426] [3129]: scst_suspend_activity:718:Waiting
for 0 active commands finally to complete</font>
<br><font size=2 face="sans-serif">[ 3319.098428] [3129]: scst_susp_wait:639:wait_event()
returned 0</font>
<br><font size=2 face="sans-serif">[ 3319.098431] [3129]: __scst_resume_activity:749:suspend_count
0 left</font>
<br><font size=2 face="sans-serif">[ 3319.098434] [3129]: scst: scst_register_device:887:Attached
to scsi1, channel 0, id 0, lun 0, type 5</font>
<br><font size=2 face="sans-serif">[ 3319.102968] [3131]: scst: scst_cmd_thread:4269:Processing
thread scsi_tgt0 (PID 3131) started</font>
<br><font size=2 face="sans-serif">[ 3319.104476] [3136]: scst: scst_cmd_thread:4269:Processing
thread scsi_tgt1 (PID 3136) started</font>
<br><font size=2 face="sans-serif">[ 3319.104642] [3137]: scst: scst_cmd_thread:4269:Processing
thread scsi_tgt2 (PID 3137) started</font>
<br><font size=2 face="sans-serif">[ 3319.104712] [3138]: scst: scst_cmd_thread:4269:Processing
thread scsi_tgt3 (PID 3138) started</font>
<br><font size=2 face="sans-serif">[ 3319.104878] [3139]: scst: scst_init_thread:4011:Init
thread started, PID 3139</font>
<br><font size=2 face="sans-serif">[ 3319.105085] [3140]: scst: scst_tm_thread:5789:Task
management thread started, PID 3140</font>
<br><font size=2 face="sans-serif">[ 3319.105204] [3129]: scst: init_scst:2255:SCST
version 2.0.0-rc2-procfs loaded successfully (max mem for commands 249MB,
per device 99MB)</font>
<br><font size=2 face="sans-serif">[ 3319.105209] [3129]: scst: scst_print_config:2037:Enabled
features: EXTRACHECKS, DEBUG</font>
<br><font size=2 face="sans-serif">[ 3319.105666] [3141]: scst: scst_global_mgmt_thread:6527:Management
thread started, PID 3141</font>
<br><font size=2 face="sans-serif">[ 3319.110209] [3142]: scst: __scst_register_virtual_dev_driver:1427:Virtual
device handler vdisk_fileio for type 0 registered successfully</font>
<br><font size=2 face="sans-serif">[ 3319.110215] [3142]: scst: __scst_register_virtual_dev_driver:1427:Virtual
device handler vdisk_blockio for type 0 registered successfully</font>
<br><font size=2 face="sans-serif">[ 3319.110219] [3142]: scst: __scst_register_virtual_dev_driver:1427:Virtual
device handler vdisk_nullio for type 0 registered successfully</font>
<br><font size=2 face="sans-serif">[ 3319.110224] [3142]: scst: __scst_register_virtual_dev_driver:1427:Virtual
device handler vcdrom for type 5 registered successfully</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:scstadmin -ClearConfig
/etc/scst.conf</font>
<br><font size=2 face="sans-serif">root@storage00:scstadmin -adddev sn.00
-path /dev/esx-vol/test -handler vdisk -options BLOCKIO</font>
<br>
<br><font size=2 face="sans-serif">NOTE: it is BLOCKIO (I'm not sure if
this has anything to do with it)</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:scstadmin -addgroup Default_iqn.2010-01.com.test:sn.00</font>
<br><font size=2 face="sans-serif">root@storage00:scstadmin -assigndev
sn.00 -group Default_iqn.2010-01.com.test:sn.00 -lun 0</font>
<br><font size=2 face="sans-serif">root@storage00:scstadmin -WriteConfig
/etc/scst.conf</font>
<br><font size=2 face="sans-serif">root@storage00:vim /etc/initiators.allow</font>
<br><font size=2 face="sans-serif">-> ALL ALL (this is just a test lab)</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:/etc/init.d/scst stop</font>
<br><font size=2 face="sans-serif">root@storage00:/etc/init.d/scst start</font>
<br><font size=2 face="sans-serif">root@storage00:/etc/init.d/iscsi-scst
start</font>
<br>
<br><font size=2 face="sans-serif">-> So everything seems ok.</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:~/scst/iscsi-scst# lvdisplay</font>
<br><font size=2 face="sans-serif"> --- Logical volume ---</font>
<br><font size=2 face="sans-serif"> LV Name
/dev/esx-vol/test</font>
<br><font size=2 face="sans-serif"> VG Name
esx-vol</font>
<br><font size=2 face="sans-serif"> LV UUID
Lpcu0q-LDrJ-XmHG-OjSp-NNXs-72BQ-A1TbUc</font>
<br><font size=2 face="sans-serif"> LV Write Access
read/write</font>
<br><font size=2 face="sans-serif"> LV Status
available</font>
<br><font size=2 face="sans-serif"> # open
0</font>
<br><font size=2 face="sans-serif"> LV Size
20.00 GiB</font>
<br><font size=2 face="sans-serif"> Current LE
5120</font>
<br><font size=2 face="sans-serif"> Segments
1</font>
<br><font size=2 face="sans-serif"> Allocation
inherit</font>
<br><font size=2 face="sans-serif"> Read ahead sectors
auto</font>
<br><font size=2 face="sans-serif"> - currently set to
256</font>
<br><font size=2 face="sans-serif"> Block device
251:0</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:~/scst/iscsi-scst# /etc/init.d/drbd
status</font>
<br><font size=2 face="sans-serif">drbd driver loaded OK; device status:</font>
<br><font size=2 face="sans-serif">version: 8.3.7 (api:88/proto:86-91)</font>
<br><font size=2 face="sans-serif">srcversion: EE47D8BF18AC166BE219757</font>
<br><font size=2 face="sans-serif">m:res cs
ro
ds p mounted
fstype</font>
<br><font size=2 face="sans-serif">0:meta WFConnection Primary/Unknown
UpToDate/DUnknown C</font>
<br><font size=2 face="sans-serif">1:data WFConnection Primary/Unknown
UpToDate/DUnknown C</font>
<br>
<br><font size=2 face="sans-serif">-> Now the clincher...</font>
<br><font size=2 face="sans-serif">-> Simply connect to the box via
iscsi (in this case a Windows VISTA x64) initiator Windows see's the machine,
everything is working fine.</font>
<br><font size=2 face="sans-serif">-> I can see the target isqn.2010-01.com.test:sn.00</font>
<br><font size=2 face="sans-serif">-> I can Log on to it fine.</font>
<br>
<br><font size=2 face="sans-serif">[ 3737.669348] [3196]: scst: scst_init_session:6265:Using
security group "Default_iqn.2010-01.com.test:sn.00" for initiator
"iqn.1991-05.com.microsoft:ad-desktop"</font>
<br><font size=2 face="sans-serif">[ 3737.669492] [3196]: scst_alloc_add_tgt_dev:3203:Device
sn.00 on SCST lun=0</font>
<br><font size=2 face="sans-serif">[ 3737.669503] [3196]: scst_alloc_set_UA:6263:Adding
new UA to tgt_dev ffff88003d95c000</font>
<br><font size=2 face="sans-serif">[ 3737.669867] [3243]: scst: scst_cmd_thread:4269:Processing
thread sn.000_0 (PID 3243) started</font>
<br><font size=2 face="sans-serif">[ 3737.669873] [3243]: scst_cmd_thread:4290:Alloced
new IO context ffff88003d341678 (p_cmd_threads ffff88003d95c0f0)</font>
<br><font size=2 face="sans-serif">[ 3737.670132] [3244]: scst: scst_cmd_thread:4269:Processing
thread sn.000_1 (PID 3244) started</font>
<br><font size=2 face="sans-serif">[ 3737.670136] [3244]: scst_cmd_thread:4309:Linked
IO context ffff88003d341678 (p_cmd_threads ffff88003d95c0f0)</font>
<br><font size=2 face="sans-serif">[ 3737.670375] [3245]: scst: scst_cmd_thread:4269:Processing
thread sn.000_2 (PID 3245) started</font>
<br><font size=2 face="sans-serif">[ 3737.670379] [3245]: scst_cmd_thread:4309:Linked
IO context ffff88003d341678 (p_cmd_threads ffff88003d95c0f0)</font>
<br><font size=2 face="sans-serif">[ 3737.670618] [3246]: scst: scst_cmd_thread:4269:Processing
thread sn.000_3 (PID 3246) started</font>
<br><font size=2 face="sans-serif">[ 3737.670795] [3246]: scst_cmd_thread:4309:Linked
IO context ffff88003d341678 (p_cmd_threads ffff88003d95c0f0)</font>
<br><font size=2 face="sans-serif">[ 3737.670990] [3247]: scst: scst_cmd_thread:4269:Processing
thread sn.000_4 (PID 3247) started</font>
<br><font size=2 face="sans-serif">[ 3737.670994] [3247]: scst_cmd_thread:4309:Linked
IO context ffff88003d341678 (p_cmd_threads ffff88003d95c0f0)</font>
<br><font size=2 face="sans-serif">[ 3737.671279] [3248]: scst: scst_cmd_thread:4269:Processing
thread sn.000_5 (PID 3248) started</font>
<br><font size=2 face="sans-serif">[ 3737.671283] [3248]: scst_cmd_thread:4309:Linked
IO context ffff88003d341678 (p_cmd_threads ffff88003d95c0f0)</font>
<br><font size=2 face="sans-serif">[ 3737.671377] [3249]: scst: scst_cmd_thread:4269:Processing
thread sn.000_6 (PID 3249) started</font>
<br><font size=2 face="sans-serif">[ 3737.671381] [3249]: scst_cmd_thread:4309:Linked
IO context ffff88003d341678 (p_cmd_threads ffff88003d95c0f0)</font>
<br><font size=2 face="sans-serif">[ 3737.671611] [3196]: iscsi_session_alloc:96:Session
ffff88003dc9c000 created: target ffff88003d6bca00, tid 1, sid 0x1000037010040</font>
<br><font size=2 face="sans-serif">[ 3737.671623] [3250]: scst: scst_cmd_thread:4269:Processing
thread sn.000_7 (PID 3250) started</font>
<br><font size=2 face="sans-serif">[ 3737.671626] [3196]: iscsi-scst: log_params:91:Negotiated
parameters: InitialR2T No, ImmediateData Yes, MaxConnections 1, MaxRecvDataSegmentLength
1048576, MaxXmitDataSegmentLength 65536,</font>
<br><font size=2 face="sans-serif">[ 3737.671632] [3250]: scst_cmd_thread:4309:Linked
IO context ffff88003d341678 (p_cmd_threads ffff88003d95c0f0)</font>
<br><font size=2 face="sans-serif">[ 3737.671637] [3196]: iscsi-scst: log_params:95:
MaxBurstLength 262144, FirstBurstLength 65536, DefaultTime2Wait
0, DefaultTime2Retain 0,</font>
<br><font size=2 face="sans-serif">[ 3737.671640] [3196]: iscsi-scst: log_params:101:
MaxOutstandingR2T 16, DataPDUInOrder Yes, DataSequenceInOrder
Yes, ErrorRecoveryLevel 0,</font>
<br><font size=2 face="sans-serif">[ 3737.671644] [3196]: iscsi-scst: log_params:108:
HeaderDigest None, DataDigest None, OFMarker No, IFMarker
No, OFMarkInt 2048, IFMarkInt 2048</font>
<br><font size=2 face="sans-serif">[ 3737.671649] [3196]: iscsi-scst: iscsi_tgt_params_set:228:Target
parameters set for session 1000037010040: QueuedCommands 32, Response timeout
30, Nop-In interval 30</font>
<br><font size=2 face="sans-serif">[ 3737.671770] [3196]: iscsi_conn_alloc:727:Creating
connection ffff88003cf6ec00 for sid 0x1000037010040, cid 1</font>
<br><font size=2 face="sans-serif">[ 3737.671978] [3196]: conn_activate:590:Enabling
conn ffff88003cf6ec00</font>
<br><font size=2 face="sans-serif">[ 3737.675994] [0]: scst_inc_on_dev_cmd:6688:cmd
ffff88003c4b2000 (tag 16777216), blocking further cmds due to possible
double reset UA (dev ffff88003d95b200)</font>
<br><font size=2 face="sans-serif">[ 3737.675999] [0]: __scst_block_dev:6583:Device
BLOCK(new 1), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.676062] [3250]: scst_dec_on_dev_cmd:619:cmd
ffff88003c4b2000 (tag 16777216): unblocking dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.676066] [0]: scst_unblock_dev:6626:Device
UNBLOCK(new 0), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.677763] [0]: scst_inc_on_dev_cmd:6688:cmd
ffff88003c4b2000 (tag 33554432), blocking further cmds due to possible
double reset UA (dev ffff88003d95b200)</font>
<br><font size=2 face="sans-serif">[ 3737.677768] [0]: __scst_block_dev:6583:Device
BLOCK(new 1), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.677825] [3250]: scst_dec_on_dev_cmd:619:cmd
ffff88003c4b2000 (tag 33554432): unblocking dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.677828] [0]: scst_unblock_dev:6626:Device
UNBLOCK(new 0), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.679112] [0]: scst_inc_on_dev_cmd:6688:cmd
ffff88003c4b2000 (tag 50331648), blocking further cmds due to possible
double reset UA (dev ffff88003d95b200)</font>
<br><font size=2 face="sans-serif">[ 3737.679116] [0]: __scst_block_dev:6583:Device
BLOCK(new 1), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.679123] [3250]: scst_dec_on_dev_cmd:619:cmd
ffff88003c4b2000 (tag 50331648): unblocking dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.679132] [0]: scst_unblock_dev:6626:Device
UNBLOCK(new 0), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.680491] [0]: scst_inc_on_dev_cmd:6688:cmd
ffff88003c4b2000 (tag 67108864), blocking further cmds due to possible
double reset UA (dev ffff88003d95b200)</font>
<br><font size=2 face="sans-serif">[ 3737.680496] [0]: __scst_block_dev:6583:Device
BLOCK(new 1), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.680504] [3250]: scst_dec_on_dev_cmd:619:cmd
ffff88003c4b2000 (tag 67108864): unblocking dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.680507] [0]: scst_unblock_dev:6626:Device
UNBLOCK(new 0), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.682371] [0]: scst_inc_on_dev_cmd:6688:cmd
ffff88003c4b2000 (tag 83886080), blocking further cmds due to possible
double reset UA (dev ffff88003d95b200)</font>
<br><font size=2 face="sans-serif">[ 3737.682516] [0]: __scst_block_dev:6583:Device
BLOCK(new 1), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.682523] [3250]: scst_dec_on_dev_cmd:619:cmd
ffff88003c4b2000 (tag 83886080): unblocking dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.682526] [0]: scst_unblock_dev:6626:Device
UNBLOCK(new 0), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.694780] [0]: scst_inc_on_dev_cmd:6688:cmd
ffff88003c4b2000 (tag 100663296), blocking further cmds due to possible
double reset UA (dev ffff88003d95b200)</font>
<br><font size=2 face="sans-serif">[ 3737.694790] [0]: __scst_block_dev:6583:Device
BLOCK(new 1), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.694796] [3250]: scst_set_pending_UA:6119:Setting
pending UA cmd ffff88003c4b2000</font>
<br><font size=2 face="sans-serif">[ 3737.694807] [3250]: scst_dec_on_dev_cmd:619:cmd
ffff88003c4b2000 (tag 100663296): unblocking dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.694816] [0]: scst_unblock_dev:6626:Device
UNBLOCK(new 0), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.696207] [0]: scst_inc_on_dev_cmd:6688:cmd
ffff88003c4b21f8 (tag 117440512), blocking further cmds due to possible
double reset UA (dev ffff88003d95b200)</font>
<br><font size=2 face="sans-serif">[ 3737.696212] [0]: __scst_block_dev:6583:Device
BLOCK(new 1), dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.696223] [3250]: scst_check_sense:2973:Clearing
dbl_ua_possible flag (dev ffff88003d95b200, cmd ffff88003c4b21f8)</font>
<br><font size=2 face="sans-serif">[ 3737.696229] [3250]: scst_dec_on_dev_cmd:619:cmd
ffff88003c4b21f8 (tag 117440512): unblocking dev ffff88003d95b200</font>
<br><font size=2 face="sans-serif">[ 3737.696234] [0]: scst_unblock_dev:6626:Device
UNBLOCK(new 0), dev ffff88003d95b200</font>
<br>
<br><font size=2 face="sans-serif">-> again all working fine, now I
open up Disk Manager on windows to "format the partition" prompted
to initialise the disk.</font>
<br><font size=2 face="sans-serif">-> Format the disk and I get pages
and pages of</font>
<br><font size=2 face="sans-serif">[ 1129.879296] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br><font size=2 face="sans-serif">[ 1129.879527] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br><font size=2 face="sans-serif">[ 1129.879657] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br><font size=2 face="sans-serif">[ 1129.879786] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br><font size=2 face="sans-serif">[ 1129.946005] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br><font size=2 face="sans-serif">[ 1129.946148] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br><font size=2 face="sans-serif">[ 1129.946276] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br><font size=2 face="sans-serif">[ 1129.946403] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br><font size=2 face="sans-serif">[ 1130.016112] block drbd1: al_complete_io()
called on inactive extent 78</font>
<br>
<br><font size=2 face="sans-serif">The console keeps incrementing the last
number and of course the machine just grinds and grinds..</font>
<br><font size=2 face="sans-serif">scrolling on the console window (but
nothing in any logs, nothing in messages/syslog/debug etc) only outputs
to dmesg</font>
<br>
<br><font size=2 face="sans-serif">I'm at a loss, this is a brand new clean
build. As per above, what step have a missed? or what else should I have
done? </font>
<br><font size=2 face="sans-serif">Where do I go from here?</font>
<br>
<br><font size=2 face="sans-serif">Regards<br>
Adam</font>