(solved)LVM df -h no additional space after lvextend

Kernels & Hardware, configuring network, installing services

Re: LVM df -h not showing additional space after lvextend

Postby p.H » 2018-09-26 14:08

FeedMeAStrayCat wrote:lvreduce did not work, received an error.

Can you get more information with -v ?

FeedMeAStrayCat wrote: the filesystem was unmounted the reason being that it had to be to perform the resize2fs. Do not know why.

Because ext* filesystems cannot be reduced while in use.

FeedMeAStrayCat wrote:I did a df -h and it shows a reduction in the filesystem and the lv like I wanted.

df only shows the filesystem size (reduced with resize2fs), not the size of the block device which contains it.
p.H
 
Posts: 602
Joined: 2017-09-17 07:12

Re: LVM df -h not showing additional space after lvextend

Postby FeedMeAStrayCat » 2018-10-01 13:47

Hi Everyone,

Issue has been resolved! The file system was shrunken correctly. Trying to reduce the lv gave me the error code. A reboot fixed the error. Win!

John
FeedMeAStrayCat
 
Posts: 76
Joined: 2014-09-05 15:28

Re: LVM df -h not showing additional space after lvextend

Postby arzgi » 2018-10-01 16:04

That's great!

Can you mark the thread as solved, by editing your first post in the thread, and adding [SOLVED] to the front of the header.
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

Re: LVM df -h not showing additional space after lvextend

Postby FeedMeAStrayCat » 2018-10-02 19:00

arzgi wrote:That's great!

Can you mark the thread as solved, by editing your first post in the thread, and adding [SOLVED] to the front of the header.


Absolutely, again thanks! Will have to keep this post in mind if I run into the same issue. Also for further learning and trouble shooting!
FeedMeAStrayCat
 
Posts: 76
Joined: 2014-09-05 15:28

Re: LVM df -h not showing additional space after lvextend

Postby FeedMeAStrayCat » 2018-10-02 19:07

FeedMeAStrayCat wrote:
arzgi wrote:That's great!

Can you mark the thread as solved, by editing your first post in the thread, and adding [SOLVED] to the front of the header.


Absolutely, again thanks! Will have to keep this post in mind if I run into the same issue. Also for further learning and trouble shooting!



OK so I feel like a tool, but how would one go about changing a post to [SOLVED] . Did a search, but it's not the kind of thing you find in a search.
FeedMeAStrayCat
 
Posts: 76
Joined: 2014-09-05 15:28

LVM df -h not showing additional space after lvextend

Postby GarryRicketson » 2018-10-02 19:40

You edit the subject line in your first post, add the word solve. In the case on this topic it will need to be shortened up a little. Example:
Code: Select all
 (solved)LVM df -h not showing size changes
User avatar
GarryRicketson
 
Posts: 5134
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: LVM df -h not showing additional space after lvextend

Postby FeedMeAStrayCat » 2018-10-05 18:45

GarryRicketson wrote:You edit the subject line in your first post, add the word solve. In the case on this topic it will need to be shortened up a little. Example:
Code: Select all
 (solved)LVM df -h not showing size changes


Got it thanks!
FeedMeAStrayCat
 
Posts: 76
Joined: 2014-09-05 15:28

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable