Hi All,
We had a RHEL5.6 server which was installed with default settings on a
HW raid system. The raid was originally setup as raid1 with 2x2TB. Soon
we run out of storage, so we migrate to raid5. Now we have ~4TB, but
can't access the storage, because MBR supports only partitions up to 2TB.
So I've converted the MBR to GPT and fixed grub to boot again. That was
quite easy (following http://www.rodsbooks.com/gdisk/mbr2gpt.html).
But now i need to resize the physical LVM partition. And this is
something which makes me nervous.
Normally i would use fdisk to delete part2 and recreate it. Using parted
and resize command does not work because it is a LVM partition. and
mkpart does not know LVM as partition type too.
Finally i can use pvresize, but i have no idea if pvresize is working
correctly with GPT partitions and/or partitions size > 2TB.
In the end i have 2 options.
1) try pvresize and pray
- the way it should be, but scary
2) create a new LVM partition and add it to the volume group.
- uncool
So has anyone here done something before or any other ideas/comments?
Below some print outs which might be helpful.
parted:
Model: AMCC 9690SA-4I DISK (scsi)
Disk /dev/sda: 4000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 32.3kB 107MB 107MB ext3 Linux/Windows data
2 107MB 2000GB 2000GB Linux LVM lvm
pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 1.82 TB / not usable 225.00 KB
Allocatable yes
PE Size (KByte) 32768
Total PE 59601
Free PE 1
Allocated PE 59600
PV UUID C0dkqJ-QObR-qx8I-EQZh-LV65-w2Df-nFJhw
lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID lBPFKP-OYX9-rPVU-f2RN-iO4q-Z9LP-RyFbUs
LV Write Access read/write
LV Status available
# open 1
LV Size 1.81 TB
Current LE 59351
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 1uJ9kD-l9WD-gEjQ-grAz-uppa-Un3d-HijG6w
LV Write Access read/write
LV Status available
# open 1
LV Size 7.78 GB
Current LE 249
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--
Kind regards,
Soeren
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list