[SOLVED] "Software RAID level 1 issues with RHEL5"
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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??
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
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:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.