I 've extended a volume group by addind a new disk (pvcreate, vgextend
and lvextend).
All seems to be ok, while lvdisplay gives me the new modified size .
But a 'df' continues to give me the old size.
What's wrong ?
BR
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
06-25-2008, 12:12 PM
"Deron Meranda"
LVM question
On Wed, Jun 25, 2008 at 6:55 AM, Luc MAIGNAN <luc.maignan@winxpert.com> wrote:
> I 've extended a volume group by addind a new disk (pvcreate, vgextend and
> lvextend).
> All seems to be ok, while lvdisplay gives me the new modified size .
> But a 'df' continues to give me the old size.
>
> What's wrong ?
You also need to resize the filesystem that is contained within the
logical volume so that it expands to fill the new space.
Use the resize2fs command.
--
Deron Meranda
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
06-25-2008, 01:33 PM
Damian Myerscough
LVM question
Hello,
Did you re-size the actual file system? It sounds like you need to
re-size the file system.
On Wed, 2008-06-25 at 12:55 +0200, Luc MAIGNAN wrote:
> Hi,
>
> I 've extended a volume group by addind a new disk (pvcreate, vgextend
> and lvextend).
> All seems to be ok, while lvdisplay gives me the new modified size .
> But a 'df' continues to give me the old size.
>
> What's wrong ?
>
> BR
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--
Regards,
Damian Myerscough
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
09-24-2008, 01:36 PM
Gene Poole
LVM Question
I performed an extend (lvextend) on a file system
that was running out
of space. *All of the return codes and messages showed a good
completion. *However, when I did a display on the file system (df
-m
/work) it didn't show that the file system had been extended.
Should I be concerned? *What can I do to make the available space
show
up? *I've even re-booted the machine before I drafted the message.
TIA
Gene Poole
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
09-24-2008, 01:50 PM
Kapil Hari Paranjape
LVM Question
Hello,
On Wed, 24 Sep 2008, Gene Poole wrote:
> I performed an extend (lvextend) on a file system that was running out
> of space. All of the return codes and messages showed a good
> completion. However, when I did a display on the file system (df -m
> /work) it didn't show that the file system had been extended.
lvextend extends the underlying block device. It does not resize the
filesystem. You will need to resize the file-system. Assuming that you
are using ext2/3, this would be the following sequence of commands:
umount /work
e2fsck -f /dev/DataVG00/DataLV01
resize2fs /dev/DataVG00/DataLV01
mount /work
Regards,
Kapil.
--
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
09-24-2008, 02:13 PM
Robert Locke
LVM Question
On Wed, 2008-09-24 at 19:20 +0530, Kapil Hari Paranjape wrote:
> Hello,
>
> On Wed, 24 Sep 2008, Gene Poole wrote:
> > I performed an extend (lvextend) on a file system that was running out
> > of space. All of the return codes and messages showed a good
> > completion. However, when I did a display on the file system (df -m
> > /work) it didn't show that the file system had been extended.
>
> lvextend extends the underlying block device. It does not resize the
> filesystem. You will need to resize the file-system. Assuming that you
> are using ext2/3, this would be the following sequence of commands:
>
> umount /work
> e2fsck -f /dev/DataVG00/DataLV01
> resize2fs /dev/DataVG00/DataLV01
> mount /work
>
Actually, we've had "online growing" available for ext3 for quite some
time.
Presuming it's an ext3 filesystem, you can just do:
resize2fs /dev/DataVG00/DataLV01
HTH,
--Rob
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
09-24-2008, 05:48 PM
Gene Poole
LVM Question
That's what I forgot! resize2fs!
I greatly appreciate the replies.
Thanks,
Gene Poole
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
01-17-2012, 02:26 AM
Jonathan Vomacka
LVM question
CentOS Community,
It is to my understanding that the /boot partition should never be
placed on LVM and should be a physical partition on the hard drives
(or on top of a RAID array). Is this an accurate statement?
Also please advise if the SWAP filesystem is safe to be placed under
LVM, or if this should be a hard partition / hard limit as well. I am
unsure if boot issues or any filesystem issues would be caused by
placing them on LVM. Please educate me if possible.
Thanks in advance for the information!
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
01-17-2012, 02:38 AM
Muhammad Panji
LVM question
On Tue, Jan 17, 2012 at 10:26 AM, Jonathan Vomacka <juvix88@gmail.com>wrote:
> CentOS Community,
>
> It is to my understanding that the /boot partition should never be
> placed on LVM and should be a physical partition on the hard drives
> (or on top of a RAID array). Is this an accurate statement?
>
Yup. Because GRUB < 1.95 cannot read it
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-lvm-diskdruid-manual.html
>
> Also please advise if the SWAP filesystem is safe to be placed under
> LVM, or if this should be a hard partition / hard limit as well. I am
> unsure if boot issues or any filesystem issues would be caused by
> placing them on LVM. Please educate me if possible.
>
The default partition from anaconda put the swap on LVM so I think that
wouldn't be a problem.
even if you need more swap you can make (additional) swap file.
Regards,
--
-----
Muhammad Panji
http://www.panji.web.id http://www.kurungsiku.com
http://sumodirjo.wordpress.com http://www.kurungsiku.web.id
http://www.linuxbox.web.id
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
01-17-2012, 02:53 AM
Jonathan Vomacka
LVM question
On Mon, Jan 16, 2012 at 10:38 PM, Muhammad Panji <sumodirjo@gmail.com> wrote:
> On Tue, Jan 17, 2012 at 10:26 AM, Jonathan Vomacka <juvix88@gmail.com>wrote:
>
>> CentOS Community,
>>
>> It is to my understanding that the /boot partition should never be
>> placed on LVM and should be a physical partition on the hard drives
>> (or on top of a RAID array). Is this an accurate statement?
>>
> Yup. Because GRUB < 1.95 cannot read it
> http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-lvm-diskdruid-manual.html
>
>
>>
>> Also please advise if the SWAP filesystem is safe to be placed under
>> LVM, or if this should be a hard partition / hard limit as well. I am
>> unsure if boot issues or any filesystem issues would be caused by
>> placing them on LVM. Please educate me if possible.
>>
> The default partition from anaconda put the swap on LVM so I think that
> wouldn't be a problem.
> even if you need more swap you can make (additional) swap file.
> Regards,
>
>
>
>
>
>
> --
> -----
> Muhammad Panji
> http://www.panji.web.id * * * * * * * * * * * * http://www.kurungsiku.com
> http://sumodirjo.wordpress.com * * * * *http://www.kurungsiku.web.id
>
> http://www.linuxbox.web.id
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Okay, So I guess it is safe to say that SWAP can be placed on LVM but
/boot can not? /boot should be made with EXT3 i assume, correct?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos