Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 17th April 2013, 22:10
aFoP aFoP is offline
Junior Member
Join Date: Jun 2012
Location: Budapest
Posts: 7
Thanks: 1
Thanked 1 Time in 1 Post
Default Software RAID1 On A Running LVM System - Ubuntu Server

Hi All,
I used the tutorial http://www.howtoforge.com/how-to-set...buntu-11.10-p2 and everything is OK until step "5 Moving Our Data To The RAID Arrays":

# pvmove -i 2 /dev/sda5 /dev/md1
Insufficient free space: 59557 extents needed, but only 59525 available
Unable to allocate mirror extents for pvmove0.
Failed to convert pvmove LV to mirrored
# vgreduce server1 /dev/sda5
# pvremove /dev/sda5
Can't pvremove physical volume "/dev/sda5" of volume group "userver" without -ff
Command 'pvdisplay' shows after the error:
# pvdisplay
--- Physical volume ---
PV Name /dev/sda5
VG Name server1
PV Size 232.65 GiB / not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 59557
Free PE 0
Allocated PE 59557
PV UUID l5vKiJ-dVNj-0i4G-51x1-HyIH-mdbv-f30HGo

--- Physical volume ---
PV Name /dev/md1
VG Name server1
PV Size 232.52 GiB / not usable 1.81 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 59525
Free PE 59525
Allocated PE 0
PV UUID YhxGJp-1Qbk-fxx6-zdHL-HEdv-z1ic-8O0SGv
I'm using 2 * 250GB HDDs on a fresh ubuntu server 12.04 installation...
I have put together a script which does the whole tutorial - and successfully did the process in VirtualBox environment ...and no such errors were seen during whole testing in VirtualBox ...
Any ideas?

Last edited by aFoP; 17th April 2013 at 22:18.
Reply With Quote
Sponsored Links


lvm, raid 1, raid1, server, ubuntu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub problems after How To Set Up Software RAID1 On A Running LVM System newfield_no1 HOWTO-Related Questions 1 28th March 2012 14:15
Sending email issue lezelf Installation/Configuration 15 9th August 2011 12:20
How To Set Up Software RAID1 On A Running LVM System - upgrading kernel palcica HOWTO-Related Questions 8 12th February 2010 18:50
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 23:08
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 17:30

All times are GMT +2. The time now is 23:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.