#1  
Old 28th April 2013, 13:44
wszolki wszolki is offline
Junior Member
 
Join Date: Apr 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Raid1 - i can't login

Hi, I'm having some trouble setting up a RAID1 on CentOS 5.9.

I'm using this guide:
http://www.howtoforge.com/how-to-set...ion-centos-5.3

After installing Grub on the second hard drive (hdc in my case) and rebooting the system I get the login screen but i can't login as root (i added new user but it doesn't work)
When i'm using mode single, i see passwd, i also changed password but it doesn't work.

When i reboot many times my system, i can't login as root and other users.
I can't use LVM.

Ssh doesn't work. Putty will close right after I try to log in just as if I was logging out.

My config files:
/etc/fstab
Code:
/dev/md1                /                        ext3    defaults        1 1
/dev/md4                /var                     ext3    defaults        1 2
/dev/md2                /home                    ext3    defaults        1 2
/dev/md0                /boot                    ext3    defaults        1 2
tmpfs                     /dev/shm               tmpfs   defaults        0 0
devpts                   /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                     /sys                   sysfs   defaults        0 0
proc                      /proc                  proc    defaults        0 0
/dev/md3               swap                      swap    defaults        0 0
/boot/grub/menu.lst
Code:
default=0
fallback=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-348.el5)
        root (hd1,0)
        kernel /vmlinuz-2.6.18-348.el5 ro root=/dev/md1
        initrd /initrd-2.6.18-348.el5.img

title CentOS (2.6.18-348.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-348.el5 ro root=LABEL=/
        initrd /initrd-2.6.18-348.el5.img
fdisk -l
Code:
Disk /dev/hdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1         127     1020096   fd  Linux raid autodetect
/dev/hdc2             128       19249   153597465   fd  Linux raid autodetect
/dev/hdc3           19250       25623    51199155   fd  Linux raid autodetect
/dev/hdc4           25624       38909   106719795    5  Extended
/dev/hdc5           25624       27663    16386268+  fd  Linux raid autodetect
/dev/hdc6           27664       38909    90333463+  fd  Linux raid autodetect

Disk /dev/sda: 320.0 GB, 320044269568 bytes
255 heads, 63 sectors/track, 38909 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         127     1020096   83  Linux
/dev/sda2             128       19249   153597465   83  Linux
/dev/sda3           19250       25623    51199155   83  Linux
/dev/sda4           25624       38909   106719795    5  Extended
/dev/sda5           25624       27663    16386268+  82  Linux swap / Solaris
/dev/sda6           27664       38909    90333463+  83  Linux

Disk /dev/md0: 1044 MB, 1044512768 bytes
2 heads, 4 sectors/track, 255008 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md1: 157.2 GB, 157283713024 bytes
2 heads, 4 sectors/track, 38399344 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md2: 52.4 GB, 52427816960 bytes
2 heads, 4 sectors/track, 12799760 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md3: 16.7 GB, 16779444224 bytes
2 heads, 4 sectors/track, 4096544 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md4: 92.5 GB, 92501377024 bytes
2 heads, 4 sectors/track, 22583344 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
This was my tenth try. Any ideas?
Please help me, when you can.
I have no idea where the problem is.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems kwickcut Installation/Configuration 6 5th March 2012 19:19
Fail2ban configuration Captain Installation/Configuration 2 28th June 2011 19:48
F11 courier-imap fails. Nachogrande General 6 1st November 2010 17:55
squirrelmail and postfix witoszek General 12 1st December 2009 18:07
Postfix can't received email from exterior astra2000 Server Operation 5 17th October 2009 23:26


All times are GMT +2. The time now is 12:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.