vinum State Down Help?

Lee Dilkie lee at dilkie.com
Thu May 13 12:00:39 PDT 2004


i don't think you want to vinum a swap partition. you can just create the
swap partitions and add them to fstab( or if you run /stand/sysinstall to do
the disklabel, it'll populate fstab for you), the OS will nicely share
amongst all your swap partitions.

and if you only have one drive, why are you using vinum at all? am i missing
something?

Someone please correct me if I'm wrong.

>-----Original Message-----
>From: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Chris Collins
>Sent: Thursday, May 13, 2004 2:11 PM
>To: questions at freebsd.org
>Subject: vinum State Down Help?
>
>
>Hello
>
>I am trying to setup vinum but I am having a config problem I
>hope sombody
>can answer... I cannot get my /usr/ and /var and for some
>reason my swap is
>showing at 18G... What am I doing wrong?
>
>OUTOUT....
>
>vinum -> create vinum.conf
>1 drives:
>D YouCrazy              State: up       Device /dev/ad0s1h      Avail:
>384/19544 MB (1%)
>
>4 volumes:
>V root                  State: up       Plexes:       1 Size:
>      128 MB
>V swap                  State: up       Plexes:       1 Size:
>       18 GB
>V usr                   State: down     Plexes:       0 Size:
>        0  B
>V var                   State: down     Plexes:       0 Size:
>        0  B
>
>2 plexes:
>P root.p0             C State: up       Subdisks:     1 Size:
>      128 MB
>P swap.p0             C State: up       Subdisks:     3 Size:
>       18 GB
>
>4 subdisks:
>S root.p0.s0            State: up       PO:        0  B Size:
>      128 MB
>S swap.p0.s0            State: up       PO:        0  B Size:
>      112 MB
>S swap.p0.s1            State: up       PO:      112 MB Size:
>       18 GB
>S swap.p0.s2            State: up       PO:       18 GB Size:
>      256 MB
>vinum ->
>
>vinum.conf
>
>drive YouCrazy device /dev/ad0s1h
> volume root
>  plex org concat
>   sd len 262144s driveoffset -16s drive YouCrazy
> volume swap
>  plex org concat
>   sd len 230471s driveoffset 262409s drive YouCrazy
>volume usr
>   sd len 38485137s driveoffset 1541456s drive YouCrazy
> volume var
>   sd len 524288s driveoffset 492880s drive YouCrazy
>
>
>/dev/ad0s1 setup
>
>8 partitions:
>#        size   offset    fstype   [fsize bsize bps/cpg]
>  a:   262144        0    4.2BSD     2048 16384    94   #
>(Cyl.    0 - 260*)
>  b:   230471   262425      swap                        #
>(Cyl.  260*- 488*)
>  c: 40026609        0    unused        0     0         # (Cyl.    0 -
>39708*)
>  e:   524288   492896    4.2BSD     2048 16384    94   #
>(Cyl.  488*- 1009*)
>  f:   524288  1017184    4.2BSD     2048 16384    94   #
>(Cyl. 1009*- 1529*)
>  g: 38485137  1541472    4.2BSD     2048 16384    89   # (Cyl. 1529*-
>39708*)
>  h: 40026593       16     vinum
>
>df.....
>
>Filesystem    Size   Used  Avail Capacity  Mounted on
>/dev/ad0s1a   126M    35M    81M    30%    /
>/dev/ad0s1f   252M    12K   232M     0%    /tmp
>/dev/ad0s1g    18G   230M    16G     1%    /usr
>/dev/ad0s1e   252M   240K   232M     0%    /var
>procfs        4.0K   4.0K     0B   100%    /proc
>mirror#
>
>
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe at freebsd.org"
>




More information about the freebsd-questions mailing list