Re: increase size of a raid partition
- From: Eric <notAvalidEmail@xxxxxxxxx>
- Date: Sat, 22 Dec 2007 09:02:21 -0800
David Wührer wrote:
Eric wrote:
My Raid 0 disks have 3 partiitons, the second partition was swap which i
dont need as its never used. I deleted the partition and reformated it as
ext3, but what i really want to do is to merge it with the partition next
to it (partition 1) becuase that partition needs more space.I can mount
it on a dir in partition 1 but that doesnt really solve my problem. How
do i delete partition 2 and add its space to partition 1? I'm using a 2.6
kernel on x86 system
Thanks
Eric
Assuming your file system is ext3, resize2fs
Copy all data from partition 1 to the new partition (cp -ra); adapt grub
(or lilo) and /etc/fstab on the new partition.
If you can boot from the new partition, delete the old partition.
Then, use resize2fs to expand across both. (Starting block has to remain
the same.)
Cant do that, partition 1 is 7.8 gig and partition 2 is 3 gig
partition 2 is empty and unsed, but partition 1 is nearly full
My entire filesystem is ext3.
Eric
.
- Follow-Ups:
- Re: increase size of a raid partition
- From: Luc The Perverse
- Re: increase size of a raid partition
- References:
- increase size of a raid partition
- From: Eric
- Re: increase size of a raid partition
- From: David Wührer
- increase size of a raid partition
- Prev by Date: Re: increase size of a raid partition
- Next by Date: Re: increase size of a raid partition
- Previous by thread: Re: increase size of a raid partition
- Next by thread: Re: increase size of a raid partition
- Index(es):
Relevant Pages
|
|