From owner-freebsd-fs@freebsd.org Fri Sep 25 12:36:04 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B368DA090A1 for ; Fri, 25 Sep 2015 12:36:04 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F8B31C07 for ; Fri, 25 Sep 2015 12:36:04 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by oibi136 with SMTP id i136so57570489oib.3 for ; Fri, 25 Sep 2015 05:36:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EmeLhauvHMztY47NbZV+IHVDdtqkRRPDAWmvsb6/tSs=; b=NHoO82OgV9QIb23oxFFWIw9RRXXWiCt6pVhGTzTIcJeCHzt7rqSvAyFui0zV/wNJqN nRBFTZOXtg/OayxxvZEAIIzo5O//g9TO3vieQULpfdV5Z4WaCVZ1OBpZc48l/3P4BaTn ViHCjgmh93JeSpvazPdPnelHersb4Dt3TOafeu7DQY0s2otZbx00zQEZs5g0L24kKbth KE7/9RWxTFU43gi/yQTaLIOfyGGF9QJFcEuSo9KMVkzIZnU1yNGj9UUamwQRA4goHUb/ nhUuJrTQoIhn16LIhKPlOY3Gb+CrUHL6IxWAOSrWTy4wUCEDNZW4tJAk1lCOUSl050Dg rpag== MIME-Version: 1.0 X-Received: by 10.202.64.68 with SMTP id n65mr2723895oia.53.1443184563776; Fri, 25 Sep 2015 05:36:03 -0700 (PDT) Received: by 10.202.190.195 with HTTP; Fri, 25 Sep 2015 05:36:03 -0700 (PDT) Date: Fri, 25 Sep 2015 14:36:03 +0200 Message-ID: Subject: ZFS, iSCSI & smartctl From: Ben RUBSON To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 12:36:04 -0000 Hello, Every documentation I read about ZFS indicates that ZFS likes to see the disks directly, so without any RAID adapter etc... I have server_1 with disks plugged to a SAS card, as JBOD. Perfect. However, I would like to use these disks from server_2 through iSCSI. Will ZFS on server_2 like these disks as much as if they were directly used from server_1 ? Will it have all its capabilities through iSCSI, will it see all the disks' details it needs ? Second point, on each diskid (/dev/diskid/...) is created a GPT label. diskid are given to the iSCSI target configuration, so that on the iSCSI initiator are seen the GPT labels. GPT labels are then used on the iSCSI initiator to create a zpool (mirror with disks from the initiator too). When iSCSI target service starts, GPT labels are no more seen from the iSCSI target, diskid however still are. Then, I would like to know, from which server do I have to run smartctl on these disks ? >From the iSCSI target ? >From the iSCSI initiator ? Giving diskid (/dev/diskid/...) to smartctl ? Thank you very much for your help ! Ben