lvm2 question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Installed the server version of Fedora in a lvm physical volume.

 ~]# df
Filesystem                                                   1K-blocks                              Used            Available   Use% Mounted on
devtmpfs                                                              4096                                     0                   4096        0%     /dev
tmpfs                                                              8147016                                     0            8147016        0%     /dev/shm
tmpfs                                                              3258808                               1992            3256816        1%     /run
/dev/mapper/fedora_hpz440-root          15718400                      12344216            3374184      79%     /
tmpfs                                                              8147020                                   36            8146984         1%    /tmp
/dev/nvme0n1p4                                          1038336                          475108              563228       46%    /boot
/dev/nvme0n1p3                                            613184                               6320              606864         2%    /boot/efi
tmpfs                                                              1629400                               3788            1625612         1%    /run/user/1000

Quickly started running out of space.  Created a second physical volume and used vgextend to add it to the volume group.

~]# vgextend fedora_hpz440 /dev/nvme0n1p6

Increased the size of the logical volume with some of the space of the second physical volume.

 ~]# lvextend -L +150G /dev/mapper/fedora_hpz440/root

~]# vgdisplay fedora_hpz440
File descriptor 53 (anon_inode:inotify) leaked on vgdisplay invocation. Parent PID 3867: -bash
File descriptor 58 (/memfd:pulseaudio (deleted)) leaked on vgdisplay invocation. Parent PID 3867: -bash
  --- Volume group ---
  VG Name               fedora_hpz440
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  12
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               <416.17 GiB
  PE Size               4.00 MiB
  Total PE              106539
  Alloc PE / Size       90893 / 355.05 GiB
  Free  PE / Size       15646 / <61.12 GiB
  VG UUID               XbAT6W-lu9n-hnUQ-fzQT-ndfw-DiaQ-KZq75s

Still running out of space. df doesn't show any increase.

]# df
Filesystem                          1K-blocks      Used  Available Use% Mounted on
devtmpfs                                 4096         0       4096   0% /dev
tmpfs                                 8147008         0    8147008   0% /dev/shm
tmpfs                                 3258804      2040    3256764   1% /run
/dev/mapper/fedora_hpz440-root       15718400  13444136    2274264  86% /
tmpfs                                 8147012        16    8146996   1% /tmp
/dev/nvme0n1p4                        1038336    573872     464464  56% /boot
/dev/nvme0n1p3                         613184      6316     606868   2% /boot/efi
tmpfs                                 1629400       164    1629236   1% /run/user/1000


Can't find a command to actually resize the file system.


 

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux