Re: PATCH [rhel-5.4 mkinitrd dmraid] add --rm_partitions to dmraid invocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



looks good
On Wed, May 13, 2009 at 11:41:21AM +0200, Hans de Goede wrote:
> Hi All,
>
> This patch fixes the io errors seen during boot on striped dmraid setups
>
> Regards,
>
> Hans
>

> diff -up mkinitrd-5.1.19.6/mkinitrd~ mkinitrd-5.1.19.6/mkinitrd
> --- mkinitrd-5.1.19.6/mkinitrd~	2009-05-11 13:26:07.000000000 +0200
> +++ mkinitrd-5.1.19.6/mkinitrd	2009-05-11 13:40:26.000000000 +0200
> @@ -1794,7 +1794,7 @@ if [ "$withdmraid" == "1" ]; then
>                 egrep -iv "^no " | awk -F ':' '{ print $1 }') ; do
>          dmname=$(resolve_dm_name $x)
>          [ -z "$dmname" ] && continue
> -        emit "dmraid -ay -i -p \"$dmname\""
> +        emit "dmraid -ay -i -p --rm_partitions \"$dmname\""
>          emit "kpartx -a -p p \"/dev/mapper/$dmname\""
>      done
>  fi

> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
Joel Andres Granados
Brno, Czech Republic, Red Hat.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux