Re: [CentOS] Superblock Problem [SOLVED]

2010-07-13 Thread Guy Boisvert
  Le 2010-07-02 09:35, Guy Boisvert a écrit :

   Yes i tried to boot with the other kernels, same result. I'll check
 device.map soon (i'm offsite now).

 Thanks.


Finally, i decided to download the latest CentOS version DVD and do an 
upgrade. I booted from the DVD, typed linux upgrade and voilà!  The 
server rebooted and worked as expected.

Is there anybody on the list that could explain why it happened?  Maybe 
there was a couple of yum update containing kernel updates without 
reboot.  I cannot think for now of anything other than that.

Guy Boisvert
IngTegration inc.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Superblock Problem

2010-07-02 Thread Morten Torstensen
On 01.07.2010 23:32, m.r...@5-cent.us wrote:
 mount: error mounting /dev/root on /sysroot as ext3: invalid argument
 setuproot: moving /root failed: No such file or directory
 setuproot: error mounting /proc: No such file or directory
 setuproot: error mounting /sys: No such file or directory
 switchroot: mount failed: no such file or directory
 Kernel panic - not syncing: Attempted to kill init!
 Second, I find it odd, since the kernel I have with 5.5 is
 2.6.18-194.3.1.el5 (well, the initial install gave me 2.6.18-194.el5, but
 this was the first upgrade).

I see the same on a CentOS 5.5 system here, but I only see it with the 
2.6.18-194.3.1.el5 kernel. The older -164 kernels work fine.

The system was updated to 5.5 from 5.4. LVM, filesystems and grub should 
be ok, as -164 boots ok. Only -194 has the problem.

-- 
//Morten
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Superblock Problem

2010-07-02 Thread Guy Boisvert
  Le 2010-07-01 17:32, m.r...@5-cent.us a écrit :
 cat /mnt/sysimage/boot/grub/menu.lst
 ===
 #boot=/dev/md0
 default=0
 timeout=5
 splashimage=(hd0,0)/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-164.10.1.el5xen)
   root (hd0,0)
   kernel /xen.gz-2.6.18-164.10.1.el5
   module /vmlinuz-2.6.18-164.10.1.el5xen ro root=/dev/md1 rhgb
 quiet
   module /initrd-2.6.18-164.10.1.el5xen.img
 title CentOS (2.6.18-164.10.1.el5)
   root (hd0,0)
   kernel /vmlinuz-2.6.18-164.10.1.el5 ro root=/dev/md1 rhgb quiet
   initrd /initrd-2.6.18-164.10.1.el5.img
 snip
 First, have you tried booting with the second one, or do you require xen?

 Second, I find it odd, since the kernel I have with 5.5 is
 2.6.18-194.3.1.el5 (well, the initial install gave me 2.6.18-194.el5, but
 this was the first upgrade).

 Finally, it's almost as though grub were not correctly installed - have
 you checked /boot/grub/device.map?

  mark

Hi Mark,

 Yes i tried to boot with the other kernels, same result. I'll check 
device.map soon (i'm offsite now).

Thanks.

Guy Boisvert
IngTegration inc.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Superblock Problem

2010-07-01 Thread Guy Boisvert
  Hi all,

After rebooting my CentOS 5.5 server, i have the following message:

==
Red Hat nash version 5.1.19.6 starting
EXT3-fs: unable to read superblock
mount: error mounting /dev/root on /sysroot as ext3: invalid argument
setuproot: moving /root failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: no such file or directory
Kernel panic - not syncing: Attempted to kill init!


I booted the server (rescue mode) with CentOS 5.4 x64 i have used to 
initially install it.  It recognizes all the RAID1 partitions i have.

cat /mnt/sysimage/proc/mdstat

md3 : active raid1 sdb2[1] sda2[0]
   2048192 blocks [2/2] [UU]

md1 : active raid1 sdb3[1] sda3[0]
   486134848 blocks [2/2] [UU]

md0 : active raid1 sdb1[0] sda1[1]
   200704 blocks [2/2] [UU]

unused devices: none


cat /mnt/sysimage/boot/grub/menu.lst
===
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /boot/, eg.
#  root (hd0,0)
#  kernel /vmlinuz-version ro root=/dev/md1
#  initrd /initrd-version.img
#boot=/dev/md0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-164.10.1.el5xen)
 root (hd0,0)
 kernel /xen.gz-2.6.18-164.10.1.el5
 module /vmlinuz-2.6.18-164.10.1.el5xen ro root=/dev/md1 rhgb quiet
 module /initrd-2.6.18-164.10.1.el5xen.img
title CentOS (2.6.18-164.10.1.el5)
 root (hd0,0)
 kernel /vmlinuz-2.6.18-164.10.1.el5 ro root=/dev/md1 rhgb quiet
 initrd /initrd-2.6.18-164.10.1.el5.img
title CentOS (2.6.18-164.6.1.el5)
 root (hd0,0)
 kernel /vmlinuz-2.6.18-164.6.1.el5 ro root=/dev/md1 rhgb quiet
 initrd /initrd-2.6.18-164.6.1.el5.img
title CentOS (2.6.18-164.6.1.el5xen)
 root (hd0,0)
 kernel /xen.gz-2.6.18-164.6.1.el5
 module /vmlinuz-2.6.18-164.6.1.el5xen ro root=/dev/md1 rhgb quiet
 module /initrd-2.6.18-164.6.1.el5xen.img
title CentOS (2.6.18-164.el5xen)
 root (hd0,0)
 kernel /xen.gz-2.6.18-164.el5
 module /vmlinuz-2.6.18-164.el5xen ro root=/dev/md1 rhgb quiet
 module /initrd-2.6.18-164.el5xen.img
title CentOS-base (2.6.18-164.el5)
 root (hd0,0)
 kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/md1 rhgb quiet
 initrd /initrd-2.6.18-164.el5.img



./getinfo.sh disk
==
== BEGIN uname -rmi ==
2.6.18-164.el5 x86_64 x86_64
== END   uname -rmi ==

== BEGIN rpm -q centos-release ==
centos-release-5-5.el5.centos
== END   rpm -q centos-release ==

== BEGIN getenforce ==
Permissive
== END   getenforce ==

== BEGIN cat /etc/fstab ==
/dev/md1/   ext3defaults,acl1 1
/dev/md0/boot   ext3defaults1 2
tmpfs   /dev/shmtmpfs   defaults0 0
devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
sysfs   /syssysfs   defaults0 0
proc/proc   procdefaults0 0
/dev/md3swapswapdefaults0 0
== END   cat /etc/fstab ==

== BEGIN df -h ==
FilesystemSize  Used Avail Use% Mounted on
/dev/md1  450G   72G  355G  17% /
/dev/md0  190M   45M  136M  25% /boot
== END   df -h ==

== BEGIN fdisk -l ==
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md3 doesn't contain a valid partition table

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  25  200781   fd  Linux raid 
autodetect
/dev/sda2  26 280 2048287+  fd  Linux raid 
autodetect
/dev/sda3 281   60801   486134932+  fd  Linux raid 
autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *   1  25  200781   fd  Linux raid 
autodetect
/dev/sdb2  26 280 2048287+  fd  Linux raid 
autodetect
/dev/sdb3 281   60801   486134932+  fd  Linux raid 
autodetect

Disk /dev/md0: 205 MB, 205520896 bytes
2 heads, 4 sectors/track, 50176 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md1: 497.8 GB, 497802084352 bytes
2 heads, 4 sectors/track, 121533712 cylinders
Units 

Re: [CentOS] Superblock Problem

2010-07-01 Thread m . roth
Guy Boisvert wrote:
   Hi all,

 After rebooting my CentOS 5.5 server, i have the following message:

 ==
 Red Hat nash version 5.1.19.6 starting
 EXT3-fs: unable to read superblock
 mount: error mounting /dev/root on /sysroot as ext3: invalid argument
 setuproot: moving /root failed: No such file or directory
 setuproot: error mounting /proc: No such file or directory
 setuproot: error mounting /sys: No such file or directory
 switchroot: mount failed: no such file or directory
 Kernel panic - not syncing: Attempted to kill init!


 I booted the server (rescue mode) with CentOS 5.4 x64 i have used to
 initially install it.  It recognizes all the RAID1 partitions i have.

 cat /mnt/sysimage/proc/mdstat
 
 md3 : active raid1 sdb2[1] sda2[0]
2048192 blocks [2/2] [UU]

 md1 : active raid1 sdb3[1] sda3[0]
486134848 blocks [2/2] [UU]

 md0 : active raid1 sdb1[0] sda1[1]
200704 blocks [2/2] [UU]

 unused devices: none


 cat /mnt/sysimage/boot/grub/menu.lst
 ===
 # grub.conf generated by anaconda
 #
 # Note that you do not have to rerun grub after making changes to this
 file
 # NOTICE:  You have a /boot partition.  This means that
 #  all kernel and initrd paths are relative to /boot/, eg.
 #  root (hd0,0)
 #  kernel /vmlinuz-version ro root=/dev/md1
 #  initrd /initrd-version.img
 #boot=/dev/md0
 default=0
 timeout=5
 splashimage=(hd0,0)/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-164.10.1.el5xen)
  root (hd0,0)
  kernel /xen.gz-2.6.18-164.10.1.el5
  module /vmlinuz-2.6.18-164.10.1.el5xen ro root=/dev/md1 rhgb
 quiet
  module /initrd-2.6.18-164.10.1.el5xen.img
 title CentOS (2.6.18-164.10.1.el5)
  root (hd0,0)
  kernel /vmlinuz-2.6.18-164.10.1.el5 ro root=/dev/md1 rhgb quiet
  initrd /initrd-2.6.18-164.10.1.el5.img
snip
First, have you tried booting with the second one, or do you require xen?

Second, I find it odd, since the kernel I have with 5.5 is
2.6.18-194.3.1.el5 (well, the initial install gave me 2.6.18-194.el5, but
this was the first upgrade).

Finally, it's almost as though grub were not correctly installed - have
you checked /boot/grub/device.map?

mark


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos