From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9EDD1138350 for ; Sat, 2 May 2020 17:55:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55A1FE0C57; Sat, 2 May 2020 17:55:08 +0000 (UTC) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9AD3E0BFF for ; Sat, 2 May 2020 17:55:07 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 4C529240100 for ; Sat, 2 May 2020 19:55:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1588442105; bh=Lg/BxHMBUp68XRfKH6a6seR1JD8Cn9uS7r3jCavqOIo=; h=Date:From:To:Subject:From; b=Ej1qF0Saot9ihukqyu7l3WKwgpOnwUV/6rUtCIJIjGdskzlelZStKQEwowD37jVfW 7tcRjknYT+8JZ5jmdfMe+sFKnggRd/3FG28C2RcE2HagLR6mo+ygT1wKgbGTXTwC6v QWLW6mG/XidkIBbL/JfFbrwJc0oU8PCh4imRyL1JE3cdwHMkuku6yZPeQWymv9u8zk uAdsnIgcmqYAmXeI+WhTI7RPUxOt2gcUdwoyoDH7UBoSXKVQXsCELaxO4b6X2GPp3e Y4z4VsNRK5JSuVLUbGuOEfoi7NeGQeb6PypKPznJ9lrTHhFUxUHPegatTvTrU9YLr5 xkY5HPKJTauuA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49DxbX34WQz6tmq for ; Sat, 2 May 2020 19:55:04 +0200 (CEST) Date: Sat, 2 May 2020 19:55:03 +0200 From: tuxic@posteo.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Trouble with backup harddisks Message-ID: <20200502175503.hca5wpmz4xvwuq4h@solfire> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20200430103607.2xpawnms6wtqj7si@solfire> <5EAAC1E5.5060802@youngman.org.uk> <20200430131054.4qu3wlayohodrreu@nabokov.fritz.box> <20200430170452.hsv6vcgzy43mluxq@solfire> <04005ef6-698f-e1de-139a-a87c8d92b151@youngman.org.uk> <20200501015919.iy5q267vfbwyslz4@solfire> <20200501080311.c2pwn6pwobmnp46j@solfire> <20200502014209.4o4bbxotmoble65l@solfire> <5EADAE68.8000109@youngman.org.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5EADAE68.8000109@youngman.org.uk> X-Archives-Salt: 990278ff-acd3-42e1-9ff8-bf10ed0cd6de X-Archives-Hash: 095db90528cf7f6220777a93bcd5c30b On 05/02 06:31, Wols Lists wrote: > On 02/05/20 02:42, tuxic@posteo.de wrote: > > On 05/01 09:27, antlists wrote: > >> On 01/05/2020 09:03, tuxic@posteo.de wrote: > >>> Hi Wol, > >>> > >>> data copied !:) > >>> > >>> I did a > >>> > >>> mdadm --examine /dev/sdb > >> > >> Except I pointed you at a utility called lsdrv, not mdadm ... :-) > >> > >> Cheers, > >> Wol > >> > > > > Hi Wol, > > > > Ouuouud...oh damn! Sorry, Wol... > > > > I donwloaded the lsdrv from github and this is, what it prints > > > > File "./lsdrv", line 323 > > os.mkdir('/dev/block', 0755) > > ^ > > SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers > > [1] 4367 exit 1 ./lsdrv > > > > > > Seems a little buggy... > > > did you read the note that says it is a Python 2 script? Unless it's > been updated (I haven't checked) you need to change the shebang line to > force python2. > > Cheers, > Wol > > Hi Wol, the shebang was already changed. It onlu works, when called like python2.7 lsdrv for me. The output is similiar to what lsblk creates... Cheers! Meino