Date: Sat, 8 Feb 2003 18:34:04 +0100 (CET) From: Michael Reifenberger <root@nihil.reifenberger.com> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: freebsd-current@freebsd.org Subject: Re: vinum start & -current doesn't work as expected Message-ID: <20030208181905.Y664@nihil.reifenberger.com> In-Reply-To: <20030207225249.O33219@nihil.reifenberger.com> References: <20030207105857.T2514@nihil.reifenberger.com> <200302072056.h17KujgW073866@uriah.heep.sax.de> <20030207225249.O33219@nihil.reifenberger.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Feb 2003, Michael Reifenberger wrote: ... > > As a workaround, you can try setting > > > > vinum_load=YES > > vinum.autostart=YES > > > > in your /boot/loader.conf, /and/ remove the start_vinum line from > > rc.conf. Please tell me whether this gives different results. Bad things happen when doing the above. Vinum forgets his configuration on loading. I did the following: 1.) Configure a volume as: drive d0 device /dev/da0s1a drive d1 device /dev/da1s1a volume ablage setupstate plex name ablage.p0 org concat sd name ablage.p0.s0 drive d0 size 0b plex name ablage.p1 org concat sd name ablage.p1.s0 drive d1 size 0b 2.) Reboot 3.) During startup I get now: ... da0 at sbp0 bus 0 target 0 lun 0 da0: <Oxford S OXFORD IDE Devic 4133> Fixed Simplified Direct Access SCSI-4 device da0: 50.000MB/s transfers da0: 194481MB (398297088 512 byte sectors: 255H 63S/T 24792C) da1 at sbp0 bus 0 target 1 lun 0 da1: <Oxford S OXFORD IDE Devic 4133> Fixed Simplified Direct Access SCSI-4 device da1: 50.000MB/s transfers da1: 194481MB (398297088 512 byte sectors: 255H 63S/T 24792C) vinum: loaded cd0 at ata0 bus 0 target 1 lun 0 cd0: <TOSHIBA DVD-ROM SD-R2002 1230> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present vinum: reading configuration from da0s1a vinum: updating configuration from da1s1a Mounting root from ufs:/dev/ad0s3a ... 5.) ls -l /dev/vinum total 0 crw------- 1 root wheel 91, 0x40000001 8 Feb 18:15 control crw------- 1 root wheel 91, 0x40000000 8 Feb 18:15 controld 6.) Taking a look at /dev/da0s1a gives something like: ... ^@^@^@^@^@^@^@^@volume ablage state up plex name ablage.p0 state up org concat vol ablage plex name ablage.p1 state up org concat vol ablage sd name ablage.p0.s0 drive d0 plex ablage.p0 len 398296697s driveoffset 265s state up plexoffset 0s sd name ablage.p1.s0 drive d1 plex ablage.p1 len 398296697s driveoffset 265s state up plexoffset 0s ... 7.) Maybe not to late, doing a `vinum read /dev/da0s1 /dev/da1s1; vinum l`: ... nada ... 8.) Taking a look at /dev/da0s1a gives now something like: ... ^@^@^@^@IN VINO^@^@^@^A^@nihil^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@d0^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@£>B>!ã^C^@¹;E>&5^L^@^@^D^O{/^@^@^@^@^@^@^@^@ ^@^@ú<98>^C>^@^@^@^@ú<98>^C>^@^@^@^@ú<98>^C>^@^@^@^@^@^@ ^@^@^@^@^@^@rxh8^@^@^B^@xËÒ^A^@À^A^@^@^@^@^@`ÎKÐ^D^@^@^@^@^@^@^@^@^@^@^@°ª^WÃ^@^@^@^@^@^@^@^@^@^@^@^@PÝøÂ0Ñ÷ÂHr^\Ã^@<90>äÑ^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^C^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@<89><85>èþÿÿÙ<9D>¤þÿÿó^O^P<85>¤þÿÿó^O,À<89><85>äþÿ ÿ^O¶D<9A>^AÁà^Kó^O*Àó^O^Q<85>¤þÿÿÙ<85>^\ÿÿÿÙ<85>¤þÿÿÙÉØÌÙÌ^@^@^@^@ÿÿÙÉÞÄÙ<85>^XÿÿÿØÊÙÊØÍÙÌÞÂÙ<85>^\ÿÿÿØËÙÊÙ<9D>¤þÿÿÙÉó^O^P <85>¤þÿÿØ<85>^XÿÿÿÙÊØ<8D>^PÿÿÿÙÊó^O,ÀØÍÙÊ^E^@^D^@^@<89><85>ÜþÿÿØÄØÍÙÊÙ<9D>¤þÿÿó^O^P<85>¤þÿÿó^O,À<89><85>Øþÿÿ^O¶D<9A>^BÁà^Kó ^O*Àó^O^Q<85>¤þÿ^@^@^@^@^ .. (Hmmm. nix config) 9.) `cd /etc/vinum; vinum create firewire.conf`: 4 drives: D d1 State: up /dev/da1s1a A: 0/194480 MB (0%) D d0 State: up /dev/da0s1a A: 0/194480 MB (0%) 1 volumes: V ablage State: up Plexes: 2 Size: 189 GB 2 plexes: P ablage.p0 C State: up Subdisks: 1 Size: 189 GB P ablage.p1 C State: up Subdisks: 1 Size: 189 GB 2 subdisks: S ablage.p0.s0 State: up D: d0 Size: 189 GB S ablage.p1.s0 State: up D: d1 Size: 189 GB 10.) Goto 2.) Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030208181905.Y664>