Noam's idea about dmsetup was the solution. All the /dev/sdc partitions now 
mount with no problem., but I would like to ask if what I've done may have 
other side-effects. Below, I have 4 questions and I hope someone can answer 
them:

Here's a small section of /lib/modules/2.6.17-5mdv/modules.dep  to show the 
lines I commented out. 

/lib/modules/2.6.17-5mdv/kernel/drivers/media/video/videodev.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/md/raid10.ko.gz:
##/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mirror.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mod.ko.gz
##/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-crypt.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mod.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/md/xor.ko.gz:
/lib/modules/2.6.17-5mdv/kernel/drivers/md/raid6.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/xor.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/md/raid5.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/xor.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/md/raid1.ko.gz:
/lib/modules/2.6.17-5mdv/kernel/drivers/md/raid0.ko.gz:
/lib/modules/2.6.17-5mdv/kernel/drivers/md/multipath.ko.gz:
/lib/modules/2.6.17-5mdv/kernel/drivers/md/linear.ko.gz:
##/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-zero.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mod.ko.gz
##/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-snapshot.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mod.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-round-robin.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-multipath.ko.gz 
##/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mod.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-multipath.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mod.ko.gz
##/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mod.ko.gz:
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-emc.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-multipath.ko.gz 
##/lib/modules/2.6.17-5mdv/kernel/drivers/md/dm-mod.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/isdn/sc/sc.ko.gz: 
/lib/modules/2.6.17-5mdv/kernel/drivers/isdn/i4l/isdn.ko.gz 
/lib/modules/2.6.17-5mdv/kernel/drivers/net/slhc.ko.gz




QUESTION #1 - I don't know if it was neccessary to comment them all, but the 
link Noam pointed to mentioned dm-mirrror and dm-mod so I commented all lines 
including either of them. Was that the right thing to do?




QUESTION #2 - I booted twice (before and after making the above change) and 
compared dmesg. I found that before making the change, there were many lines 
of device-mapper errors and these were gone after making the change. So what 
were these error messages?


device-mapper: 4.6.0-ioctl (2006-02-17) initialised: [EMAIL PROTECTED]
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

<< lines repeated about 50 times >>

device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

I GOOGLEd and found several mentions of this problem, but not the solution. 
However, as I wrote above, after the changes 
to /lib/modules/2.6.17-5mdv/modules.dep, the error messages are gone.





QUESTION #3 - While GOOGLing for this, I found some mentions of EVMS. I seem 
to remember that on a previous version of Mandriva I had disk-access problems 
until I un-installed EVMS. But now, I see that it's installed on my system. 
Do I need it and if so, why?



QUESTION #4 - I still don't know the answers to the questions I asked in my 
previous post.

>[EMAIL PROTECTED] solomon]# dmsetup deps
>sdc8: 1 dependencies    : (8, 32)
>sdc14: 1 dependencies   : (8, 32)
>sdc7: 1 dependencies    : (8, 32)
>sdc13: 1 dependencies   : (8, 32)
>sdc6: 1 dependencies    : (8, 32)
>sdc12: 1 dependencies   : (8, 32)
>sdc5: 1 dependencies    : (8, 32)
>sdc11: 1 dependencies   : (8, 32)
>sdc10: 1 dependencies   : (8, 32)
>sdc9: 1 dependencies    : (8, 32)
>
>
>OK - I can't say I really understand what this means. For instance:
>- what are these "dependencies"?
>- how did they get created?
>- why only for sdc (not sda or sdb)?
>
>As you can see, the "dependencies" exactly match the Linux partitions 
>on /dev/sdc as shown by fdisk -l. 
>
>   Device Boot      Start         End      Blocks   Id  System
>/dev/sdc1   *          26       19457   156087540    f  W95 Ext'd (LBA)
>/dev/sdc5              26        1554    12281661   83  Linux
>/dev/sdc6            1555        1808     2040223+  82  Linux swap / Solaris
>/dev/sdc7            1809        4357    20474811   83  Linux
>/dev/sdc8            4358        6906    20474811   83  Linux
>/dev/sdc9            6907        8180    10233373+  83  Linux
>/dev/sdc10           8181        9454    10233373+  83  Linux
>/dev/sdc11           9455       10728    10233373+  83  Linux
>/dev/sdc12          10729       12002    10233373+  83  Linux
>/dev/sdc13          12003       18631    53247411   83  Linux
>/dev/sdc14          18632       19457     6634813+  83  Linux
>


-- 
Shlomo Solomon
http://the-solomons.net
Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to