a question about lvm in linux
Hello ,I am a linux user, because I am a Chinese ,so my English is not good ,please forgive me for language mistake. after I used the command ----- lvextend ,I find that the logical volumn space is changed .but after I mount it to the file system , and use the df command to see the filesystem, I find that the space of the file system is not changed .
I see your mail address in the "man lvextend" , and find that you are the author , so I wonder whether you can help me with this problem.
Thank you
Alex li
Quoted 6 lines · alexli
Hello ,I am a linux user, because I am a Chinese ,so my English is not good ,please forgive me for language mistake. after I used the command ----- lvextend ,I find that the logical volumn space is changed .but after I mount it to the file system , and use the df command to see the filesystem, I find that the space of the file system is not changed .
You've extended the logical volume but not the filesystem on it. You now need to use filesystem-specific toold to extend that too. For example, resize2fs for ext2 and ext3.
Hello,
You are halfway there. You also have to extend your filesystem to fill up the space you just made by extending your LV. If your filesystem is ext2/3 you can use
resize2fs
to increase the filesystem. Thank you,
Josef
Quoted 23 lines · alexli
Hello ,I am a linux user, because I am a Chinese ,so my English is not good ,please forgive me for language mistake. after I used the command ----- lvextend ,I find that the logical volumn space is changed .but after I mount it to the file system , and use the df command to see the filesystem, I find that the space of the file system is not changed .
I see your mail address in the "man lvextend" , and find that you are the author , so I wonder whether you can help me with this problem.
Thank you
Alex li
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
hello, Mr White. i am sorry for disturb you again , today i try the command --- resize2fs on the system :redhat linux as4 , but i find that the system shows me a message telling that there is not such a command. can you help me?
Quoted 41 lines
Hello,
You are halfway there. You also have to extend your filesystem to fill up the space you just made by extending your LV. If your filesystem is ext2/3 you can use
resize2fs
to increase the filesystem. Thank you,
Josef
Quoted 15 lines · alexli
Hello ,I am a linux user, because I am a Chinese ,so my English is not good ,please forgive me for language mistake. after I used the command ----- lvextend ,I find that the logical volumn space is changed .but after I mount it to the file system , and use the df command to see the filesystem, I find that the space of the file system is not changed .
I see your mail address in the "man lvextend" , and find that you are the author , so I wonder whether you can help me with this problem.
Thank you
Quoted 8 lines
Alex li
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Hello,
You will want to make sure you logged in as root, or used
su -
and try it. If it still doesnt work run the command
up2date e2fsprogs
this provides the resize2fs utility. Thank you,
Josef
Quoted 4 lines · alexli
hello, Mr White. i am sorry for disturb you again , today i try the command --- resize2fs on the system :redhat linux as4 , but i find that the system shows me a message telling that there is not such a command. can you help me?
Ni Hao Alex.
You'll probably need to not only extend the logical volume, but also inform the filesystem that it needs to grow to encompass the additional space. EG, ext2resize.
Quoted 24 lines · alexli
Hello ,I am a linux user, because I am a Chinese ,so my English is not good ,please forgive me for language mistake. after I used the command ----- lvextend ,I find that the logical volumn space is changed .but after I mount it to the file system , and use the df command to see the filesystem, I find that the space of the file system is not changed .
I see your mail address in the �man lvextend� , and find that you are the author , so I wonder whether you can help me with this problem.
Thank you
Alex li
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
thanks a lot,but I find that there is not such commands like EG or ext2resize. i don't konw whether i use the wrong command. can you tell help me ?
Quoted 38 lines · 在2005年12月23日的05:40,Dan Stromberg写道:
Ni Hao Alex.
You'll probably need to not only extend the logical volume, but also inform the filesystem that it needs to grow to encompass the additional space. EG, ext2resize.
Quoted 16 lines · alexli
Hello ,I am a linux user, because I am a Chinese ,so my English is not good ,please forgive me for language mistake. after I used the command ----- lvextend ,I find that the logical volumn space is changed .but after I mount it to the file system , and use the df command to see the filesystem, I find that the space of the file system is not changed .
I see your mail address in the “man lvextend” , and find that you are the author , so I wonder whether you can help me with this problem.
Thank you
Quoted 8 lines
Alex li
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
You may wish to run a similar command, but here is what I found.
[jbrassow@hydrogen linux-2.6.9]$ man -k resize | grep filesystem
ext2online (8) - online (mounted) ext2 filesystem resizer resize_reiserfs (8) - resizer tool for the ReiserFS filesystem
brassow
Quoted 48 lines · alexli
thanks a lot,but I find that there is not such commands like EG or ext2resize. i don't konw whether i use the wrong command. can you tell help me ?
Quoted 32 lines · 在2005年12月23日的05:40,Dan Stromberg写道:
Ni Hao Alex.
You'll probably need to not only extend the logical volume, but also inform the filesystem that it needs to grow to encompass the additional space. EG, ext2resize.
Quoted 16 lines · alexli
Hello ,I am a linux user, because I am a Chinese ,so my English is not good ,please forgive me for language mistake. after I used the command ----- lvextend ,I find that the logical volumn space is changed .but after I mount it to the file system , and use the df command to see the filesystem, I find that the space of the file system is not changed .
I see your mail address in the “man lvextend” , and find that you are the author , so I wonder whether you can help me with this problem.
Thank you
Quoted 8 lines
Alex li
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/Quoted 6 lines
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 7 lines
Hello ,I am a linux user, because I am a Chinese ,so my English is not good
,please forgive me for language mistake. after I used the command ----- lvextend ,I find that the logical volumn space is changed .but after I mount
it to the file system , and use the df command to see the filesystem, I find that the space of the file system is not changed .
The filesystem needs to be extended independently of the underlying block device. You will need to look at the man pages for the filesystem you are using.
For example, xfs_growfs for xfs and ext2online for ext2/ext3.
Hope this helps,
Graham
Alex,
Le 22.12.2005 14:10:12, alexli a écrit :
Quoted 10 lines
Hello ,I am a linux user, because I am a Chinese ,so my English is not good
,please forgive me for language mistake. after I used the command
-----
lvextend ,I find that the logical volumn space is changed .but after I mount
it to the file system , and use the df command to see the filesystem, I
find that the space of the file system is not changed .
Quoted 3 lines
I see your mail address in the "man lvextend" , and find that you are the
author , so I wonder whether you can help me with this problem.
The adress you have found is the address of a mailing list. sistina has created the lvm system. Now this have moved to redhat et the mailing list adress is [email protected]
About your problem, when you want to extend a filsystem which is on a logical volume, you need to:
- expand the logical volume first
- then expand the filesystem itself
lxextend command only extend the logical volume, not the filesystem.
For instance, in case of an xfs filesystem, the command to use is xfs_growfs.
There are command for most of the filesystems. Some have resctrictions : xfs cannot be schrink and must be mounted before expanded.
Quoted 6 lines
Thank you
Alex li
Best regards
Jean-Luc