From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 30 20:05:54 2017 Received: (at submit) by debbugs.gnu.org; 31 Jul 2017 00:05:54 +0000 Received: from localhost ([127.0.0.1]:34627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbyDa-0004mS-Bv for submit@debbugs.gnu.org; Sun, 30 Jul 2017 20:05:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbwz5-0002zK-D4 for submit@debbugs.gnu.org; Sun, 30 Jul 2017 18:46:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbwyz-0003Vv-Gl for submit@debbugs.gnu.org; Sun, 30 Jul 2017 18:46:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HK_RANDOM_ENVFROM,HK_RANDOM_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dbwyz-0003Vo-Dd for submit@debbugs.gnu.org; Sun, 30 Jul 2017 18:46:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbwyy-00058Q-9z for bug-parted@gnu.org; Sun, 30 Jul 2017 18:46:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbwyt-0003QD-Fa for bug-parted@gnu.org; Sun, 30 Jul 2017 18:46:44 -0400 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:34775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbwyt-0003Oo-7X for bug-parted@gnu.org; Sun, 30 Jul 2017 18:46:39 -0400 Received: by mail-wr0-x230.google.com with SMTP id 12so172800790wrb.1 for ; Sun, 30 Jul 2017 15:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=K1h/EBcV80A+KBZzBk6uLA8SIaDRlAxiJ5/9qnIxiL0=; b=POqYnCa2bBjtRtKSYTQKVmLx7Pi+1OqA5UQiHOG5Di/218t5vZcq7QLV/ZfshAxPKX Mz5rmzfjitAB87H859rjI6lb+b3kM3KISud5iukccz+q6rM0TNUKm7ujPJJolSBOnaiZ vxteEjVjQKyApVHLPel6V4Loc/0LrI8+jag+J3nVNlDMQapcSVA0xhWYbiHZ8V7NbWZ7 +et8o2P1B6oHey3ugYKi8/R1uP0V3/cN8dlym6yTM+EDY9ly36FYBW3RquLYCzlkFYt1 HQZ0B8hzAe/DNScfFSrRJ+5Av32ICXbV9njeLLlLOg2q7f+/V+k6+5u3dcrlcfSMEKCk BT3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=K1h/EBcV80A+KBZzBk6uLA8SIaDRlAxiJ5/9qnIxiL0=; b=QJRVQL+JOkslBXZI26OunWz/TPpeDHWsSppC64j6CnRajpPOBkqy38C/kjOyKYLENl aDNdM+ZHZKvN9G+6p6oA/8kK8DKY+aAh2ooYRk8GDtetg6rOFa+9toOoHW4DSR8F/L+b uGGujcD3twTmRxbvWnvBI2SEiWDu8vlYmh31Dux60psuw9oQGsiX+kGCK5X8y0VkZm+4 l5nK+qPO9oNYlhO3dFbonMDdWY7mp8GrsVRw1nth8vTrr3CsS0RUzIAgsnBixKacFQWh 8OimwjNt+p7uaq7Me3I9W4LYh0KLf9pTawDFQLO9GpqzG2oZO3h1fWSE+MxfgMRVEFre UMdQ== X-Gm-Message-State: AIVw111aUD6l8USDEfhhhhHUHcj7UwFsaKDNVW84A9vocPwEXBfVVYOA 7ihz4eD9LCOxuP8eN1M= X-Received: by 10.223.180.66 with SMTP id v2mr1172644wrd.210.1501454796358; Sun, 30 Jul 2017 15:46:36 -0700 (PDT) Received: from [192.168.0.193] (245.red-81-38-224.dynamicip.rima-tde.net. [81.38.224.245]) by smtp.googlemail.com with ESMTPSA id 194sm23741655wmu.38.2017.07.30.15.46.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jul 2017 15:46:35 -0700 (PDT) To: bug-parted@gnu.org From: =?UTF-8?Q?Alicia_Boya_Garc=c3=ada?= Subject: parted reports the partition is not optimally aligned, even though it's 1MiB-aligned Message-ID: <452897f2-ad07-4908-0b0a-946bd638a29d@gmail.com> Date: Mon, 31 Jul 2017 00:46:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 30 Jul 2017 20:05:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) Hi. Is there any explanation to this GNU parted output? GNU Parted 3.2 Using /dev/sde Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) unit B = (parted) p = Model: Seagate M3 Portable (scsi) Disk /dev/sde: 4000787029504B Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flag= s 1 1048576B 4000786153471B 4000785104896B ext4 (parted) align-check = alignment type(min/opt) [optimal]/minimal? = Partition number? 1 = 1 not aligned Why does it say it's not aligned? Both the the start and the end are 1MB-aligned (and therefore trivially 4096B-aligned and 512B-aligned), am I right? In [1]: 1048576/4096 Out[1]: 256.0 In [2]: 4000785104896/4096 Out[2]: 976754176.0 For the record, at least it says it complies with "minimal" alignment: (parted) align-check = alignment type(min/opt) [optimal]/minimal? minimal = Partition number? 1 = 1 aligned Regards, Alicia. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 08:55:55 2017 Received: (at 27884) by debbugs.gnu.org; 20 Sep 2017 12:55:56 +0000 Received: from localhost ([127.0.0.1]:49163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dueXj-0000Wq-Mg for submit@debbugs.gnu.org; Wed, 20 Sep 2017 08:55:55 -0400 Received: from ec2-34-202-238-73.compute-1.amazonaws.com ([34.202.238.73]:33670 helo=vps.thesusis.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dueXj-0000Wf-0q for 27884@debbugs.gnu.org; Wed, 20 Sep 2017 08:55:55 -0400 Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id 1FBA421A23; Wed, 20 Sep 2017 08:55:41 -0400 (EDT) Received: from vps.thesusis.net ([127.0.0.1]) by localhost (vps.thesusis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tCGBBHZMjnrI; Wed, 20 Sep 2017 08:55:40 -0400 (EDT) Received: from [10.1.1.181] (unknown [97.68.109.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: psusi) by vps.thesusis.net (Postfix) with ESMTPSA id A4D7B20C1A; Wed, 20 Sep 2017 08:55:40 -0400 (EDT) Subject: Re: bug#27884: parted reports the partition is not optimally aligned, even though it's 1MiB-aligned To: =?UTF-8?Q?Alicia_Boya_Garc=c3=ada?= , 27884@debbugs.gnu.org References: <452897f2-ad07-4908-0b0a-946bd638a29d@gmail.com> From: Phil Susi Message-ID: <8fb71c2e-7646-b402-ba3a-d625dab38f92@ubuntu.com> Date: Wed, 20 Sep 2017 08:55:40 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <452897f2-ad07-4908-0b0a-946bd638a29d@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 27884 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.4 (/) On 7/30/2017 6:46 PM, Alicia Boya García wrote: > Hi. > > Is there any explanation to this GNU parted output? > > GNU Parted 3.2 > Using /dev/sde > Welcome to GNU Parted! Type 'help' to view a list of commands. > (parted) unit B > (parted) p > Model: Seagate M3 Portable (scsi) > Disk /dev/sde: 4000787029504B > Sector size (logical/physical): 512B/4096B > Partition Table: gpt > Disk Flags: > > Number Start End Size File system Name Flags > 1 1048576B 4000786153471B 4000785104896B ext4 > > (parted) align-check > alignment type(min/opt) [optimal]/minimal? > Partition number? 1 > 1 not aligned > > Why does it say it's not aligned? Both the the start and the end are > 1MB-aligned (and therefore trivially 4096B-aligned and 512B-aligned), am > I right? Maybe your drive is advertising a different optimal alignment. What does /sys/block/sde/queue/optimal_io_size say? From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 10:03:00 2017 Received: (at 27884-done) by debbugs.gnu.org; 20 Sep 2017 14:03:00 +0000 Received: from localhost ([127.0.0.1]:50251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dufad-0002Or-Sx for submit@debbugs.gnu.org; Wed, 20 Sep 2017 10:03:00 -0400 Received: from ec2-34-202-238-73.compute-1.amazonaws.com ([34.202.238.73]:33776 helo=vps.thesusis.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dufac-0002Oc-Di for 27884-done@debbugs.gnu.org; Wed, 20 Sep 2017 10:02:58 -0400 Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id E6C032395A; Wed, 20 Sep 2017 10:02:51 -0400 (EDT) Received: from vps.thesusis.net ([127.0.0.1]) by localhost (vps.thesusis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sTAFeAAgVtUw; Wed, 20 Sep 2017 10:02:51 -0400 (EDT) Received: from [10.1.1.181] (unknown [97.68.109.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: psusi) by vps.thesusis.net (Postfix) with ESMTPSA id 2537A23871; Wed, 20 Sep 2017 10:02:49 -0400 (EDT) Subject: Re: bug#27884: parted reports the partition is not optimally aligned, even though it's 1MiB-aligned To: =?UTF-8?Q?Alicia_Boya_Garc=c3=ada?= , 27884-done@debbugs.gnu.org References: <452897f2-ad07-4908-0b0a-946bd638a29d@gmail.com> <8fb71c2e-7646-b402-ba3a-d625dab38f92@ubuntu.com> <1c20b535-fd18-c821-0674-0bc30bbd826a@gmail.com> From: Phil Susi Message-ID: <583c0388-c654-aba2-2bef-3d2998b928f1@ubuntu.com> Date: Wed, 20 Sep 2017 10:02:49 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1c20b535-fd18-c821-0674-0bc30bbd826a@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 27884-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.4 (/) On 9/20/2017 9:57 AM, Alicia Boya García wrote: > Indeed. > > This drive was advertising a ridiculous optimal_io_size that is not even > a power of two (2^16-1 512-byte sectors). Unfortunately this seems to be > the case with more Seagate drives: > > http://lists.gnu.org/archive/html/bug-parted/2016-12/msg00002.html > https://patchwork.kernel.org/patch/5249211/ You have to love drive firmware bugs, especially when the bastards never fix them. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 11:26:35 2017 Received: (at 27884) by debbugs.gnu.org; 20 Sep 2017 15:26:35 +0000 Received: from localhost ([127.0.0.1]:50352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dugtV-0004Ue-HD for submit@debbugs.gnu.org; Wed, 20 Sep 2017 11:26:33 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:46814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dufV6-0002FC-7o for 27884@debbugs.gnu.org; Wed, 20 Sep 2017 09:57:16 -0400 Received: by mail-wm0-f54.google.com with SMTP id i189so7494896wmf.1 for <27884@debbugs.gnu.org>; Wed, 20 Sep 2017 06:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=egp5dqW4+GUSKRWCcZ87W9jMHnvG4PAAH8YkVeD3PZs=; b=RJu5ZLno6Dgvw0JRlC+eSZk/6Ek+FZpal3FiX/1iFQzgQHIT4CqJnTQkeohEvEyph6 Ft7S74athk9fG7a/uiaLTDpReAXX5lQgIZCeC+L/Irpphk8JecIvpb0CzZB/oMQ46Y70 AeJZMnU6DbA8Ac67+FtvlpchmsZjpWax3lrll6OF9D/HC3WFCSVDY3TvSFXLWJo7AC+e WKH5m6oi+rw7RwnokWZ4gO/q+U0doJfes6fsl9zYvMKmD7g0xdwI1q8pfJ/C+GVhH2xv fPwxs+XA0UdrEaQpQqH8odYWIPXNC4fjcKIbksjcgyscrrhNA5qCw7S5SSVYxQtqrdyI c7Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=egp5dqW4+GUSKRWCcZ87W9jMHnvG4PAAH8YkVeD3PZs=; b=NBfUGn32kgeWO3W8WLU1TPf94YeplweczoY+fN2twx/VpSsI2SyGAUDe/QpJtKJ5qP lq6qqTWthdFCVoqITrTJE7A9n7mFx5/tD42QQMI2x/5AfNtp4204ZFC4e+YflGF0bqs7 jLsIily0wzVU6WNG7mDXA/82+Q3LSuKg7Ber+zNrbnaWCT28SpzpPaLR8Jegu51uITxW KiFsFt1Y9ARkJiyNi9/l9UEg9TkmLm1tVfXrKgvXOcVI5C//oCnFomGxp5C2sNQqZFz9 EkfE4t/x2A8JJqRa+K2EKZHM/Ne5nRp9LzLJJ5S652VSr5ZuOkO9q7S1tT53jOoVyjnw ByNw== X-Gm-Message-State: AHPjjUi1S6Nj0WjZ/FaIb0fxYCh1CR9kp8ugZTE8VEV+dquyAwAjtUvd XsvxdZfUzW3luqO7wLzdHKH7ToV0WZ8= X-Google-Smtp-Source: AOwi7QAsueBWpbH6BBBEfBpjkyRzNiqRcx7nhvDjEk2Mp+AiNhzkRWXAmRvvnbEIMpU9T5Zwp2UFcA== X-Received: by 10.28.149.144 with SMTP id x138mr3890012wmd.58.1505915828286; Wed, 20 Sep 2017 06:57:08 -0700 (PDT) Received: from sayaka.local (252.red-81-47-55.dynamicip.rima-tde.net. [81.47.55.252]) by smtp.googlemail.com with ESMTPSA id w73sm1684759wmw.31.2017.09.20.06.57.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 06:57:06 -0700 (PDT) Subject: Re: bug#27884: parted reports the partition is not optimally aligned, even though it's 1MiB-aligned To: Phil Susi , 27884@debbugs.gnu.org References: <452897f2-ad07-4908-0b0a-946bd638a29d@gmail.com> <8fb71c2e-7646-b402-ba3a-d625dab38f92@ubuntu.com> From: =?UTF-8?Q?Alicia_Boya_Garc=c3=ada?= Message-ID: <1c20b535-fd18-c821-0674-0bc30bbd826a@gmail.com> Date: Wed, 20 Sep 2017 15:57:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <8fb71c2e-7646-b402-ba3a-d625dab38f92@ubuntu.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 09/20/2017 02:55 PM, Phil Susi wrote: > On 7/30/2017 6:46 PM, Alicia Boya García wrote: >> Hi. >> >> Is there any explanation to this GNU parted output? >> >> GNU Parted 3.2 >> Using /dev/sde >> Welcome to GNU Parted! Type 'help' to view a list of commands. >> (parted) unit B >> (parted) p >> Model: Seagate M3 Portable (scsi) >> Disk /dev/sde: 4000787029504B >> Sector size (logical/physical): 512B/4096B >> Partition Table: gpt >> Disk Flags: >> >> Number Start End Size File system Name Flags >> 1 1048576B 4000786153471B 4000785104896B ext4 >> >> (parted) align-check >> alignment type(min/opt) [optimal]/minimal? >> Partition number? 1 >> 1 not aligned >> >> Why does it say it's not aligned? Both the the start and the end are >> 1MB-aligned (and therefore trivially 4096B-aligned and 512B-aligned), am >> I right? > Maybe your drive is advertising a different optimal alignment. What > does /sys/block/sde/queue/optimal_io_size say? > Indeed. [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [74.125.82.54 listed in dnsbl.sorbs.net] 0.0 HK_RANDOM_FROM From username looks random 0.6 HK_RANDOM_ENVFROM Envelope sender username looks random -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ntrrgc[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.54 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.82.54 listed in list.dnswl.org] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 27884 X-Mailman-Approved-At: Wed, 20 Sep 2017 11:26:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 09/20/2017 02:55 PM, Phil Susi wrote: > On 7/30/2017 6:46 PM, Alicia Boya García wrote: >> Hi. >> >> Is there any explanation to this GNU parted output? >> >> GNU Parted 3.2 >> Using /dev/sde >> Welcome to GNU Parted! Type 'help' to view a list of commands. >> (parted) unit B >> (parted) p >> Model: Seagate M3 Portable (scsi) >> Disk /dev/sde: 4000787029504B >> Sector size (logical/physical): 512B/4096B >> Partition Table: gpt >> Disk Flags: >> >> Number Start End Size File system Name Flags >> 1 1048576B 4000786153471B 4000785104896B ext4 >> >> (parted) align-check >> alignment type(min/opt) [optimal]/minimal? >> Partition number? 1 >> 1 not aligned >> >> Why does it say it's not aligned? Both the the start and the end are >> 1MB-aligned (and therefore trivially 4096B-aligned and 512B-aligned), am >> I right? > Maybe your drive is advertising a different optimal alignment. What > does /sys/block/sde/queue/optimal_io_size say? > Indeed. [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HK_RANDOM_FROM From username looks random 0.6 HK_RANDOM_ENVFROM Envelope sender username looks random 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [74.125.82.54 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.54 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.82.54 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ntrrgc[at]gmail.com) 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders On 09/20/2017 02:55 PM, Phil Susi wrote: > On 7/30/2017 6:46 PM, Alicia Boya Garc=C3=ADa wrote: >> Hi. >> >> Is there any explanation to this GNU parted output? >> >> GNU Parted 3.2 >> Using /dev/sde >> Welcome to GNU Parted! Type 'help' to view a list of commands. >> (parted) unit B = =20 >> (parted) p = =20 >> Model: Seagate M3 Portable (scsi) >> Disk /dev/sde: 4000787029504B >> Sector size (logical/physical): 512B/4096B >> Partition Table: gpt >> Disk Flags: >> >> Number Start End Size File system Name F= lags >> 1 1048576B 4000786153471B 4000785104896B ext4 >> >> (parted) align-check = =20 >> alignment type(min/opt) [optimal]/minimal? = =20 >> Partition number? 1 = =20 >> 1 not aligned >> >> Why does it say it's not aligned? Both the the start and the end are >> 1MB-aligned (and therefore trivially 4096B-aligned and 512B-aligned), = am >> I right? > Maybe your drive is advertising a different optimal alignment. What > does /sys/block/sde/queue/optimal_io_size say? > Indeed. This drive was advertising a ridiculous optimal_io_size that is not even a power of two (2^16-1 512-byte sectors). Unfortunately this seems to be the case with more Seagate drives: http://lists.gnu.org/archive/html/bug-parted/2016-12/msg00002.html https://patchwork.kernel.org/patch/5249211/ From unknown Sat Jun 21 05:06:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 19 Oct 2017 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator