Hi,
On Sunday 21 June 2009 11:48:58 Giuseppe Iuculano wrote: > severity 533848 normal > thanks > > > Hi, > > Lior Chen ha scritto: > > I have a software raid array (raid 0 type), with lvm partitions built > > over the raid. > > Please explain. Why are you mixing software raid with fakeraid/ataraid and > LVM? I didn't quite understand. As far as I know, I'm only mixing two types: a software raid (striping), and LVM. Doesn't it make sense to first set up the physical abstraction level (raid), and then build a logical abstraction over it? (LVM). > Please paste the output of these commands: > > cat /proc/mdstat Personalities : [raid0] md0 : active raid0 sda2[0] sdb2[1] 488199040 blocks 64k chunks unused devices: <none> > dmraid -r -vvv WARN: locking /var/lock/dmraid/.lock NOTICE: skipping removable device /dev/sdc NOTICE: skipping removable device /dev/sdd NOTICE: /dev/sdb: asr discovering NOTICE: /dev/sdb: ddf1 discovering NOTICE: /dev/sdb: hpt37x discovering NOTICE: /dev/sdb: hpt45x discovering NOTICE: /dev/sdb: isw discovering NOTICE: /dev/sdb: isw metadata discovered NOTICE: /dev/sdb: jmicron discovering NOTICE: /dev/sdb: lsi discovering NOTICE: /dev/sdb: nvidia discovering NOTICE: /dev/sdb: pdc discovering NOTICE: /dev/sdb: sil discovering NOTICE: /dev/sdb: via discovering NOTICE: /dev/sda: asr discovering NOTICE: /dev/sda: ddf1 discovering NOTICE: /dev/sda: hpt37x discovering NOTICE: /dev/sda: hpt45x discovering NOTICE: /dev/sda: isw discovering NOTICE: /dev/sda: isw metadata discovered NOTICE: /dev/sda: jmicron discovering NOTICE: /dev/sda: lsi discovering NOTICE: /dev/sda: nvidia discovering NOTICE: /dev/sda: pdc discovering NOTICE: /dev/sda: sil discovering NOTICE: /dev/sda: via discovering INFO: RAID devices discovered: /dev/sdb: isw, "isw_cjhfigcfig", GROUP, ok, 488397166 sectors, data@ 0 /dev/sda: isw, "isw_cjhfigcfig", GROUP, ok, 488397166 sectors, data@ 0 WARN: unlocking /var/lock/dmraid/.lock > dmraid -s -vv NOTICE: skipping removable device /dev/sdc NOTICE: skipping removable device /dev/sdd NOTICE: /dev/sdb: asr discovering NOTICE: /dev/sdb: ddf1 discovering NOTICE: /dev/sdb: hpt37x discovering NOTICE: /dev/sdb: hpt45x discovering NOTICE: /dev/sdb: isw discovering NOTICE: /dev/sdb: isw metadata discovered NOTICE: /dev/sdb: jmicron discovering NOTICE: /dev/sdb: lsi discovering NOTICE: /dev/sdb: nvidia discovering NOTICE: /dev/sdb: pdc discovering NOTICE: /dev/sdb: sil discovering NOTICE: /dev/sdb: via discovering NOTICE: /dev/sda: asr discovering NOTICE: /dev/sda: ddf1 discovering NOTICE: /dev/sda: hpt37x discovering NOTICE: /dev/sda: hpt45x discovering NOTICE: /dev/sda: isw discovering NOTICE: /dev/sda: isw metadata discovered NOTICE: /dev/sda: jmicron discovering NOTICE: /dev/sda: lsi discovering NOTICE: /dev/sda: nvidia discovering NOTICE: /dev/sda: pdc discovering NOTICE: /dev/sda: sil discovering NOTICE: /dev/sda: via discovering NOTICE: added /dev/sdb to RAID set "isw_cjhfigcfig" NOTICE: added /dev/sda to RAID set "isw_cjhfigcfig" *** Group superset isw_cjhfigcfig --> Subset name : isw_cjhfigcfig_LCRAID size : 976783872 stride : 256 type : stripe status : ok subsets: 0 devs : 2 spares : 0 > cat /proc/partitions major minor #blocks name 8 0 244198584 sda 8 1 96358 sda1 8 2 244099642 sda2 8 16 244198584 sdb 8 18 244099642 sdb2 9 0 488199040 md0 253 0 4194304 dm-0 253 1 484003840 dm-1 > lvdisplay --- Logical volume --- LV Name /dev/vg0/swap-lv VG Name vg0 LV UUID dUFQ6h-Od30-Iklp-oRCY-wUSs-bq1Z-ZobN8s LV Write Access read/write LV Status available # open 2 LV Size 4.00 GB Current LE 1024 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Logical volume --- LV Name /dev/vg0/linux-lv VG Name vg0 LV UUID plhvTr-ficv-VDmy-LhJP-uWnr-fMVp-H5rvwR LV Write Access read/write LV Status available # open 1 LV Size 461.58 GB Current LE 118165 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 > pvdisplay --- Physical volume --- PV Name /dev/md0 VG Name vg0 PV Size 465.58 GB / not usable 896.00 KB Allocatable yes (but full) PE Size (KByte) 4096 Total PE 119189 Free PE 0 Allocated PE 119189 PV UUID W2NzvT-QriA-lite-6AjB-QetX-OjYI-VcwWPz > dmsetup table vg0-swap--lv: 0 8388608 linear 9:0 384 vg0-linux--lv: 0 968007680 linear 9:0 8388992 Thank you very much for the quick reply and for addressing this bug report. Lior. ---- Lirtex.com - Embedded System Design and Development