Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best Filesystem for LVM

Status
Not open for further replies.

Mag0007

MIS
Feb 15, 2005
829
US
What is the best filesystem for LVM2:

I need features like this:
1) Increase filesystem without an unmount
2) Decrease filesystem without an unmount
3) Performance



TIA!
 
1&2) As far as I know, regardles the FS you use, any partition to be modified must be taken off-line.
3) Depends. On a huge partition with many small files (<~600k), you would be better with reiserfs.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
I am using reiserfs on my LVM and am quite satisfied with it. And when I added volumes, I did have to unmount the LVM before resizing it.
 
1) xfs provides an xfs_growfs to increase the size of the filesystem, and it can be done online.
2) You cannot shrink an xfs sytem, either online or offline, at least not with the tools provided with xfs. I'd guess that Partition Magic can do it, but there's a lot going on under that hood.
3) For us, xfs performance was always poor, but others swear by it. Maybe we just didn't tune it properly.

We use ext3 for everything local and have a NetApp for our central nfs server. Coincidentally, a NetApp can dynamically grow a filesystem as you add drives to it, but it cannot shrink it. Makes me wonder if the NetApp WAFL filesystem is actually a modified XFS?
 
mrballcb:

good post. Hopefully ext2/ext3 can have online grow very soon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top