Red Hat :: Cannot Extend PV (LVM) After Resizing Partition

Dec 16, 2010

I know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible.
Code:
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.

I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM.
1. Resized the vmdk in ESX (+1G)
2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan
3. fdisk shows me the new size... so far so good
4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm)
5. wrote config to disk
6. executed partprobe
7. pvresize /dev/sdc

Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.

View 5 Replies


ADVERTISEMENT

Ubuntu :: How To Shrink / Extend Partition

Jun 24, 2010

Here is screenshot showing my current partition in Gparted.
Screenshot-1.jpg
What I want to do is shrink the one (Ubuntu) and extend the other (XP) so that that they are more or less the same size. How?

View 7 Replies View Related

Ubuntu Installation :: Extend My Partition ?

Aug 2, 2010

I have a disk partitioned, with windows on on one partition, ubuntu appears to be installed on an extended partition ... and iv run out of space... i need to extend the partition that ubuntu is installed on by 40gb

I have tried downloading gparted... burning it to a cd and then booting from the cd .. but i get upto a message that says use at your own risk then my system just reboots ....

View 8 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 /home Or / Partition Through LVM?

Jun 14, 2010

How can I extend /home or / partition through LVM. Is this possible ?

View 8 Replies View Related

General :: How To Extend Partition Without Formatting

Jun 29, 2011

I have created one partition. Now I want to extend that partition without formatting it.

View 3 Replies View Related

Server :: How To Extend Boot Partition

Oct 18, 2010

My linux server working with LVM partition and with /boot partition, now my /boot partition is full, now i need to extend my boot partition. can i know how to do it, without any data loss.

View 5 Replies View Related

Red Hat :: Can Use LVM Now And Add Another Harddisk To Extend / Home Partition

Mar 5, 2011

I have my harddisk partitioned with fdisk. It has seven partitions. I have some important data in my /home partition. The /home partition is almost full. I want to extend the size of /home. Mind you I'm not using LVM. Can I use LVM now and add another harddisk to extend the /home partition. Will I lose my data. Or do I have to re-install linux?

View 3 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 Installation :: How To Shrink One Partition To Extend Other One

Sep 19, 2010

I have 60 plus GBs of free space left in my Vista partition that I would like to devote to my ubuntu install.

View 9 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

General :: Centos 5.5 Need To Extend A Device Partition

Sep 23, 2010

Have VMWARE workstation 7. Have to extend partition /dev/sda1 mounted to /home/user

1. Originally /dev/sda was 10gb I've extended device via VMWARE to 30gb.

2. When I do: fdisk /dev/sda it tells me that /dev/sda 30gb

3. when I check: df -h /home

it shows 10GB

4. How I can make Linux see the 30gb at /home/user?

View 5 Replies View Related

Ubuntu :: Running Gparted Off Cd - Extend The Partition Of My Computer

Aug 2, 2010

I want to run gparted off the cd so that I can extend the ubuntu partition of my computer...I hdownloaded the gparted iso file and burnt it onto a CD...but how do i run the software?.... there appears to be 3 folders on the cd (isolinux, live and syslinux) and two other files 'copying' and 'g-parted live version' - these two are both text files...

View 9 Replies View Related

CentOS 5 :: Root Partition Is Completely Full And Want To Extend

Oct 25, 2010

I also tried to use Gparted but I couldn't install it :(

My root partition is completely full and I want to extend it.

df -h :

fdisk -l

View 1 Replies View Related

Ubuntu :: Move / Resize Attempt To Extend Partition Fails

Aug 3, 2011

I am dual-booting 11.04 alongside windows 7. I shrunk my w7 partition, and would like to extend my ubuntu partition to fill up the remaining space. When I boot from GParted live cd, and attempt to 'move/resize' my ubuntu partition, it simply fails. It doesn't really give an error message either, simply 'failed to move/resize [partition name]'

View 4 Replies View Related

Red Hat :: How To Extend Partition Size In Redhat Linux Enterprise Without Formatting

Mar 24, 2010

i want to extend my existing partition size,but it should do it without formatting my operating system.i don't have the solution.Is this possible?if possiblsolution.hope somebody should give the answer

View 5 Replies View Related

Ubuntu Installation :: Resizing Windows Partition - Install Files On A Non Windows NTFS Partition

Jul 22, 2010

Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have

Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)

I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.

View 6 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 :: Resizing (2GB) Swap Partition LVM?

Nov 20, 2009

I have a small disk and I want to resize to 2 gb the swap partition, how I can do?

[root@server12 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg_fedora11/lv_root
VG Name vg_fedora11
LV UUID Zwl9te-GQ1j-5Py3-Jiz0-JFAY-sy7n-iaV2TP
LV Write Access read/write
LV Status available
# open 1
LV Size 52.32 GB
Current LE 13393
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/vg_fedora11/lv_swap
VG Name vg_fedora11
LV UUID k61vCI-YAdI-XgNX-xRaG-B7jY-CTMQ-LKOjwk
LV Write Access read/write
LV Status available
# open 1
LV Size 3.92 GB
Current LE 1004
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

View 4 Replies View Related

Ubuntu :: Resizing A Logical Partition?

Feb 15, 2010

I want to give Mandriva 2010 a shot, and I want to resize my 500gb /home partition (logical) to make some room. It's an ext4 partition. Do you reckon I'll be safe resizing it from the Mandriva installer? or should I use an Ubuntu LiveCD first?

View 2 Replies View Related

Ubuntu :: No Swap After Resizing Partition

Apr 1, 2011

I didn't like the fact that Ubuntu allocated like 5gigs of swap with its automatic partitioning / install. So I decided to shrink it with gparted now it doesn't show up when I boot I have to select swap on in gparted to use it.

View 1 Replies View Related

General :: Resizing Partition Using Parted

Sep 14, 2010

I have slackware 13.1 installed on my desktop and I have all my hard drive dedicated to it. But now Im thinking about resizing my hard drive so that I can install windows so my brother can play games on it ( probly giving 50 Gigs to windows )I heard that parted ( located on slackware cd 1 ) is what I should use. So I was wondering if I need to backup any important files before doing the resizing? I would also appreciate it if someone could link an good tutorial for doing partition resizing .

View 2 Replies View Related

Debian Configuration :: DNS And Resizing Encrypted Partition

Feb 27, 2016

I have Debian and Virtual Box with another Debian. I have resized max size of vdi file with VBoxManage modifyhd but now I need to resize partition on virtual machine's system. I've downloaded GParted and I can run machine from this ISO as CD. Partition is encrypted on machine.Unfortunately GParted doesn't start with X so I have to use it in terminal. I can see partitions:

Code: Select allroot@debian:/# fdisk -l
Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772610 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3914....

[code]....

So I though maybe I need to use this (URL...). I couldn't find similar tutorial about Debian or GParted but OK, it's just executing these commands, not modifying its source.list.But I cannot even do the update:

Code: Select allroot@debian:/# sudo apt-get update
Err: http://free.nchc.org.tw/debian sid InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Err2: http://free.nchc.org.tw/drbl-core drbl InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Reading package lists... Done
W: Failed to fetch http://free.nchc.org.tw/debian/dists/sid/InRelease  Teporary failure resolving 'free.nchc.org.tw'
W: Failed to fetch http://free.nchc.org.tw/drbl-core/dists/drbl/InRelease  Temporary failure resolving 'free.nchc.org.tw'
W: Some index files failed to download. They have been ignored, or old ones used instead.

So I check my internet connection. VirtualBox has 'attached to NAT' and before I run out of space on virtual machine, Debian could access internet. So it's only something about this GParted. I have modified /etc/resolv.conf with vi (even vim is not available). And it has two valid nameservers. I haven't restarted anything, as I'm not sure if I need to, after modifying resolv.conf file.But even in that case I cannot ping anything from GParted:

Code: Select allroot@debian:/# ping www.google.com
ping: unknown host www.google.com

How can I access internet from GParted and resize encrypted partition?

View 8 Replies View Related

Fedora Hardware :: Resizing Root LVM Partition?

Dec 17, 2010

when i have installed fedora 14 from the live CD....i noticed fedora give 4.9 GB SWAP partion:mad and give the root another 4.9 GB.... every time i monitor the swap is free cuz my RAM is 3 GB.... I want resize my root and take the space from the SWAP and give the SWAP only 1 GB... im worried that i miss up with system.... any clean graphical interface recommend me...? or any clean way to resize..?

View 1 Replies View Related

General :: Resizing Swap Partition (RHEL 5.x)

Jun 8, 2011

The following is what parted print outputs:

(parted) print

Model: VMware Virtual disk (scsi)
Disk /dev/sda: 26.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

[Code].....

I want to resize my swap partition /dev/sda2 to use 1GB out of the above space. How can I achieve that?

View 2 Replies View Related

Ubuntu :: Cannot Boot Into Win7 After Resizing Partition

Mar 11, 2010

Today I was messing around with my partitions, and I decided to shrink my main partition that had Windows on it, so that I would could have one big storage partition and then a Windows 7 one and a Ubuntu one. Well, it didn't really work so I decided just to wait for Lucid to come out and start with a fresh install. So I went into EASEUS Partition Manager and resized my main Windows 7 partition back to its normal size. It had to reboot and did its stuff, and then when I restarted my computer, grub was showing the grub rescue> thing. So I went into the Windows 7 recovery disk, and tried all the BootRec.exe options. None of those worked. So I decided to go to the extreme and just delete Ubuntu completely.

I deleted the entire partition with GParted and then resized the main partition all the way. Then I booted into a Ubuntu live usb and re-installed Ubuntu. I thought it would just reinstall Grub and I would be able to get to both Ubuntu and Windows 7. It did install Grub, but now I can only boot into Ubuntu. It's really weird, because I can boot into windows, it just says starting windows and does the loading thing. And then EASEUS Partition Manager comes and says that all resize operations were complete successfully(because I hadn't booted into windows since I resized stuff with it) and then the screen just stays black for a long time. I don't know what to do. If I wait long enough, my computer just reboots...

View 3 Replies View Related

Ubuntu Security :: LUKS On LVM And Resizing Partition

May 10, 2010

I have a LVM logical volume, that contains a LUKS encrypted volume, on which is an ext4 filesystem. I shrank the partition to the minimum size. Next step is to luksClose the device, and then to resize the LVM logical volume. I suspect that LUKS has overhead. So if the ext4 filesystem was resized from, say 1TB to 500G, I have the idea that resizing the LVM LV to 500G does not take LUKS overhead into account and this might corrupt data on the end of the FS. So, what's the smart move to take? How do I calculate the safe minimum LV size? Or should I just give the 500G disk a few gigabytes extra to be sure?

View 4 Replies View Related

Ubuntu :: Process Of Resizing Partition Safe?

Aug 4, 2010

Are there any bad effects of resizing a partition? (like loss of data).

View 6 Replies View Related

Fedora :: Partition Resizing On F12 System For New Installs

Jan 15, 2010

I am new to linux and have installed fedora 12 on my system. The partition sizing which I had done is :

- 17 gb
home- 8 gb
mp -1gb
usr -2gb
Boot -200mb
swap - 4gb (I have 2 gb RAM)
all partitions of ext4 format.

I would like to know that whenever I am going to install any new software or packages then it will be installed in which folder or partition? I have only 170 mb space free in user and have not installed any thing yet. Do I need to resize it. If yes, then how can I do so?

View 3 Replies View Related

General :: Can't Boot After Resizing Partition With Gparted

Nov 11, 2010

First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.

I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.

View 5 Replies View Related







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