From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <yannis.milios@gmail.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 864AB60476
 for <pve-user@lists.proxmox.com>; Wed, 12 Aug 2020 11:52:07 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 67EE5EED1
 for <pve-user@lists.proxmox.com>; Wed, 12 Aug 2020 11:52:07 +0200 (CEST)
Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com
 [IPv6:2a00:1450:4864:20::234])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 6461AEEBC
 for <pve-user@lists.proxmox.com>; Wed, 12 Aug 2020 11:52:06 +0200 (CEST)
Received: by mail-lj1-x234.google.com with SMTP id m22so1525378ljj.5
 for <pve-user@lists.proxmox.com>; Wed, 12 Aug 2020 02:52:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=KJg34Oq+GlAo/RNG3rtpWHsuAtRaQor47at7trVtjF0=;
 b=Mp9QxVTxSaxts2NtxTeih5AR2Ms/iMnGkCdsiINeqbnkxRfBxkk5uRPrYE4qqOOBI6
 D9vFKCPD+m0LaHau8LJX56OmndFGJqXRBObasEhtpLfAHkxc1/sea0ThkMBPnDD8YGjV
 kNd0CHoGjOrQRpt0OC6t+119Iqoy6Q6qGW81XqgFa628Db/vY1QgDqj+9wWTWM2K08Qe
 Z1yB0XSupUbYJmlT/eGa9RmoWxF7g94EKEbouzMuiDvYNcp25rq7pqa4Eqi05O54094m
 8ElygTsQLln8/7JftBupwTip8sFIX4YXtkl1Noi6t/CYpY/mIXKrNh1LnKpI0txJA280
 CfTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=KJg34Oq+GlAo/RNG3rtpWHsuAtRaQor47at7trVtjF0=;
 b=QHvIjzZMxFCOfWSf5sAHJ8DOMjWRUo+o+xIWwNi1rF4Ggea8N7On9KPK8ix1BM8Ujl
 dmGu11WHJpS951R2kMrEwpmy33C6mTx8l+CydtnhAeS/GowvESnG7/9WEmFjUwFUw9TZ
 eS3HJjT7Rk+6AeJJTzE9HREq3/tKETvFuSl/6e8iD1USCHi1MVxXtO6cAVuuN1Kp1IbT
 pBcuP3e4v942+xnFe4UFYtoh77qVeTNjQY1sW1NtEipo4MzqKR/oIHnXOKZj5U+er1vF
 ZlpLjxUq44e1T4fu0DTsB7L2Cz6gt299bNyB3WMOnvcfw3aVTJ8T6JOzB0vfUbym8fCj
 AMbw==
X-Gm-Message-State: AOAM533iNETnb68EUXxiA6vtwpnVOvK0T+sHWS/GtI8IXMhoK/BX/k5s
 U0OKWKKkFY9nm6PKoWISjfeOcxBonCqqovcfaJjK5B42PITzWg==
X-Google-Smtp-Source: ABdhPJyuITjkfHyBaeuB80iDQWfUiCS5+uiUniCByczlq6NKm2Fm1v7VXi2sljKF0yQBiJkKKQnlt8n+GU5ESiw0/as=
X-Received: by 2002:a2e:b4e1:: with SMTP id s1mr4716791ljm.433.1597225919285; 
 Wed, 12 Aug 2020 02:51:59 -0700 (PDT)
MIME-Version: 1.0
References: <5f048801-ccb1-18ec-bdaa-86b8425ea9ae@aminvakil.com>
 <mailman.7.1597219945.464.pve-user@lists.proxmox.com>
In-Reply-To: <mailman.7.1597219945.464.pve-user@lists.proxmox.com>
From: Yannis Milios <yannis.milios@gmail.com>
Date: Wed, 12 Aug 2020 10:51:47 +0100
Message-ID: <CAFiF2OrWGEmv4xH4RkUVAiAXKf4brT_3id2YHmvK_Reht+nwAQ@mail.gmail.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.000 Adjusted score from AWL reputation of From: address
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
 FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider
 HTML_MESSAGE            0.001 HTML included in message
 KAM_SHORT               0.001 Use of a URL Shortener for very short URL
 RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/,
 no trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [ix.io, proxmox.com]
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
Subject: Re: [PVE-User] LVM over ISCSI issue
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Wed, 12 Aug 2020 09:52:08 -0000

The fact that it was successful at least once with the discard option
disabled is a progress in my opinion. Did you ever have a successful clone
job with discard enabled ?

Also, the error seems to be different in each case...

with discard enabled:
qemu-img: error while writing at byte 1990201344:* Input/output error*

with discard disabled: qemu-img: error while writing at byte
2147483136: *Device
or resource busy*

Can you check also in dmesg for any clues during each case ?
Also, when was the last time this was working without issues ? any changes
both on PVE and NAS side after that ?

Y.


On Wed, 12 Aug 2020 at 09:12, Amin Vakil via pve-user <
pve-user@lists.proxmox.com> wrote:

>
>
>
> ---------- Forwarded message ----------
> From: Amin Vakil <info@aminvakil.com>
> To: pve-user@lists.proxmox.com
> Cc:
> Bcc:
> Date: Wed, 12 Aug 2020 12:42:10 +0430
> Subject: [PVE-User] LVM over ISCSI issue
> No difference, totally random.
>
> Also here are the logs of clones in case I'm missing something.
>
> Error, discard enabled: http://ix.io/2tXB
> OK, discard disabled: http://ix.io/2tXC
> Error, discard disabled: http://ix.io/2tXD
>
> > Just out of curiosity, can you temporarily disable discard support on
> > the
> > target VM disk to see if that will make a difference?
>
>
>
>
> ---------- Forwarded message ----------
> From: Amin Vakil via pve-user <pve-user@lists.proxmox.com>
> To: pve-user@lists.proxmox.com
> Cc: Amin Vakil <info@aminvakil.com>
> Bcc:
> Date: Wed, 12 Aug 2020 12:42:10 +0430
> Subject: [PVE-User] LVM over ISCSI issue
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>