[Ocfs2-users] Is there a way to expand a formated ocfs2 partition
without loosi ng the data on it?
Philippe Andries
PA at CAPITALATWORK.BE
Wed Oct 18 06:37:00 PDT 2006
Hello
I have the feeling this may not be the right forum for the following
question, but I d like to try it here anyway:
This is the case:
I had a 3x72GB HDD RAID5 shared external disk drives (HP MSA500),
totalizing about 145,6 GB of data.
I needed to increase the available amount of data, so I added a 4th 72GB HDD
and using HP ACU I expanded my existing RAID5 Array, I have now about 218,5
GB available.
But this is of course not reflected in my partition table. I had created 2
partitions on my drives, both formatted with ocfs2. I also run HP Mutlipath.
See the status here under:
[root at erasme ~]# fdisk -l
Disk /dev/cciss/c0d0: 36.4 GB, 36414750720 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 4427 35455455 8e Linux LVM
Disk /dev/cciss/c0d1: 218.5 GB, 218513571840 bytes
2 heads, 4 sectors/track, 53348040 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d1p1 1 488282 1953126 83 Linux
/dev/cciss/c0d1p2 488283 35565344 140308248 83 Linux
Disk /dev/cciss/c1d0: 218.5 GB, 218513571840 bytes
2 heads, 4 sectors/track, 53348040 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c1d0p1 1 488282 1953126 83 Linux
/dev/cciss/c1d0p2 488283 35565344 140308248 83 Linux
Disk /dev/md0: 1999 MB, 1999896576 bytes
2 heads, 4 sectors/track, 488256 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md1: 143.6 GB, 143675555840 bytes
2 heads, 4 sectors/track, 35077040 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
My question is :
I would like to know how to resize my partitions to reflect the changes.
The problem is that I cannot afford loosing the data already on the ocfs2
partition. (the database).
Is there a way to expand a formated ocfs2 partition without loosing the data
on it?
Thanks in advance for your answers,
Philippe Andries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20061018/826e05ea/attachment.html
More information about the Ocfs2-users
mailing list