I am trying to stripe 36 50GB disks to make a 1.75TB
volume. However, SEVM 2.6 Solaris 2.6 will only let
me create one with 22 disks to make a 1.07TB volume.
If I try to create one with 23 disks, I get errors.
Printable View
I am trying to stripe 36 50GB disks to make a 1.75TB
volume. However, SEVM 2.6 Solaris 2.6 will only let
me create one with 22 disks to make a 1.07TB volume.
If I try to create one with 23 disks, I get errors.
Phil Lu wrote:[color=blue]
>
> I am trying to stripe 36 50GB disks to make a 1.75TB
> volume. However, SEVM 2.6 Solaris 2.6 will only let
> me create one with 22 disks to make a 1.07TB volume.
> If I try to create one with 23 disks, I get errors.[/color]
From man vxintro:
The Volume Manager supports volume lengths up to
2,147,483,647 disk sectors (one terabyte on most systems).
--
Charles Jardine - Computing Service, University of Cambridge
[email]cj10@cam.ac.uk[/email] Tel: +44 1223 334506, Fax: +44 1223 334679
Charles Jardine <cj10@cam.ac.uk> wrote:[color=blue]
>Phil Lu wrote:[color=green]
>>
>> I am trying to stripe 36 50GB disks to make a 1.75TB
>> volume. However, SEVM 2.6 Solaris 2.6 will only let
>> me create one with 22 disks to make a 1.07TB volume.
>> If I try to create one with 23 disks, I get errors.[/color]
>
>From man vxintro:
>
>The Volume Manager supports volume lengths up to
>2,147,483,647 disk sectors (one terabyte on most systems).
>
>--
>Charles Jardine - Computing Service, University of Cambridge
>cj10@cam.ac.uk Tel: +44 1223 334506, Fax: +44 1223 334679[/color]
I read from Richard McDougall's "Getting to know the Solaris
filesystem" that veritas supports filesystems up to 8,000 TB
(2^63 bytes). Is he mistaken? Is there veritas documentation
that delineates all limitations?
Is there a way to tell your system to use 8192 byte disk sectors
instead of 512?
Notice that both invocations below use a volume length lower
than the man vxintro limit.
====== Output of ERROR with 23 disks ==========================
Executing: '/usr/sbin/vxassist -g 2 -U fsgen -p maxsize layout=stripe,nolog
nstripe=23 stripeunit=4096'.
2147481600
Expected: 0. Return Code: 0.
---- Making Volume ...
Executing: '/usr/sbin/vxassist -g 2 -U fsgen make v2 2147481600
layout=stripe,nolog nstripe=23 stripeunit=4096'.
Error: (exp=0!=24): Executing '/usr/sbin/vxassist -g 2 -U fsgen make v2
2147481600 layout=stripe,nolog nstripe=23 stripeunit=4096':
vxvm:vxvol: ERROR: Volume v2 has no associated data plexes
vxvm:vxassist: ERROR: Could not initialize volume v2
Expected: 0. Return Code: 24.
====== Output of SUCCESS with 22 disks ========================
Executing: '/usr/sbin/vxassist -g 2 -U fsgen -p maxsize layout=stripe,nolog
nstripe=22 stripeunit=4096'.
2146828288
Expected: 0. Return Code: 0.
---- Making Volume ...
Executing: '/usr/sbin/vxassist -g 2 -U fsgen make v2 2146828288
layout=stripe,nolog nstripe=22 stripeunit=4096'.
Expected: 0. Return Code: 0.
Phil Lu wrote:[color=blue]
>
> Charles Jardine <cj10@cam.ac.uk> wrote:[color=green]
> >Phil Lu wrote:[color=darkred]
> >>
> >> I am trying to stripe 36 50GB disks to make a 1.75TB
> >> volume. However, SEVM 2.6 Solaris 2.6 will only let
> >> me create one with 22 disks to make a 1.07TB volume.
> >> If I try to create one with 23 disks, I get errors.[/color]
> >
> >From man vxintro:
> >
> >The Volume Manager supports volume lengths up to
> >2,147,483,647 disk sectors (one terabyte on most systems).
> >[/color]
> I read from Richard McDougall's "Getting to know the Solaris
> filesystem" that veritas supports filesystems up to 8,000 TB
> (2^63 bytes). Is he mistaken?[/color]
I expect that this is intended to refer to the Verites File System,
which uses 64-bit arithmetic. The Volume Manager is a different
matter.
[color=blue]
> Is there a way to tell your system to use 8192 byte disk sectors
> instead of 512?[/color]
I think not. This is a property of the disc hardware.
[color=blue]
>
> Notice that both invocations below use a volume length lower
> than the man vxintro limit.
>
> ====== Output of ERROR with 23 disks ==========================
> Executing: '/usr/sbin/vxassist -g 2 -U fsgen -p maxsize layout=stripe,nolog
> nstripe=23 stripeunit=4096'.
> 2147481600
> Expected: 0. Return Code: 0.[/color]
This has clearly given the wrong answer. 2147481600 is not divisible
by 23. Since 22 stripes gives 2146828288 sectors, one would expect
23 stripes to give 2244411392 sectors, which exceeds the limit.
I expect you have provoked a bug in vxassist, by asking it to
solve a problem which overflows in 32 bit arithmetic.
--
Charles Jardine - Computing Service, University of Cambridge
[email]cj10@cam.ac.uk[/email] Tel: +44 1223 334506, Fax: +44 1223 334679