Пакет ptmax: Информация

    Исходный пакет: ptmax
    Версия: 2015-alt2
    Собран:  3 января 2016 г. 16:15 в задании #155591
    Сообщить об ошибке в пакете
    Домашняя страница: https://github.com/amarao/ptmax

    Лицензия: GPL
    О пакете: Maximize partition in partition table to include it's trailing unallocated space
    Описание: 
    Anyone, who have tried to resize a partition with LVM's PV on it do know
    that felling: What the hell, we are dealing with a 64-bytes 35-years
    old fixed size structure with bunch of INTs and still CAN NOT JUST
    RESIZE partiton.
    
    All existing utilities looks grim. Fdisk allows us to do this, but with
    'DELETE and CREATE' (if you miss numbers, you are fckd up), parted says
    it don't know how to do with LVM partition and so on.
    
    If we had an 'old plain spinning drive' with misarranged paritions, we can
    say: 'think before creating'. Because bare metall hard drives don't scale.
    
    But now we live in the world of virtual machines, iscsi, LVM, MD which
    offers way to 'change disk size in 2 clicks'. And what the hell you are
    supposed to do after drive (block device) size changed, but the partition
    table is still the same?
    
    Yep. This utility partially solve the problem. It takes parition name
    (/dev/sda1, /dev/xvda2 and so on) and attemts to maximize partition. Only
    4 bytes in partition table (size filed), nothing more. After that you
    can run pvreze, or resize2fs, or whatever, to reflect the change on a
    higher level.
    
    Usage is pertty simple:
    
    ptmax /dev/sda3
    
    That's all.
    
    It cautious to avoid doing do bad things, so it will max partition
    size only if PT is sane  and there is a free space after the targeted
    partition. It will not move partitions, attempt to use leading
    unpartitioned space, change the partition number, or alter in any other
    way the original partitioning schema or data inside partition.
    
    Currently there is no support for CHS, LBA only (?), so don't try it on
    <32Mb partitions.
    
    See also http://habrahabr.ru/company/selectel/blog/139152/

    Список rpm-пакетов, предоставляемых данным srpm-пакетом:
    ptmax (x86_64, i586)
    ptmax-debuginfo (x86_64, i586)

    Сопровождающий: Vitaly Lipatov

    Список участников:
    Evgenii Terechkov
    Vitaly Lipatov

    Последнее изменение


    3 января 2016 г. Evgenii Terechkov 2015-alt2
    - Build with debuginfo
    8 декабря 2015 г. Evgenii Terechkov 2015-alt1
    - git-20151208
    12 февраля 2014 г. Vitaly Lipatov 2012-alt1
    - add support for cciss device names
    - use sysfs to detect correct device parent name