Re: howmany partitions per disk possible?



Alex,

On Mon, 2006-09-11 at 07:25 +0200, Alexander Skwar wrote:
· Tony Arnold <tony.arnold@xxxxxxxxxxxxxxxx>:

BTW, I asked this before, but I want to resize a partition used as a
physical volume,

pvresize is the tool to use for this. But why do you want to do
this?

pvresize will resize the physical volume but not the partition it is in.
I've already shrunk the PV, I now want to shrink the partition.

I have my swap space as a logical volume and hibernating was unreliable
on my laptop (Dell Latitude C.400), i.e., sometimes it would work,
sometimes it wouldn't. I was trying to make space for a dedicated swap
partition to see if that made any difference.

For some reason that escapes me at the moment, I seem to have one
extended partition on my disk with two logical partitions, so the
partition I am trying to shrink is hda6.

I could probably do with starting over again.

Having played with things a bit more since, I'm not 100% convinced
putting swap in its own partition will make any difference.

Regards,
Tony.
--
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold@xxxxxxxxxxxxxxxx, H: http://www.man.ac.uk/Tony.Arnold


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: howmany partitions per disk possible?
    ... pvresize will resize the physical volume but not the partition it is in. ... simply making a limiting statement about himself. ...
    (Ubuntu)
  • Re: Resizing of a LVM partition
    ... place could I now have used pvresize to take the free space into use ... because using pvcreate on the wole disk doesn't leave free space on ... If you create a PV on a partition and after that you extend the ...
    (Fedora)
  • Re: howmany partitions per disk possible?
    ... You'd then use this partition number to be your "Physical Volume" ... one for /home and the other for swap. ... gparted nor qtparted will resize such a partition. ... IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL. ...
    (Ubuntu)
  • Re: howmany partitions per disk possible?
    ... You'd then use this partition number to be your "Physical Volume" ... one for /home and the other for swap. ... gparted nor qtparted will resize such a partition. ... IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL. ...
    (Ubuntu)
  • Re: Resizing a partition used by LVM
    ... volume and now I want to resize the partition that it is in. ... I think that the pvresize tool can extend an existing physical volume, ... See 'man pvresize' for details. ... if your LVM type partition is /dev/hda2. ...
    (Ubuntu)