LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-17-2018, 12:45 AM   #1
fropa
LQ Newbie
 
Registered: Oct 2017
Posts: 8

Rep: Reputation: Disabled
Resize non lvm partition


Hi there. I've FreePBX ((Red Hat 4.4) on Proxmox 4.3. On the red hat, there are no lvm groups and I want to increase partition wich is used by the system, without lost data. How can I do that?
 
Old 01-17-2018, 01:31 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
redhat 4.4 is more than ten years old. gparted can do the job for example, if it was available. Or probably you can try parted. I would try to boot another os (form pendrive) to do that.
But first save all important data!
 
Old 01-17-2018, 01:57 AM   #3
fropa
LQ Newbie
 
Registered: Oct 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
does it remove all data, include system? Do this steps I should follow?

* boot from another *nix

* delete partition that I want to increase

* create partition

?

But how to do system backup that I do not lose data?
 
Old 01-17-2018, 02:48 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
no, you do not need to delete, you can resize it without deleting - if there was enough space to do that.
You can do backups onto another disk/cd/dvd/tape whatever, I don't know how much data you have.
 
Old 01-19-2018, 08:03 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,652

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by fropa View Post
does it remove all data, include system? Do this steps I should follow?

* boot from another *nix
* delete partition that I want to increase
* create partition
?

But how to do system backup that I do not lose data?
If you're honestly running a system that's more than ten years old, which is also running PBX software for your voice system, and you DO NOT HAVE A BACKUP...you have larger problems. You should ALWAYS make backups, and test them.

In your case, the best thing you can do is to back up your configurations and data (how you do this is up to you; could be a simple matter of copying your data to a different location), and reload your system from scratch, formatting your drives as you wish. Load a CURRENT OS, and if you're going to be using Red Hat enterprise, you then need to PAY FOR IT. Otherwise, load the latest CentOS, along with a less-than-ten-year-old copy of FreePBX, and move forward.

If you have concerns (and I sure would after ten years with no backups), I'd purchase new hard drives for your system. Pull the old ones after you make a backup, and set them aside. Do your installation to the new drives, reload from backup and test. If things don't work, power down and put the old drives back in. You should only have to have a small downtime window for this.
 
Old 01-19-2018, 08:44 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,727

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
In addition, Proxmox has a wiki that outlines the steps required to resizing a guest disk.


https://pve.proxmox.com/wiki/Resize_disks
 
  


Reply

Tags
increase, partition, proxmox, resize2fs



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
How ro resize LVM partition starqazi Linux - Newbie 2 07-11-2012 06:25 PM
[SOLVED] lvm / resize partition problem ghostshell Linux - Newbie 4 02-14-2012 05:53 AM
Partition resize for LVM mhouston100 Linux - Server 9 06-07-2010 10:07 PM
How To Resize LVM Partition sfo Linux - General 1 09-17-2006 11:39 AM
resize LVM partition bkesting Linux - General 3 06-17-2005 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:58 AM.

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