[opensuse] Hint for running pvmove (LVM)
Hi there, Just came accross the problem that pvmove reports "mirror: Required device-mapper target(s) not detected in your kernel". Solution: modprobe dm-mirror It worked without modprobe before I updated to OpenSuSE 10.3 from 10.2. Hope this helps some people out there. Regards, Joachim -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/20/2007 07:55 PM, Joachim Wagner wrote:
Hi there,
Just came accross the problem that pvmove reports "mirror: Required device-mapper target(s) not detected in your kernel". Solution: modprobe dm-mirror
It worked without modprobe before I updated to OpenSuSE 10.3 from 10.2.
Hope this helps some people out there.
Do you have boot.device-mapper enabled in your runlevel editor? -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Do you have boot.device-mapper enabled in your runlevel editor? I cannot find anything dm or lvm related in the output of chkconfig and the
list in YaST2 - System - System Services (Runlevel). The closest match is mdadmd. However, in /etc/init.d and /etc/init.d/boot.d/ there are corresponding entries. So I guess it is enabled. Anyway, the only module loaded in boot.device-mapper is dm-mod. The system's history is as follows: (1) Install OpenSuSE 10.2 with netinstall mini CD with /boot on a normal partition and /, /home, /tmp and /var on LVM volums (LVs). PV, VG and LVs were created with the tools offered during installation. (2) Install another copy of 10.2 with /boot in a different normal partition and new LVs for /, /tmp and /var (re-using and not formating /home). This one is used from (3) on. (3) Some LVM administration with YaST2 (LVs for more swap space and /var/lib/mysql, increased size of /home) (4) Manual steps of pvmove, vgreduce, pvremove, fdisk, pvcreate and vgextend to improve alignment with RAID5-stripes of underlying hardware RAID device. (5) Online Update (maybe also before (4)) (6) Update to 10.3 with netinstall mini CD, switching off the option to delete unmaintained packages and manually deselecting zmd and rug that were causing conflicts.Motivation: keeping various 32-bit libraries. (7) Online Update (8) Delete LVs of first installation linux:/etc/init.d # lsmod | fgrep dm dm_mirror 32512 1 dm_log 26880 2 dm_mirror dm_crypt 30480 0 dm_snapshot 34120 0 dm_mod 77152 16 dm_mirror,dm_log,dm_crypt,dm_snapshot linux:/etc/init.d # pvdisplay --- Physical volume --- PV Name /dev/sda13 VG Name system PV Size 4096.00 EB / not usable 4096.00 EB Allocatable yes PE Size (KByte) 4096 Total PE 429162 Free PE 293482 Allocated PE 135680 PV UUID [...] --- Physical volume --- PV Name /dev/sdb2 VG Name system PV Size 567.45 GB / not usable 1.79 MB Allocatable yes PE Size (KByte) 4096 Total PE 145267 Free PE 9587 Allocated PE 135680 PV UUID [...] JJ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Joachim Wagner
-
Joe Morris (NTM)