From: Tom Callahan <callahant@tessco.com>
To: dermot@sciencephoto.co.uk
Cc: linux-admin@vger.kernel.org
Subject: Re: Expand a raid volume
Date: Tue, 16 May 2006 14:24:16 -0400 [thread overview]
Message-ID: <1147803856.6153.9.camel@callahan_lt.tessco.com> (raw)
In-Reply-To: <1147803062.6153.7.camel@callahan_lt.tessco.com>
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.
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin"
> > in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2006-05-16 18:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-16 17:43 Expand a raid volume Dermot Paikkos
[not found] ` <1147803062.6153.7.camel@callahan_lt.tessco.com>
2006-05-16 18:24 ` Tom Callahan [this message]
2006-05-17 11:31 ` Dermot Paikkos
2006-05-20 11:35 ` kalinix
2006-05-20 20:02 ` urgrue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1147803856.6153.9.camel@callahan_lt.tessco.com \
--to=callahant@tessco.com \
--cc=dermot@sciencephoto.co.uk \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).