Re: RAID, Vinum and different disksizes

2003-06-11 Thread Mark Rowlands
On Tuesday 10 June 2003 2:02 am, Greg 'groggy' Lehey wrote:
 On Monday,  9 June 2003 at 17:10:37 +0200, freeBSD wrote:
  I have three 120GB disks and one 170GB disk. The first three is forming
  a raid-5 volume using Vinum and the last one is just fooling around
  without any purpose.


  I do realise that I will loose 50Gb, but that's better than not
  using it at all.

 You can make another volume out of that.


Really?  Every time I think I have understand some of the vinum man page, 
along comes groggy to bugger me up.so I could label a disk with a 
vinum partition and a freebsd partion (if I can figure out the maths 
correctly)?


f: 296960000   4.2BSD  0 00   # (Cyl.0 - 29460*)
h: 1020280   29696000 vinum  # (Cyl. 29460*- 30472*)
c: 307162800  unused0 0# (Cyl.0 - 30472*)

sort of like that ?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RAID, Vinum and different disksizes

2003-06-09 Thread freeBSD
I have three 120GB disks and one 170GB disk. The first three is forming
a raid-5 volume using Vinum and the last one is just fooling around
without any purpose.

Can I add this 170GB to the raid5 volume in any way at all? I do realise
that I will loose 50Gb, but that's better than not using it at all.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID, Vinum and different disksizes

2003-06-09 Thread Mark Rowlands
On Monday 09 June 2003 5:10 pm, freeBSD wrote:
 I have three 120GB disks and one 170GB disk. The first three is forming
 a raid-5 volume using Vinum and the last one is just fooling around
 without any purpose.

 Can I add this 170GB to the raid5 volume in any way at all? I do realise
 that I will loose 50Gb, but that's better than not using it at all.



from http://www.daemonnews.org/22/vinum.html

Like striped plexes, RAID-5 plexes must have equal-sized subdisks and cannot 
currently be extended

from http://www.vinumvm.org/vinum/Future-directions.html

Extending striped and RAID-5 plexes is a slow complicated operation, but it 
is feasible. 

I am prepared, and desperately hope to be corrected on this but as far as I am 
aware it is only possible by backing up, recreating a new vinum configuration 
and restoring.

As for losing 50gb I'll swap you a 120gb for the 170gb  ;-)






___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID, Vinum and different disksizes

2003-06-09 Thread Joshua Oreman
On Mon, Jun 09, 2003 at 05:10:37PM +0200 or thereabouts, freeBSD seemed to write:
 I have three 120GB disks and one 170GB disk. The first three is forming
 a raid-5 volume using Vinum and the last one is just fooling around
 without any purpose.
 
 Can I add this 170GB to the raid5 volume in any way at all? I do realise
 that I will loose 50Gb, but that's better than not using it at all.

Sorry, no.
On the other hand, if the first three were a concat plex, you *could* do it,
and you wouldn't even lose 50gb!
Your best bet is either:
a) mount the 170gb on /usr2 or something
b) backup the data on the raid5, restore to a concat

HTH,
-- Josh

 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID, Vinum and different disksizes

2003-06-09 Thread Greg 'groggy' Lehey
On Monday,  9 June 2003 at 17:10:37 +0200, freeBSD wrote:
 I have three 120GB disks and one 170GB disk. The first three is forming
 a raid-5 volume using Vinum and the last one is just fooling around
 without any purpose.

 Can I add this 170GB to the raid5 volume in any way at all? 

There's nothing (much) stopping you from adding another 120 MB subdisk
to your RAID-5 plex.  I think you'll have to do an attach -f.  You
*will* lose the contents of the plex (in fact, you'll have to
initialize all four subdisks).  You'll have to back up and restore
your data.

 I do realise that I will loose 50Gb, but that's better than not
 using it at all.

You can make another volume out of that.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature