[DragonFlyBSD - Bug #2674] GPT Support

2015-06-30 Thread bugtracker-admin
Issue #2674 has been updated by ftigeot.

Related to Bug #2830: gpt(8) doesn't align partitions to 1MB blocks added


Bug #2674: GPT Support
http://bugs.dragonflybsd.org/issues/2674#change-12686

* Author: ftigeot
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 

DragonFly currently doesn't have any GPT support in its installer, which makes 
it hard to install on  2TB storage volumes.

Proposed roadmap:

1. Register some GUID partition types

  UFS and swap partitions could reuse the FreeBSD UFS and partition types
  New types are needed for HAMMER and HAMMER2 file systems

2. Add full-volume support to the installer

  The installer should be able to install DragonFly on a dedicated volume

3. Add partial volume support to the installer

  For people wanting to keep non-DragonFly managed data on part of a volume 



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account


[DragonFlyBSD - Bug #2830] gpt(8) doesn't align partitions to 1MB blocks

2015-06-30 Thread bugtracker-admin
Issue #2830 has been updated by ftigeot.

Related to Bug #2674: GPT Support added


Bug #2830: gpt(8) doesn't align partitions to 1MB blocks
http://bugs.dragonflybsd.org/issues/2830#change-12687

* Author: ftigeot
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 

The GPT partition scheme management utility, gpt(8) doesn't manage partition 
alignment at all.

# gpt create /dev/da1
# gpt boot /dev/da1
# gpt show /dev/da1
  start   size  index  contents
  0  1  -  PMBR
  1  1  -  Pri GPT header
  2 32  -  Pri GPT table
 342097152  0  GPT part - DragonFly Label32

We can see the just created boot partition starts on the legacy sector 34 
offset, 17KB from the start of the device.

This isn't divisible by the physical sector size of modern disk devices (4KB).
It isn't optimal with SSD either: they typically use 8KB or bigger erase blocks.

gpt(8) should behave in the same as disklabel64 and align partitions to 1MB 
boundaries.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account