Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

Partition does not start on physical sector boundary.

61 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Ulli Horlacher

ungelesen,
21.09.2021, 14:35:3621.09.21
an
Wieso beschwert sich hier (s)fdisk?

root@mux:/tmp# cat nt.pt
label: dos
label-id: 0x22c9b6e4
device: /dev/sdb
unit: sectors

/dev/sdb1 : start= 2048, size= 67108864, type=83
/dev/sdb2 : start= 67110912, size= 67108864, type=83
/dev/sdb3 : start= 134219776, size= 2991407792, type=83

root@mux:/tmp# sfdisk /dev/sde <nt.pt
Checking that no-one is using this disk right now ... OK

Disk /dev/sde: 1.47 TiB, 1600321314816 bytes, 3125627568 sectors
Disk model: X439_PHM21T6MCTO
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4160 bytes / 4096 bytes

>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new DOS disklabel with disk identifier 0x22c9b6e4.
/dev/sde1: Created a new partition 1 of type 'Linux' and of size 32 GiB.
/dev/sde2: Created a new partition 2 of type 'Linux' and of size 32 GiB.
/dev/sde3: Created a new partition 3 of type 'Linux' and of size 1.4 TiB.
/dev/sde4: Done.

New situation:
Disklabel type: dos
Disk identifier: 0x22c9b6e4

Device Boot Start End Sectors Size Id Type
/dev/sde1 2048 67110911 67108864 32G 83 Linux
/dev/sde2 67110912 134219775 67108864 32G 83 Linux
/dev/sde3 134219776 3125627567 2991407792 1.4T 83 Linux

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

root@mux:/tmp# fdisk -l /dev/sde
Disk /dev/sde: 1.47 TiB, 1600321314816 bytes, 3125627568 sectors
Disk model: X439_PHM21T6MCTO
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4160 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x22c9b6e4

Device Boot Start End Sectors Size Id Type
/dev/sde1 2048 67110911 67108864 32G 83 Linux
/dev/sde2 67110912 134219775 67108864 32G 83 Linux
/dev/sde3 134219776 3125627567 2991407792 1.4T 83 Linux

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.


root@mux:/tmp# smartctl -i /dev/sde
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-81-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor: NETAPP
Product: X439_PHM21T6MCTO
Revision: NA04
User Capacity: 1,600,321,314,816 bytes [1.60 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Logical Unit id: 0x500003966c88f03c
Serial number: 7570A03ET2IA
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Tue Sep 21 20:31:32 2021 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horl...@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Sven Hartge

ungelesen,
21.09.2021, 17:44:5021.09.21
an
Ulli Horlacher <fram...@rus.uni-stuttgart.de> wrote:

> Wieso beschwert sich hier (s)fdisk?

Weil es von einer veralteten Ansicht der Festplatte ausgeht, einer
veralteten Ansicht, die noch aus Zeiten von vor LBA stammt.

Du kannst du Meldung getrost ignorieren.



--
Sigmentation fault. Core dumped.

Kay Martinen

ungelesen,
21.09.2021, 20:30:0121.09.21
an
Am 21.09.21 um 20:35 schrieb Ulli Horlacher:
> Wieso beschwert sich hier (s)fdisk?
>

> device: /dev/sdb
> unit: sectors
>
> /dev/sdb1 : start= 2048, size= 67108864, type=83


> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4160 bytes / 4096 bytes

> Device Boot Start End Sectors Size Id Type
> /dev/sde1 2048 67110911 67108864 32G 83 Linux


> root@mux:/tmp# fdisk -l /dev/sde
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes

Ich weiß jetzt nicht was sfdisk da für inputs erlaubt aber für mich
sieht das so aus das der einen sektor mit 512 Bytes sieht und die
Platten den mit 4086 Bytes sehen. Und du hast auf beiden Disks offenbar
den Startsektor genau dazwischen liegen. Hast du's mal mit 4096 als
Start versucht? Und die Sektorzahl als ganzen Teiler von 4k?

Ich glaub aber; wie Sven; nicht das es da Probleme gibt. Ich hab das
hier auch mal auf einem System beim Einrichten bemerkt und das läuft
ohne Probleme.

Bye/
/Kay

--
🅟🅞🅢🅣🅔🅓 🅥🅘🅐 🅛🅔🅐🅕🅝🅞🅓🅔
0 neue Nachrichten