Can't remove partition from LVM

┌─[ 09/17/12 01:21:37 PM ][ ~ ]
└─> df
Filesystem Size Used Avail Use% Mounted on
rootfs 29G 6.3G 22G 23% /
dev 1.7G 0 1.7G 0% /dev
run 1.7G 404K 1.7G 1% /run
/dev/sdb2 29G 6.3G 22G 23% /
shm 1.7G 0 1.7G 0% /dev/shm
tmpfs 1.7G 72K 1.7G 1% /tmp
/dev/sdb3 67G 57G 7.3G 89% /home
/dev/mapper/dabox--storage-stuff 2.9T 2.1T 667G 77% /media/stuff
/dev/sde1 299G 113G 186G 38% /media/mydrive
┌─[ 09/17/12 01:21:37 PM ][ ~ ]
└─> sudo pvscan
PV /dev/sdc1 VG dabox-storage lvm2 [1.36 TiB / 0 free]
PV /dev/sda2 VG dabox-storage lvm2 [244.38 GiB / 0 free]
PV /dev/sdb1 VG dabox-storage lvm2 [366.19 GiB / 0 free]
PV /dev/sdd1 VG dabox-storage lvm2 [931.51 GiB / 0 free]
PV /dev/sda1 VG dabox-storage lvm2 [53.70 GiB / 0 free]
Total: 5 [2.92 TiB] / in use: 5 [2.92 TiB] / in no VG: 0 [0 ]
┌─[ 09/17/12 01:21:37 PM ][ ~ ]
└─> sudo vgscan
Reading all physical volumes. This may take a while...
Found volume group "dabox-storage" using metadata type lvm2
┌─[ 09/17/12 01:21:37 PM ][ ~ ]
└─> sudo lvscan
ACTIVE '/dev/dabox-storage/stuff' [2.92 TiB] inherit
┌─[ 09/17/12 01:21:37 PM ][ ~ ]
└─>
So I have 667GB free on this LV as you can see from df, yet this is happening when I try to remove a volume:
└─> sudo pvmove -v /dev/sdb1
Finding volume group "dabox-storage"
No extents available for allocation
┌─[ 09/17/12 01:21:37 PM ][ ~ ]
└─> sudo pvmove -v /dev/sda1
Finding volume group "dabox-storage"
No extents available for allocation
I keep getting this message no matter which PV I try.
Here's pvdisplay -m
sudo pvdisplay -m
[sudo] password for bobby:
--- Physical volume ---
PV Name /dev/sdc1
VG Name dabox-storage
PV Size 1.36 TiB / not usable 897.00 KiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 357699
Free PE 0
Allocated PE 357699
PV UUID Khz636-PmiK-pGwn-YIAA-V0pV-iQsp-viRTLt
--- Physical Segments ---
Physical extent 0 to 357698:
Logical volume /dev/dabox-storage/stuff
Logical extents 0 to 357698
--- Physical volume ---
PV Name /dev/sda2
VG Name dabox-storage
PV Size 244.38 GiB / not usable 2.89 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 62561
Free PE 0
Allocated PE 62561
PV UUID fuNir3-tgpT-wq8v-ztLv-0E08-JVS2-YA7ZCc
--- Physical Segments ---
Physical extent 0 to 62560:
Logical volume /dev/dabox-storage/stuff
Logical extents 357699 to 420259
--- Physical volume ---
PV Name /dev/sdb1
VG Name dabox-storage
PV Size 366.19 GiB / not usable 2.12 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 93744
Free PE 0
Allocated PE 93744
PV UUID lHtf0O-uqSh-rq9N-RHHo-RF0r-4051-zl3dNX
--- Physical Segments ---
Physical extent 0 to 93743:
Logical volume /dev/dabox-storage/stuff
Logical extents 420260 to 514003
--- Physical volume ---
PV Name /dev/sdd1
VG Name dabox-storage
PV Size 931.51 GiB / not usable 3.19 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 238466
Free PE 0
Allocated PE 238466
PV UUID g091ul-udvl-XmJ0-KG19-0rb4-Dag7-5GFeUH
--- Physical Segments ---
Physical extent 0 to 238465:
Logical volume /dev/dabox-storage/stuff
Logical extents 514004 to 752469
--- Physical volume ---
PV Name /dev/sda1
VG Name dabox-storage
PV Size 53.71 GiB / not usable 3.92 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 13748
Free PE 0
Allocated PE 13748
PV UUID YNqPYg-Zbn3-z1dj-2HlR-mwoX-aG4U-qPjV10
--- Physical Segments ---
Physical extent 0 to 13747:
Logical volume /dev/dabox-storage/stuff
Logical extents 752470 to 766217
What I am trying to do is remove /dev/sdb1 at the least, and/or sda1+2 so I can take out that drive. I'd really appreciate any help with this folks, thanks!! (Any other output required please ask.)

slytux wrote:
pvmove and the partition by itselfy may not be enough, you could specify the target to move to as the second argument to pvmove.
Ex. take out sdb1:
pvmove /dev/sdb1 /dev/sdc1
Yup, have tried that with all sorts of combinations:
└─> sudo pvmove /dev/sdb1 /dev/sdc1
No free extents on physical volume "/dev/sdc1"
No specified PVs have space available
┌─[ 09/17/12 11:27:53 PM ][ ~ ]
└─> sudo pvmove /dev/sdb1 /dev/sdd1
No free extents on physical volume "/dev/sdd1"
No specified PVs have space available
┌─[ 09/17/12 11:27:53 PM ][ ~ ]
└─> sudo pvmove /dev/sda1 /dev/sdb1
No free extents on physical volume "/dev/sdb1"
No specified PVs have space available
┌─[ 09/17/12 11:27:53 PM ][ ~ ]
└─> sudo pvmove /dev/sda1 /dev/sdc1
No free extents on physical volume "/dev/sdc1"
No specified PVs have space available
┌─[ 09/17/12 11:27:53 PM ][ ~ ]
└─> sudo pvmove /dev/sda1 /dev/sdd1
No free extents on physical volume "/dev/sdd1"
No specified PVs have space available
I've pretty much given up, I bought my SSD tonight, and now I'm going to buy a 2TB drive tomorrow and move my important stuff over, then dismantle the LVM and not use it again. Thanks for your help mate I appreciate it

Similar Messages

  • How can i remove Ubuntu from my laptop

    yes im an idiot, i installed ubuntu over windows when my computer died and How can i remove Ubuntu from my laptop cause i tried to reformat but kept giving me the blue screen error and its realy annoying me,Ubuntu just isnt right for me please help me  :L 

    aquos wrote:
    i have an h.p. g60 535 dx note book,windows was wiped out so i installed ubuntu and don't like it  is there a sequence of key strokes that will erase the pc back to factory? ubuntu  is useless ...thanks  i forgot what ever name i made up to register.  just use m.h.Not if you wipe the Factory recovery partition then you will have to order the Factory REcovery media from hp. Obtaining HP Recovery Discs or an HP USB Recovery Drive
    Read this before ordering your Recovery Discs! (US and Canada Only)

  • How can I remove iCloud from my Mac Book and iPad and Mac Book Air and then just reload back on the MB Air and iPad only?

    How can I remove iCloud from my Mac Book and iPad and Mac Book Air and then just reload back on the MB Air and iPad only, which have a different user with a separate Apple ID?

    You have quite muddied up the waters, I'm afraid. Assuming you now have a single GUID partition formatted Mac OS Extended, Journaled, you should try reinstalling Lion:
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • How can i remove pictures from my droid turbo without having to use the touch screen on the phone at all?

    how can i remove pictures from my droid turbo without having to use the touch screen on the phone at all?  my screen is cracked and i am waiting on a replacement phone.  as far as i can tell in order to access the phone storage through my computer, i have to use the touchscreen to enable it so that the computer will see it as a camera.  I can't do that as the top half of the touschscreen is unresponsive.  any suggestions?  teaches me to use the backup services offered in the future, but i still need a short term solution for this time.

        I'm sorry to hear your screen is cracked spence425. I know its difficult to use the phone while its damaged. I'm happy you are receiving a replacement device. Have you saved any of your pictures and other data to the cloud? Here is a link about the cloud http://vz.to/1mF0GIx . Unfortunately, you will be unable to remove any data from the phone if the screen is unresponsive but if you are looking to transfer data to your new phone, it would have needed to be saved via the cloud first. Keep us posted.
    Kinquana_VZW
    Follow us on Twitter @vzwsupport

  • How can I remove something from my iTunes download list permanently?

    Same as title: how can I remove something from my download list FOREVA! Why would I want to do this? Because it's a piece of poo free sampler from Best Buy that is effing huge, and terrible and I don't want it, ever (it's been stuck to my list since 08, and it must die). Every time I buy something I have to remember to go and remove that from my list, otherwise iTunes gets caught up downloading that thing, which is many times larger than any video/cd/app that I have ever downloaded on iTunes before. It wouldn't be as much an issue if I had a good ISP but I don't, so any non-apple employee people giving some smarmy "get better internets" advice need not apply.

    Once an item enters the download queue, the user cannot remove it. Either let it complete the download (easiest) or contact the iTunes Store customer support department through the Contact page and ask them if they'll remove the item(s) from your queue for you.

  • How can I remove Growl from my Mac Pro

    Hi there!
    How can i remove Growl from my Mac Pro?

    David ..
    Instructions here >  Growl - Removing Growl

  • How can I remove pictures from my ipod touch that were downloaded from my computer?

    Hi... How can I remove pictures from my IPod  (4th generation) that were downloaded from my

    If the pictures were synced from a computer to the iOS device then they are removed the same way.  Connect the device to the computer.  Tell iTunes what to sync and sync.

  • How can i remove them from my purchased(no hidden them)and my account for ever?

    hello
    I got a few free app before and did not download them completely and dont want to do this,
    but they stay in my purchased and start automatly when i connect to itunes store and going to crazy me
    How can i remove them from my purchased(no hidden them)and my account for ever?
    (I want to delete all free apps and Books from my purchases.)
    please help me
    thank you.

    There is no way to do it. Others have asked for the very same thing that you are asking for, but currently it just cannot be done. You can't remover purchases from your Purchase History - you can hide them - but you can't delete them from the history.
    You can delete the Apps from the iPad and you can delete them from iTunes on the computer. Delete them from iPad, delete them fromiTunes so that when you sync there is no chance that they will come back. Then hide the purchases. That's the best that you can do.
    On the iPad, tap and hold down on the app icons until the X pops up. Tap the X to delete the apps.
    In iTunes, clcik on Apps under the Library heading on the left. Right click on the apps that you want to delete and follow the prompts.

  • How can I remove music from my iPhone that's not on a playlist, or checked off in the Sync window in any of the possible categories (Playlist, genre, artist, etc)? HELP! It's taking up SO much space on my phone

    How can I remove music from my iPhone that's not on a playlist, or checked off in the Sync window in any of the possible categories (Playlist, genre, artist, etc)? HELP! It's taking up SO much space on my phone but I cannot see a way to remove any of it

    If it's slow on startup it would be extensions loading or LaunchDaemons starting up. 
    You should have a look in:
    /Library/LaunchDaemons
    /Library/Extensions
    You can count out anything in your home folder and it shouldn't put anything in /System as that's reserved for Apple. 

  • How can i remove cydia from my phone

    How can i remove cydia from my iPhone 4

    restore it to factory settings from itunes on a computer where the phone is connected to by usb cable

  • How can I remove updates from my I-pad

    How can I remove updates from my I pad

    What updates ?
    If you mean from the Updates tab in the App Store app then you can't - any updates that you've downloaded will disappear off that last in 30 days. If you don't want to install an app update then as far as I know they can't be removed from the Updates tab.
    If you want to got back to a previous version of an app then do you have a copy of that previous version anywhere ? If you do then you can delete the app from your iPad (which will also delete its content) and sync back the previous version.
    If you mean an iOS update that you've installed then you can't, downgrading the iOS version isn't supported by Apple.

  • How can i remove password from my I Pod

    how can i remove password from my I Pod

    If you mean you can't get past the screen lock then:
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How can I remove songs from my iPod without deleting them from my iTunes library?, how can I remove songs from my iPod without deleting them from my iTunes library?

    How can I remove files from my iPod without deleting them from my iTunes library? I do not see a functionailty enabling this i the iPod>

    Do not select the songs to sync, then sync.

  • How can I remove Skype from my iMac?

    How can i remove Skype from my iMac?
    Thanks

    https://support.skype.com/en/faq/FA12073/how-can-i-completely-uninstall-and-then -reinstall-skype-for-mac-os-x?frompage=search&q=uninstall+skype+mac&fromSearchFi rstPage=false
    That should assist with getting rid of skype, Just don't worry about the reinstalling part

  • How can I remove pictures from my IPad

    How can I remove photos from my IPad

    Depends on where these photos came from. If they were synced from a computer, you'll need to sync them off by unchecking the folder the pictures are in from  iTunes on the computer.
    If they were taken by the iPad or downloaded you should have a little trashcan icon at the top of the screen  you can use when viewing the image.

Maybe you are looking for