1748003 Members
4611 Online
108757 Solutions
New Discussion юеВ

Linux server not booting

 
seenivasan
Frequent Advisor

Linux server not booting

Dear Guys,

In my server RHEL os in running.I m assigning luns from EMC storage.2Hba cards having.After presnting LUN from storage able to shows the lun.in that time showing 2luns.one of our team member said install emcpower path for that then it shows one.In same way i tried after installing emcpower path i got same lun by different name.then i created mount point for based on the lun.then added entry in fstab.after i able to mount the mount point.Upto this stage i m not getting any error.here after i m restarted the server.the server is not booting.even i tried from single user mode or old kernel getting same stage.

"kernal is alive" getting upto this stage.

output of the server:
#uname -a
Linux hath1 2.6.18-194.17.1.el5 #1 SMP Mon Sep 20 07:12:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg0-rootvol
2.0G 697M 1.2G 38% /
/dev/mapper/vg0-usr 3.0G 1.3G 1.5G 47% /usr
/dev/mapper/vg0-tmp 992M 34M 908M 4% /tmp
/dev/mapper/vg0-freespace
4.9G 139M 4.5G 3% /freespace
/dev/mapper/vg0-var 3.0G 243M 2.6G 9% /var
/dev/mapper/vg0-export
90G 666M 84G 1% /export
/dev/cciss/c0d0p1 99M 26M 69M 28% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
/dev/mapper/vgemc1-lvd01
100G 188M 94G 1% /d01


[root@l118920waps2007 ~]# fdisk -l

Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM

Disk /dev/sda: 108.1 GB, 108134400000 bytes
255 heads, 63 sectors/track, 13146 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 13146 105595213+ 8e Linux LVM

Disk /dev/sdb: 108.1 GB, 108134400000 bytes
255 heads, 63 sectors/track, 13146 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 13146 105595213+ 8e Linux LVM

Disk /dev/emcpowera: 108.1 GB, 108134400000 bytes
255 heads, 63 sectors/track, 13146 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/emcpowera1 1 13146 105595213+ 8e Linux LVM

Regards,

Seenivasan
7 REPLIES 7
Alzhy
Honored Contributor

Re: Linux server not booting

SO you cannot even boot single user or the old Kernel after installing Powerpath and that new EMC LUN?

And I trust those outputs are from prior to rebooting your server?

Where does the boot process stop?

Did you install Powerpath correctly?

Hakuna Matata.
seenivasan
Frequent Advisor

Re: Linux server not booting

>>SO you cannot even boot single user or the old Kernel after installing Powerpath and that new EMC LUN?


yes but the thing is i made changes at lvm.conf file in filter side.

>>And I trust those outputs are from prior to rebooting your server?

yes

>> Where does the boot process stop?

no,i does not get any error message.kernal is alive

>>Did you install Powerpath correctly?

yes.i installed correctly.

Regards,

seenivasan
Alzhy
Honored Contributor

Re: Linux server not booting

Yikes! -- so what changes in lvm.conf filter did you make sir?

Your best course of action right now is boot Linux rescue, mount your OS partition and revert your lvm.conf back

Any reason for the lvm.conf filter change? It really should be handled carefully sir..
Hakuna Matata.
Alzhy
Honored Contributor

Re: Linux server not booting

Your FILTER should realy be:


filter = [ "a/dev/emcpower$/", "a|/dev/cciss/*|", "r/.*/" ]


If you've removed /dev/cciss from the filter and your server is a Proliant one with an embedded RAID controller -- then that explains your inability to boot good sir.

Revert yourlvm.conf by booting rescue or a favourite Linux Rescue ISO of yours (Knoppix of SystemRescue CD)...

And welcome to the Community sir. And let us KNOW if you've been helped.

Cheers!
Hakuna Matata.
seenivasan
Frequent Advisor

Re: Linux server not booting

Dear,
>>filter = [ "a/.*/" ]
This first filter default by LVM conf file.Here after i commented this and created my own filter.

>>#filter = [ "a/sda[1-9]$/", "r/sd.*/", "r/disk.*/", "a/.*/" ]
i created my own filter for that.after rebooting the server it's not booting.

>>#filter = [ "a/c0d0.*/", "a/emcpower.*/", "r/.*/" ]

After that i made changes in the second server in lvm.conf file the above filter line.

These changes only i made in lvm.conf file.

here after we need to perform any commands.

Regards,
Seenivasan P
seenivasan
Frequent Advisor

Re: Linux server not booting

Dear i m attaching Screen shot also for your information

Regards,
Seenivasan P
Alzhy
Honored Contributor

Re: Linux server not booting

Ever Dearest,

AGAIN:
Pls revert to your original lvm.conf file.

IF your server is a Proliant HP Server with a RAID controller, then your lvm.conf file edit WILL NOT Work!


Dear out.
Hakuna Matata.