#1  
Old 9th January 2012, 13:41
dsi_me dsi_me is offline
Junior Member
 
Join Date: Jan 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Software Raid 1 Problem

I am using your How-to -
How To Set Up Software RAID1 On A Running System (Incl. GRUB2 Configuration) (Ubuntu 10.04)

I am having a bit different configuration as used in the howto
i have the following partitions
Code:
 
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2432    19530752   83  Linux
/dev/sda2            2432       30402   224665601    5  Extended
/dev/sda5            2432        3648     9764864   83  Linux
/dev/sda6            3648        6687    24413184   83  Linux
/dev/sda7           29915       30402     3906560   82  Linux swap / Solaris
/dev/sda8            6687        9727    24413184   83  Linux
/dev/sda9            9727       29915   162157568   83  Linux
Code:
 
sudo df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              19G  2.3G   16G  13% /
none                  493M  228K  492M   1% /dev
none                  497M     0  497M   0% /dev/shm
none                  497M   76K  497M   1% /var/run
none                  497M     0  497M   0% /var/lock
none                  497M     0  497M   0% /lib/init/rw
/dev/sda8              23G  173M   22G   1% /tmp
/dev/sda9             153G   22G  124G  15% /home
/dev/sda5             9.2G  150M  8.6G   2% /usr/local
/dev/sda6              23G  181M   22G   1% /var/log
& also the partition type is ext3 instead of ext4 as used in howto.

I dont know what is going wrong. After completing first 2 pages, when i rebooted the system, it is unable to mount all the partitions - /home, /var/log, /usr/local, /tmp

Please suggest what can be done or where am I going wrong?
Reply With Quote
Sponsored Links
  #2  
Old 10th January 2012, 17:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by dsi_me View Post
I am having a bit different configuration as used in the howto
i have the following partitions
Code:
 
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2432    19530752   83  Linux
/dev/sda2            2432       30402   224665601    5  Extended
/dev/sda5            2432        3648     9764864   83  Linux
/dev/sda6            3648        6687    24413184   83  Linux
/dev/sda7           29915       30402     3906560   82  Linux swap / Solaris
/dev/sda8            6687        9727    24413184   83  Linux
/dev/sda9            9727       29915   162157568   83  Linux
Where's /dev/sdb?

Quote:
Originally Posted by dsi_me View Post

& also the partition type is ext3 instead of ext4 as used in howto.
That doesn't matter.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
dsi_me (11th January 2012)
  #3  
Old 11th January 2012, 13:36
dsi_me dsi_me is offline
Junior Member
 
Join Date: Jan 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

hey, thanks for ur reply

I successfully installed software raid on my system. all thanks to howtoforge.com

I was doing some mistake in mapping that's why I was getting that problem. Thanks though
Reply With Quote
  #4  
Old 13th January 2012, 17:50
epretorious epretorious is offline
Member
 
Join Date: Feb 2010
Location: Truckee, CA
Posts: 33
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via AIM to epretorious Send a message via Yahoo to epretorious Send a message via Skype™ to epretorious
 
Exclamation

Quote:
Originally Posted by dsi_me View Post
I was doing some mistake in mapping that's why I was getting that problem. Thanks though
You should also take the time to correctly label each partition type in the MBR so that the kernel can autodetect the RAID partitions:
Code:
[eric@openfiler ~]$ sudo fdisk -l /dev/sda /dev/sdb

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00062e7f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      208844      104391   83  Linux
/dev/sda2          208845     8225279     4008217+  83  Linux
/dev/sda3         8225280  1953525167   972649944   fd  Linux raid autodetect

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00043aa0

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63      208844      104391   83  Linux
/dev/sdb2          208845     8225279     4008217+  82  Linux swap / Solaris
/dev/sdb3         8225280  1953525167   972649944   fd  Linux raid autodetect

[eric@openfiler ~]$ sudo cat /proc/mdstat      
Personalities : [raid1] 
md0 : active raid1 sda3[0] sdb3[1]
      972648784 blocks super 1.2 [2/2] [UU]
__________________
Eric Pretorious,
Truckee, CA
Reply With Quote
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
Question: Configure Software RAID 1 on Debian Lenny ZeroEnna Technical 1 10th October 2010 19:17
Intel ESRT2, Matrix RAID or Ubuntu Software Raid? dalitso Installation/Configuration 0 4th October 2010 17:19
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 10:05
Raid 1 on centos won't boot with 1 drive removed treeman Server Operation 2 21st August 2009 04:59
How To Install Ubuntu 8.04 With Software RAID1 - want another RAID set for data denbert HOWTO-Related Questions 1 23rd May 2009 13:46


All times are GMT +2. The time now is 02:38.


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