Bug 584533
Summary: | fdisk won't create partitions capable of replacing Raid 1 drive | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ed Friedman <edfriedmangvs> |
Component: | util-linux-ng | Assignee: | Karel Zak <kzak> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | kzak |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-06-27 15:47:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ed Friedman
2010-04-21 19:48:03 UTC
(In reply to comment #0) > Starting in Fedora 12, all of the partitions end with the exact > same block that the next partition starts with. I don't see any changes in Fedora-12 fdisk (from util-linux-ng 2.16). The fdisk command has been changed in Fedora-13 (util-linux-ng 2.17). Are you really sure that you are talking about sectors (blocks) and not about cylinders? Please, I'd like to see: fdisk -lu <device> and the way how reproduce the problem. (Note that the default display units are cylinders, you need to use "-u" to switch to sectors and ideally "-c" to disable DOS mode.) Anyway, the ideal way how to create an identical PT is to use sfdisk rather than fdisk. I tried sfdisk and ran into two problems. First, it wouldn't let me use all of the sectors that were used on the original disk. Second, it gave a warning that the partitions weren't eneding on a cylinder boundary and recommended that the new partition not be saved. I double checked and prior to Fedora 11 all partitions ended on a cylinder boundary (and could be reproduced with just fdisk). I never realized this before last week because I haven't had a Raid 1 drive fail until then. I guess I'll just have to start by installing Fedora 10 in order to get partitions that end on cylinder boundaries, then follow up with a Fedora 13 install...... (In reply to comment #2) > I guess I'll just have to start by installing Fedora 10 in order to get > partitions that end on cylinder boundaries Why do you need partitions aligned to the cylinder boundaries? Linux and Windows use sectors, CHS is obsolete legacy... The fdisk from F-13 does not care about cylinders anymore if running in non-DOS mode. When trying to recover from a failed disk on a RAID-1 setup, I have recovery tools that make use of DOS fdisk already set up and in place to duplicate the partitions of the failed disk onto a blank disk and which I have been using for years. I fail to see why the user should not at least have the option to align partitions to cylinder boundaries during the initial setup. The fdisk in F-13 still runs by default in DOS mode, in F-14: The fdisk(8) command does not use DOS-compatible mode and cylinders as display units by default. The old deprecated DOS behavior could be enabled by 'c' and 'u' fdisk commands or from command line by '-c=dos -u=cylinders' options. Note that Fedora installer does not use fdisk, it uses GNU Parted. This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |