Linux how to

From CSWiki
Revision as of 15:40, 20 March 2006 by Ank (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Practical instructions on how to go about doing things in Linux. This is about the Fedora Linux.

How to extend an xfs filesystem

  • xfs filesystems must be mounted to be extended. There is no need to unmount
  • usually an xfs fileystem occupies all of its logical volume so the extension of a filesytem involves first the expansion of the logical volume an then the extension of the filesystem
  • expanding the logical volume
  • lvextend -L +5G /dev/Volume00/data-lv00 - this will add 5GB on logical voluem /dev/Volume00/data-lv00
  • xfs_growfs /NewFS - this will extend the filesystems on the previously extended LV to occupy it completely. The filesystem is mounted on /NewFS in this case.

More on how to operate the Logical Volume Manager (LVM) is found here