LinuxQuestions.org
Help answer threads with 0 replies.
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, 11: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, 11:50 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
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, 11: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, 12:00 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
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, 12:04 PM   #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, 12:12 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

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


All times are GMT -5. The time now is 06:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration