This is a discussion on about raid1 on CentOS 5.1 within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Dear Linux Friends, I tried to configure raid1 with lvm in centos 5. Here is the disk partition with fdisk ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Dear Linux Friends,
I tried to configure raid1 with lvm in centos 5. Here is the disk partition with fdisk -l command: Disk /dev/hdb: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 13 104391 83 Linux /dev/hdb2 14 9632 77264617+ fd Linux raid autodetect /dev/hdb3 9633 9729 779152+ 8e Linux LVM Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 9729 78148161 8e Linux LVM After installation, when i remove one harddisk, the system won't boot. Now i need to put both harddisk for starting CentOS. I hope i made some mistake during installation. Now can i remake RAID1 disk without totally reinstalling CentOS ? Please Help! Thanks |
| Sponsored Links | ||
|
|
|
|||
|
Did you formatted or modified partitions on 2nd hard disk? If not use raidhotadd command to get the disks re-mirrored.
The raidhotadd command will rebuild your RAID array once the drive has been replaced. You need to boot from 1st CentOS cd (rescue mode) and fix the issue. Code:
raidhotadd /dev/md0 /dev/sdb Code:
cat /proc/mdstat
__________________
Raj Linux rulz. I have never turned back in my life ; I shall not do so today.. haha |
|
|||
|
Thanks, i will try it and let you know.
Quote:
|
![]() |
| Bookmarks |
| Tags |
| /proc/mdstat , raid1 , raidhotadd , software raid1 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NPTL...MISSING in Centos !!!!!!!!!!! | amsreeku | Linux software | 0 | 08-08-2008 04:10 AM |
| Cannot log in to centos 5 server | melvuen | CentOS / RHEL / Fedora | 0 | 04-24-2008 10:50 AM |
| software RAID1 | sumit | Linux hardware | 1 | 07-17-2007 02:24 AM |
| Useless services in CentOS VDS/VPS | meowing | Web servers | 6 | 06-02-2007 06:34 PM |
| Display Problem in CentOS 4.4 | kasimani | Linux software | 1 | 05-05-2007 02:36 PM |