Vinum troubleshooting

afreedma at mac.com afreedma at mac.com
Thu Sep 29 13:33:50 PDT 2016


Hi Stefan,

You were right - I missed the init step.

You were also right that init is a really slow process; it’s still going after 7 days… does that seem normal?

Also, every time I run vinum lp I get errors in /var/log/messages.

loki# vinum lp
P storage.p0         R5 State: initializing	Subdisks:     6	Size:       9315 GB

loki# tail -n 2 /var/log/messages
Sep 30 06:32:24 loki kernel: vinumioctl: invalid ioctl from process 17520 (vinum): 40906468
Sep 30 06:32:24 loki kernel: vinumioctl: invalid ioctl from process 17521 (vinum): 40906468

(It’s two rows each time.)

I’m fine to keep waiting for a really long init, I’m just starting to think it will never finish…

- Andrew

> On 22 Sep 2016, at 12:51 AM, Stefan Unterweger <232.20711 at chiffre.aleturo.com> wrote:
> 
> Hi Andrew,
> 
> Vinum is weird enough that I have fumbled around quite some time before
> finally getting it to work, and had to give up on lvm as well.  But once
> it works, I‘ve had no further problems with vinum.
> 
> So, for your problem:
> You -did- initialise your plex after creating it?
> That’s probably what ‘State: init’ is trying to day.
> 
> → ‘vinum init storage.p0’
> 
> * afreedma at mac.com on Mon, Sep 19, 2016 at 07:42:45AM +1000:
>> loki# vinum l
>> 6 drives:
>> D d1                    State: up	Device /dev/da0s1a	Avail: 13/1907725 MB (0%)
>> D d2                    State: up	Device /dev/da1s1a	Avail: 189438/2097150 MB (9%)
>> D d3                    State: up	Device /dev/da3s1a	Avail: 189438/2097150 MB (9%)
>> D d4                    State: up	Device /dev/da4s1a	Avail: 13/1907725 MB (0%)
>> D d5                    State: up	Device /dev/da5s1a	Avail: 13/1907725 MB (0%)
>> D d6                    State: up	Device /dev/da6s1a	Avail: 13/1907725 MB (0%)
>> 
>> 1 volumes:
>> V storage               State: down	Plexes:       1	Size:       9315 GB
>> 
>> 1 plexes:
>> P storage.p0         R5 State: init	Subdisks:     6	Size:       9315 GB
>> 
>> 6 subdisks:
>> S storage.p0.s0         State: empty	PO:        0  B Size:       1863 GB
>> S storage.p0.s1         State: empty	PO:      512 kB Size:       1863 GB
>> S storage.p0.s2         State: empty	PO:     1024 kB Size:       1863 GB
>> S storage.p0.s3         State: empty	PO:     1536 kB Size:       1863 GB
>> S storage.p0.s4         State: empty	PO:     2048 kB Size:       1863 GB
>> S storage.p0.s5         State: empty	PO:     2560 kB Size:       1863 GB
> 
> This should print out some messages that your subdisks are being
> initialised—and with drives this large, will take an awfully long time.
> 
> From vinum(8):
> | init [-S size] [-w] plex | subdisk
> |         vinum init initializes a subdisk by writing zeroes to it.  You
> |         can initialize all subdisks in a plex by specifying the plex
> |         name.  This is the only way to ensure consistent data in a plex.
> |         You must perform this initialization before using a RAID-5 plex.
> |         It is also recommended for other new plexes.  vinum initializes
> |         all subdisks of a plex in parallel.  Since this operation can
> |         take a long time, it is normally performed in the background.  If
> |         you want to wait for completion of the command, use the -w (wait)
> |         option.
> 
> Once it is through (perhaps even before that), you’ll find your RAID-5
> volume as /dev/vinum/vol/storage
> 
> 
>    Stefan
> 
> 
> -- 
> ▪ Die Internetbleibe.  Schick, magisch, leistungsstark.  https://internetbleibe.de/
> ▪ medoly media UG (haftungsbeschränkt) | Hausburgstraße 13, 10249 Berlin
>info at medolymedia.de | https://medolymedia.de/ | Tel. 030 609 826‒560 | Fax …‒569
> ▪ Geschäftsführer: Matthias Nothhaft | HRB 131198 (Amtsgericht Berlin-Charlottenburg), Sitz: Berlin, USt-ID: DE275221203




More information about the Users mailing list