X-Loop: help-debbugs@HIDDEN Subject: bug#18660: Partprobe and advanced format disks Resent-From: Nuzhna Pomoshch <nuzhna_pomoshch@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 08 Oct 2014 00:43:01 +0000 Resent-Message-ID: <handler.18660.B.14127289545804 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 18660 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 18660 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14127289545804 (code B ref -1); Wed, 08 Oct 2014 00:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Oct 2014 00:42:34 +0000 Received: from localhost ([127.0.0.1]:37069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XbfKs-0001VY-2i for submit <at> debbugs.gnu.org; Tue, 07 Oct 2014 20:42:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55780) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <nuzhna_pomoshch@HIDDEN>) id 1XbfKn-0001VM-M3 for submit <at> debbugs.gnu.org; Tue, 07 Oct 2014 20:42:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <nuzhna_pomoshch@HIDDEN>) id 1XbfKc-0006Go-Dn for submit <at> debbugs.gnu.org; Tue, 07 Oct 2014 20:42:28 -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, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <nuzhna_pomoshch@HIDDEN>) id 1XbfKc-0006Gk-9y for submit <at> debbugs.gnu.org; Tue, 07 Oct 2014 20:42:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <nuzhna_pomoshch@HIDDEN>) id 1XbfKT-0007mf-6j for bug-parted@HIDDEN; Tue, 07 Oct 2014 20:42:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <nuzhna_pomoshch@HIDDEN>) id 1XbfKJ-0006ET-Um for bug-parted@HIDDEN; Tue, 07 Oct 2014 20:42:09 -0400 Received: from nm49-vm2.bullet.mail.gq1.yahoo.com ([67.195.87.232]:35105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <nuzhna_pomoshch@HIDDEN>) id 1XbfKJ-0006EO-L5 for bug-parted@HIDDEN; Tue, 07 Oct 2014 20:41:59 -0400 Received: from [127.0.0.1] by nm49.bullet.mail.gq1.yahoo.com with NNFMP; 08 Oct 2014 00:41:58 -0000 Received: from [98.137.12.189] by nm49.bullet.mail.gq1.yahoo.com with NNFMP; 07 Oct 2014 05:06:46 -0000 Received: from [98.139.215.141] by tm10.bullet.mail.gq1.yahoo.com with NNFMP; 07 Oct 2014 05:06:45 -0000 Received: from [98.139.212.240] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 07 Oct 2014 05:06:45 -0000 Received: from [127.0.0.1] by omp1049.mail.bf1.yahoo.com with NNFMP; 07 Oct 2014 05:06:45 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 680149.33378.bm@HIDDEN Received: (qmail 56188 invoked by uid 60001); 7 Oct 2014 05:06:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1412658405; bh=daPlLJgPKjE1RdprOO+u470HnjvFbcVyeaA+jN7WsXY=; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OCS62CSw21y4OTqZ9ZY5SHXuoLXHTXKxxgRgSPvwaBfnlKEXKJLwTDx4HWR6EGDSP8i78ez97jX24wyfZVdWIUAhPsDoiD1DhT66xuE/C8O2hFAMIJMJ5tD56mokuVgJ3vPQ+sj1YlkTNVQxvHrAnAdY+VGWghjZ3aOvnzKZVho= X-YMail-OSG: QObM4usVM1keeNvUi9Qv3kTnHkvK2Ow7LPqXM1KLKkDFjQ. e1M0I0Ul5fMX8jUwvMYu1jLDWFi2qpJPSyRd_qnQrIqkvSJk1n4PiZA0IqBh AcxdZPF98gFx0qsoc4rNmUs2gfvPv7.eQxAktFr_BKicfuV6yYVNkhZ.BG9r p_uE1xgxVvsGclMp97c.FY.TbYk4N2KKP.Lu.BrkW8WDmusFcn6cwxI_pzKa oO3pSSG_0HcNE9nA.LnmqoW0DFMSBumcPx7WTjGgE5qKpsjroBCtCx8EB6OB xLPS4892WWaYLT3fCXwCtkgxFKOJmBH2y2w51th5qbXQCSR.4NMqdtEx73a2 PTRrov76bGB7aIwRTe7i0znD79Hmwf8JcQgjCdLrUOjcIUXi57Cb2OikCsET uT1NeHqBfq50RFRsUEaLfpShwJhgd5IqS4iudDFPNNddGg8MZHkMQuZ77IqS mn7UMOjeXYcacxtZmLSbXnxbOQ55cgEYynOavqPu5fwEKNajphxnkIdTKebT v6h2FADD_TYzMQqLiJFaih3U.hh_rjSaJ_xDDS15ATRZpZ3aUKmv.k6MYnMJ rnRDdXZfs7b.nfD9p Received: from [122.60.72.200] by web161306.mail.bf1.yahoo.com via HTTP; Mon, 06 Oct 2014 22:06:45 PDT X-Rocket-MIMEInfo: 002.001, UGFydHByb2JlIGlzIGEgZmFudGFzdGljYWxseSB1c2VmdWwgdG9vLiBJdCBpcyBhYnNvbHV0ZWx5DQp2aXRhbCB0byBhY2Nlc3MgbmV3IHBhcnRpdGlvbnMgd2l0aG91dCByZWJvb3RpbmcsIGFzDQp3ZWxsIGFzIGVhc2lseSBnZXQgdG8gcGFydGl0aW9ucyBvbiBhIG1hcHBlZCBkZXZpY2UuDQoNCkhvd2V2ZXIsIEkgYW0gaGF2aW5nIGEgbGFyZ2UgcHJvYmxlbSB3aXRoIGl0IG5vdw0Kb24gYSA0MDk2IGJ5dGUgc2VjdG9yIGhhcmQgZHJpdmUuDQoNCkFsbCBvZiB0aGUgZmlsZXN5c3RlbSB0b29scyB3b3JrIGYBMAEBAQE- X-Mailer: YahooMailClassic/799 YahooMailWebService/0.8.203.696 Message-ID: <1412658405.35592.YahooMailBasic@HIDDEN> Date: Mon, 6 Oct 2014 22:06:45 -0700 From: Nuzhna Pomoshch <nuzhna_pomoshch@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.3 (----) Partprobe is a fantastically useful too. It is absolutely vital to access new partitions without rebooting, as well as easily get to partitions on a mapped device. However, I am having a large problem with it now on a 4096 byte sector hard drive. All of the filesystem tools work fine on the raw device. However, since I want encryption (AND separate partitions), I did: # cryptsetup -v luksFormat /dev/sdx WARNING! =3D=3D=3D=3D=3D=3D=3D=3D This will overwrite data on /dev/sdd irrevocably. Are you sure? (Type uppercase yes): YES Enter passphrase:=20 Verify passphrase:=20 Command successful. # cryptsetup open /dev/sdx disk Enter passphrase for /dev/sdx: # ls -al /dev/mapper/ total 0 drwxr-xr-x 2 root root 120 2014-10-07 03:35:21 ./ drwxr-xr-x 17 root root 5480 2014-10-07 03:35:21 ../ crw------- 1 root root 10, 236 2014-07-28 15:33:13 control lrwxrwxrwx 1 root root 7 2014-10-07 03:35:21 disk -> ../dm-0 # gdisk /dev/mapper/disk GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: not present BSD: not present APM: not present GPT: not present Creating new GPT entries. Command (? for help): n Partition number (1-128, default 1): 1 First sector (6-732566127, default =3D 256) or {+-}size{KMGTP}:=20 Last sector (256-732566127, default =3D 732566127) or {+-}size{KMGTP}: +8G Current type is 'Linux filesystem' Hex code or GUID (L to show codes, Enter =3D 8300):=20 Changed type of partition to 'Linux filesystem' Command (? for help): w Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTIN= G PARTITIONS!! Do you want to proceed? (Y/N): y OK; writing new GUID partition table (GPT) to /dev/mapper/disk. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. # gdisk -l /dev/mapper/disk GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/mapper/disk: 732566133 sectors, 2.7 TiB Logical sector size: 4096 bytes Disk identifier (GUID): AF876611-E58D-481A-8836-3FF2CBF581D3 Partition table holds up to 128 entries First usable sector is 6, last usable sector is 732566127 Partitions will be aligned on 256-sector boundaries Total free space is 730468970 sectors (2.7 TiB) Number Start (sector) End (sector) Size Code Name 1 256 2097407 8.0 GiB 8300 Linux filesystem # /usr/sbin/partprobe # ls -al /dev/mapper/ total 0 drwxr-xr-x 2 root root 140 2014-10-07 04:39:33 ./ drwxr-xr-x 17 root root 5500 2014-10-07 04:39:33 ../ crw------- 1 root root 10, 236 2014-07-28 15:33:13 control lrwxrwxrwx 1 root root 7 2014-10-07 04:39:33 disk -> ../dm-0 brw------- 1 root root 253, 3 2014-10-07 04:39:33 disk1 # mke2fs -b 4096 -L disk -m 0 -v /dev/mapper/disk1 mke2fs 1.42.10 (18-May-2014) fs_types for mke2fs.conf resolution: 'ext2' Filesystem label=3Ddisk OS type: Linux Block size=3D4096 (log=3D2) Fragment size=3D4096 (log=3D2) Stride=3D0 blocks, Stripe width=3D0 blocks 65536 inodes, 262144 blocks 0 blocks (0.00%) reserved for the super user First data block=3D0 Maximum filesystem blocks=3D268435456 8 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Filesystem UUID: 678b1ec9-9442-4af2-936b-e353a886b227 Superblock backups stored on blocks:=20 32768, 98304, 163840, 229376 Allocating group tables: done =20 Writing inode tables: done =20 Writing superblocks and filesystem accounting information: done # mount /dev/mapper/disk1 /mnt/disk/ # df [...] /dev/mapper/disk1 1032088 1284 1030804 1% /mnt/disk # dd bs=3D1048576 if=3D/dev/zero of=3D/mnt/disk/file dd: error writing =E2=80=98/mnt/disk/file=E2=80=99: No space left on device 1006+0 records in 1005+0 records out 1054507008 bytes (1.1 GB) copied, 24.6156 s, 42.8 MB/s # df [...] /dev/mapper/disk1 1032088 1032088 0 100% /mnt/disk I could show the results of more tools, but you get the idea - there is only 1 GB of the 8 GB partition available. I suspect (but don't know for certain) that partprobe is not passing the correct parameters to the device mapper. Thanks in advance for your help. Nuzhna
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Nuzhna Pomoshch <nuzhna_pomoshch@HIDDEN> Subject: bug#18660: Acknowledgement (Partprobe and advanced format disks) Message-ID: <handler.18660.B.14127289545804.ack <at> debbugs.gnu.org> References: <1412658405.35592.YahooMailBasic@HIDDEN> X-Gnu-PR-Message: ack 18660 X-Gnu-PR-Package: parted Reply-To: 18660 <at> debbugs.gnu.org Date: Wed, 08 Oct 2014 00:43:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 18660 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 18660: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18660 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#18660: Partprobe and advanced format disks Resent-From: "Brian C. Lane" <bcl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 08 Oct 2014 18:26:02 +0000 Resent-Message-ID: <handler.18660.B.141279274629766 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18660 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 18660 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.141279274629766 (code B ref -1); Wed, 08 Oct 2014 18:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Oct 2014 18:25:46 +0000 Received: from localhost ([127.0.0.1]:38232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Xbvvl-0007k2-IL for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 14:25:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33943) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <bcl@HIDDEN>) id 1Xbvvj-0007jt-JZ for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 14:25:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1Xbvva-0002qB-CZ for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 14:25:43 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:32807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1Xbvva-0002q7-A2 for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 14:25:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1XbvvU-0005Pv-4G for bug-parted@HIDDEN; Wed, 08 Oct 2014 14:25:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1XbvvN-0002oC-Lk for bug-parted@HIDDEN; Wed, 08 Oct 2014 14:25:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1XbvvN-0002ny-ER for bug-parted@HIDDEN; Wed, 08 Oct 2014 14:25:21 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s98IPKMa030007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for <bug-parted@HIDDEN>; Wed, 8 Oct 2014 14:25:20 -0400 Received: from lister.brianlane.com (ovpn-113-61.phx2.redhat.com [10.3.113.61]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s98IPIta023201 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for <bug-parted@HIDDEN>; Wed, 8 Oct 2014 14:25:20 -0400 Date: Wed, 8 Oct 2014 11:25:18 -0700 From: "Brian C. Lane" <bcl@HIDDEN> Message-ID: <20141008182518.GP2469@HIDDEN> References: <1412658405.35592.YahooMailBasic@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1412658405.35592.YahooMailBasic@HIDDEN> User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) On Mon, Oct 06, 2014 at 10:06:45PM -0700, Nuzhna Pomoshch wrote: > Partprobe is a fantastically useful too. It is absolutely > vital to access new partitions without rebooting, as > well as easily get to partitions on a mapped device. > > However, I am having a large problem with it now > on a 4096 byte sector hard drive. You left out the most important tool :) What does the output from: parted -s /dev/mapper/disk u s p show? -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
X-Loop: help-debbugs@HIDDEN Subject: bug#18660: Partprobe and advanced format disks References: <1412658405.35592.YahooMailBasic@HIDDEN> Resent-From: Nuzhna Pomoshch <nuzhna_pomoshch@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Tue, 11 Nov 2014 06:09:02 +0000 Resent-Message-ID: <handler.18660.B18660.141568612516593 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18660 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 18660 <at> debbugs.gnu.org Received: via spool by 18660-submit <at> debbugs.gnu.org id=B18660.141568612516593 (code B ref 18660); Tue, 11 Nov 2014 06:09:02 +0000 Received: (at 18660) by debbugs.gnu.org; 11 Nov 2014 06:08:45 +0000 Received: from localhost ([127.0.0.1]:56803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Xo4dA-0004JZ-HR for submit <at> debbugs.gnu.org; Tue, 11 Nov 2014 01:08:44 -0500 Received: from nm46-vm9.bullet.mail.gq1.yahoo.com ([67.195.87.177]:34946) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <nuzhna_pomoshch@HIDDEN>) id 1Xo4d7-0004JK-49 for 18660 <at> debbugs.gnu.org; Tue, 11 Nov 2014 01:08:42 -0500 Received: from [127.0.0.1] by nm46.bullet.mail.gq1.yahoo.com with NNFMP; 11 Nov 2014 06:08:40 -0000 Received: from [216.39.60.180] by nm46.bullet.mail.gq1.yahoo.com with NNFMP; 11 Nov 2014 06:05:56 -0000 Received: from [66.196.81.174] by tm16.bullet.mail.gq1.yahoo.com with NNFMP; 11 Nov 2014 06:05:56 -0000 Received: from [98.139.212.203] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 11 Nov 2014 06:05:56 -0000 Received: from [127.0.0.1] by omp1012.mail.bf1.yahoo.com with NNFMP; 11 Nov 2014 06:05:56 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 790118.87609.bm@HIDDEN Received: (qmail 52746 invoked by uid 60001); 11 Nov 2014 06:05:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1415685956; bh=0ql2686SX55HE7davIB1ohXA6HsUztkI52r/Jb9WMPs=; h=Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=iSam9J198/LlFcieE5seOK1zPY/gPW1StkxLa14TBWTR3ClGZJYuInageatOaqHqqxtYL37kblf+YzRQRgrs4MLo/92KcAcJ6gyrS5BOllHgaRGVI2+Itb79Yt4R+JrGTpYlBjFO94iXySDVtVQE3/31E/FZ8kk8aui8QBD0e/g= X-YMail-OSG: ogL9oVAVM1lEvZ6.cxU6nmrRhE38l7NHyqSm_0d0pff3OiP llexMT07BI2CCrLRKpndUyBfOuXNk5gxiDzAcIlvnVtazSqQozqa0X5eGTew jRgAMMhbxuKMzeDpLUvgqC1K2aBVpPUcPAWUaVDS9.6Zzwg2C9xIjmrsaGQe gieBAYnpja6hkLCs61bsrfbxkyfGmpoyjCefDUa5lvUO5kog6_GspzUFAjSZ wZ8JBlVxww5sea9WIozUDLLPubpqFFj7AD5fgga0i1ZdbHWTkuQXgd_u2pq1 LIyfFUqP26dmuwG8Wbuji5Rqz_kjtwF8Leehi6cRH8tY0OUyQu7HZ.En6_kT pRBSXwu_wl59P1PtuSxJdqicsC1HkKXYzzJ61ac6QFfaPo8f0BV7nzgWK8aV GMPALnqV.D9SSDZ98WonkdnIt5SR1gr8kLIrJUJXhz574pUEwd4pe.aWPmc6 Z9kkaxPP1jOc7wWK92nJieX6RdsfDVMao1QJO.yinNDoVl3UIdk4F35t_ohF fkJmB0S.KqMH6P7qULz0eCGiNd7QgidrcJdqp8IkbJ.bPmipY4EXc6_nJJHv IkFR0TRbQJrbzqw-- Received: from [122.60.72.200] by web161303.mail.bf1.yahoo.com via HTTP; Mon, 10 Nov 2014 22:05:56 PST X-Rocket-MIMEInfo: 002.001, T24gV2VkLCAxMC84LzE0LCBCcmlhbiBDLiBMYW5lIDxiY2xAcmVkaGF0LmNvbT4gd3JvdGU6DQoNCj4gU3ViamVjdDogYnVnIzE4NjYwOiBQYXJ0cHJvYmUgYW5kIGFkdmFuY2VkIGZvcm1hdCBkaXNrcw0KPiBUbzogMTg2NjBAZGViYnVncy5nbnUub3JnDQo.IERhdGU6IFdlZG5lc2RheSwgT2N0b2JlciA4LCAyMDE0LCA2OjI1IFBNDQo.IA0KPiBPbiBNb24sIE9jdCAwNiwgMjAxNCBhdCAxMDowNjo0NVBNIC0wNzAwLCBOdXpobmEgUG9tb3NoY2ggd3JvdGU6DQo.ID4gUGFydHByb2JlIGlzIGEgZmFudGFzdGkBMAEBAQE- X-Mailer: YahooMailClassic/810 YahooMailWebService/0.8.203.733 Message-ID: <1415685956.48839.YahooMailBasic@HIDDEN> Date: Mon, 10 Nov 2014 22:05:56 -0800 From: Nuzhna Pomoshch <nuzhna_pomoshch@HIDDEN> In-Reply-To: <20141008182518.GP2469@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On Wed, 10/8/14, Brian C. Lane <bcl@HIDDEN> wrote: > Subject: bug#18660: Partprobe and advanced format disks > To: 18660 <at> debbugs.gnu.org > Date: Wednesday, October 8, 2014, 6:25 PM > > On Mon, Oct 06, 2014 at 10:06:45PM -0700, Nuzhna Pomoshch wrote: > > Partprobe is a fantastically useful too. It is absolutely > > vital to access new partitions without rebooting, as > > well as easily get to partitions on a mapped device. > > > > However, I am having a large problem with it now > > on a 4096 byte sector hard drive. > > You left out the most important tool :) What does the output from: > > parted -s /dev/mapper/disk u s p > > show? Replied to you a month ago, but (following up) it seems that I am supposed to reply to the specific bug number (that was not clear to me before - this is the first time I have filed a bug here). Anyway, # parted -s /dev/mapper/disk u s p Model: Linux device-mapper (crypt) (dm) Disk /dev/mapper/disk: 732566133s Sector size (logical/physical): 4096B/4096B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 256s 2097407s 2097152s Linux filesystem As I think I mentioned before (via command output), parted does see the disk having 4096 byte sectors. My guess (I haven't looked at the code, and I don't even know how much I could learn from doing so - I am not a programmer at all, and probably would not understand much, if anything) is that partprobe (and the libraries behind it) is just passing the sectors above to the device mapper (which uses 512 byte sectors exclusively) without making the necessary adjustment for the larger sector size. This would confirm that (again, these are 512 byte sectors): # dmsetup table disk1 0 2097152 linear 253:2 256 Nuzhna
X-Loop: help-debbugs@HIDDEN Subject: bug#18660: Partprobe and advanced format disks Resent-From: Phillip Susi <psusi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Tue, 11 Nov 2014 14:26:02 +0000 Resent-Message-ID: <handler.18660.B18660.14157159077009 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18660 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Nuzhna Pomoshch <nuzhna_pomoshch@HIDDEN>, 18660 <at> debbugs.gnu.org Received: via spool by 18660-submit <at> debbugs.gnu.org id=B18660.14157159077009 (code B ref 18660); Tue, 11 Nov 2014 14:26:02 +0000 Received: (at 18660) by debbugs.gnu.org; 11 Nov 2014 14:25:07 +0000 Received: from localhost ([127.0.0.1]:56973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XoCNW-0001oy-EA for submit <at> debbugs.gnu.org; Tue, 11 Nov 2014 09:25:06 -0500 Received: from mail-qa0-f44.google.com ([209.85.216.44]:44616) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <phillsusi@HIDDEN>) id 1XoCNT-0001op-LZ for 18660 <at> debbugs.gnu.org; Tue, 11 Nov 2014 09:25:04 -0500 Received: by mail-qa0-f44.google.com with SMTP id w8so7070566qac.31 for <18660 <at> debbugs.gnu.org>; Tue, 11 Nov 2014 06:25:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=HBnGFmu8XM6ZzJpLsAm1c5jw2FasL/qGFG8eBmL0UfU=; b=DlzOIrUrCTt67uqPtEREpznTUlP9Abj5SCJkJnfzXwkBUtbMKFfxpaQacsMFR/iKzA ncyDvywIVZQ1BMjlW975S5YaLpNhLDKo7uNm3+wwDTduhsu3zmZF7DlkLjtMtj3kJirB kN7vUygjdykqG923ouVvymF8oAyVmGo+Tk7RmXUmEGWAXWOmJ9nbH3QBqA2WpdI5mSSj nhTNuyWa8OTQ8SsldpUHGWMi/NV69hiS0pxWkhx44zobUbMhWqcikehI3yb/dn42i7Vz h8L3HjpVJeScHs07yCtAmZdf+WXgmgRZl4JKIVg50uBBUHpnia/VPekN71UdJCqMtBEa ZOlA== X-Received: by 10.224.24.131 with SMTP id v3mr53362041qab.81.1415715903323; Tue, 11 Nov 2014 06:25:03 -0800 (PST) Received: from [10.1.1.236] (fl-67-77-88-12.sta.embarqhsd.net. [67.77.88.12]) by mx.google.com with ESMTPSA id o106sm18301812qge.39.2014.11.11.06.25.02 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Nov 2014 06:25:02 -0800 (PST) Message-ID: <54621C01.6070006@HIDDEN> Date: Tue, 11 Nov 2014 09:24:01 -0500 From: Phillip Susi <psusi@HIDDEN> User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <1412658405.35592.YahooMailBasic@HIDDEN> <1415685956.48839.YahooMailBasic@HIDDEN> In-Reply-To: <1415685956.48839.YahooMailBasic@HIDDEN> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/11/2014 1:05 AM, Nuzhna Pomoshch wrote: > This would confirm that (again, these are 512 byte sectors): > > # dmsetup table disk1 0 2097152 linear 253:2 256 Are you using parted 3.2, or an older version? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iQEcBAEBAgAGBQJUYhwBAAoJEI5FoCIzSKrwGMEH/jWsfFGlXRtf7vYsaxVAnujM GwHpkf3xuayZamet9DFnldqXaLvyQeGZM/VRwM5mXyPFmZkWwKsW4vJaDb1fnQgM 03+hf3VlXpyN5qIWT9Zp8gt9oR1t9GSZdOwk2YtJrYhp50+GEUFw/Kuv8AoDC3IH ZUhr7ar7CC3+1sTxdURGUR5Wbo7VUOo/TgXZ+jTNVnc5XkYrw0p2aNC9qR4YJBap 1mCfsci0NpZvfjrmfJbgoo5dir6T5S2frtSb/c8TlaFXP9zqcn2RzGtLaHgQnnkV 7RBEnSKqDeylPs1oJHisYkxbcY8/jypu9SJyOgksV04luxVsqa3UEcJke51OISE= =35cM -----END PGP SIGNATURE-----
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.