Mount "already mounted or /mnt busy" problems with dmraid, Promise FastTrak, 2.6.12
This is a Debian system with a Promise MBFastTrak133 Lite software RAID controller. The root filesystem, /boot, and the other parts of the core live on a separate drive, so I'm not booting off any of the software RAID drives. I recently upgraded from a 2.4.22 kernel to a 2.6.12 kernel, and I've been using dmraid to try to get the controller working. However, though dmraid appears to activate the drives correctly, I can't mount them.
The disks on the ataraid are set up as two indepedent disks and one mirrorer disk (two physical disks). Using dmraid -ay pdc to activate the disks creates several entries in /dev/mapper that look like this: pdc_djcfggbe pdc_djcfggbe1 pdc_edbiihhe pdc_edbiihhe1 However, when I try to mount them, I get errors like this: # mount -t ext3 -v -o ro /dev/mapper/pdc_djcfggbe /mnt/temp mount: /dev/mapper/pdc_djcfggbe already mounted or /mnt/temp busy Since /dev/mapper/pdc_djcfggbe isn't anywhere in /etc/fstab or /etc/mtab, and I know /mnt/temp isn't busy, I don't understand why I'm getting this error, and mount doesn't provide any more error messages. There's nothing in the kernel log or syslog associated with trying to mount the filesystems on these drives. The output of dmraid -ay -vv pdc looks like this: # dmraid -ay -vv pdc NOTICE: skipping removable device /dev/hdd NOTICE: skipping removable device /dev/hdc NOTICE: skipping removable device /dev/hda NOTICE: /dev/hdb: hpt37x discovering NOTICE: /dev/hdb: hpt45x discovering NOTICE: /dev/hdb: isw discovering NOTICE: /dev/hdb: lsi discovering NOTICE: /dev/hdb: nvidia discovering NOTICE: /dev/hdb: pdc discovering NOTICE: /dev/hdb: sil discovering NOTICE: /dev/hdb: via discovering NOTICE: /dev/hde: hpt37x discovering NOTICE: /dev/hde: hpt45x discovering NOTICE: /dev/hde: isw discovering NOTICE: /dev/hde: lsi discovering NOTICE: /dev/hde: nvidia discovering NOTICE: /dev/hde: pdc discovering NOTICE: /dev/hde: pdc metadata discovered NOTICE: /dev/hde: sil discovering NOTICE: /dev/hde: via discovering NOTICE: /dev/hdf: hpt37x discovering NOTICE: /dev/hdf: hpt45x discovering NOTICE: /dev/hdf: isw discovering NOTICE: /dev/hdf: lsi discovering NOTICE: /dev/hdf: nvidia discovering NOTICE: /dev/hdf: pdc discovering NOTICE: /dev/hdf: sil discovering NOTICE: /dev/hdf: via discovering NOTICE: /dev/hdg: hpt37x discovering NOTICE: /dev/hdg: hpt45x discovering NOTICE: /dev/hdg: isw discovering NOTICE: /dev/hdg: lsi discovering NOTICE: /dev/hdg: nvidia discovering NOTICE: /dev/hdg: pdc discovering NOTICE: /dev/hdg: pdc metadata discovered NOTICE: /dev/hdg: sil discovering NOTICE: /dev/hdg: via discovering NOTICE: /dev/hdh: hpt37x discovering NOTICE: /dev/hdh: hpt45x discovering NOTICE: /dev/hdh: isw discovering NOTICE: /dev/hdh: lsi discovering NOTICE: /dev/hdh: nvidia discovering NOTICE: /dev/hdh: pdc discovering NOTICE: /dev/hdh: pdc metadata discovered NOTICE: /dev/hdh: sil discovering NOTICE: sil: areas 1,2,3,4[4] are valid NOTICE: /dev/hdh: sil metadata discovered /dev/hdh: "sil" and "pdc" formats discovered (using pdc)! NOTICE: /dev/hdh: via discovering NOTICE: added /dev/hde to RAID set "pdc_edbiihhe" NOTICE: added /dev/hdg to RAID set "pdc_edbiihhe" NOTICE: added /dev/hdh to RAID set "pdc_djcfggbe" INFO: Activating mirror RAID set "pdc_edbiihhe" INFO: Activating stripe RAID set "pdc_djcfggbe" NOTICE: discovering partitions on "pdc_edbiihhe" NOTICE: /dev/mapper/pdc_edbiihhe: dos discovering NOTICE: /dev/mapper/pdc_edbiihhe: dos metadata discovered NOTICE: created partitioned RAID set(s) for /dev/mapper/pdc_edbiihhe NOTICE: discovering partitions on "pdc_djcfggbe" NOTICE: /dev/mapper/pdc_djcfggbe: dos discovering NOTICE: /dev/mapper/pdc_djcfggbe: dos metadata discovered NOTICE: created partitioned RAID set(s) for /dev/mapper/pdc_djcfggbe INFO: Activating partition RAID set "pdc_edbiihhe1" INFO: Activating partition RAID set "pdc_djcfggbe1" (There are two stripe drives; I don't know why it isn't discovering anything on /dev/hdf. I'm praying that it didn't get corrupted somehow.) After activating the raid drives, doing # dmraid -s -s pdc_djcfggbe yields this: /dev/hdh: "sil" and "pdc" formats discovered (using pdc)! *** Active Set name : pdc_djcfggbe size : 78165297 stride : 0 type : stripe status : ok subsets: 0 devs : 1 spares : 0 and # dmraid -s -s pdc_edbiihhe /dev/hdh: "sil" and "pdc" formats discovered (using pdc)! *** Active Set name : pdc_edbiihhe size : 78125000 stride : 128 type : mirror status : ok subsets: 0 devs : 2 spares : 0 I admit that I'm at sea here: I'm not getting any errors I can work with, and what I've done seems to have worked for other people with similar hardware/software set-ups. Does anyone have any idea where I should look next? |
I had a similar problem in Fedora Core 6 with an nvidia dmraid and I got it to mount by mounting /dev/mapper/devicename1.
|
All times are GMT -5. The time now is 01:43 PM. |