LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-13-2014, 10:17 AM   #1
czezz
Member
 
Registered: Nov 2004
Location: Poland/Warsaw
Distribution: Slackware/Solaris
Posts: 554

Rep: Reputation: 30
lvresize reliability ?


I'm planning to re-size space on my LVM and I know that I can to that online/on the fly (so I dont need to stop applications and umount fs).

The following should do this:
Code:
# lvresize -L +100G /dev/Vol01/opt
# resize2fs /dev/Vol01/opt
However, data there are extremely important for me.
I would like ask you did any of you have any problems with online resizing LVM ?
 
Old 01-13-2014, 10:44 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,599

Rep: Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516
Never had a problem. Regardless, always have a backup.
 
1 members found this post helpful.
Old 01-13-2014, 10:45 AM   #3
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 104

Rep: Reputation: 20
Hi Czezz,

Well, I've done it hundreds of time, and it never went wrong. So I guess it's pretty safe. Decreasing size is much more dangerous. But as you mention the data being extremely important to you, before you go for it, make sure you have a very recent backup. (You should have that anyway before doing any resizing).

Louis.
 
1 members found this post helpful.
Old 01-14-2014, 02:34 AM   #4
czezz
Member
 
Registered: Nov 2004
Location: Poland/Warsaw
Distribution: Slackware/Solaris
Posts: 554

Original Poster
Rep: Reputation: 30
Thank you for your opinions
 
Old 02-05-2014, 04:49 AM   #5
czezz
Member
 
Registered: Nov 2004
Location: Poland/Warsaw
Distribution: Slackware/Solaris
Posts: 554

Original Poster
Rep: Reputation: 30
Is there any impact on performance when Volume Group space is extended/concatenate by another disk ?
 
Old 02-05-2014, 09:57 AM   #6
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat
Posts: 145

Rep: Reputation: 5
No impact if disks concatenated. Some improvement expected in case concurrent processes will read different data from different disks. Improvement only theoretical, not really seen in practice. But definetely no performance degradation.

Consider, that in case one disk failure, all data will gone, even that resides on second disk.
 
Old 02-07-2014, 04:05 AM   #7
czezz
Member
 
Registered: Nov 2004
Location: Poland/Warsaw
Distribution: Slackware/Solaris
Posts: 554

Original Poster
Rep: Reputation: 30
Both disk space are actually RAID 10, so I think it is safe in this case. Am I right ?
 
Old 02-09-2014, 05:14 AM   #8
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat
Posts: 145

Rep: Reputation: 5
Sure, if concatenated disks are backed by any RAID solution behind, you can sleep well.
 
1 members found this post helpful.
Old 02-10-2014, 01:49 AM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,225

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
RAID protects you from HW errors (usually), but its no backup for eg deleting a file or similar SW errors.
Definitely do a backup first....
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
lvreduce/lvextend vs lvresize drManhattan Linux - Newbie 2 06-04-2012 01:03 AM
lvresize skatta33 Red Hat 2 05-04-2006 08:09 AM
lvresize (lvm) equinox Fedora 0 01-27-2005 04:41 AM
mv -f reliability rtaft Linux - Software 1 01-07-2004 12:46 PM
Reliability satwar Linux - General 3 06-27-2003 03:01 PM


All times are GMT -5. The time now is 11:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration