Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2000 10:54:16 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Kevin Bailey <noone@nowhere.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: No /dev/vinum/rstripe
Message-ID:  <20000709105416.D13892@wantadilla.lemis.com>
In-Reply-To: <3967ADEF.6D40666A@nowhere.com>
References:  <3967ADEF.6D40666A@nowhere.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday,  8 July 2000 at 15:40:48 -0700, Kevin Bailey wrote:
> Hi all,
>
> I must be doing something real stupid. I've followed the instructions
> in vinum(4) and vinum(8) to make a simple 2 disk striped plex, everything
> looks ok (well, up, anyways) yet there's no /dev/vinum/rstripe device
> for me to newfs.
>
> Anyone have any ideas what I'm doing wrong ?

Reading the man page?

Sorry, the man page was in error.  It's fixed now (in 4.0-STABLE), but
in 4.0-RELEASE it still referred to the now-defunct old names for the
raw devices.  Ignore the 'r' and do:

  # newfs -v /dev/vinum/stripe.

>
> This is on a brand new 4.0 install.
>
> Log follows:
>
> Script started on Sat Jul  8 14:24:14 2000
> golden# disklabel da0
> # /dev/rda0c:
> type: SCSI
> disk: da0s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 42
> tracks/cylinder: 251
> sectors/cylinder: 10542
> cylinders: 844
> sectors/unit: 8899737
> 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:  1048576   131072    4.2BSD     1024  8192    16 	# (Cyl.   12*- 111*)
>   b:   131072        0      swap                    	# (Cyl.    0 - 12*)
>   c:  8899737        0    unused        0     0       	# (Cyl.    0 - 844*)
>   e:  7720089  1179648     vinum                    	# (Cyl.  111*- 844*)
> golden# disklabel da1
> # /dev/rda1c:
> type: SCSI
> disk: da1s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 553
> sectors/unit: 8899737
> 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]
>   b:   131072        0      swap                    	# (Cyl.    0 - 8*)
>   c:  8899737        0    unused        0     0       	# (Cyl.    0 - 553*)
>   e:  1048576   131072    4.2BSD     1024  8192    16 	# (Cyl.    8*- 73*)
>   f:  7720089  1179648     vinum                    	# (Cyl.   73*- 553*)
> golden# ls /dev/da*
> /dev/da0	/dev/da0s1e	/dev/da1g	/dev/da2	/dev/da3a
> /dev/da0a	/dev/da0s1f	/dev/da1h	/dev/da2a	/dev/da3b
> /dev/da0b	/dev/da0s1g	/dev/da1s1	/dev/da2b	/dev/da3c
> /dev/da0c	/dev/da0s1h	/dev/da1s1a	/dev/da2c	/dev/da3d
> /dev/da0d	/dev/da0s2	/dev/da1s1b	/dev/da2d	/dev/da3e
> /dev/da0e	/dev/da0s3	/dev/da1s1c	/dev/da2e	/dev/da3f
> /dev/da0f	/dev/da0s4	/dev/da1s1d	/dev/da2f	/dev/da3g
> /dev/da0g	/dev/da1	/dev/da1s1e	/dev/da2g	/dev/da3h
> /dev/da0h	/dev/da1a	/dev/da1s1f	/dev/da2h	/dev/da3s1
> /dev/da0s1	/dev/da1b	/dev/da1s1g	/dev/da2s1	/dev/da3s2
> /dev/da0s1a	/dev/da1c	/dev/da1s1h	/dev/da2s2	/dev/da3s3
> /dev/da0s1b	/dev/da1d	/dev/da1s2	/dev/da2s3	/dev/da3s4
> /dev/da0s1c	/dev/da1e	/dev/da1s3	/dev/da2s4
> /dev/da0s1d	/dev/da1f	/dev/da1s4	/dev/da3
> golden# find /dev/vinum
> /dev/vinum
> /dev/vinum/drive
> /dev/vinum/plex
> /dev/vinum/sd
> /dev/vinum/vol
> /dev/vinum/Control
> /dev/vinum/control
> /dev/vinum/controld
> golden# vinum stripe -v /dev/da0s1e /dev/da1s1f
> drive vinumdrive0 device /dev/da0s1e
> drive vinumdrive1 device /dev/da1s1f
> volume vinum0
>   plex name vinum0.p0 org striped 256k
>     sd name vinum0.p0.s0 drive vinumdrive0 size 7719824b
>     sd name vinum0.p0.s1 drive vinumdrive1 size 7719824b
> V vinum0                State: up	Plexes:       1	Size:       7538 MB
> P vinum0.p0           S State: up	Subdisks:     2	Size:       7538 MB
> S vinum0.p0.s0          State: up	PO:        0  B Size:       3769 MB
> S vinum0.p0.s1          State: up	PO:      256 kB Size:       3769 MB
>
> golden# find /dev/vinum
> /dev/vinum
> /dev/vinum/drive
> /dev/vinum/plex
> /dev/vinum/plex/vinum0.p0
> /dev/vinum/sd
> /dev/vinum/sd/vinum0.p0.s0
> /dev/vinum/sd/vinum0.p0.s1
> /dev/vinum/vol
> /dev/vinum/vol/vinum0
> /dev/vinum/vol/vinum0.plex
> /dev/vinum/vol/vinum0.plex/vinum0.p0
> /dev/vinum/vol/vinum0.plex/vinum0.p0.sd
> /dev/vinum/Control
> /dev/vinum/control
> /dev/vinum/controld
> /dev/vinum/vinum0
> golden# find /dev/rvinum
> find: /dev/rvinum: No such file or directory
> golden# vinum list
> 2 drives:
> D vinumdrive0           State: up	Device /dev/da0s1e	Avail: 0/3769 MB (0%)
> D vinumdrive1           State: up	Device /dev/da1s1f	Avail: 0/3769 MB (0%)
>
> 1 volumes:
> V vinum0                State: up	Plexes:       1	Size:       7538 MB
>
> 1 plexes:
> P vinum0.p0           S State: up	Subdisks:     2	Size:       7538 MB
>
> 2 subdisks:
> S vinum0.p0.s0          State: up	PO:        0  B Size:       3769 MB
> S vinum0.p0.s1          State: up	PO:      256 kB Size:       3769 MB
> golden# cat /var/tmp/vinum_history
>  8 Jul 2000 13:16:21.275126 *** vinum started ***
>  8 Jul 2000 13:16:21.302799 *** Created devices ***
>  8 Jul 2000 13:16:21.480673 stripe /dev/da0s1e /dev/da1s1f
>  8 Jul 2000 13:20:07.363390 *** vinum started ***
>  8 Jul 2000 13:20:07.364168 start
>  8 Jul 2000 06:29:36.449679 *** vinum started ***
>  8 Jul 2000 06:29:36.487782 start
>  8 Jul 2000 06:29:36.592271 *** Created devices ***
>  8 Jul 2000 06:30:09.585745 *** vinum started ***
>  8 Jul 2000 06:30:09.586537 info
>  8 Jul 2000 06:30:16.501284 *** vinum started ***
>  8 Jul 2000 06:30:16.502049 -v info
>  8 Jul 2000 06:30:23.697858 *** vinum started ***
>  8 Jul 2000 06:30:23.698630 info -v
>  8 Jul 2000 06:30:34.622724 *** vinum started ***
>  8 Jul 2000 06:30:34.623489 -h
>  8 Jul 2000 06:30:37.471903 *** vinum started ***
>  8 Jul 2000 06:30:37.472658 help
>  8 Jul 2000 13:37:05.187994 *** vinum started ***
>  8 Jul 2000 13:37:05.226561 list
>  8 Jul 2000 13:38:56.548952 *** vinum started ***
>  8 Jul 2000 13:38:56.549754 printconfig
>  8 Jul 2000 13:39:20.402551 *** vinum started ***
>  8 Jul 2000 13:39:20.410677 resetconfig
>  8 Jul 2000 13:39:27.732934 *** Created devices ***
>  8 Jul 2000 13:39:20.410677 resetconfig
>  8 Jul 2000 13:39:27.732934 *** Created devices ***
>  8 Jul 2000 13:39:34.179621 *** vinum started ***
>  8 Jul 2000 13:39:34.180379 print config
>  8 Jul 2000 13:39:39.049026 *** vinum started ***
>  8 Jul 2000 13:39:39.049755 printconfig
>  8 Jul 2000 13:40:11.693954 *** vinum started ***
>  8 Jul 2000 13:40:11.694733 stripe /dev/da0s1e /dev/da1s1f
>  8 Jul 2000 13:40:18.830620 *** vinum started ***
>  8 Jul 2000 13:40:18.831370 printconfig
>  8 Jul 2000 13:42:57.908953 *** vinum started ***
>  8 Jul 2000 13:42:57.909722 start
>  8 Jul 2000 13:44:30.252259 *** vinum started ***
>  8 Jul 2000 13:44:30.253054 list
>  8 Jul 2000 06:50:46.982436 *** vinum started ***
>  8 Jul 2000 06:50:47.023914 list
>  8 Jul 2000 06:51:28.927847 *** vinum started ***
>  8 Jul 2000 06:51:28.928683 resetconfig
>  8 Jul 2000 06:51:31.594232 *** Created devices ***
>  8 Jul 2000 06:51:28.928683 resetconfig
>  8 Jul 2000 06:51:31.594232 *** Created devices ***
>  8 Jul 2000 14:09:15.347120 *** vinum started ***
>  8 Jul 2000 14:09:15.373075 info
>  8 Jul 2000 14:09:19.561624 *** vinum started ***
>  8 Jul 2000 14:09:19.562388 list
>  8 Jul 2000 14:10:47.784271 *** vinum started ***
>  8 Jul 2000 14:10:47.785081 stripe -v /dev/da0s1e /dev/da1s1f
>  8 Jul 2000 14:16:28.339997 *** vinum started ***
>  8 Jul 2000 14:16:28.381377 start -v
>  8 Jul 2000 14:16:28.477435 *** Created devices ***
>  8 Jul 2000 14:16:33.221627 *** vinum started ***
>  8 Jul 2000 14:16:33.222396 list
>  8 Jul 2000 14:18:02.111351 *** vinum started ***
>  8 Jul 2000 14:18:02.112126 makedev
>  8 Jul 2000 14:18:02.112420 *** Created devices ***
>  8 Jul 2000 14:23:35.570415 *** vinum started ***
>  8 Jul 2000 14:23:35.571196 resetconfig
>  8 Jul 2000 14:23:38.559331 *** Created devices ***
>  8 Jul 2000 14:23:35.571196 resetconfig
>  8 Jul 2000 14:23:38.559331 *** Created devices ***
>  8 Jul 2000 14:23:48.614725 *** vinum started ***
>  8 Jul 2000 14:23:48.615485 list
>  8 Jul 2000 14:25:29.201496 *** vinum started ***
>  8 Jul 2000 14:25:29.210583 stripe -v /dev/da0s1e /dev/da1s1f
>  8 Jul 2000 14:45:55.772357 *** vinum started ***
>  8 Jul 2000 14:45:55.773190 list
> golden# exit
> golden# exit
>
> Script done on Sat Jul  8 14:49:53 2000
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


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?20000709105416.D13892>