Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-11-2012, 12:02 PM   #1
Senior Member
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Question Migrating /boot to RAID - 1

Dear All,

I have given a task by a customer to move /boot Non-RAID partition to RAID-1 on CentOS 6.2 64-Bit machines for the reason best known to them (probably they want some redundancy for /boot)

This is my current setup.
# df -hTP
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/rootvg-lvroot ext3  7.7G  2.9G  4.5G  39% /
tmpfs        tmpfs    244M     0  244M   0% /dev/shm
/dev/sda1     ext3     97M   28M   65M  30% /boot
/dev/mapper/rootvg-lvhome ext3  124M  5.6M  113M   5% /home
# fdisk -l /dev/sda

Disk /dev/sda: 12.9 GB, 12884901888 bytes
255 heads, 63 sectors/track, 1566 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00028741

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              13        1567    12479488   8e  Linux LVM
Any suggestions/links to achieve this. I did spent some time google-ing and tried few things, but none worked for me. Thanks in advance.
Old 06-12-2012, 04:51 AM   #2
Senior Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
A 12 GB disk? Where is the other /dev/sdb you need for RAID-1?
Old 06-12-2012, 06:33 AM   #3
Senior Member
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Original Poster
Rep: Reputation: 107Reputation: 107
Thumbs up Solved :)

Hi Reuti,

Thanks. Indeed, I took a 150 MB disk for /dev/sdb and partitioned it (/dev/sdb1) sector wise according to /dev/sda1.

The below links helped to get this done. I am a happy man now.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating to RAID-0 Oxagast Linux - Software 7 04-24-2008 10:14 AM
migrating existing OS to RAID xqkp77 Linux - General 2 06-07-2007 09:49 AM
Migrating to a RAID 1 setup Danathar Linux - Software 3 06-04-2006 01:57 AM
migrating windows raid to linux sigmaes Linux - Hardware 1 11-05-2005 03:45 PM
Migrating to Software RAID waster Linux - General 3 04-29-2004 09:30 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration