Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 15:00:22 -0400
From:      "Lee Dilkie" <lee@dilkie.com>
To:        "'Chris Collins'" <collins@collins-ca.com>, <questions@freebsd.org>
Subject:   RE: vinum State Down Help? 
Message-ID:  <060a01c4391c$8b9e9570$c10133ce@dilkie.com>
In-Reply-To: <20040513180056.M8800@collins-ca.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
>[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Chris Collins
>Sent: Thursday, May 13, 2004 2:11 PM
>To: questions@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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?060a01c4391c$8b9e9570$c10133ce>