Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Feb 2001 00:23:59 -0800
From:      Randy Primeaux <randy@Cloudfactory.ORG>
To:        Greg Lehey <grog@lemis.com>
Cc:        Tony Landells <ahl@austclear.com.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: installing onto vinum 
Message-ID:  <200102020908.BAA12082@relay.ultimanet.com>
In-Reply-To: Message from Greg Lehey <grog@lemis.com>  of "Wed, 24 Jan 2001 17:01:57 %2B1030." <20010124170157.X37060@wantadilla.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Greg, Tony,

I got the following upon reconfiguration and reboot:

Can't open /dev/vinum/var: Device not configured
/dev/vinum/var: CAN"T CHECK FILESYSTEM
/dev/vinum/var: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY


When I boot -s, then operate vinum:
vinum resetconfig

# vinum create -f /vinum.cfg
vinum: loaded
vinum: drive root is up
vinum: var.p0 is up
vinum: var is up
   6:   sd length 524288s driveoffset 265s
** 6 Subdisk  is not associated with a drive: Invalid argument
`
   9:   sd length 8388608s driveoffset 524553s   
** 9 Subdisk  is not associated with a drive: Invalid argument

   12:  sd length 79574302s driveoffset 8913161s
** 12  Subdisk is not associated with a drive: Invalid argument


My new vinum configfile is:

drive root device /dev/ad4s1d
 volume var
  plex org concat
   sd length 524288s driveoffset 265s
 volume usr
  plex org concat
   sd length 8388608s driveoffset 524553s
 volume home
  plex org concat
   sd length 79574302s driveoffset 8913161s


Initial layout:
ad4s1a /          256M
ad4s1b swap   1048841
ad4s1e /var       256M
ad4s1f /usr         4G
ad4s1g /home 79574302

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   524288        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 32*)
  b:  1048841   524288      swap                        # (Cyl.   32*- 97*)
  c: 90060327        0    unused        0     0         # (Cyl.    0 - 5605*)
  e:   524288  1573129    4.2BSD     1024  8192    16   # (Cyl.   97*- 130*)
  f:  8388608  2097417    4.2BSD     1024  8192    16   # (Cyl.  130*- 652*)
  g: 79574302 10486025    4.2BSD     1024  8192    16   # (Cyl.  652*- 5605*)


Final layout:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   524288        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 32*)
  b:  1048576   524288      swap                        # (Cyl.   32*- 97*)
  c: 90060327        0    unused        0     0         # (Cyl.    0 - 5605*)
  d: 88487463  1572864     vinum                        # (Cyl.   97*- 5605*)
  e:   524288  1573129    4.2BSD     1024  8192    16   # (Cyl.   97*- 130*)
  f:  8388608  2097417    4.2BSD     1024  8192    16   # (Cyl.  130*- 652*)
  g: 79574302 10486025    4.2BSD     1024  8192    16   # (Cyl.  652*- 5605*)

/etc/fstab : (like so)

Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad4s1b           none            swap    sw              0       0
/dev/ad4s1a           /               ufs     rw              1       1
/dev/vinum/var        /var            ufs     rw              1       1
/dev/vinum/usr        /usr            ufs     rw              1       1
/dev/vinum/home       /home           ufs     rw              1       1
/dev/ad4s1g           /home           ufs     rw,noauto       2       2
/dev/ad4s1f           /usr            ufs     rw,noauto       2       2
/dev/ad4s1e           /var            ufs     rw,noauto       2       2
/dev/acd0c            /cdrom          cd9660  ro,noauto       0       0
proc                  /proc           procfs  rw              0       0


Should I start from scratch with my new disklabel, configfile, and
fstab configuration?

--
Randy Primeaux
randy@cloudfactory.org
tranze@hyperreal.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102020908.BAA12082>