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


Groups > linux.debian.user > #159833

Re: How to Resize Partition on LVM

From ray <ray@aarden.us>
Newsgroups linux.debian.user
Subject Re: How to Resize Partition on LVM
Date 2015-10-27 05:10 +0100
Message-ID <qo3K9-wM-3@gated-at.bofh.it> (permalink)
References (5 earlier) <qnzsJ-730-9@gated-at.bofh.it> <qnF57-1YJ-5@gated-at.bofh.it> <qnLNg-63Y-19@gated-at.bofh.it> <qnQMW-QQ-33@gated-at.bofh.it> <qo3K9-wM-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


I would like to thank everyone to helping.

Looks like it is working.  Here is the action:

With Live GParted, reduce sda5 to minimum ~ 60GB.
Create new partition, sda6 ~420GB.
Booted back to Debian.
pvcreate /dev/sda6
vgcreate xenvg /dev/sda6
lvcreate -l +100%FREE xenvg -n xenlv
mkfs.ext4 -m 0 /dev/xenvg/xenlv

Updated /etc/fstab  last line:
/dev/mapper/xenvg-xenlv /xenfs             ext4        defaults        0     

# mount -a

# ls -a /xenfs
.  ..  lost+found


# df -h
Filesystem                    Size  Used Avail Use% Mounted on
<snip>
/dev/sda1                     236M   49M  176M  22% /boot
/dev/mapper/mycomp--vg-tmp   360M  2.1M  335M   1% /tmp
/dev/mapper/mycomp--vg-var   2.7G  366M  2.2G  15% /var
/dev/mapper/mycomp--vg-home  4.8G  143M  4.4G   4% /home
<snip>
/dev/mapper/xenvg-xenlv       413G   71M  412G   1% /xenfs

Back to linux.debian.user | Previous | Next — Previous 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