Re: Expand a raid volume

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

 



Is partition 5 the last partition on that disk? If it is, you
theoretically can just delete partition 5, and then recreate it with a
bigger size. MAKE SURE TO TAKE A BACKUP FIRST....JUST IN CASE.

This is why LVM is your friend....If you had /dev/sda as a PV, and then
multiple VG's under that, with LV's under that....You could add the
disk, resize the PV, resize the VG and LV's and then resize the
filesystem, without making changes to the partition tables.

Thanks,
Tom Callahan



> On Tue, 2006-05-16 at 13:43 -0400, Dermot Paikkos wrote: 
> > Hi Admins,
> > 
> > I have a server with an Adaptec 2120S Raid controller. There are were 
> > 6 x 174GB disks and one hot spare. I moved the hotspare into the RAID 
> > 5 volume and the Adaptec Storage Manager shows the volume has grown 
> > from 681 to 821GB. 
> > 
> > My problem is that the OS doesn't see it that way. If I remount the 
> > volume it is still seen as a 681Gb volume.
> > 
> > /dev/sda5              681G   608G    38G  95% /data
> > 
> > It I do fdisk /dev/sda5 doesn't show me the same information, and 
> > doesn't list any size. The filesystem is ext3.
> > 
> > Disk /dev/sda5: 705.4 GB, 705416431104 bytes
> > 255 heads, 63 sectors/track, 85761 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> > 
> >      Device Boot      Start         End      Blocks   Id  System
> > 
> > When I tried to write the new disk label it failed
> > 
> > Calling ioctl() to re-read partition table.
> > 
> > WARNING: Re-reading the partition table failed with error 22: Invalid 
> > argument.
> > The kernel still uses the old table.
> > 
> > Does anyone know what I need to do to expand the current volume? Is 
> > it possible? 
> > 
> > TIA.
> > Dp.
> > 
> > -
> > : send the line "unsubscribe linux-admin"
> > in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux