Is it possible to extend a extended partition raw space in harddisk thru rhel 6


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Is it possible to extend a extended partition raw space in harddisk thru rhel 6
# 1  
Old 03-07-2013
RedHat Is it possible to extend a extended partition raw space in harddisk thru rhel 6

hi all,

As going thru LVM concepts in rhel 6, got hit with a question about "how to use the raw partition of an harddisk which extended volume is taken a bit"

please find the attached diagram...

is it possible to use this raw space with previously created extended partition without data loss or do we have to delete the previously created extended partition and create again with raw space ?
Is it possible to extend a extended partition raw space in harddisk thru rhel 6-partitionpng
# 2  
Old 03-07-2013
If the raw space is not in "in the middle" of two partitions and the cylinders are contiguous to the existing extended partition then you can do it directly with fdisk with little risk.

Note that you'll also need to extend the filesystem.

It's uncommon however to leave "raw" space like that since you cannot really use it - there are a few exceptions to the rule but usually they belong to very specialized software... TeraData comes to mi mind.
# 3  
Old 03-07-2013
but once i created three primary partition and remaining raw space was 10G and i used that 5G from that 10G raw space for extended. after created that 5G of extended i was not able to created the remaining raw space 5G for extended.
it messaged like "no free sectors available"

it means i cant use the raw 5G as extended with fdisk command ??
# 4  
Old 03-08-2013
This is why LVM is useful. LVM doesn't care about contiguous space. To LVM, any block device space is usable space, doesn't matter where it is.

But I'm assuming you aren't running LVM. In order to give a more detailed answer, need to know what sort of partition table youre using (MSDOS?) and what type of partitions (primary or extended) each one is.

Typically it's no big deal to extend the partition, then grow the filesystem into the new space.
# 5  
Old 03-08-2013
@ lupin..the..3rd

Actually i am asking about the raw partition under a harddisk of 3 primary and 1 extended,remaining raw partition << pls look in to the diagram for more explanation.
# 6  
Old 03-08-2013
Quote:
Originally Posted by redhatlbug
@ lupin..the..3rd

Actually i am asking about the raw partition under a harddisk of 3 primary and 1 extended,remaining raw partition << pls look in to the diagram for more explanation.
What does "raw partition" mean? By "raw partition", you mean unpartitioned space? If so, the process is easy.

1. Unmount the filesystem. If you cannot unmount it, then boot the PC using a live CD.
2. Use Fdisk to increase the size of the partition.
3. If the kernel was unable to re-read the partition table, reboot.
4. Now use resize2fs to grow the filesystem into the new space.
This User Gave Thanks to lupin..the..3rd For This Post:
# 7  
Old 03-13-2013
if you are ready to use tool to accomodate your disks remaining raw space to any partition and you don't have problem in using tools then you can try gparted live CD ISO from this link GParted -- Download

boot your machine using this LIVE CD and use its GUI interface to resize your native Linux partitions.. you can check procedure at GParted -- GParted Manual
This User Gave Thanks to parth_buch For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Extend a soft partition

Hi, I need to extend a soft partition from 20G to 100G. New disk is already added as a meta device. This soft partition is already assigned to a guest LDOM. Can someone let me know the steps to increase soft partition so guest LDOM can recognize the new space. Thanks (1 Reply)
Discussion started by: Gho
1 Replies

2. Red Hat

Warning: extended partition does not start at a cylinder boundary.

Can you please help me to remove this error. Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk... (4 Replies)
Discussion started by: karthik9358
4 Replies

3. UNIX for Dummies Questions & Answers

Create a raw partition

Hi, I had created a primary partition (/dev/sda3) and made ext3 file system on it. then mounted it on a directory and touch a file (x) into this partition. however, I want to remove this partition and recreate it as an empty partition. so I used 'd' in fdisk command and delete that partition.... (3 Replies)
Discussion started by: Siavash sh
3 Replies

4. SuSE

Extend root partition on SuSE enterprise Server 11.1

Hello Folks, Greetings, I am in need of extending the / partition for one of my SuSE linux Enterprise Server 11.1 which is running on VMware. I will be able to extend the virtual lun from the vshphere console but not sure how to extend the root partition from the OS end. I am not sure if I... (1 Reply)
Discussion started by: PSP
1 Replies

5. Red Hat

How to Extend Boot Partition

Hi, My linux server working with LVM partition and with /boot partition, now my /boot partition is full, now i need to extend my boot partition. can i know how to do it, without any data loss. Regards, M.Selva Prakash (4 Replies)
Discussion started by: mselvaprakash
4 Replies

6. UNIX for Dummies Questions & Answers

mount extended partition

Hello, Im new here, and may be my question is stupid, but... Today I run PGP Desktop decript on my 2nd partition ( D:\ ) and when decript finish, I restart my PC.Now when I try to open D:\ its give me: D:\ is not accessable and I lose my files :( So I load Linux live CD ( knoppix ) and try to... (1 Reply)
Discussion started by: mrowcp
1 Replies

7. Red Hat

RHEL 5 supports only 2 TB space for a partition !

Dear Friends , I am using Redhat Ent Linux 5.0 with a EMC storage which HDD space is 4 TB. After Installing RHEL 5 , I get 4 TB space available but when I am going to create a partition then the OS show 2TB available space . I cannot create a partition above 2TB space . Is there any limitation... (3 Replies)
Discussion started by: shipon_97
3 Replies

8. Red Hat

Raw partiotion in RHEL 4.0

I habe two hard disk in a RHEl box.I want to convert one of the hard disk to raw disk. Already linux file system is present in the hard disk.Please suggest some method (2 Replies)
Discussion started by: ss_anoop
2 Replies

9. Solaris

About raw partition

Hi I have solaris 8 installed on Intel machine. the disk I have is IDE. I would like to know how can I create a raw partition on an IDE disk. Regards, Raja (2 Replies)
Discussion started by: RajaRC
2 Replies

10. Linux

Raw partition check

Hi I have Redhat linux 9. How can I check the size of a raw partition Regards, Raja Cool Linux!!! (2 Replies)
Discussion started by: RajaRC
2 Replies
Login or Register to Ask a Question