Did the following.
a) Shutdown the server and replaced /dev/sdb with a new blank hard drive.
b) Power up the server and I am getting the following error and does not boot up.
mount: you must specify the filesystem type
kernel panic - not syncing attempted to kill init
c) Shutdown the server and put back the old hard drive and all is ok.
What did I miss out? Need advice on how to solve this.
Please note the raider worked fine. After some months the second drive has a SMART problem. Needed to replace it. Thats when the problem was found out.
P.V.Anthony
Here are some details about the server.
Grub.--------- start --------------------default=0timeout=5splashimage=(hd0,0)/grub/splash.xpm.gzhiddenmenuserial--unit=0terminalserialtitleCentOS(2.6.32-279.19.1.el6.x86_64)root(hd0,0)kernel/vmlinuz-2.6.32-279.19.1.el6.x86_64roroot=/dev/md1rd_NO_LUKSrd_NO_LVMrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=uscrashkernel=autorhgbquietconsole=ttyS0initrd/initramfs-2.6.32-279.19.1.el6.x86_64.imgtitleCentOS(2.6.32-279.11.1.el6.x86_64)root(hd0,0)kernel/vmlinuz-2.6.32-279.11.1.el6.x86_64roroot=/dev/md1rd_NO_LUKSrd_NO_LVMrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=uscrashkernel=autorhgbquietconsole=ttyS0initrd/initramfs-2.6.32-279.11.1.el6.x86_64.img----------- end --------------------Checkifthegrubisinbothdrives.------------ start ----------------[root ~]#ddbs=512count=1if=/dev/sda2>/dev/null|stringsZRrID|f1GRUBGeomHardDiskReadError[root ~]#ddbs=512count=1if=/dev/sdb2>/dev/null|stringsZRrID|f1GRUBGeomHardDiskReadError------------- end -----------------mdstat.---------- start ------------------[root ~]#cat/proc/mdstatPersonalities:[raid1]md1:activeraid1sda3[0]sdb3[2]972646232blockssuper1.2[2/2][UU]md0:activeraid1sda1[0]sdb1[1]104320blocks[2/2][UU]unuseddevices:<none>----------- end -------------------mdadm.------------ start ---------------------[root ~]#mdadm--examine --scanARRAY/dev/md0UUID=353b8766:d1f48983:6b357bf1:4e91e489ARRAY/dev/md/1metadata=1.2UUID=a4c3c6cb:0f1a7b1e:e1b463da:06d1cd0dname=hostname.domain.com.sg:1-------------- end ---------------------fstab.------------- start -------------------/dev/md1/ext4defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv011/dev/md0/bootext3defaults12/dev/sda2swapswapdefaults00/dev/sdb2swapswapdefaults00tmpfs/dev/shmtmpfsdefaults00devpts/dev/ptsdevptsgid=5,mode=62000sysfs/syssysfsdefaults00proc/procprocdefaults00-------------- end --------------------fdisk.------------- start ---------------------[root ~]#fdisk-lDisk/dev/sda:1000.2GB,1000204886016bytes255heads,63sectors/track,121601cylindersUnits=cylindersof16065*512=8225280bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytesDiskidentifier:0x00000000DeviceBootStartEndBlocksIdSystem/dev/sda1113104391fdLinuxraidautodetect/dev/sda2145124008217+82Linuxswap/Solaris/dev/sda3513121601972647392+fdLinuxraidautodetectDisk/dev/sdb:1000.2GB,1000204886016bytes255heads,63sectors/track,121601cylindersUnits=cylindersof16065*512=8225280bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytesDiskidentifier:0x00000000DeviceBootStartEndBlocksIdSystem/dev/sdb1113104391fdLinuxraidautodetect/dev/sdb2145124008217+82Linuxswap/Solaris/dev/sdb3513121601972647392+fdLinuxraidautodetectDisk/dev/md0:106MB,106823680bytes2heads,4sectors/track,26080cylindersUnits=cylindersof8*512=4096bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytesDiskidentifier:0x00000000Disk/dev/md1:996.0GB,995989741568bytes2heads,4sectors/track,243161558cylindersUnits=cylindersof8*512=4096bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytesDiskidentifier:0x00000000--------------- end ----------------------df-h------------ start ----------------------[root ~]#df-hFilesystemSizeUsedAvailUse%Mountedon/dev/md1914G148G719G18%/tmpfs7.8G07.8G0%/dev/shm/dev/md099M64M31M68%/boot-------------- end ----------------------uname-r----------- start ------------------[root ~]#uname-r2.6.32-279.19.1.el6.x86_64UsingCentOS664bit.------------- end ------------------
Last edit: P.V.Anthony 2013-09-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Did the following.
a) Shutdown the server and replaced /dev/sdb with a new blank hard drive.
b) Power up the server and I am getting the following error and does not boot up.
mount: you must specify the filesystem type
kernel panic - not syncing attempted to kill init
c) Shutdown the server and put back the old hard drive and all is ok.
What did I miss out? Need advice on how to solve this.
Please note the raider worked fine. After some months the second drive has a SMART problem. Needed to replace it. Thats when the problem was found out.
P.V.Anthony
Here are some details about the server.
Last edit: P.V.Anthony 2013-09-07
Just found out that the UUID do not match. Could that be a problem?