[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resize problem with LVM and SAN

From: Mathieu Bruneau
Subject: Re: Resize problem with LVM and SAN
Date: Thu, 27 Jan 2005 21:17:27 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Kreig DuBose wrote:
Hello all-

I'm running into what seems to be a somewhat unique problem. First my configuration.

I have a SAN attached to a system running RedHat. The particulars are below:

RHEL3 u3 (2.4.21-20ELsmp)

What I've created is a RAID 5 Array on the SAN (3x73GB) drives. No problems there. On that Array I've created a volume group of the entire allocated space (approx 135GB). Within this volume group I've created 3 logical volumes of 45GB a piece (formated ext3).

All this works fine. Now I've added another disk into the array and have grown the array.

Initially the partition /dev/sdc1 was created with fdisk (sorry :( parted is fairly new to me).

Upon finishing the rebuild of the array I rebooted the system (couldn't find another good way to get it to re-read the new sizing) and parted see's the new array at it's proper size (approximately 200GB).

Now I'm trying to grow the existing partition:

Using /dev/sdc
Information: The operating system thinks the geometry on /dev/sdc is
26577/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
(parted) print
Disk geometry for /dev/sdc: 0.000-208483.328 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031 138984.213  primary               lvm

(parted) resize 1 0.031 200000.0
Error: Could not detect file system.

Disk /dev/sdc: 218.6 GB, 218610614272 bytes
255 heads, 63 sectors/track, 26577 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdc1             1     17718 142319803+  8e  Linux LVM

Command (m for help):



Bug-parted mailing list

I don't think your configuration should cause any trouble...

I'M not sure but parted 1.6.3 is quite old maybe it was unable to detect ext3 partition back at that time. But even yet parted doesnt handle the journaling part of the ext3! You will have to disable it (thus putting it back to ext2) and reenable it after the resize

Maybe you should give a try to a more recent parted too... we are now at 1.6.20
Mathieu Bruneau
aka ROunofF

GPG keys available @ http://rounoff.darktech.org

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.0 - Release Date: 2005-01-27

reply via email to

[Prev in Thread] Current Thread [Next in Thread]