On Tue, 08 Mar 2011 21:05:17 +0100, Jürgen Schilp 
<juergen.sch...@alice-dsl.net> wrote:
> Hi,
> 
> I encounter the same problem as described in an old thread.
> 
> In my case I use the cobbler integrated in Redhat Satellite and what to 
> use the keep_rhn_host_keys snippet. I found that a got always a kernel 
> panic when a mount is done on an lvm or swap partition.
> 
> E.g. the previous installation has following partition layout:
> # fdisk -l /dev/cciss/c0d0
> 
> Disk /dev/cciss/c0d0: 440.3 GB, 440345714688 bytes
> 255 heads, 63 sectors/track, 53535 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>             Device Boot      Start         End      Blocks   Id  System
> /dev/cciss/c0d0p1   *           1          25      200781   83  Linux
> /dev/cciss/c0d0p2              26       53535   429819075   8e  Linux LVM
> 
> If you create a small snippet with following content:
> mkdir /tmp/aaaaa
> mount /dev/cciss/c0d0p2  /tmp/aaaaa
> 
> The mount fails as expected but after the new partitions are created and 
> formatted the kernel panic occurs.
> 
> Does anybody encounter the same problem?

Sounds like a bug where the OS fails to read the partition table
again. I'd file a bug with Red Hat on it. I doubt we can do anything
about this other than to say not to use that snippet, which is less than
optimum.

I might check scsi-rescan from rhel6 and try doing what it does. That
might get the kernel to reevaluate its environment and not panic. I'd do
it after the keep_rhn_host_keys snippet runs.

-- 
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME

Attachment: pgpbwpsGTekj5.pgp
Description: PGP signature

_______________________________________________
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel

Reply via email to