Re: [gentoo-user] fdisk - expanding a partition beyond 2TB

2008-08-28 Thread Stroller


On 27 Aug 2008, at 05:28, Dave Oxley wrote:

...
I've just added a fourth disk to my Raid 5 set increasing the  
capacity from 1.5TB to 2.25TB. I have 4 partitions on this volume  
set; the fourth of which is 1.49TB which is then further subdivided  
using lvm2.  ...


Hi there,

Is the problem that you've got 4 partitions  this prevents you form  
making a 5th?
Because using LVM I would simply create a new partition and add it to  
the volume group.


The contents *should* indeed remain intact if one simply deletes the  
partition  recreates at the same starting point, yet larger. I'm  
sure I've used parted as well as cfdisk for this sort of thing in the  
past, yet hesitate to recommend either as I would fear making a typo  
with an unfamiliar tool, thereby rendering my data mythical.


Stroller.



Re: [gentoo-user] fdisk - expanding a partition beyond 2TB

2008-08-28 Thread Dave Oxley

Stroller wrote:


On 27 Aug 2008, at 05:28, Dave Oxley wrote:

...
I've just added a fourth disk to my Raid 5 set increasing the 
capacity from 1.5TB to 2.25TB. I have 4 partitions on this volume 
set; the fourth of which is 1.49TB which is then further subdivided 
using lvm2.  ...


Hi there,

Is the problem that you've got 4 partitions  this prevents you form 
making a 5th?
Because using LVM I would simply create a new partition and add it to 
the volume group.


The contents *should* indeed remain intact if one simply deletes the 
partition  recreates at the same starting point, yet larger. I'm sure 
I've used parted as well as cfdisk for this sort of thing in the past, 
yet hesitate to recommend either as I would fear making a typo with an 
unfamiliar tool, thereby rendering my data mythical.


Stroller.
Yes, part of the problem is that I can't create a fifth partition. 
However, even if possible, this wouldn't have been my ideal solution 
anyway as it would negate some of the performance benefit gained from 
having one huge partition over the whole array.


But my real question is, as I've reached the max partition for the msdos 
partition table, can I migrate to a GPT partition table without losing 
my data?


Cheers,
Dave.



Re: [gentoo-user] fdisk - expanding a partition beyond 2TB

2008-08-27 Thread Jil Larner

Hi,

Dave Oxley a écrit :


So basically does anyone have any experience moving from an fdisk 
partition table to a GNU parted partition table without losing 
filesystems, data, etc?


A partition table is a partition table, whatever is the tool you use to 
handle it. I didn't met your problem with size limitation but lost 
partition table and changed partitions tables on drives. For this, i 
used different tools, even proprietary ones, and never had conflict, 
except with Vista special partition (that has a bigger size than the 
actual disk size xD )


My two cents,
Jil.



[gentoo-user] fdisk - expanding a partition beyond 2TB

2008-08-26 Thread Dave Oxley

All,

I've just added a fourth disk to my Raid 5 set increasing the capacity 
from 1.5TB to 2.25TB. I have 4 partitions on this volume set; the fourth 
of which is 1.49TB which is then further subdivided using lvm2. So using 
fdisk I deleted partition 4 and recreated it from the same position 
which expanded the partition to 1.99TB. I later realised that it should 
have expanded to 2.24TB so I did some googling and found that you can't 
create a partition 2TB with fdisk. I found a page that suggested using 
GNU parted to create partitions of this size but it didn't mention 
whether this would work to expand a partition.


So basically does anyone have any experience moving from an fdisk 
partition table to a GNU parted partition table without losing 
filesystems, data, etc?


Cheers,
Dave.