> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>>> Growing an array has been discussed on list before. the short answer is
> either use LVM (and not RAID - or RAID1) or forget it.
> Growing the
> filesystem is easy - growing a RAID5 / RAID6 array is not practical.
> RAID4 can be grown, but is generally not supported except on high-end
> storage systems (where you DO need to throw more disk in, grow a
> filesystem and carry on without down-time. See NetApp's WAFL for an
> example of this.)
>> I'm open to correction on this, of course - and further developments
> may mean that what's impractical on Linux today becomes the 'done thing'
> tomorrow :-)
>> Hope this helps.
> Best regards,
> -->Gar
Actually you can and should use RAID.
e.g.: you have a RAID1, and you need to grow it.
Well simply create a new LUN with your shiny new drives (JBOD,
RAID1/2/3/4/5/10), then LVM across the two ARRAYS. This is what LVM was
designed for and it works very well.
Remember, RAID is simply for redundancy, the LUN is presented to the OS,
not the disks as such, therefore adding a new RAID array is exactly as
easy as adding a JBOD to an LVM volume.
Here is an example of this:
Personalities : [raid1]
read_ahead 1024 sectors
Event: 3
md0 : active raid1 sdb1[1] sda1[0]
102144 blocks [2/2] [UU]
md1 : active raid1 sdb2[1] sda2[0]
17680128 blocks [2/2] [UU]
md2 : active raid1 sdd1[1] sdc1[0]
8883840 blocks [2/2] [UU]
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/Volume00/LogVol00
6.8G 4.1G 2.4G 64% /
/dev/md0 97M 24M 69M 26% /boot
/dev/Volume00/LogVol03
5.3G 2.2G 2.8G 45% /home
none 502M 0 502M 0% /dev/shm
/dev/Volume00/LogVol01
13G 1.5G 11G 13% /var
Works grand.
--
Conor Wynne,
Dublin,
Irlande.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!