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

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



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 redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

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


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