Re: Vinum um eine Platte erweitern

From: Greg Lehey <grog(at)freebsd.org>
Date: Sat, 13 Oct 2001 16:54:26 +0930

On Friday, 12 October 2001 at 16:17:01 +0930, Greg Lehey wrote:
> On Thursday, 11 October 2001 at 6:15:04 +0200, Hendrik Scholz wrote:
>> Moin Moin!
>>
>> Folgende Konfiguration soll um eine Platte erweitert werden:
>>
>> drive d1 device /dev/ad3e
>> drive d2 device /dev/ad2e
>>
>> volume media
>>
>> plex org concat
>> sd length 39260m drive d1
>> sd length 58619m drive d2
>>
>> Ich habe ueber ne andere Config-Datei ein drive d3 angelegt, so das
>> vinum l folgendes zeigt:
>>
>> 3 drives:
>> D d3 State: up Device /dev/ad1s1e Avail: 0/78159 MB (0%)
>> D d2 State: up Device /dev/ad2s1e Avail: 0/58619 MB (0%)
>> D d1 State: up Device /dev/ad3s1e Avail: 0/39260 MB (0%)
>>
>> 2 volumes:
>> V media State: up Plexes: 1 Size: 95 GB
>> V neu State: up Plexes: 1 Size: 76 GB
>>
>> 2 plexes:
>> P media.p0 C State: up Subdisks: 2 Size: 95 GB
>> P neu.p0 C State: up Subdisks: 1 Size: 76 GB
>>
>> 3 subdisks:
>> S media.p0.s0 State: up PO: 0 B Size: 38 GB
>> S media.p0.s1 State: up PO: 38 GB Size: 57 GB
>> S neu.p0.s0 State: up PO: 0 B Size: 76 GB
>>
>> $ vinum attach neu.p0 media
>> Can't attach neu.p0 to media: Invalid argument (22)
>
> Hmm. Das sieht wie ein Bug aus. Bekommst Du eine Konsolemeldung?

War's auch, allerdings nicht dort, wo ich erwartet habe. Mein
Fehlerfall lag daran, dass alles geklappt hat, aber trotzdem ein
Fehler gemeldet wurde:

On Saturday, 13 October 2001 at 0:22:12 -0700, Greg Lehey wrote:
> grog 2001/10/13 00:22:12 PDT
>
> Modified files:
> sys/dev/vinum vinumioctl.c
> Log:
> attachobject: Return correct status after successfully attaching a
> plex.
>
> Indirectly found by: Hendrik Scholz <hscholz(at)perikles.toppoint.de>
>
> Revision Changes Path
> 1.31 +2 -1 src/sys/dev/vinum/vinumioctl.c

Greg

--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 13 Oct 2001 - 09:24:41 CEST

search this site