LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-21-2013, 08:51 PM   #1
spuds99
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
New RHES - how to resize current disks and create new the disks


Hi,

I have a new Red Hat ES server that has the following disks already on it:

root#fdisk -l
Disk /dev/sda 1500.3 GB

Device Boot
/dev/sda1
/dev/sda2

Disk /dev/sda3 60 GB mount is /
Disk /dev/sda4 17 GB (swap)
Disk /dev/sda5 1430 GB mount is /home

I would like to:

(1) reduce/move the space from the /dev/sda5 Disk (filesystem) to the /dev/sda3 Disk
(2) create a couple other new Disks/VolGroup-LogicalVol that I can put the freed up space on say /dev/sda6/VolGroup-LogicalVol and /dev/sda7/VolGroup-LogicalVol using ext3 probably(?)

How can I accomplish these changes?

Thank you.

- Spuds99

Last edited by spuds99; 09-21-2013 at 08:53 PM. Reason: mistake
 
Old 09-23-2013, 06:31 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Please post the complete output of the fdisk command. We need to see exactly how the drive is partitioned.

A logical volume is not the same thing as a logical partition. It does not appear that you are using LVM.
 
Old 09-29-2013, 02:24 PM   #3
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 218

Rep: Reputation: 38
What you want to do is not that easy. I guess it would be easier and quicker if you make a good external backup and repartition your HDD to a layout that suits your needs (including LVM if wanted). After that restore your backup and you'll be fine.

Any other way will include a lot hassling around with partitions, LVMs, UUIDs, messing up fstab, grub and many other system files etc.

btw: why do you have sda1 and sda2 in /boot?
 
Old 09-29-2013, 06:13 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by michaelk View Post
Please post the complete output of the fdisk command. We need to see exactly how the drive is partitioned.
Perhaps better to use
Code:
parted /dev/sda "print free"
Post using [code] tags as I just did to maintain the data layout correctly.
 
  


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
LXer: Resize your disks on the fly with LVM LXer Syndicated Linux News 0 08-20-2013 08:42 PM
how to: mount extra disks (non-boot disks) maxreason Ubuntu 2 12-27-2012 09:54 PM
[SOLVED] added a couple of new disks and now /dev/sd* disks are all messed up nass Linux - Hardware 4 10-30-2012 10:16 AM
[SOLVED] RAID 5 with 4 hard disks... array started with only 3 out of 4 disks kikinovak Slackware 9 08-11-2012 06:33 AM
Installation Disks not recognized as official disks when booting with floppy coal-fire-ice Mandriva 13 12-09-2004 04:29 PM

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

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