<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>28217</bug_id>
          
          <creation_ts>2012-12-13 14:49:32 +0400</creation_ts>
          <short_desc>lvm on mdraid isn&apos;t processed correctly</short_desc>
          <delta_ts>2013-10-11 16:39:23 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alterator-grub</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>aen</cc>
    
    <cc>antohami</cc>
    
    <cc>asy</cc>
    
    <cc>boyarsh</cc>
    
    <cc>egori</cc>
    
    <cc>ekorneechev</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>136057</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-12-13 14:49:32 +0400</bug_when>
    <thetext>При установке загрузчика в конфигурации &quot;root на lvm на mdraid на sda+sdb&quot; предлагается выбор из sda, sdb и &quot;mapper/main-root&quot;; при выборе последнего:

Can&apos;t install grub on /dev/dm-0 :Invalid device `/dev/dm-0&apos;.
Usage: /usr/sbin/grub-bios-setup [OPTION...] DEVICE
Try `/usr/sbin/grub-bios-setup --help&apos; or `/usr/sbin/grub-bios-setup --usage&apos;
for more information.

При этом в chroot /mnt/destination bash всё будто на месте:

# grub-probe /boot/grub
ext2
# grub-probe -t abstraction /boot/grub
diskfilter mdraid09 lvm

Выбор sda отрабатывает нормально: загрузчик устанавливается и работает, система также грузится.

Вероятно, это же актуально для корня поверх LUKS-контейнера.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143090</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-10-11 16:39:23 +0400</bug_when>
    <thetext>На t6/branch работало, но предлагало по умолчанию одиночный диск, а не mdX:

http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/tmp/server-mini-t6_20131011-x86_64.iso
http://fly.osdn.org.ua/~mike/img/screenshots/test-raid1-lvm-29452.png</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>