Showing posts with label XFS. Show all posts
Showing posts with label XFS. Show all posts

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.

Wednesday, 9 May 2007

LVM2 + XFS =! LVM2 + other FileSys on snapshot mountpoint.









LVM2:

It's working fine with all Filesystem, but I got shoot while I snapshotted with xfs.
And then, I'd tried all filesystem within shapshot to make clearly, which might cause accident.
As the result, everything was fine with dm-snap, expecting XFS, and then I got the message as following.

XFS:Filesystem dm-6 has duplicate UUID - can't mount.


I seemed like xfs might do some processing for checking device-map, so it didn't allow the same UUID be appeared.
Finally, I just need to point out the parameter to skip while mounting, and then command as below.

mount -t xfs -o noatime,nosuid,nouuid /devmyvg/fuckersnap /mnt/floppy/



Edited on 9th of May.