LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2010, 10:40 AM   #1
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Rep: Reputation: 16
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?
 
Old 01-19-2010, 10:50 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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?
 
Old 01-19-2010, 10:52 AM   #3
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
Gparted shows the array as 4 separate unformated/unallocated disks.

fdisk -l gives the error "Cannot open /dev/md0"
 
Old 01-19-2010, 11:00 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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?
 
Old 01-19-2010, 11:04 AM   #5
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
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
 
Old 01-19-2010, 11:12 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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....))
 
Old 01-19-2010, 11:16 AM   #7
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
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.
 
  


Reply

Tags
gparted, partitioning, raid


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
Resizing Partitions tomaine2002 Linux - Software 4 08-06-2008 08:42 PM
Resizing partitions MasterChief1234 Linux - Newbie 5 05-08-2008 01:27 AM
Resizing Partitions dokunut Linux - Newbie 2 06-18-2005 08:56 PM
Resizing partitions..can it be done? dj_relentless Linux - General 5 01-27-2002 05:16 PM
resizing partitions suselinux Linux - General 7 09-07-2001 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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