Friday, 8 June 2007

LVEXTEND WITH XFS FILESYSTEM

It's not special skill to extend size online in xfs filesystem, and command as below.



xfs_growfs /dev/valgp/mysql



However, I got the bomb this time. A part of my lvm space is full, so I extended 20G and grow it online.

That should be untrouble for me to resolve this problem, but I were wrong to think so easy.

It replied my an error msg "No more space left". Thus, I have to deduct some file from the device before extending the space.



mysql -e "purge master to 'mysqld-00001.log;'
xfs_growfs /dev/valgp/mysql



That's it! dummy.

No comments: