SlackwareThis Forum is for the discussion of Slackware Linux.
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.
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda, 156290904kB, raid superblock at 156290816kB
disk 1: /dev/hdc, 156290904kB, raid superblock at 156290816kB
mkraid: aborted.
(In addition to the above messages, see the syslog and /proc/mdstat as well
for potential clues.)
can you help me ?
i want to mirorring the hda -> hdb
When i boot on my 2.4.29's kernel , the raid0 works fine...... and 2.6.11's kernel false :X
root@servcd:~# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hd[ac]1
mdadm: /dev/hda1 appears to be part of a raid array:
level=1 devices=2 ctime=Mon Mar 7 17:57:07 2005
Continue creating array? y
VERS = 9001
mdadm: ADD_NEW_DISK for /dev/hda1 failed: Device or resource busy
excuse for the man page but ... the problem continu....
root@servcd:~# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 124 995998+ 82 Linux swap
/dev/hda2 * 125 6203 48829567+ 83 Linux
/dev/hda3 6204 9850 29294527+ 83 Linux
/dev/hda4 9851 19457 77168227+ 83 Linux
Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 124 995998+ 82 Linux swap
/dev/hdc2 * 125 6203 48829567+ 83 Linux
/dev/hdc3 6204 9850 29294527+ 83 Linux
/dev/hdc4 9851 19457 77168227+ 83 Linux
root@servcd:~#
Code:
root@servcd:~# mdadm --examine /dev/hda1
/dev/hda1:
Magic : a92b4efc
Version : 00.90.00
UUID : 310b0c11:592d0950:3d02bd4c:2550acdf
Creation Time : Mon Mar 7 18:02:02 2005
Raid Level : raid1
Device Size : 995904 (972.56 MiB 1019.81 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Mon Mar 7 18:02:02 2005
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 1a1f1375 - correct
Events : 0.1
Number Major Minor RaidDevice State
this 0 3 1 0 active sync /dev/hda1
0 0 3 1 0 active sync /dev/hda1
1 1 22 1 1 active sync /dev/hdc1
root@servcd:~#
and hdc
Code:
root@servcd:~# mdadm --examine /dev/hdc
/dev/hdc:
Magic : a92b4efc
Version : 00.90.00
UUID : 9922d56e:56e2d303:c5fee9e9:e675ad7f
Creation Time : Mon Mar 7 16:44:51 2005
Raid Level : raid1
Device Size : 156290816 (149.05 GiB 160.04 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Mon Mar 7 16:45:15 2005
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : d34f8ce4 - correct
Events : 0.2
Number Major Minor RaidDevice State
this 1 22 0 1 active sync /dev/hdc
0 0 3 0 0 active sync /dev/hda
1 1 22 0 1 active sync /dev/hdc
root@servcd:~#
i'm use argument --examine because it say
Code:
root@servcd:~# mdadm --query /dev/hda1
/dev/hda1: is not an md array
/dev/hda1: device -1073744460 in 2 device undetected raid1 md0. Use mdadm --examine for more detail.
root@servcd:~#
root@servcd:~# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda1, 29294527kB, raid superblock at 29294400kB
/dev/hda1 is mounted
mkraid: aborted.
(In addition to the above messages, see the syslog and /proc/mdstat as well
for potential clues.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.