From owner-freebsd-fs@FreeBSD.ORG Fri Feb 20 13:34:44 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 887C9B62 for ; Fri, 20 Feb 2015 13:34:44 +0000 (UTC) Received: from mail1.postbank.bg (mx.postbank.bg [195.242.126.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.postbank.bg", Issuer "GeoTrust DV SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FE10AED for ; Fri, 20 Feb 2015 13:34:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=postbank.bg; s=mail; c=relaxed/relaxed; q=dns/txt; i=@postbank.bg; t=1424438369; x=1427030369; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8aCnrMXZUS0RMHjqhTLgO+gI9JUcmw9llhunPEyw/cc=; b=QbAf8aCC93raG3zsMDzRRgwEsWuv4E2rlf/noJf2FmXicOHorcp40+6LWksLnZ6p DB0a+fvuCljPxd+lqE2iBtpRguPZA0Y7Hnns0tFC+g9LGwbUhwm1oExkNnPXLYjt iFpIyQIS4CpypBYNMO5ShnFGHqXKIYm8XX8uyFp53pY=; X-AuditID: ac100165-f79f86d000002fb1-75-54e73461eb83 Received: from sofdc01excv14.postbank.bg ( [10.1.129.37]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail1.postbank.bg (Eurobank AD BG Outbound mail system) with SMTP id 5D.BC.12209.16437E45; Fri, 20 Feb 2015 15:19:29 +0200 (EET) From: "Ivailo A. Tanusheff" To: "freebsd-fs@freebsd.org" Subject: ZVOL and snapshots length problem Thread-Topic: ZVOL and snapshots length problem Thread-Index: AdBND6RMju0eZwL0REa1ABKJVnnOtw== Date: Fri, 20 Feb 2015 13:19:28 +0000 Message-ID: <1422065A4E115F409E22C1EC9EDAFBA42214513E@sofdc01exc02.postbank.bg> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.2.31] MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAKsWRmVeSWpSXmKPExsXCxdioqpto8jzEYMJ9bYtjj3+yOTB6zPg0 nyWAMaqB0SYxLy+/JLEkVSEltTjZVik6IL+4JCkxLztWwSWzODknMTM3tUhJITPFVslYSaEg JzE5NTc1r8RWKbGgIDUvRcmOSwED2ACVZeYppOYl56dk5qXbKnkG++taWJha6hoq2SFMtVJT NjRO+MqecXJxL1PBLueKh583MDcwHrXuYuTgkBAwkTh8yKWLkRPIFJO4cG89WxcjF4eQwBwm iYY1J5lAEmxANdvm7gGzRQRMJX79W8AGYgsLaEm87nnBBhHXl+jquckCYetJ3Onbzwhiswio SsxpXgIW5xXwl5h0uB/MZgRa9v3UGrCZzALiEreezGeCOEJAYsme88wQtqjEy8f/WCFsWYlv B/4xQtTnS1yY8J0JYqagxMmZT1gmMArOQjJqFpKyWUjKIOI6Egt2f2KDsLUlli18zQxjnznw mAlZfAEj+ypGyeL8tJRkA8NgX/cyA0O9AmjM6SWlb2IERvwaAcbUHYwvrjgdYhTgYFTi4a2Y /ixEiDWxrLgy9xCjBAezkgivp8LzECHelMTKqtSi/Pii0pzU4kOMVcDQmcgsJZqcD0xGeSXx hiYGhqYmRoYWBmYWplQRVhLnjV30NERIIB2Y8rJTUwtSi2CWM3FwSjUwiq87HH7H/uKqhYd2 3ZyT/+vQ5bBUtanlbwxuN1x5eOu1+WSxsi2/9dwn9Mkpqi1t/a47/czfB6GuPyIabC9Lacut +50kcF9I4aRMiq+neb5fod3G+FanjeaMh3Z7zLx34urGHR27xWZFXrnauGRpybF59yfNFr7e Yji59GJ3iMLBTsVUp3ePdyuxFGckGmoxFxUnAgCp0C+eUwMAAA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 13:34:44 -0000 Dear all, I have some trouble creating and manipulating ZVOL on my server. I am using= FreeBSD 10 and I am creating a little bit sophisticated structure, where I= create several file systems and volumes inside them for easy manipulation a= nd snapshot management. An example structure is: / / / / Whenever my ZVOL path exceeds 63 characters, both when creating volume or sn= apshot, I receive this error in my messages log: Feb 20 13:05:04 FreeBSD kernel: g_dev_taste: make_dev_p() failed (gp->name= =3Dzvol/TANK/Bank system/Core/DB@Daily_operations_2015-02-20-13:05, error=3D= 22) Feb 20 13:05:04 FreeBSD kernel: g_dev_taste: make_dev_p() failed (gp->name= =3Dzvol/TANK/Bank system/Core/FS@Daily_operations_2015-02-20-13:05, error=3D= 22) Feb 20 13:05:05 FreeBSD kernel: g_dev_taste: make_dev_p() failed (gp->name= =3Dzvol/TANK/Bank system/Core/Report@Daily_operations_2015-02-20-13:05, erro= r=3D63) Feb 20 13:10:05 FreeBSD kernel: g_dev_taste: make_dev_p() failed (gp->name= =3Dzvol/TANK/Bank system/Core/DB@Daily_operations_2015-02-20-13:10, error=3D= 22) Feb 20 13:10:05 FreeBSD kernel: g_dev_taste: make_dev_p() failed (gp->name= =3Dzvol/TANK/Bank system/Core/FS@Daily_operations_2015-02-20-13:10, error=3D= 22) Feb 20 13:10:05 FreeBSD kernel: g_dev_taste: make_dev_p() failed (gp->name= =3Dzvol/TANK/Bank system/Core/Report@Daily_operations_2015-02-20-13:10, erro= r=3D63) As far as I digged into it this is due to impossibility of creation of /dev= /zvol/... pointing to that volume or snapshot, while the volume/snapshot is= still visible in the zfs list tree, although I am not quite sure I can use= it. Is there any way to fix this behavior or this is an implementation bug, not= described in the manual? If I create shorter names the problem disappears, but this is contra version= of what I needed, so it is a not acceptable solution. Regards, Ivailo Tanusheff Head of Demand and Project management department Information Technologies Division Disclaimer: This communication is confidential. If you are not the intended recipient, y= ou are hereby notified that any disclosure, copying, distribution or taking= any action in reliance on the contents of this information is strictly proh= ibited and may be unlawful. If you have received this communication by mista= ke, please notify us immediately by responding to this email and then delete= it from your system. Eurobank Bulgaria AD is not responsible for, nor endorses, any opinion, reco= mmendation, conclusion, solicitation, offer or agreement or any information= contained in this communication. Eurobank Bulgaria AD cannot accept any responsibility for the accuracy or co= mpleteness of this message as it has been transmitted over a public network.= If you suspect that the message may have been intercepted or amended, pleas= e call the sender.