From owner-freebsd-questions@FreeBSD.ORG Thu Jun 28 20:57:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E373816A46B; Thu, 28 Jun 2007 20:57:59 +0000 (UTC) (envelope-from greg@laaco.net) Received: from mail.laaco.net (mail.laaco.net [38.99.244.3]) by mx1.freebsd.org (Postfix) with ESMTP id AB4D713C455; Thu, 28 Jun 2007 20:57:57 +0000 (UTC) (envelope-from greg@laaco.net) Received: from localhost (www@localhost.laaco.net [127.0.0.1]) by mail.laaco.net (8.13.3/8.13.4) with SMTP id l5SKZ8sm023140; Thu, 28 Jun 2007 13:35:08 -0700 (PDT) (envelope-from greg@laaco.net) Message-Id: <200706282035.l5SKZ8sm023140@mail.laaco.net> Received-On-Port: 25 X-Port: 25 To: , , From: "=?UTF-8?B?R3JlZyBILg==?= " Date: Thu, 28 Jun 2007 13:35:08 PDT Errors-To: "=?UTF-8?B?R3JlZyBILg==?= " X-Priority: 3 (Normal) User-Agent: NOCC MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.52 on 38.99.244.3 Cc: Subject: Qlogic 2432, Multipath, Dynamic LUNs, and NTFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?UTF-8?B?R3JlZyBILg==?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2007 20:58:00 -0000 Hello All, I've just installed a new HP BladeSystem with BL460c blades, connected via dual on-board Qlogic 2432 Fibre Channel controllers, to an EVA4000 SAN. After getting the isp driver from 6.2-Stable, everything runs very smoothly. Now, I've been asked to use our very stable FreeBSD blades to backup the often flakey Windows 2003 Server drives. Both the FreeBSD blades and the Windows blades have their own LUNs on the EVA4000 SAN. To do this, I've created a snapshot of one of the non-compressed NTFS drives on the EVA, and presented it to the FreeBSD system, dynamically. After doing a camcontrol rescan all, both a camcontrol devlist, or an ls /dev/ntfs crash the system. Because of the silly HP blade environment, I don't have access to the console during the crashes. I also haven't found any signs in the logs. Here is an additional quirk. When the system comes back up, the snapshot LUN show up, and seems to mount properly with mount -t ntfs. I can't get ntfs-3g to work properly when loaded as a package, and the port won't compile. The strange thing is that an ls of the NTFS snapshot shows a file that is 7,653,312,512 bytes, but cat | bzip2 (and dd) only reads 3,358,345,216 bytes. Reading a larger file of 50,135,415,808 bytes crashes the system. These are the files from the SAN snapshot of the NTFS drive: -rwxr-xr-x 1 root wheel 7653312512 Jun 26 20:31 MV-C.bkf -rwxr-xr-x 1 root wheel 50135415808 Jun 26 21:28 MV-E.bkf -rwxr-xr-x 1 root wheel 575225856 Jun 26 20:12 MV-SysState.bkf Here's what happens when I try to read them: Copying MV-SysState.bkf Wed Jun 27 17:58:00 PDT 2007 (stdin): 2.792:1, 2.866 bits/byte, 64.18% saved, 575225856 in, 206056048 out Copying MV-C.bkf Wed Jun 27 18:01:08 PDT 2007 (stdin): 4.047:1, 1.977 bits/byte, 75.29% saved, 3358345216 in, 829840937 out Copying MV-E.bkf Wed Jun 27 18:19:34 PDT 2007 (stdin): If this is the wrong list, I'll happily send it to the proper list if someone tells me what it is. Other interesting facts are that each LUN presented by the SAN appears 4 times, once on each FC port (as was expected), and GEOM seems to handle it just fine. Mounts reference the GEOM label such as /dev/ufs/mail2root or /dev/ntfs/MV-Backup. Any suggestions of how to dynamically mount/unmount FC LUNs, and faithfully read files from an NTFS file system? Thanks everybody, Greg H. ___________________________________ NOCC, http://nocc.sourceforge.net