Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #159779

Re: How to Rezize Partition on LVM

From Mario Castelán Castro <marioxcc.MT@yandex.com>
Newsgroups linux.debian.user
Subject Re: How to Rezize Partition on LVM
Date 2015-10-25 20:50 +0100
Message-ID <qnzsJ-730-9@gated-at.bofh.it> (permalink)
References <qmVOG-21k-7@gated-at.bofh.it> <qn9eV-4A2-5@gated-at.bofh.it> <qnt3Y-36r-13@gated-at.bofh.it> <qnuW9-4fF-101@gated-at.bofh.it> <qnz9o-6Wn-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


El 25/10/15 a las 13:03, ray escribió:
> Now that the /home logical volume has been reduced, I would like to add a partition in the remaining space or reduce the LV's size to fee the unused space and create a new logical volume. Since the existing LV totally occupies the SSD, I don't see how to do this.
>
> I would appreciate any suggestions on how to complete this.

It seems like confusing LV with PV. An *LVM group* presents itself to 
the block devices that contains it as a *physical volume* (PV), in turn, 
LVM provides *logical volumes* (LV) over which you may place 
filesystems. Don't confuse those 3 concepts. If you want to make a 
partition outside LVM, you would have to reduce the LVM physical volume, 
not the LVM logical volume (which you already did).

If you already reduced the filesystem and the logical volume, then there 
is free space within your LVM volume group; there may be no "free space 
in the SSD" (space not assigned to any partition or the MBR), but that 
is how it is supposed to be. The reason to use LVM is to put filesystems 
in logical volumes within your volume group to get the benefits of 
logical volume management, not as partitions outside your volume group, 
because you lose those benefits.

You can create logical volumes with "lvcreate". Read the manual!

   man lvm

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to Rezize Partition on LVM ray <ray@aarden.us> - 2015-10-24 03:30 +0200
  Re: How to Rezize Partition on LVM Charlie Kravetz <cjk@teamcharliesangels.com> - 2015-10-24 04:40 +0200
  Re: How to Rezize Partition on LVM Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-24 04:40 +0200
  Re: How to Rezize Partition on LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-10-24 17:50 +0200
    Re: How to Rezize Partition on LVM ray <ray@aarden.us> - 2015-10-25 14:00 +0100
      Re: How to Rezize Partition on LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-10-25 16:00 +0100
        Re: How to Rezize Partition on LVM ray <ray@aarden.us> - 2015-10-25 20:10 +0100
        Re: How to Rezize Partition on LVM ray <ray@aarden.us> - 2015-10-25 20:30 +0100
          Re: How to Rezize Partition on LVM Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-25 20:50 +0100
            Re: How to Resize Partition on LVM ray <ray@aarden.us> - 2015-10-26 02:50 +0100
              Re: How to Resize Partition on LVM Mario Castelán Castro  <marioxcc.MT@yandex.com> - 2015-10-26 03:20 +0100
              Re: How to Resize Partition on LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-10-26 10:00 +0100
                Re: How to Resize Partition on LVM Mario Castelán Castro  <marioxcc.MT@yandex.com> - 2015-10-26 15:20 +0100
                Re: How to Resize Partition on LVM ray <ray@aarden.us> - 2015-10-27 05:10 +0100

csiph-web