From owner-freebsd-scsi@FreeBSD.ORG Sun Aug 9 07:00:54 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90E34106564A; Sun, 9 Aug 2009 07:00:54 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 0FB648FC08; Sun, 9 Aug 2009 07:00:54 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1Ma2Oi-0000Ah-7g; Sun, 09 Aug 2009 10:00:52 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Alexander Motin In-reply-to: <4A7D8F72.8090905@FreeBSD.org> References: <1249741381.00149226.1249729205@10.7.7.3> <4A7D8D7A.5030303@mavhome.dp.ua> <4A7D8F72.8090905@FreeBSD.org> Comments: In-reply-to Alexander Motin message dated "Sat, 08 Aug 2009 17:45:06 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 09 Aug 2009 10:00:52 +0300 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: request test drivers for iscsi_initiator 2.2.3 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2009 07:00:55 -0000 > Alexander Motin wrote: > > Danny Braniss wrote: > >> wups, forgot a small little detail: > >> ftp://ftp.cs.huji.ac.il/users/danny/freebsd/iscsi-2.2.3.tar.gz > > > > Is there reason why > > cpi->transport = XPORT_ISCSI; > > covered by > > #if defined(KNOB_VALID_ADDRESS) > > ? > I needed something to differentiate between the new CAM changes and the old (in <= 7.2), so if you have a better knob ... > Sorry, wrong question. But those who will test on CURRENT should take > care about it. why? it compiles - and works - ok under 8.0, at least till the last svn update :-) cheers, danny From owner-freebsd-scsi@FreeBSD.ORG Sun Aug 9 17:12:42 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E55BE106564A; Sun, 9 Aug 2009 17:12:42 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 890658FC20; Sun, 9 Aug 2009 17:12:42 +0000 (UTC) Received: by yxe11 with SMTP id 11so3351852yxe.3 for ; Sun, 09 Aug 2009 10:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=x9Iv5pD7KUgabkfvaEpoaZKCcsTSX1QG6FkXLAtV5I8=; b=cvsB1yWxjEVRpiFWLY974wXvb7341Z660eRpDbClQGciCn3mNLFmTtpdVq7j4xfXON M0fofFtdn0aKeltnrH0sIOctyGVjM6GSbkJUexz1az2tftqc4tNyWluuH8ZlkzvQqbM6 p+zUqKHtAxPTJL/eO0Wstg3hUh7TZ2mZkbyqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=r8nQYYC9AvTrW1IMiksA+uYyJFTwJmLganR1hZgsK1R1yibNwH54/ge63ITrVxzwcx ZGwcTRn3pDqZu9DyhvC9Pzt3rWl1lB0afz5UPmDsDyoqZyOFod7kH7vvckY7bUSZ1Oyv 7r7OdG8TS2lc+boghA4OdMAZXNPQ0lT/a7NMw= MIME-Version: 1.0 Sender: artemb@gmail.com Received: by 10.90.67.6 with SMTP id p6mr3142316aga.100.1249837961645; Sun, 09 Aug 2009 10:12:41 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Aug 2009 10:12:41 -0700 X-Google-Sender-Auth: 566cff3dc35df880 Message-ID: From: Artem Belevich To: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, Wes Morgan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: [SOLVED] Re: mpt errors - UNIT ATTENTION asc:29,0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2009 17:12:43 -0000 A bit more digging showed that these mpt errors match UDMA_CRC_Error_Count reported by drives via SMART. Connecting the same drives with the same cables to ICH7 SATA ports completely eliminates the errors which suggests that drives and cables themself are OK. So, my guess is that there's fair amount of cross-talk between LSI1068 ports on the motherboard (Asus P5BV/SAS). In the end I've switched on spread spectrum clocking on the drives (jumper 1-2 on WD SATA drives) and the errors almost completely disappeared. I've got 1 CRC error vs hundreds there used to be after ~10TB have been read/written. What didn't quite work: * Forcing drives into 1.5Gb mode (jumper 5-6 on WD drives). Errors became somewhat less frequent, but didn't go away. * replacing SATA cables -- tried three different sets with virtually no change in error rate. --Artem On Fri, Aug 7, 2009 at 11:06 AM, Artem Belevich wrote: > Hi, > > I'm running 8.0-BETA2 on Asus p5BV/SAS with built-in LSI1068 > controller with 8 SATA ports. 6 of the ports hooked up to 1TB WD Green > drives. The drives are used as a single raidz2 ZFS pool: > > =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSUM > =A0 =A0 =A0 =A0z2 =A0 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 > =A0 =A0 =A0 =A0 =A0raidz2 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 0 > =A0 =A0 =A0 =A0 =A0 =A0da1 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0da0 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0da2 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0da3 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0da4 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0da5 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > > I'm runing a simple stress test that copies 10GB file until it fills > the volume and then runs "zfs scrub" on it. > > dd if=3D/dev/urandom of=3D/z2/f.0 bs=3D1m count=3D10240 > for f in {1..350}; do echo $f; cp f.$[$f-1] f.$f; done; > zpool scrub z2 > > What concerns me is that I'm periodically getting error messages from > MPT driver. They usually start few hours after the start of the script > and by the end of it they are happening every few minutes seemingly > randomly on all six drives. > > Aug =A07 10:25:32 buz kernel: mpt0: mpt_cam_event: 0x16 > Aug =A07 10:25:32 buz kernel: mpt0: mpt_cam_event: 0x16 > Aug =A07 10:25:32 buz kernel: (da4:mpt0:0:4:0): READ(10). CDB: 28 0 46 > 32 97 c0 0 0 80 0 > Aug =A07 10:25:32 buz kernel: (da4:mpt0:0:4:0): CAM Status: SCSI Status E= rror > Aug =A07 10:25:32 buz kernel: (da4:mpt0:0:4:0): SCSI Status: Check Condit= ion > Aug =A07 10:25:32 buz kernel: (da4:mpt0:0:4:0): UNIT ATTENTION asc:29,0 > Aug =A07 10:25:32 buz kernel: (da4:mpt0:0:4:0): Power on, reset, or bus > device reset occurred > Aug =A07 10:25:32 buz kernel: (da4:mpt0:0:4:0): Retrying Command (per Sen= se Data) > > ZFS scrub does not seem to report any issues so far - no checksum or > read/write errors. WD's hard drive diagnostics tools didn't find any > issues with te drives either. > > Sould somebody shed some light on why would such error happen? Is that > some sort of hardware issue? Driver bug? Issue with compatibility > between controller and the drives? System configuration issue (some > sysctl/tunable needs tweaking, perhaps)? > > I'd appreciate any hints on what could be going on and what should be > done about it. > > Thanks, > --Artem > From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 10 11:07:04 2009 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC7061065675 for ; Mon, 10 Aug 2009 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9124E8FC37 for ; Mon, 10 Aug 2009 11:07:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7AB74E4025299 for ; Mon, 10 Aug 2009 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7AB732x025295 for freebsd-scsi@FreeBSD.org; Mon, 10 Aug 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Aug 2009 11:07:03 GMT Message-Id: <200908101107.n7AB732x025295@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2009 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136718 scsi [ciss] ciss driver issue on HP DL585 o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o amd64/132394 scsi [isp] - bad underruns with QLogic qla2300 and amd64 o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri o kern/131032 scsi [panic] hald causing panic in scsi_sg o kern/130735 scsi [cam] [patch] pass M_NOWAIT to the malloc() call insid o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o kern/126866 scsi [isp] [panic] kernel panic on card initialization o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi o kern/123674 scsi [ahc] ahc driver dumping o kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o kern/60598 scsi wire down of scsi devices conflicts with config s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/40895 scsi wierd kernel / device driver bug o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 38 problems total. From owner-freebsd-scsi@FreeBSD.ORG Thu Aug 13 14:42:48 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBD78106564A for ; Thu, 13 Aug 2009 14:42:48 +0000 (UTC) (envelope-from edwardchuang@gmail.com) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id 9DB8F8FC41 for ; Thu, 13 Aug 2009 14:42:48 +0000 (UTC) Received: by qyk29 with SMTP id 29so655782qyk.3 for ; Thu, 13 Aug 2009 07:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=zIlLjctSK3ZTEyq5Wybe3OLI8xfv7en1UNLDJV8c6Rc=; b=CUcKZYxvVCom14zOXg6g48GJio0woYioCV+npgQM0esELXNOitQK1y/jrNPwOcXvL3 sbdLVCTqZVNJlLAD5gbAXcIO+dU/7wPDOcCNrce2UIN8CIxTnYMmBKSOhsMl4CErucAc gERJZiobi/1LAWdGnJI62v8rZaWu34QUITPok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=dhAGDfoa+xV2xR2Hdkn7ZyaJAKwhQZuCnkDt/PKHb0ZYRiSocEWcaHTbujNnd3nw+P /a48hFGV5UKLaSihW5LHeMykSp75GuP57pGYYIaKTpY9MYJ2vm9azXJvSEwm5vIvItGw L3a11SgPw4jxeDYXaPprunEGzxyXCyYxH3OIU= MIME-Version: 1.0 Received: by 10.224.71.3 with SMTP id f3mr1270140qaj.114.1250173183454; Thu, 13 Aug 2009 07:19:43 -0700 (PDT) From: Edward Chuang Date: Thu, 13 Aug 2009 22:19:23 +0800 Message-ID: To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: multiple server attach to same iscsi target X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 14:42:49 -0000 Folks, I've tried deploy my iSCSI target and trying to attach same iSCSI target on different servers. However, the second server which attach the iSCSI, it shows following console message and any change on this disk will not be seen by other computer. da0 at iscsi0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device GEOM_LABEL: Label for provider da0p1 is ufsid/4a841a8316484a8d. GEOM_LABEL: Label for provider da0p1 is ufs/iscsi. GEOM_LABEL: Label ufs/iscsi removed. GWEAORMN_ILNAGB:E L/i:s cLsaib ewla su fnsoitd /p4rao8p4e1ral8y3 1d6i4s8m4oau8ndt erdem oved. ap2# It looks like a buffer overflow/underrun message. I have no clue even no idea whether it is cause by iscsi or not. Any suggestion will be appreciated. Regards, Ed From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 14 08:46:22 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA35A106568D for ; Fri, 14 Aug 2009 08:46:22 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 5E0FE8FC61 for ; Fri, 14 Aug 2009 08:46:22 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1MbsQW-000DUS-22; Fri, 14 Aug 2009 11:46:20 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Edward Chuang In-reply-to: References: Comments: In-reply-to Edward Chuang message dated "Thu, 13 Aug 2009 22:19:23 +0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 14 Aug 2009 11:46:20 +0300 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org Subject: Re: multiple server attach to same iscsi target X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 08:46:22 -0000 > Folks, > > I've tried deploy my iSCSI target and trying to attach same iSCSI target > on different servers. > > However, the second server which attach the iSCSI, it shows following > console message > and any change on this disk will not be seen by other computer. > > da0 at iscsi0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-4 device > GEOM_LABEL: Label for provider da0p1 is ufsid/4a841a8316484a8d. > GEOM_LABEL: Label for provider da0p1 is ufs/iscsi. > GEOM_LABEL: Label ufs/iscsi removed. > GWEAORMN_ILNAGB:E L/i:s cLsaib ewla su fnsoitd /p4rao8p4e1ral8y3 > 1d6i4s8m4oau8ndt erdem > oved. > ap2# > > It looks like a buffer overflow/underrun message. I have no clue even > no idea whether it is cause by iscsi or not. > it's called 'garbled' :-) G E O M _ L A B E L i s c s i w a s n o t p r o p e r l y ... W A R N I N G : / : L a b e l u f s i d / ... -which is intself garbled :-) > Any suggestion will be appreciated. you can recompile the kernel an add to your configuration file: options PRINTF_BUFR_SIZE=256 which helps danny > > Regards, > Ed > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" > From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 14 09:03:40 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35281106568E for ; Fri, 14 Aug 2009 09:03:40 +0000 (UTC) (envelope-from edwardchuang@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id E22FE8FC4D for ; Fri, 14 Aug 2009 09:03:39 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so471187qwe.7 for ; Fri, 14 Aug 2009 02:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=sXnExVg+13mnv4BhxSu0rQ7baBD4aMrtrDeBErz3eQo=; b=hVTuclHpLBS4KhzXXHugDiUIrsk4hOsU8YzFfYDw4+UXN3ukwKw+0h8X481hpYwu0i ajSxIOLWZ11OG9gJh5ImIQekTRDw5e7yRYz5yzdagBq0yGJYNbQ2I0LftOz1Cyod0jWY 3lbkt3JWVahrMdiz+Qj0lQEmksFDjRggT/ZD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=s3quZfWLuP21ZksDP9DMb+inq2K/1iTgKB+L1+XrynSa+lY19b/002wtarZcNq0/+Q q6iRvoVCFQZ14oSHC0lOT2Nr4MnYZCfqhINwIWD3sR2M0cv/7tuc1HXPVM0GbK/p34wP EPXCfYWauwLGp65vz2DhPr0rfxTM6Rd/Ts1ZY= MIME-Version: 1.0 Received: by 10.224.7.133 with SMTP id d5mr2094067qad.45.1250240619119; Fri, 14 Aug 2009 02:03:39 -0700 (PDT) In-Reply-To: References: From: Edward Chuang Date: Fri, 14 Aug 2009 17:03:19 +0800 Message-ID: To: Danny Braniss Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-scsi@freebsd.org Subject: Re: multiple server attach to same iscsi target X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 09:03:40 -0000 Hi, So it looks like the when disk mounted on different computer, the later one will consider this disk was dirty. Is this normal ? And if there's possible to avoid this ? (I am using UFS and ZFS) Regards, Ed On Fri, Aug 14, 2009 at 4:46 PM, Danny Braniss wrote: >> Folks, >> >> I've tried deploy my iSCSI target and trying to attach same iSCSI target >> on different servers. >> >> However, the second server which attach the iSCSI, it shows following >> console message >> and any change on this disk will not be seen by other computer. >> >> da0 at iscsi0 bus 0 target 0 lun 0 >> da0: Fixed Direct Access SCSI-4 device >> GEOM_LABEL: Label for provider da0p1 is ufsid/4a841a8316484a8d. >> GEOM_LABEL: Label for provider da0p1 is ufs/iscsi. >> GEOM_LABEL: Label ufs/iscsi removed. >> GWEAORMN_ILNAGB:E L/i:s cLsaib ewla su fnsoitd /p4rao8p4e1ral8y3 >> 1d6i4s8m4oau8ndt erdem >> oved. >> ap2# >> >> It looks like a buffer overflow/underrun message. I have no clue even >> no idea whether it is cause by iscsi or not. >> > it's called 'garbled' :-) > G E O M _ L A B E L i s c s i =A0 w a s =A0 n o t =A0 p r o p e r l y ... > =A0W A R N I N G : =A0 / : =A0 L a b e l =A0 u f s i d / ... > -which is intself garbled :-) > >> Any suggestion will be appreciated. > you can recompile the kernel an add to your configuration file: > options =A0 =A0 =A0 =A0 PRINTF_BUFR_SIZE=3D256 > > which helps > =A0 =A0 =A0 =A0danny > >> >> Regards, >> Ed >> _______________________________________________ >> freebsd-scsi@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi >> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" >> > > > From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 14 09:44:08 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D68E106568F for ; Fri, 14 Aug 2009 09:44:08 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 2F0BE8FC4D for ; Fri, 14 Aug 2009 09:44:08 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1MbtKR-000Dwl-35; Fri, 14 Aug 2009 12:44:07 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Edward Chuang In-reply-to: References: Comments: In-reply-to Edward Chuang message dated "Fri, 14 Aug 2009 17:03:19 +0800." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Aug 2009 12:44:07 +0300 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org Subject: Re: multiple server attach to same iscsi target X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 09:44:08 -0000 > Hi, >=20 > So it looks like the when disk mounted on different computer, the > later one will consider this disk was dirty. > Is this normal ? And if there's possible to avoid this ? (I am using> U= FS and ZFS) >=20 careful, you have just stepped on a minefield=21 you cannot mount the same disk on more than one computer using UFS or ZFS= or the like. If you want to share it then you should use NFS or GFS or Luster. You could share it if it's readonly for ALL hosts. danny