Software :: Extend Physical Volume Disk Space From One To Another?

Sep 16, 2010

Is is possible to extend physical volume disk space from one to another?

Quote:
PV VG Fmt Attr PSize PFree
/dev/sda1 Zeus-extra lvm2 a- 149.05G 17.05G
/dev/sdb1 Zeus-misc lvm2 a- 394.96G 274.96G

Could I get 50GB from /dev/sdb1 and add it to /dev/sda1 ???

View 1 Replies


ADVERTISEMENT

Software :: Extend Volume Group Size Over The Remaining Space?

Mar 28, 2010

extend the size of a LVM2 volume group over the remaining free space available on a physical volume. My linux box is a Ubuntu Karmic 9.10 64bit, the 60GB hard disk has 2 win partition for about 19GB, a 1.5GB ext3 boot partition and finally a 36GB LVM partition (/dev/sda4) on which I created a volume group (volgrp) smaller 10GB than the 36GB physical volume (/dev/sda4). What I want now is to extend the size of volume group up to the end of physical volume. I tried to use the "vgextend volgrp /dev/sda4" but system answers me
with following output:

me@pc:~> sudo vgextend volgrp /dev/sda4
Physical volume '/dev/sda4' is already in volume group 'volgrp'
Unable to add physical volume '/dev/sda4' to volume group 'volgrp'.

Here the output of fdisk command:

me@pc:~> sudo fdisk -l
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders

[code]...

View 3 Replies View Related

Fedora :: Managed To Reduce The Logical Volume To Free Some Space But Cant Seem To Reduce The Physical Volume

Jan 1, 2010

so i have f12 installed on my hd with lvm using the whole extent of the HD , i want to reduce it so i can dual boot it with a windows system, i managed to reduce the logical volume to free some space, but i cant seem to reduce the physical volume, is this possible and how ?

View 2 Replies View Related

Ubuntu Installation :: Extend Disk Space For 10.10?

Apr 26, 2011

I've 80G hard-disk with dual boot ( XP with 5.5G and Ubuntu 10.10 with 4.5G ). After recent updates there is only 1G of space left on Ubuntu.I've 3 more drives with around 25G left and want to extend Ubuntu by another 10G.How can I do that?

View 9 Replies View Related

General :: Read The Contents Of A Physical Disk That Was Part Of A Larger Logical Volume?

Mar 17, 2010

how easy it would be to read the contents of a physical disk that was part of a larger logical volume. The disk contains a "Linux LVM" partition that spans its entire size. My problem is that one of my disks died, and I have to send it back for a warranty replacement. However, the disk is dead, and I can't zero it out. I'm just trying to assess how difficult it would be (or at least how likely it would be) for a tech that's checking out the disk to get at the data.

View 4 Replies View Related

General :: LVM - Adding New Disk Space To Volume Group?

Feb 7, 2011

I plan to install a server using LVM. I thought a partition schema where /boot would be in an ext4 partition while / /usr /var /home and /opt would be in the LVM. My question is: if I'm putting / into the LVM, is it necessary to divide /usr /var /home and /opt into different logical volumes? If I divide them, would it become harder to maintain when new disk space has to be added to the volume group?

View 7 Replies View Related

CentOS 5 :: Df Not Showing Disk Space After Logical Volume Expansion / Fix It?

Jun 5, 2009

I've added a new LUN to my Centos 5.2 server using Powerpath and have added it to an ext3 logical volume. I extended the logical volume using lvextend and the new space shows up correctly in lvdisplay. What I'm having problems with is getting Centos to see the new disk space (df -h shows 500GB, not 600GB as expected). I've tried running a resize2fs on the new volume but it tells me that "the filesystem is already n blocks long. Nothing to do". Does any one know where I'm going wrong? If possible I'd like to sort this without a reboot.

View 3 Replies View Related

General :: Use Free Space To Extend The Space Of A Drive?

Jul 5, 2011

My system is dual boot with win7 and ubuntu. I have free space of around 10 gb. I want to add this free space to my ubuntu drive. How can i do that?

View 4 Replies View Related

Fedora :: Extend Volume Group Using LVM?

Mar 30, 2011

Currently, I am at 99% capacity with a 1TB hard drive (sda). I want to add an extra 2TB storage (sdc) by extending the current volume group using LVM.

[URL]

I can see that it is extended from the LVM GUI (System - Admin - LVM). However, when I download anything, the system says I am still at 99% capacity.

Code:

[root@localhost /]# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders

[code]....

View 5 Replies View Related

Red Hat / Fedora :: FC10 - How To Extend Logical Volume

Mar 6, 2011

I have a system with a single disk that is partitioned as below:

1) hda
hda1 - boot partition - 0.3GB
hda2 - System - 15.7GB

There are 2 volumes on single group. The boot partion is a physical volume and the system is a logical volume. The disk has more room up to 40GB. How can I extend the logical volume. Tried system-config-lvm, but it does not gives the option.

View 4 Replies View Related

Server :: Raid6 - How To Extend Volume Group

May 16, 2010

I'm running debian and used mdadm to setup up a raid 6 array with 4x1TB drives with roughly 1.86TB's available with lvm. Then I added 4x1TB drives to the array. So now I have an 8 drive raid 6 array with 5.+TB's available, the array sees all available space. The question is how do I extend the volume group so that it uses the whole raid and not just half of it. As of right now the volume group is only 1.86TB's.

View 6 Replies View Related

Ubuntu :: Volume "filesystem Root" Has Only 474.8 MB Disk Space

Apr 25, 2010

When I logged in today I got this message:

The volume "filesystem root" has only 474.8 MB disk space remaining

What does this mean??

View 5 Replies View Related

Server :: Use System Monitor Via A VNC Connection The Free Disk Space Value Is 20GB Free On The Same Volume

May 18, 2011

I've got a question on free disk space. I'm currently running CentOS 5.5 on in Xenserver virtual environment. We've had an issue with disk space. My question is as follows: - from a ssh connection i run df -h this gives the value of 90% used leaving me with 9GB. If I use system monitor via a VNC connection the free disk space value is 20GB free on the same volume. Which one is correct? I do use SNMP to monitor the same volume and should alert me when < 10% is free I know this works as I set the alert threshold to < 90% I get an alert.

View 2 Replies View Related

Red Hat / Fedora :: Extend Logical Volume (LogVol) Size In Same Group?

Jun 23, 2011

My LogVol00 has 1 Tb free space. Now I want to share 500gb of LogVol00 to LogVol04. How can I do this?

View 1 Replies View Related

Fedora :: Running Out Of Space - How To Extend Partition

Mar 4, 2011

I have an Asus eee, it has a solid state drive which has been partitioned with a 4GB and 8GB partition. I installed Fedora 14 onto the 4GB partition but I am running out of space. I have formatted the 8GB partition with ext4 but I am unsure the best way to create more space for the default installation. Can I extend my / partition onto the 8GB partition or possible move the /swap partition onto it?

View 5 Replies View Related

Ubuntu :: Use Unallocated Space To Extend A Partition?

Jul 19, 2011

Is there any way to use unallocated space to extend a partition that isn't close to that partition? there is an image attached, I can extend /dev/sda2 but not /dev/sda1 ( the one that i want to) I used the live cd to run gparted.I had to move /dev/sda2 to to the right and then extend /dev/sda1

View 1 Replies View Related

Ubuntu :: Running Out Of Space , Extend Current Ext3 Partion?

Feb 16, 2010

I had initially created 10 GB ext3 partiton for my kubuntu 9.10 , but now space is almost full , I tried Gpartedbut it wont let me unmount my ext3 partition ?The error is posted below.I got windows 7 on another partition but its partition manager does not support ext3 so its useless ??shd i boot from live CD and then extend my partition or is there an easy way out , like using "parted" command line tool Could not unmount /dev/sda2The partition could not be unmounted from the following mount points:/Most likely other partitions are also mounted on these mount points. You are advised to unmount them manually.

View 5 Replies View Related

Software :: LVM Physical Volume -- Not Shrinking?

Feb 23, 2010

I was running through a fairly routine Gentoo install on a 160G hard disk. My intention was to have two partitions on the disks: one for boot, and one to be an LVM physical volume. In a stroke of absent-mindedness, however, I forgot to create the boot partition and only created the LVM physical volumend didn't realize ituntil the end of the installation.Anyway, I just want to shrink the physical volume partition and add in another partition with fdisk. However, this doesn't seem to be working the way I intend. I ran

Code:
livecd dev # pvresize --setphysicalvolumesize 159G /dev/hda1
WARNING: /dev/hda1: Overriding real size. You could lose data.

[code]....

View 4 Replies View Related

Ubuntu :: Resize Partition - Use Space Taken By Vista To Extend My /dev/sda6 Ntfs

Nov 11, 2010

I have a dual boot Ubuntu 10.04 and Vista laptop.

My Ubuntu partions /dev/sda4 extended, which contains a /dev/sda5 ext4 and a /dev/sda6 ntfs partition.

Vista is on /dev/sda2 ntfs. I would like to wipe vista out, turn off dual boot (if possible) and use the space taken by vista to extend my /dev/sda6 ntfs partition in ubuntu.

View 6 Replies View Related

Fedora Hardware :: Removing A Bad Physical Volume

Jan 22, 2010

So I got a bad physical volume inisde my logical volume. I want to do this safely rather than tinkering around, how can I get the bad physical disk out and look at the data on the other 2 drives to see if I can save anything? Its just the standard fedora setup where it combines all the disks, nothing fancy.

I have the volume group activated as a partial, and now I just want to see the data on the other sections how could I mount that?

View 2 Replies View Related

General :: LVM Removing A Physical Volume Safely

Aug 7, 2010

Let's assume I have a volume group (VG) with six physical volumens (PV) - sdb1, sdb2, sdb3, sdc1, sdc2, sdc3..I want to remove one of the PVs from the group in order to use its space elsewhere - how can I know if it's safe? How can I do that without losing data and without first "pvmove"ing it elsewhere?Reading a bit more, my guess is using the result of pvscan, but I thought I'd ask before removing keeping it safe as I'm not an LVM expert.

View 4 Replies View Related

General :: Create A Physical Volume First Before Creating LVM's?

Jul 13, 2010

WHat is the physical volume in LVM's? Why do we need to create a physical volume first before creating LVM's? I mean, LVM's are created from physical disks, so why do we need to specify it? Didnt get it. Anybody want to help me with this?

View 2 Replies View Related

General :: Find The OID Code For A Physical Volume?

May 18, 2011

How do I find the OID code for a physical volume.I managed to get it to work with our snmp monitoring software to alert me when disk space was < 10% but the computer which was running the SNMP monitoring died.For the life of me I can't remeber how I got it to work.I have 4 partitions 1 has 88% free /etc/mapper/volgroup002 has 21% free /boot3 nfsd 0 bytes4 sunrpc 0 bytesHere is a copy of the OID I'm using 1.3.6.1.2.1.25.2.3.1.5.1 I change the last number to resemble the drive but i'm testing using 8% and they each return an error drive space low which is what the VB script tells it to do. I know the script works as I use it on Windows Servers no problems.I do an SNMPWALK on the server and it validates the above OID with HOST-RESOURCES-MIB::hrStorageSize so I know thats valid.But thats where I'm stuck. What value should I see if I were to use this OID 1.3.6.1.2.1.25.2.3.1.6.1 which is for free disk space.

View 1 Replies View Related

Software :: LVM - Using Physical Volume On Command Line

Jun 11, 2010

I have kind of test partition, but I need lv_root on it. So I have:

Code:
Using physical volume(s) on command line
PV VG Fmt Attr PSize PFree Start SSize LV Start Type PE Ranges /dev/sda6 VolGroup lvm2 a- 29.73g 440.00m 0 6859 lv_root 0 linear /dev/sda6:0-6858
/dev/sda6 VolGroup lvm2 a- 29.73g 440.00m 6859 128 lv_swap 0 linear /dev/sda6:6859-6986
/dev/sda6 VolGroup lvm2 a- 29.73g 440.00m 6987 512 lv_root 6859 linear /dev/sda6:6987-7498
/dev/sda6 VolGroup lvm2 a- 29.73g 440.00m 7499 2 lv_swap 128 linear /dev/sda6:7499-7500
/dev/sda6 VolGroup lvm2 a- 29.73g 440.00m 7501 110 0 free
I want to move "lv_swap" to the end of VG. I want to delete its segment, and rest of VG to use for "lv_root".

View 2 Replies View Related

General :: List All Physical Volumes Associated To A Volume Group?

Nov 9, 2010

Maybe I'm missing something obvious but I do not see it listed in vgdisplay.

View 1 Replies View Related

Ubuntu Installation :: LVM2: Resize The Physical Volume

Apr 11, 2011

I have a 500GB hard disk, /dev/sda. On it, there is /dev/sda1 for /boot, /dev/sda2 for an LVM PV (physical volume), and /dev/sda3 for another /boot (multiple Linux distros, one boot partition for grub legacy, another for grub2). so the LVM2 partition, /dev/sda2, is taking up ~465GiB. I want to add another OS (non-Linux), so I resized the *lvm2 physical volume* to 320GiB, successfully, using pvresize.

However, I now need to resize the partition so the lvm2 physical volume only just fits on it, ie to 320GiB. My plan of action is to use gparted (the partition table is GUID, so fdisk won't work), to first delete the partition from the partition table, then re-add it but this time with a smaller value (~320GiB). The problem is that I need to know exactly how many MiB/cylinders the physical volume is taking up. So, I run:

Code:

root@sysresccd /root % pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name vg0

[code]....

What one of these values do I need to set the new lvm2 replacement partition to?

View 7 Replies View Related

Ubuntu :: Unable To Mount 52 GB LVM2 Physical Volume?

Jul 10, 2011

When I installed Ubuntu, I created an 52 gb encrypted partition which shows up in the disk utility, and in the window that opens when I click on the "home folder" icon. I get my normal windows partition, and under that the 52 GB LVM2 partition. But when I try to access it, I get this error.

Unable to mount 52 GB LVM2 Physical Volume - not a mountable file system

This is what fdisk -l shows

Device Boot Start End Blocks Id System
/dev/sda1 * 1 52 409600 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 52 30452 244193280 7 HPFS/NTFS

[Code]....

How can I fix this, and be able to access that 52gb partition? This is only my second day that I work with Ubuntu, so If more information is needed then let me know

View 9 Replies View Related

Server :: Removing Physical Drive From LVM Logical Volume?

Jul 5, 2011

I have a 7.9 TB logical volume I've created from 8 1 TB RAID 0 devices. The volume is formatted with XFS so I can resize when ready. However, I think I want to do something that is not possible. I have 2.5 TB free on my logical volume. I'd like to shrink the volume down to be 6 TB by getting rid of 2 of the 1 TB devices in the physical volume. However pvmove seems to require free extents in order to work. Do I need to add 6 TB of storage, pvmove everything onto it, and then decommission the original 8 1 TB physical devices from the volume?

View 5 Replies View Related

General :: Extend A Partition Using One Disk

Apr 27, 2011

I would like to know if is possible extend a partition using one disk. I have 50 GB on /dev/vdf2 and would like to add on:

/dev/vdc1 50G 6.4G 41G 14% /home3

And this partition will have 100G of space..

View 9 Replies View Related

General :: Extend The Lvm And The Filesystem To The Second Disk?

Dec 18, 2010

I've added a second drive to a system and I need to extend the lvm and the filesystem to the second disk. Is there a way to do this online with centos 5.5? I specifically need extending the actual ext3 filesystem which seems to be the trick part.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved