vinum install is stalled.......

vinum install is stalled.......

Post by Courtney Thoma » Sun, 30 Sep 2001 10:34:04



Greetings !

Trying to mirror a drive under 4.3-release using vinum,
I am attempting to insert a vinum partition on /dev/ad4 by subtracting
265 bytes from swap and overlaying /var & /usr with vinum [MIRRORING]
which = /var + /usr + 265bytes_of_Swap.......

disklabel -R ad4 disklabel.ad4

The only message I get in return is...

d overlaps e    ;/var
d overlaps f    ;/usr
#d = vinum

But nothing is written to ad4.

BTW, I include protofiles vinum.ad4 & disklabel.ad4 as attachments.

Afterwards, if I......

vinum create -f vinum.ad4

the mirrorING drive comes up as vol=UP,plex=UP,sd=UP, but no drive(s)
can be found and the mirrorED comes up as vol=down, plex=faulty &
sd=crashed, since no drive(s) are found, I assume.

If I try to edit the disklabel by.....

disklabel -W ad4

I get....
        operation not supported by device

and coupled with the inability of over-writing the disk's label with a
pre-edited protofile using disklabel -R, as stated above, I am stuck.

Gratefully,

Courtney

--
"Consistency is the hobgoblin of little mathematicians."

[ vinum.ad4 < 1K ]
drive d0 device /dev/ad4s1d
vol var
        plex org concat
                sd len 99225s drive d0
vol usr
        plex org concat
                sd len 0s drive d0

[ disklabel.ad4 < 1K ]
# /dev/ad4s1c:
type: ESDI
disk: ad4s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 39812
sectors/unit: 40131441
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   510237        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 506*)
  b:   817160   510237      swap                        # (Cyl.  506*- 1317*)
  c: 40131441        0    unused        0     0         # (Cyl.    0 - 39812*)
  d: 38804044  1327397     vinum                        # (Cyl.              )
  e:    99225  1327662    4.2BSD     1024  8192    16   # (Cyl. 1317*- 1415*)
  f: 38704554  1426887    4.2BSD     1024  8192    16   # (Cyl. 1415*- 39812*)

 
 
 

vinum install is stalled.......

Post by david parso » Sun, 30 Sep 2001 15:25:25




Quote:>This is a multi-part message in MIME format.
>--------------1644047B60850119B67D40A4
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit

>Greetings !

>Trying to mirror a drive under 4.3-release using vinum,
>I am attempting to insert a vinum partition on /dev/ad4 by subtracting
>265 bytes from swap and overlaying /var & /usr with vinum [MIRRORING]
>which = /var + /usr + 265bytes_of_Swap.......

>disklabel -R ad4 disklabel.ad4

>The only message I get in return is...

>d overlaps e        ;/var
>d overlaps f        ;/usr
>#d = vinum

   I mirrored a single filesystem (one disk==one filesystem) a few
   days ago, and what I did was to create a single-disk vinum on
   one of the new mirror disks

    run /stand/sysinstall to partition the disk.

    disklabel -e /dev/ad6s1 {where I dupped c to e, and set the fs type
    to vinum}

    in vinum, set
        drive diska device /dev/ad6s1e
        volume home
        plex name home.p0 org concat vol home
        subdisk name home.p0.s0 drive diska len 0

   then I newfsed it, mounted it on /mnt, hand-copied the old disk over,
   shut down the machine, removed the old disk, put in the other half of
   the mirror, brought everything back up, realized I didn't tweak rc.conf,
   tweaked rc.conf (added `start_vinum=YES'), rebooted, then

    run /stand/sysinstall to partition the disk.
    disklabel -e /dev/ad6s1 {same as before}

    in vinum, set
        drive diskb device /dev/ad4s1e
        plex name home.p1 org concat vol home
        subdisk name home.p1.s0 drive disk

    started the new plex, and danced a little victory dance as it started
    to mirror everything over.

    I guess if I was going to have multiple mirrored partitions on a
    spindle, I'd vinum each individually;  I'm sure that it's possible
    to do as you were describing and simply mirror the spindle, then
    scribble partitions into that, but the Vinum documentation is
    terrifyingly obtuse so I'm just pleased that I can get it working
    in this simple fashion.

    (Upon consideration, I think that you might be able to use subdisk
    to split things up, like:

        drive diska device /dev/ad6s1e
        drive diskb device /dev/ad4s1e
        volume usr
        volume var
        plex name usr.p0 org concat vol usr
        plex name usr.p1 org concat vol usr
        plex name var.p0 org concat vol var
        plex name var.p1 org concat vol var
        subdisk name usr.p0.s0 drive diska len <size of usr>
        subdisk name usr.p1.s0 drive diskb len <size of usr>
        subdisk name var.p0.s0 drive diska len <size of var>
        subdisk name var.p1.s0 drive diskb len <size of var>

    I'd try it, except it violates my one spindle = no more than one
    partition rule.)

                  ____
    david parsons \bi/  I remember the ``set fs type to vinum'' hint from
                   \/  the LAST time I tried to use vinum, but bailed and
                                                          settled for ccd.

 
 
 

vinum install is stalled.......

Post by Courtney Thoma » Tue, 02 Oct 2001 06:54:26


David,

Thanks so for your help.

I think my problem, at least at this point, precedes the vinum
configuration.

I can't write a disklabel to ad4 though I can to ad6.

ad4 does bootup and all seems to run OK though.

If I ......

        disklabel -W ad4

I get....

        iotctl DIOCWLABEL: Operation not supported by device

Your thoughts ?????

Thanks,

Courtney




> >This is a multi-part message in MIME format.
> >--------------1644047B60850119B67D40A4
> >Content-Type: text/plain; charset=us-ascii
> >Content-Transfer-Encoding: 7bit

> >Greetings !

> >Trying to mirror a drive under 4.3-release using vinum,
> >I am attempting to insert a vinum partition on /dev/ad4 by subtracting
> >265 bytes from swap and overlaying /var & /usr with vinum [MIRRORING]
> >which = /var + /usr + 265bytes_of_Swap.......

> >disklabel -R ad4 disklabel.ad4

> >The only message I get in return is...

> >d overlaps e   ;/var
> >d overlaps f   ;/usr
> >#d = vinum

>    I mirrored a single filesystem (one disk==one filesystem) a few
>    days ago, and what I did was to create a single-disk vinum on
>    one of the new mirror disks

>     run /stand/sysinstall to partition the disk.

>     disklabel -e /dev/ad6s1 {where I dupped c to e, and set the fs type
>     to vinum}

>     in vinum, set
>         drive diska device /dev/ad6s1e
>         volume home
>         plex name home.p0 org concat vol home
>         subdisk name home.p0.s0 drive diska len 0

>    then I newfsed it, mounted it on /mnt, hand-copied the old disk over,
>    shut down the machine, removed the old disk, put in the other half of
>    the mirror, brought everything back up, realized I didn't tweak rc.conf,
>    tweaked rc.conf (added `start_vinum=YES'), rebooted, then

>     run /stand/sysinstall to partition the disk.
>     disklabel -e /dev/ad6s1 {same as before}

>     in vinum, set
>         drive diskb device /dev/ad4s1e
>         plex name home.p1 org concat vol home
>         subdisk name home.p1.s0 drive disk

>     started the new plex, and danced a little victory dance as it started
>     to mirror everything over.

>     I guess if I was going to have multiple mirrored partitions on a
>     spindle, I'd vinum each individually;  I'm sure that it's possible
>     to do as you were describing and simply mirror the spindle, then
>     scribble partitions into that, but the Vinum documentation is
>     terrifyingly obtuse so I'm just pleased that I can get it working
>     in this simple fashion.

>     (Upon consideration, I think that you might be able to use subdisk
>     to split things up, like:

>         drive diska device /dev/ad6s1e
>         drive diskb device /dev/ad4s1e
>         volume usr
>         volume var
>         plex name usr.p0 org concat vol usr
>         plex name usr.p1 org concat vol usr
>         plex name var.p0 org concat vol var
>         plex name var.p1 org concat vol var
>         subdisk name usr.p0.s0 drive diska len <size of usr>
>         subdisk name usr.p1.s0 drive diskb len <size of usr>
>         subdisk name var.p0.s0 drive diska len <size of var>
>         subdisk name var.p1.s0 drive diskb len <size of var>

>     I'd try it, except it violates my one spindle = no more than one
>     partition rule.)

>                   ____
>     david parsons \bi/  I remember the ``set fs type to vinum'' hint from
>                    \/  the LAST time I tried to use vinum, but bailed and
>                                                           settled for ccd.

--
"Consistency is the hobgoblin of little mathematicians."
 
 
 

1. WHY->Vinum drives "auto" down hrs after ->vinum start

Greetings Again,

Under 4.1-release, I'm running Raid5 with 3 drives and after bootup, I
normally do a........
    vinum start
    mount /dev/vinum/raid /raid
and all appears well.

But after some period of time [hrs] , if I do a ........
    vinum list
I see that the 3 drives are all marked as down, but volumes, plexes and
subdisks are all still up.

But if I do a.......
    umount /raid
    vinum stop
    vinum start
    mount /dev/vinum/raid /raid
all seems to be OK again, when I........
    vinum list

What's going on here ?

Appreciatively,
Courtney

2. Real time filters & Linux...

3. Stall-man is Stall-ing

4. text file manipulation in ksh

5. WHATIS -> the proper sequence of events to install Vinum ?

6. mac partitioning software?

7. Problems installing vinum (RAID-5) on 3.4-R

8. printing

9. How to Install Vinum on Installation?

10. Stalled install

11. install stalled

12. Dilbert, Help, Slack Install... stall

13. x86 simple Qs - install stalled