LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Resizing Partitions (http://www.linuxquestions.org/questions/linux-software-2/resizing-partitions-783250/)

vockleya 01-19-2010 10:40 AM

Resizing Partitions
 
I have a hard drive that I need to resize the partitions on, and am having trouble doing it. This hard drive is actually a RAID 5 array, so I can't use gparted. Palimpsest doesn't seem to have partition resizing options, and fdisk doesn't seem to like the GUID partition table I am using on the disk. How should I be going about this?

pixellany 01-19-2010 10:50 AM

I had thought that--once a RAID is setup--the tools would see it as if it were a regular disk.

What happens if you try to use GParted?

What does "fdisk -l" tell us?

vockleya 01-19-2010 10:52 AM

Gparted shows the array as 4 separate unformated/unallocated disks.

fdisk -l gives the error "Cannot open /dev/md0"

pixellany 01-19-2010 11:00 AM

You have to run fdisk as root.

I infer that md0 is the name of the array---does GParted not allow you to view that?

How did you CREATE the partitions on the RAID array?

vockleya 01-19-2010 11:04 AM

Yes the name of the array is md0. Gparted does not show the array at all. I used Palimsest to create the partition the first time. This is the message that fdisk gives:

Quote:

WARNING: GPT (GUID Partition Table) detected on '/dev/md0'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: The size of this disk is 3.0 TB (3000614387712 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID
partition table format (GPT).


Disk /dev/md0: 3000.6 GB, 3000614387712 bytes
255 heads, 63 sectors/track, 364803 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/md0p1 1 243203 1953524991+ ee GPT

pixellany 01-19-2010 11:12 AM

Note where is says to use GNU Parted?

Palimsest will create partitions on the RAID, but not re-size?

((I don't use RAID--too much trouble....But that's another story....))

vockleya 01-19-2010 11:16 AM

Ah. I see my mistake. I thought gParted was GNU Parted.

And yes, that is correct. Palimpsest, at least from what I can tell, has no functionality to resize partitions.

Thanks for your help. That worked perfectly.


All times are GMT -5. The time now is 03:12 PM.