linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Kiran Rao <techie.curious@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Resizing a logical volume which is mounted (at /home)
Date: Mon, 16 Jan 2012 18:51:59 +0530	[thread overview]
Message-ID: <CALe_PVkSZD-ij5D7HQiKoL=obeQMuV3ZnJfd9f_1rocFdkt71A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

To start off, here's an overview of my configuration. I'm dual-booting
Windows XP and Fedora Core 16. When I installed FC 16, here's how I created
the partitions:

1) Volume Group (vg_me) - ~73 GB

Out of this, the following are the logical volumes:
a) lvhome (mount point - /home) - ~48GB
b) lvroot (mount point - /) ~10GB
c) lvvar (mount point - /var) ~15GB

So, there's no free space left on the volume group.

Now, I feel the 48GB is not really necessary for the /home. I want to
redistribute the space among the 3 logical volumes within this VG, or
create a new one (/tech).  In either case, I want to take the additional
space (around 20GB) from lvhome and give it to either / or to /tech.

Now, I tried the GUI (system-config-lvm) tool to do this. I can click on
lvhome and try to resize it. However, the problem is that since I am logged
in as a non-root user, the /home is mounted. Resizing requires one to
unmount it, but the unmount operation fails since I am mounted.

How do I work around this?

[-- Attachment #2: Type: text/html, Size: 1100 bytes --]

             reply	other threads:[~2012-01-16 13:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 13:21 Kiran Rao [this message]
2012-01-17 18:15 ` [linux-lvm] Resizing a logical volume which is mounted (at /home) Stuart D. Gathman
2012-01-18  2:45   ` Kiran Rao
  -- strict thread matches above, loose matches on Subject: below --
2012-01-16 13:06 Kiran Rao
2012-01-17 14:36 ` Males, Jess
2012-01-19  2:50   ` Kiran Rao
2012-01-19  5:43     ` Stuart D Gathman
2012-01-19 10:03     ` James Hawtin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALe_PVkSZD-ij5D7HQiKoL=obeQMuV3ZnJfd9f_1rocFdkt71A@mail.gmail.com' \
    --to=techie.curious@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).