Date: Wed, 19 Jan 2000 11:32:40 +0100 From: rene@xs4all.nl To: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> Cc: Greg Lehey <grog@lemis.com>, questions@FreeBSD.ORG Subject: Re[2]: vinum question : automatic mounting at boot, NFS? Message-ID: <9481.000119@xs4all.nl> In-Reply-To: <20000119004612.D66943@cc942873-a.ewndsr1.nj.home.com> References: <20000119004612.D66943@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hija Crist, Wednesday, January 19, 2000, 06:46:12, you seem to have written: CJC> On Tue, Jan 18, 2000 at 05:53:16PM +0100, rene@xs4all.nl wrote: >> Hija Greg, >> >> Tuesday, January 18, 2000, 12:05:30, you seem to have written: >> GL> On Monday, 17 January 2000 at 14:17:59 +0100, rene@xs4all.nl wrote: >> >> Hija Olaf, >> >> >> >> Sunday, January 16, 2000, 23:53:48, you seem to have written: >> >>> On Sun 16 Jan 2000 at 20:54:03 +0100, rene@xs4all.nl wrote: >> >>> >> >>> Since it looks like the only thing that you really do by hand is: >> >>> >> >>>> bash-2.02# mount /dev/vinum/myvol /mnt/large >> >>> >> >>> putting it in /etc/fstab should be enough. Something like >> >>> >> >>> # filesys mount point type access dump fsck >> >>> # location + opts freq pass >> >>> >> >>> /dev/vinum/myvol /mnt/large ffs rw 1 2 >> >>> >> >>> should do it. Unless maybe this tries to mount it too early in the boot >> >>> sequence. In that case, make it >> >>> >> >>> /dev/vinum/myvol /mnt/large ffs rw,noauto 1 2 >> >>> >> >>> so that the initial mount -a will not try to mount it yet, and put the >> >>> following in /etc/rc.local: >> >>> >> >>> mount /mnt/large >> >>> >> >>> -Olaf (none of this is vinum-sprecific, by te way). >> >> >> >> Thanx for your reply. However, it didn't quite fix it; (after booting) >> >> >> >> bash-2.02# mount /mnt/large >> >> mount: exec mount_ffs not found in /sbin, /usr/sbin: No such file or directory >> >> >> >> if I change the type field in /etc/fstab to 'ufs' instead of 'ffs', I >> >> get a filesystemcheck error; /dev/vinum/rmyvol: device not configured >> >> >> >> this is probably coz at that time, vinum hasn't started yet. >> >> GL> Correct. You should set start_vinum in your rc.conf. >> >> messenger:/usr/home/rene # cat /etc/rc.conf >> # This file now contains just the overrides from /etc/defaults/rc.conf >> # please make all changes to this file. >> >> # -- sysinstall generated deltas -- # >> gateway_enable="YES" >> nfs_server_enable="YES" >> network_interfaces="xl0 lo0" >> ifconfig_xl0="inet 194.109.23.212 netmask 255.255.255.240" >> defaultrouter="194.109.23.209" >> hostname="messenger" >> domainname="outerheaven.net" >> inetd_enable="NO" >> portmap_enable="NO" >> nfs_client_enable="NO" >> rpc_statd_enable="NO" >> syslogd_flags="-s" >> start_vinum="YES" >> >> >> >> for completeness, the line from fstab: >> >> >> >> /dev/vinum/myvol /mnt/large ufs rw,noauto 1 2 >> >> GL> Was that a complete statement? >> >> I don't quite understand your question... CJC> OK, I'm really begining to get tired of this thread. Can we start CJC> over? sure, but most of the info you requested I posted already, earlier in the thread. CJC> A couple of questions and ideas: CJC> 1) What FreeBSD version are you running? bash-2.02# uname -a FreeBSD messenger 3.2-STABLE FreeBSD 3.2-STABLE #3: Mon Dec 13 18:59:30 CET 1999 nger:/usr/src/sys/compile/MESSENGER-EXPERIMENTAL i386 CJC> 2) What does the dmesg output look like after a boot (before manually CJC> trying to run anything)? Are there any messages to the screen not CJC> making it to the dmesg? bash-2.02# dmesg Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-STABLE #3: Mon Dec 13 18:59:30 CET 1999 rene@messenger:/usr/src/sys/compile/MESSENGER-EXPERIMENTAL Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 233864315 Hz CPU: Pentium/P55C (233.86-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 67043328 (65472K bytes) avail memory = 62291968 (60832K bytes) Preloaded elf kernel "kernel" at 0xc02c8000. Probing for devices on PCI bus 0: chip0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> rev 0x04 on pci0.0.0 chip1: <AcerLabs M5243 PCI-PCI bridge> rev 0x04 on pci0.1.0 chip2: <PCI to 0x80 bridge (vendor=10b9 device=7101)> rev 0x00 on pci0.3.0 chip3: <AcerLabs M1533 portable PCI-ISA bridge> rev 0xc3 on pci0.7.0 ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 5 on pci0.10.0 ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int a irq 12 on pci0.11.0 xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 10 on pci0.12.0 xl0: Ethernet address: 00:10:5a:c0:33:b3 xl0: autoneg complete, link status good (half-duplex, 100Mbps) ide_pci0: <Acer Aladdin IV/V (M5229) Bus-master IDE controller> rev 0xc1 int a irq 0 on pci0.15.0 Probing for devices on PCI bus 1: Probing for PnP devices: CSN 1 Vendor ID: TCM5095 [0x95506d50] Serial 0xaf92f149 Comp ID: @@@0000 [0x00000000] Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 not found sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <IBM-DTTA-351010> wd0: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): <IBM-DTTA-351010> wd1: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa wdc1: unit 1 (atapi): <HITACHI CDR-7730/0008a>, removable, iordy acd0: drive speed 689KB/sec, 128KB cache acd0: supported read types: CD-DA acd0: Audio: play, 128 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM unknown medium, unlocked wt0 not found at 0x300 mcd0 not found at 0x300 matcdc0 not found at 0x230 scd0 not found at 0x230 ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppi0: <generic parallel i/o> on ppbus 0 plip0: <PLIP network interface> on ppbus 0 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: utp[*UTP*] address 00:20:af:92:f1:49 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface ccd0-3: Concatenated disk drivers Waiting 5 seconds for SCSI devices to settle changing root device to da0s1a da0 at ahc0 bus 0 target 4 lun 0 da0: <IBM DORS-32160 S82C> Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) da1 at ahc0 bus 0 target 6 lun 0 da1: <IBM DDRS-39130 S71D> Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C) WARNING: / was not properly dismounted Extra Messages: yes, about /dev/vinum/rmyvol not being checkable. Get dumped in /bin/sh, to fix it myself. Exit the shell, which bypasses /etc/fstab disk-checks.mou CJC> 3) What does dmesg look like after successfully starting vinum by hand? bash-2.02# vinum start bash-2.02# dmesg Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-STABLE #3: Mon Dec 13 18:59:30 CET 1999 rene@messenger:/usr/src/sys/compile/MESSENGER-EXPERIMENTAL Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 233864315 Hz CPU: Pentium/P55C (233.86-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 67043328 (65472K bytes) avail memory = 62291968 (60832K bytes) Preloaded elf kernel "kernel" at 0xc02c8000. Probing for devices on PCI bus 0: chip0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> rev 0x04 on pci0.0.0 chip1: <AcerLabs M5243 PCI-PCI bridge> rev 0x04 on pci0.1.0 chip2: <PCI to 0x80 bridge (vendor=10b9 device=7101)> rev 0x00 on pci0.3. chip3: <AcerLabs M1533 portable PCI-ISA bridge> rev 0xc3 on pci0.7.0 ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 5 on pci0.10.0 ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int a irq 12 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 10 on pci0.12. xl0: Ethernet address: 00:10:5a:c0:33:b3 xl0: autoneg complete, link status good (half-duplex, 100Mbps) ide_pci0: <Acer Aladdin IV/V (M5229) Bus-master IDE controller> rev 0xc1 n pci0.15.0 Probing for devices on PCI bus 1: Probing for PnP devices: CSN 1 Vendor ID: TCM5095 [0x95506d50] Serial 0xaf92f149 Comp ID: @@@0000 Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 not found sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <IBM-DTTA-351010> wd0: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): <IBM-DTTA-351010> wd1: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa wdc1: unit 1 (atapi): <HITACHI CDR-7730/0008a>, removable, iordy acd0: drive speed 689KB/sec, 128KB cache acd0: supported read types: CD-DA acd0: Audio: play, 128 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM unknown medium, unlocked wt0 not found at 0x300 mcd0 not found at 0x300 matcdc0 not found at 0x230 scd0 not found at 0x230 ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppi0: <generic parallel i/o> on ppbus 0 plip0: <PLIP network interface> on ppbus 0 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: utp[*UTP*] address 00:20:af:92:f1:49 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface ccd0-3: Concatenated disk drivers Waiting 5 seconds for SCSI devices to settle changing root device to da0s1a da0 at ahc0 bus 0 target 4 lun 0 da0: <IBM DORS-32160 S82C> Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) da1 at ahc0 bus 0 target 6 lun 0 da1: <IBM DDRS-39130 S71D> Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C) WARNING: / was not properly dismounted vinum: loaded vinum: reading configuration from /dev/wd1d vinum: updating configuration from /dev/wd0d vinum: updating configuration from /dev/da1d bash-2.02# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 31743 24385 4819 83% / procfs 4 4 0 100% /proc /dev/da0s1f 1853547 631971 1073293 37% /usr /dev/da0s1e 29751 2785 24586 10% /var bash-2.02# mount /mnt/large bash-2.02# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 31743 24385 4819 83% / procfs 4 4 0 100% /proc /dev/da0s1f 1853547 631971 1073293 37% /usr /dev/da0s1e 29751 2785 24586 10% /var /dev/vinum/myvol 27847756 1 25619935 0% /mnt/large CJC> 4) The 'start_vinum' is set at the end of the rc.conf, is there a CJC> carriage return after it? Make sure there's a blank line or two to CJC> be safe (I like to peg a line with '#End' at the end of all of my CJC> scripts just to be sure). There was. Appended your '#end' line anyway. CJC> 5) Does vinum try to start before all SCSI devices (HDDs are the CJC> worry) have settled and been discovered? Don't quite know. Could be possible. Greetings, rene <mailto:rene@xs4all.nl> 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?9481.000119>