LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools
Old 09-20-2006, 06:07 AM   #1
grpprod
LQ Newbie
 
Registered: Nov 2005
Posts: 13
Thanked: 0
Potential problem with software RAID?


[Log in to get rid of this advertisement]
Hi all,
I have just installed a fresh CentOS 4.4 on a system with 4 IDE disks of 20GB each (not the same models, however, and therefore not the same size), utilizing software RAID. I have created /boot on a RAID1 using all 4 disks, one simple swap partition on each disk, and a RAID5 with all 4 disks using the remaining space (I did NOT create software RAID partitions with a size equal to the free size of the smaller disk). The system seems to work fine. I just noticed that fdisk reports an error (you can see it at the end of fdisk output) and I was wondering if I have to take it seriously. Any help will be appreciated.

Code:
# /sbin/fdisk -l

Disk /dev/hde: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hde1   *           1          13      104391   fd  Linux raid autodetect
/dev/hde2              14          46      265072+  82  Linux swap
/dev/hde3              47        2434    19181610   fd  Linux raid autodetect

Disk /dev/hdf: 20.5 GB, 20547841536 bytes
255 heads, 63 sectors/track, 2498 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdf1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdf2              14          46      265072+  82  Linux swap
/dev/hdf3              47        2498    19695690   fd  Linux raid autodetect

Disk /dev/hdg: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdg1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdg2              14          46      265072+  82  Linux swap
/dev/hdg3              47        2434    19181610   fd  Linux raid autodetect

Disk /dev/hdh: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdh1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdh2              14          46      265072+  82  Linux swap
/dev/hdh3              47        2434    19181610   fd  Linux raid autodetect

Disk /dev/md0: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

    Device Boot      Start         End      Blocks   Id  System

Disk /dev/md1: 58.9 GB, 58924990464 bytes
2 heads, 4 sectors/track, 14385984 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md1 doesn't contain a valid partition table
Code:
# cat /proc/mdstat
Personalities : [raid1] [raid5]
md1 : active raid5 hdh3[3] hdg3[2] hdf3[1] hde3[0]
      57543936 blocks level 5, 256k chunk, algorithm 2 [4/4] [UUUU]

md0 : active raid1 hdh1[3] hdg1[2] hdf1[1] hde1[0]
      104320 blocks [3/3] [UUU]

unused devices: <none>
grpprod is offline     Reply With Quote
Old 09-20-2006, 03:37 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151
Thanked: 0
That’s not an error message and it’s normal to get it.

Since you created a nonpartitionable software raid array, there is no partition table in md1.
WhatsHisName is offline     Reply With Quote
Old 09-20-2006, 04:52 PM   #3
grpprod
LQ Newbie
 
Registered: Nov 2005
Posts: 13
Thanked: 0

Original Poster
Thanks for the explanation, I appreciate it. I find it difficult to understand, though (I always need to understand what I am doing, and not just do it :-)). Where is the partition table stored in my case? Any good resource on this would be useful.
grpprod is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Software RAID, Ubuntu, and Grub problem rookiepaul Linux - Server 9 08-22-2008 04:35 PM
Software RAID-1 install problem elmu Linux - General 1 11-09-2005 08:07 PM
Software RAID-1 install problem elmu Debian 1 11-08-2005 11:12 AM
Software RAID System problem Sushy Slackware 2 09-22-2005 08:11 PM
Problem with Suse 9.1 and software raid oddthat Linux - Software 0 11-11-2004 02:00 PM


All times are GMT -5. The time now is 06:10 AM.

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