You are not logged in.

#1 2010-08-01 19:15:27

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

LVM mount [solved]

Hi,
My LVM setup on my NAS stopped working. The device was turned off due to a power cut. I should get a UPS.  . .

It seems that the array is still seen but it just is not added to /dev/mapper

ss4200:root:[intel] pvdisplay 
  --- Physical volume ---
  PV Name               /dev/md0
  VG Name               array
  PV Size               2,73 TiB / not usable 5,00 MiB
  Allocatable           yes 
  PE Size               4,00 MiB
  Total PE              715399
  Free PE               297863
  Allocated PE          417536
  PV UUID               rxiCRU-j0MH-XJGz-J6oi-SvbQ-mqHc-9uQqxG


ss4200:root:[intel] vgdisplay 
  --- Volume group ---
  VG Name               array
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  12
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                6
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               2,73 TiB
  PE Size               4,00 MiB
  Total PE              715399
  Alloc PE / Size       417536 / 1,59 TiB
  Free  PE / Size       297863 / 1,14 TiB
  VG UUID               1OB8TB-OdIR-Po0F-L6YN-AmAd-y5Qp-N3mAl9

ss4200:root:[intel] vgchange -ay
  6 logical volume(s) in volume group "array" now active

But they are not added to /dev/mapper.

Is this caused by kernel update or something like that? dm-mod, raid5 etc. is loaded.

Please help!

Last edited by Pank (2010-08-01 20:17:11)


Arch x64 on Thinkpad X200s/W530

Offline

#2 2010-08-01 20:16:52

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: LVM mount [solved]

This was due to kernel problem. I use a custom kernel and somehow it had kernel26 and friends installed. It helped to removed the official kernel and its firmware etc.


Arch x64 on Thinkpad X200s/W530

Offline

Board footer

Powered by FluxBB