LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2024, 10:58 AM   #16
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,640

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697

Quote:
Originally Posted by lvm_ View Post
... Your physical home PC is not the place for LVM....
That depends entirely upon the hardware, configuration, and use of that home PC.

You know what they say about assumptions....
 
1 members found this post helpful.
Old 04-15-2024, 02:47 PM   #17
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,662
Blog Entries: 4

Rep: Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942
I kindly disagree that "LVM is not for your home PC." You actually never know when you might need more space. The LVM subsystem provides an elegant(!) way to address that problem – as well as a way to rid yourself of a drive which ("*click* *click* !! *click* *click* !!") might be beginning to fail. And, it basically doesn't cost you anything – even if you never actually have need to use it. I always select this option when installing everything, and never think twice about doing so.
 
2 members found this post helpful.
Old 04-15-2024, 10:03 PM   #18
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by lvm_ View Post
Your physical home PC is not the place for LVM.
We all are entitled to our own opinions.
LVM has a definite use, and is also very easy to use.
It is flexible and robust so home use is just as simple as any other location.

In fact, with the currently available drive sizes (both SSD and HDD) a user is forced to 1) over provision file system partitions in anticipation of growth, 2) shutdown and manipulate partition sizes when a critical partition fills up, or 3) use LVM or similar to provide the ability to manage file system sizes on the fly without interrupting operations. This applies to those with systems at home as well as large enterprise servers.

You may voice what ever choices you prefer, but I have used LVM on a raid array for many years (at home) and have never encountered a problem that forced loss of data or time. Even with loss of 2 different HDDs in about 7 years span.

Please feel free to suggest an alternate means of managing file systems and drives which provides the same ease, flexibility, and reliability as LVM.

Note that I do not disagree about the potential risk of data loss that multiplies as the number of devices involved increase when used in JBOD arrangement. (this is also the problem with using raid 0). However, using a actual raid array (raid 5 or 6 is what I prefer) beneath the LVM mitigates that risk almost 100%
 
Old 04-16-2024, 01:13 AM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,863

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by computersavvy View Post
We all are entitled to our own opinions.
LVM has a definite use, and is also very easy to use.
It is flexible and robust so home use is just as simple as any other location.

In fact, with the currently available drive sizes (both SSD and HDD) a user is forced to 1) over provision file system partitions in anticipation of growth, 2) shutdown and manipulate partition sizes when a critical partition fills up, or 3) use LVM or similar to provide the ability to manage file system sizes on the fly without interrupting operations. This applies to those with systems at home as well as large enterprise servers.

You may voice what ever choices you prefer, but I have used LVM on a raid array for many years (at home) and have never encountered a problem that forced loss of data or time. Even with loss of 2 different HDDs in about 7 years span.

Please feel free to suggest an alternate means of managing file systems and drives which provides the same ease, flexibility, and reliability as LVM.

Note that I do not disagree about the potential risk of data loss that multiplies as the number of devices involved increase when used in JBOD arrangement. (this is also the problem with using raid 0). However, using a actual raid array (raid 5 or 6 is what I prefer) beneath the LVM mitigates that risk almost 100%
You know it is something like use ASERASERF because it is flexible, robust, smells good or can say tramway very well.
I don't care all about that, I just don't need that.
Usually if a partition is full I buy another disk (obviously newer, faster, bigger and can say earthquake too), move my old partition completely to the new device, and over. I don't need to do anything else with it. Additionally I don't want to use the old and slow device any more, therefore extending its partitions does not solve anything.
Having spare space on my disks to be able to manage file system sizes is ok for me. Also there is no need to use raid. OS can be reinstalled in an hour, everything important is backed up into another storage, so I can recover anything any time.
There was only one issue in my life with spinning disks, one of them went into deadlock and stopped to work. Anyway, I don't use old disks.
 
Old 04-16-2024, 03:15 AM   #20
lvm_
Member
 
Registered: Jul 2020
Posts: 932

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Quote:
Originally Posted by computersavvy View Post
Please feel free to suggest an alternate means of managing file systems and drives which provides the same ease, flexibility, and reliability as LVM.
There is a way which is way more simple, efficient and reliable: you don't. There is no need to fiddle with filesystems, you create a create single one which spans the whole array and that's that. YAGNI. And even if you do, loop devices.
 
Old 04-16-2024, 10:16 AM   #21
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,640

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Quote:
Originally Posted by lvm_ View Post
There is a way which is way more simple, efficient and reliable: you don't. There is no need to fiddle with filesystems, you create a create single one which spans the whole array and that's that. YAGNI. And even if you do, loop devices.
For some things that will suffice.
For others there are better options.
If you need maximum performance I find a large RAID 5 array using MDADM and LVM with EXT4 file systems tests fastest for database operations.
For my personal laptop use I prefer BTRFS without RAID or LVM, performance is not as important and BTRFS is more than good enough.

It all depends upon your needs, operation, and available resources. There is no single "right" answer.

If you identify a single WRONG answer you would have to justify that decision and explain what makes it "wrong". I am not seeing that here.

Last edited by wpeckham; 04-16-2024 at 10:18 AM.
 
Old 04-16-2024, 04:06 PM   #22
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 482

Rep: Reputation: 179Reputation: 179
For my personal use ext4 works well for me. Easy to maintain. No need for LVM in any 'my' home systems (desktops/laptops/server/RPIs). Disk space is cheap, so no need to extend/resize etc. Good backups of data is all that is necessary. As said above, there is no 'right' answer for 'everyone'. Each has own set of criteria.

Last edited by rclark; 04-16-2024 at 04:10 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Partitions are equals to OS partitions? xeon123 Linux - Newbie 1 05-26-2011 06:45 PM
How to multiboot distros from LVM and/or Non-LVM partitions? kennybobby Fedora 2 12-07-2010 06:58 AM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 06:15 PM
Partitions, partitions, partitions..... Clueless in VA Linux - Newbie 7 08-08-2001 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 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