LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-17-2010, 03:35 AM   #1
adenial
Member
 
Registered: Sep 2010
Location: Bangalore, India
Distribution: rhel5, ubuntu9.04(occassionally), Debian.
Posts: 87

Rep: Reputation: 5
"Software RAID level 1 issues with RHEL5"


Hi,
I have created RAID level1 in my home machine to test if it works.
I have convereted /dev/mdo to ext3 n mounted it on /RAID, havent done perm mounting.

my fdisk-l shows:-
Disk /dev/md0 doesn't contain a valid partition table.
Why is it showing above message?

Well cat /proc/mdstat show:-
Personalities : [raid1]
md0 : active raid1 sda7[1] sda6[0]
497856 blocks [2/2] [UU]
Is RAID in my machine working fine, how can i verify that??


well mdadm -D /dev/md0 gives:


/dev/md0:
Version : 00.90.03
Creation Time : Fri Sep 17 18:54:51 2010
Raid Level : raid1
Array Size : 497856 (486.27 MiB 509.80 MB)
Device Size : 497856 (486.27 MiB 509.80 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Fri Sep 17 18:58:34 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

UUID : 5f4d29f4:8c89290c:6c5e1503:be68e4b3
Events : 0.2

Number Major Minor RaidDevice State
0 8 6 0 active sync /dev/sda6
1 8 7 1 active sync /dev/sda7
####looks like working fine, but y the meaasage in fdisk -l & also how can i verify??

Last edited by adenial; 09-17-2010 at 03:43 AM.
 
Old 09-17-2010, 05:01 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by adenial View Post
Hi,
I have created RAID level1 in my home machine to test if it works.
I have convereted /dev/mdo to ext3 n mounted it on /RAID, havent done perm mounting.

my fdisk-l shows:-
Disk /dev/md0 doesn't contain a valid partition table.
Why is it showing above message?

Well cat /proc/mdstat show:-
Personalities : [raid1]
md0 : active raid1 sda7[1] sda6[0]
497856 blocks [2/2] [UU]
Is RAID in my machine working fine, how can i verify that??


well mdadm -D /dev/md0 gives:


/dev/md0:
Version : 00.90.03
Creation Time : Fri Sep 17 18:54:51 2010
Raid Level : raid1
Array Size : 497856 (486.27 MiB 509.80 MB)
Device Size : 497856 (486.27 MiB 509.80 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Fri Sep 17 18:58:34 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

UUID : 5f4d29f4:8c89290c:6c5e1503:be68e4b3
Events : 0.2

Number Major Minor RaidDevice State
0 8 6 0 active sync /dev/sda6
1 8 7 1 active sync /dev/sda7
####looks like working fine, but y the meaasage in fdisk -l & also how can i verify??
It is normal in software RAID ignore that error.

Quote:
RAID devices cannot be partitioned, like ordinary disks can. This can be a real annoyance on systems where one wants to run, for example, two disks in a RAID-1, but divide the system onto multiple different filesystems. A horror example could look like:
Have a look Software RAID

HTH
Regards,
 
Old 09-17-2010, 05:47 AM   #3
adenial
Member
 
Registered: Sep 2010
Location: Bangalore, India
Distribution: rhel5, ubuntu9.04(occassionally), Debian.
Posts: 87

Original Poster
Rep: Reputation: 5
Well thats fine.
There is a verification process if the raid is working fine, can u explaing how it goes??
& 1 more doubt do we need a perm. mount for RAID.
 
Old 09-17-2010, 05:56 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by adenial View Post
Well thats fine.
There is a verification process if the raid is working fine, can u explaing how it goes??
& 1 more doubt do we need a perm. mount for RAID.
As mdadm details it seems RAID is working fine.

Quote:
State : clean
Raid Devices : 2
Active Devices : 2
Working Devices : 2
if you are root you doesn't require permission to mount raid device ( note also root or priviledge user can mount partition)

you can give file permission if you want to allow users to store data.

Regards,
 
Old 09-17-2010, 06:01 AM   #5
adenial
Member
 
Registered: Sep 2010
Location: Bangalore, India
Distribution: rhel5, ubuntu9.04(occassionally), Debian.
Posts: 87

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by sem007 View Post
As mdadm details it seems RAID is working fine.



if you are root you doesn't require permission to mount raid device ( note also root or priviledge user can mount partition)

you can give file permission if you want to allow users to store data.

Regards,
thanks
 
Old 09-17-2010, 06:22 AM   #6
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by adenial View Post
thanks
You are Wel-come
 
  


Reply



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
RHEL5.4 software RAID 5 - how do I replace "faulty" drive? cgande1x Linux - Server 2 10-23-2009 10:27 AM
Issues setting up Linux RAID on Mandriva, "99" repeats continually on boot. williamp0044 Linux - Hardware 5 03-24-2009 06:24 AM
debian "lenny" nvidia nforce4 software raid 10 gariac Linux - Hardware 0 08-09-2007 01:49 AM
"Software Raid 1 in SuSE 8.2 doesn't work" browns1977 Linux - General 10 12-15-2003 08:57 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration