I asked this earlier in the month, at present you
can't, the resize command will be released in ocfs2-tools
1.2.2.
From sunil's last email about this, the release should
be coming out next month?
Stephen
Stephen Kerr-Sheppard
T +44(0)1908 257469
F +44(0)1908 692791
E stephen.kerr-sheppard@imserv.invensys.com
W http://www.imserv.invensys.com
IMServ Europe Ltd
Scorpio Rockingham Drive Linford Wood Milton Keynes MK14 6LY
Registered in England and Wales No.2749624
Registered Address: Invensys Portland House Stag Place London SW1E 5BF
Disclaimer Notice
This message/attachment(s) are CONFIDENTIAL and may contain LEGALLY PRIVILEGED information. If this message/attachment(s) were not intended for you please contact the sender IMMEDIATELY and delete this message/attachment(s) from your computer. You must not copy, forward or disclose the contents of this message/attachment(s) to any other person. The views/opinions in this message are solely of the author and do not necessarily represent those of the company. Please check this message/attachment(s) for the presence of viruses. No liability for any damage caused by any virus transmitted by this message/attachment(s) is accepted by the company.
T +44(0)1908 257469
F +44(0)1908 692791
E stephen.kerr-sheppard@imserv.invensys.com
W http://www.imserv.invensys.com
IMServ Europe Ltd
Scorpio Rockingham Drive Linford Wood Milton Keynes MK14 6LY
Registered in England and Wales No.2749624
Registered Address: Invensys Portland House Stag Place London SW1E 5BF
Disclaimer Notice
This message/attachment(s) are CONFIDENTIAL and may contain LEGALLY PRIVILEGED information. If this message/attachment(s) were not intended for you please contact the sender IMMEDIATELY and delete this message/attachment(s) from your computer. You must not copy, forward or disclose the contents of this message/attachment(s) to any other person. The views/opinions in this message are solely of the author and do not necessarily represent those of the company. Please check this message/attachment(s) for the presence of viruses. No liability for any damage caused by any virus transmitted by this message/attachment(s) is accepted by the company.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Andries
Sent: 18 October 2006 14:37
To: '[email protected]'
Subject: [Ocfs2-users] Is there a way to expand a formated ocfs2 partitionwithout loosi ng the data on it?
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:
[EMAIL PROTECTED] ~]# 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
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
/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
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
/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
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
/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
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
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
_______________________________________________ Ocfs2-users mailing list [email protected] http://oss.oracle.com/mailman/listinfo/ocfs2-users
