LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


View Poll Results: Which Is Your Preferred Linux File System?
BtrFS 19 5.52%
ext2 5 1.45%
ext3 26 7.56%
ext4 230 66.86%
FAT32 5 1.45%
JFS 12 3.49%
Lustre 0 0%
OCFS2 1 0.29%
ReiserFS 6 1.74%
XFS 24 6.98%
ZFS 16 4.65%
Voters: 344. You may not vote on this poll

Reply
  Search this Thread
Old 11-26-2014, 06:40 PM   #91
heavy metal
LQ Newbie
 
Registered: May 2011
Location: Puerto Rico
Distribution: Debian Jessie 64-bit
Posts: 7

Rep: Reputation: 0

I've been using XFS since 2010, very happy with it!
 
Old 11-27-2014, 04:59 PM   #92
Keyboard Cowboy
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Rep: Reputation: Disabled
ext4, while implementing LVM with it
 
Old 11-27-2014, 05:47 PM   #93
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,756

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Me too.
It would be nice if I could reduce the size of a LVM volume in situ without destroying the underlying ext4 filesystem.
 
Old 11-27-2014, 06:42 PM   #94
Keyboard Cowboy
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Rep: Reputation: Disabled
Increasing the volume size is way easier and less risky than reducing it. When reducing a LVM volume there has to be enough space available to do it without causing corruption which I read from many articles and videos online.

It's best to practice LVM in a virtual machine and practice both increasing and reducing a LVM volume before implementing it on the main system.
 
1 members found this post helpful.
Old 11-27-2014, 06:58 PM   #95
Keyboard Cowboy
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Me too.
It would be nice if I could reduce the size of a LVM volume in situ without destroying the underlying ext4 filesystem.
Reducing a LVM volume is more risky than increasing it. When reducing a LVM volume, there must be some free space available to be done correctly, otherwise corruption can happen. This is mentioned in the many articles online.

It's wise to practice reducing LVM volumes in a virtual machine to get a hang of it. And once the process is understood, it can be implemented on the main system.

Last edited by Keyboard Cowboy; 11-27-2014 at 07:03 PM.
 
1 members found this post helpful.
Old 11-28-2014, 08:59 AM   #96
donaldm
LQ Newbie
 
Registered: Jan 2007
Location: Sydney, NSW, Australia
Distribution: Fedora 23
Posts: 13

Rep: Reputation: 5
Quote:
Originally Posted by ninja master View Post
jfs... because ibm is god and re-sizing your file system is heresy
Why is resizing your file-system heresy?

when I have set-up file-systems in Linux, AIX or HPUX I actually use LVM commands to create the PV (Physical Volume) followed by VG (Volume Group) then the LV (Logical Volume) and then an only then I create the file-system. Sure there are different but logical commands to do this in AIX but the concepts remain the same.

Depending on the requirements resizing a file-system is fairly easy under LVM and is supported by ext3, ext4, BtrFS, ZFS as well as JFS and VxFS. Of course it usually is better to have the logical volume and its file-system the right size to start with but on occasion it may be necessary to do a resize (shrinking is possible as well) such as the LV and file-system associated with a database needs to be increased in size and that I have seen quite a few times.
 
Old 11-28-2014, 09:28 AM   #97
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,756

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Increasing the volume size is very easy - but volumes sit on physical space which is finite!

I've come to the conclusion that data backup, delete volume, recreate reduced volume, restore data from the backup is the only reliable way of performing a reduction in volume size.
 
Old 11-28-2014, 12:20 PM   #98
Keyboard Cowboy
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Increasing the volume size is very easy - but volumes sit on physical space which is finite!

I've come to the conclusion that data backup, delete volume, recreate reduced volume, restore data from the backup is the only reliable way of performing a reduction in volume size.
I agree that increasing the volume size is much easier as I stated. I haven't reduce any volumes thus far, but I do agree, it's wise to backup the data first before doing a volume reduction.

I've bookmarked this article which is very detailed in LVM management especially when reducing the LVM volume(s)
http://www.tecmint.com/extend-and-reduce-lvms-in-linux/
 
1 members found this post helpful.
Old 11-28-2014, 03:23 PM   #99
Ratamahatta
Member
 
Registered: Feb 2012
Location: Germany
Distribution: siduction
Posts: 129

Rep: Reputation: 16
Talking

[QUOTE=donaldm;5276324]Why is resizing your file-system heresy?

Because the user had to find a good apology for his favourite filesystem not supporting it (well).
That's actually one of the reasons I never even tried jfs (lacking feature). (So I'm probably agnostic or even pagan to this user. )
 
Old 11-28-2014, 06:48 PM   #100
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,756

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Quote:
Originally Posted by Keyboard Cowboy View Post
I've bookmarked this article which is very detailed in LVM management especially when reducing the LVM volume(s)
http://www.tecmint.com/extend-and-reduce-lvms-in-linux/
That's an excellent article on LVM.
 
Old 12-05-2014, 09:10 PM   #101
DeSoto
LQ Newbie
 
Registered: Dec 2014
Location: LAX
Posts: 11

Rep: Reputation: Disabled
EXT4 for linux and UFS or ZFS for the BSD's
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is your preferred Linux Package Management System? jeremy Linux - General 85 10-13-2014 10:57 AM
LXer: SUSE Linux Operating System Is Preferred By Top Retailers LXer Syndicated Linux News 0 11-16-2013 03:51 PM
[SOLVED] What is your preferred file system for an external HD with a Windows XP VM? starstuff Linux - Virtualization and Cloud 5 04-10-2012 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration