bug-parted
[Top][All Lists]
Advanced

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

Resize problem with LVM and SAN


From: Kreig DuBose
Subject: Resize problem with LVM and SAN
Date: Thu, 27 Jan 2005 16:45:37 -0700

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)
lvm-1.0.8-5
parted-1.6.3-29.3

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)

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

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):

Thanks.
Kreig



reply via email to

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