bug-parted
[Top][All Lists]
Advanced

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

Re: Resize problem with LVM and SAN


From: Kreig DuBose
Subject: Re: Resize problem with LVM and SAN
Date: Fri, 28 Jan 2005 20:47:09 -0700



Many thanks for the reply.  First I want to say I understand that there are newer versions of parted out there but that I'm restricted to using the version I mentioned initially as it's what ships with RHEL3 update 3.

Regarding the following information:
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)

There isn't a FileSystem label showing .. Is that the problem?  If so is there a way for me to "tell" it ext3 or ext2 ?

Thanks
Kreig



On Thu, 2005-01-27 at 19:17, Mathieu Bruneau wrote:
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)
> 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
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bug-parted mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-parted

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

reply via email to

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