Comments on: How to Create and Extend XFS file system based on LVM https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/ Sat, 28 Jan 2023 15:43:51 +0000 hourly 1 By: Gosia https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-23405 Sun, 20 Jun 2021 20:11:15 +0000 http://www.linuxtechi.com/?p=3021#comment-23405 Thank you for this tutorial! Only one missing thing: I needed to install LVM2 package to use certain commands. Might be helpful to add such note. Thanks again!

]]>
By: Pradeep Kumar https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-21812 Thu, 24 Sep 2020 03:50:11 +0000 http://www.linuxtechi.com/?p=3021#comment-21812 In reply to oldhorizon.

No need to create partition on disk if you are planning to create physical volume on the whole disk.

example : # pvcreate /dev/sdc

]]>
By: oldhorizon https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-21809 Wed, 23 Sep 2020 18:35:49 +0000 http://www.linuxtechi.com/?p=3021#comment-21809 If I want to use the whole disk, do I need to partition it before pvcreate? doesn’t pvcreate do the alignment for you?

]]>
By: igs https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-18932 Tue, 25 Feb 2020 20:53:44 +0000 http://www.linuxtechi.com/?p=3021#comment-18932 great job !
works like a charm

]]>
By: Pradeep Kumar https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-14537 Tue, 10 Sep 2019 14:59:23 +0000 http://www.linuxtechi.com/?p=3021#comment-14537 In reply to Nanda.

Hi Nanada,

Non lvm XFS file system can be extended using ‘xfs_growfs’ command

]]>
By: Nanda https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-14532 Tue, 10 Sep 2019 13:01:49 +0000 http://www.linuxtechi.com/?p=3021#comment-14532 what do you mean by xfs not based on lvm?? is there any chance that we can grow a non lvm partition??

]]>
By: Pradeep Kumar https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-13432 Fri, 16 Aug 2019 14:50:38 +0000 http://www.linuxtechi.com/?p=3021#comment-13432 In reply to sonaligautam.

File system reduction is not possible in XFS.

]]>
By: sonaligautam https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-13419 Fri, 16 Aug 2019 07:38:37 +0000 http://www.linuxtechi.com/?p=3021#comment-13419 hi,

i have one query when we extend xfs file we use xfs_growfs command , may i know when we reduce xfs file-system which command use, like in ext3 we use resize2fs for both reduce /extend.

]]>
By: Arun https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-9044 Wed, 10 Apr 2019 10:47:37 +0000 http://www.linuxtechi.com/?p=3021#comment-9044 In reply to Kaisar.

no need to run resize2fs after the lvextend

]]>
By: Bas Keur https://www.linuxtechi.com/create-extend-xfs-filesystem-on-lvm/#comment-5617 Tue, 21 Aug 2018 20:32:35 +0000 http://www.linuxtechi.com/?p=3021#comment-5617 In reply to Kaisar.

The -r option automatically grows the file system.

]]>