From owner-freebsd-questions Wed Aug 18 9:40:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.extern.schroeder.lu (uu194-7-207-227.unknown.uunet.be [194.7.207.227]) by hub.freebsd.org (Postfix) with ESMTP id 10D3A14ED8 for ; Wed, 18 Aug 1999 09:40:03 -0700 (PDT) (envelope-from ingsa@pt.lu) Received: from c39 (uu194-7-207-228.unknown.uunet.be [194.7.207.228]) by mail1.extern.schroeder.lu (8.9.3/8.9.3) with SMTP id SAA11188 for ; Wed, 18 Aug 1999 18:40:49 GMT From: ingsa@pt.lu Message-Id: <3.0.1.32.19990818184617.00a7f380@mailsvr.pt.lu> X-Sender: ingsa@mailsvr.pt.lu X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Wed, 18 Aug 1999 18:46:17 +0200 To: freebsd-questions@freebsd.org Subject: scsi-disk-device-names on fbsd 3.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i have a computer with was running freebsd 3.1Release with 6 scsi disks with an fstab like: # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /u01 ufs rw 1 1 /dev/da1s1e /u02 ufs rw 1 1 /dev/da2s1e /u03 ufs rw 1 1 /dev/da3s1e /u04 ufs rw 1 1 /dev/da4s1e /u05 ufs rw 1 1 /dev/da5s1e /u06 ufs rw 1 1 /dev/cd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 i just upgraded to freebsd-3.2release. for doing that i disconnected five of the disks from the computer booted from fbsd3.2 cdrom, did a newfs on / with a fresh install and everything is working fine. my fstab is now: # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/cd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 then i did: mount /dev/da0s1e /u01 and everything is still ok. i connected my five other disk, again and wanted to do: mount /dev/da4s1e /u05 but this gives me: device or file not found. in /dev i made ./MAKEDEV da4 which created some da4 files (see listing below), but no device /dev/da4s1e was created. i tried a mount on every device but only /dev/da4c /dev/da4e /dev/da4s1 work. but before writing my firstbyte on the disk i want to be sure of the correct device-name for mounting my disk, because some years ago on ultrix, i mounted a disk with a wrong device-name and it was very interesting to see how the filesystem was destroyed within several hours. I also had a bad experience when upgrading from freebsd 2.2.1 to freebsd 2.2.7 with device names of ide-disks. i have a backup, but restoring 80GB takes some time. thank you for any help. ---------------------------------------------------------------------- output from 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-RELEASE #0: Tue May 18 04:05:08 GMT 1999 jkh@cathair:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 446997483 Hz CPU: Pentium II/Xeon/Celeron (447.00-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183fbff> real memory = 134217728 (131072K bytes) avail memory = 127070208 (124092K bytes) Preloaded elf kernel "kernel" at 0xc0358000. Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x02 on pci0.1.0 chip2: rev 0x03 on pci0.2.0 chip3: rev 0x02 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip4: rev 0x02 on pci0.7.3 fxp0: rev 0x05 int a irq 14 on pci0.8.0 fxp0: Ethernet address 00:90:27:1e:4d:8e ahc0: rev 0x00 int a irq 11 on pci0.12.0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs Probing for devices on PCI bus 1: vga0: rev 0x5c on pci1.0.0 Probing for devices on PCI bus 2: ahc1: rev 0x00 int a irq 10 on pci2.4.0 ahc1: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc2: rev 0x03 int a irq 10 on pci2.6.0 ahc2: aic7860 Single Channel A, SCSI Id=7, 3/255 SCBs Probing for PnP devices: Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 fe0 not found at 0x300 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 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 fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 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/8 bytes threshold lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ie0: unknown board_id: f000 ie0 not found at 0x300 ep0 not found at 0x300 ex0 not found le0 not found at 0x300 lnc0 not found at 0x280 ze0 not found at 0x300 zp0 not found at 0x300 cs0 not found at 0x300 adv0 not found at 0x330 bt_isa_probe: Probe failled for card at 0x330 bt_isa_probe: Probe failled for card at 0x334 bt_isa_probe: Probe failled for card at 0x230 bt_isa_probe: Probe failled for card at 0x234 bt_isa_probe: Probe failled for card at 0x130 bt_isa_probe: Probe failled for card at 0x134 bt0 not found at 0x134 aha0 not found at 0x134 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit) pass7 at ahc1 bus 0 target 6 lun 0 pass7: Fixed Processor SCSI-2 device pass7: 3.300MB/s transfers da0 at ahc1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 17366MB (35566479 512 byte sectors: 255H 63S/T 2213C) da3 at ahc1 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-2 device da3: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da3: 17366MB (35566479 512 byte sectors: 255H 63S/T 2213C) da5 at ahc1 bus 0 target 5 lun 0 da5: Fixed Direct Access SCSI-2 device da5: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da5: 17366MB (35566479 512 byte sectors: 255H 63S/T 2213C) da4 at ahc1 bus 0 target 4 lun 0 da4: Fixed Direct Access SCSI-2 device da4: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da4: 17366MB (35566479 512 byte sectors: 255H 63S/T 2213C) da2 at ahc1 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da2: 17366MB (35566479 512 byte sectors: 255H 63S/T 2213C) da1 at ahc1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 17366MB (35566479 512 byte sectors: 255H 63S/T 2213C) changing root device to da0s1a cd0 at ahc2 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present cd9660: RockRidge Extension ---------------------------------------------------------------------- output from disklabel: da4 # /dev/rda4c: type: SCSI disk: da4s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 2212 sectors/unit: 35551782 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] c: 35551782 0 unused 0 0 # (Cyl. 0 - 2212*) e: 35551782 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2212*) ---------------------------------------------------------------------- output from ls -l /dev/da* brw-r----- 1 root operator 4, 0x00010002 Aug 18 16:26 da0 brw-r----- 1 root operator 4, 0 Aug 18 16:26 da0a brw-r----- 1 root operator 4, 1 Aug 18 16:26 da0b brw-r----- 1 root operator 4, 2 Aug 18 16:26 da0c brw-r----- 1 root operator 4, 3 Aug 18 16:26 da0d brw-r----- 1 root operator 4, 4 Aug 18 16:26 da0e brw-r----- 1 root operator 4, 5 Aug 18 16:26 da0f brw-r----- 1 root operator 4, 6 Aug 18 16:26 da0g brw-r----- 1 root operator 4, 7 Aug 18 16:26 da0h brw-r----- 1 root operator 4, 0x00020002 Aug 18 16:26 da0s1 brw-r----- 1 root operator 4, 0x00020000 Aug 18 16:26 da0s1a brw-r----- 1 root operator 4, 0x00020001 Aug 18 16:26 da0s1b brw-r----- 1 root operator 4, 0x00020002 Aug 18 16:26 da0s1c brw-r----- 1 root operator 4, 0x00020003 Aug 18 16:26 da0s1d brw-r----- 1 root operator 4, 0x00020004 Aug 18 16:26 da0s1e brw-r----- 1 root operator 4, 0x00020005 Aug 18 16:26 da0s1f brw-r----- 1 root operator 4, 0x00020006 Aug 18 16:26 da0s1g brw-r----- 1 root operator 4, 0x00020007 Aug 18 16:26 da0s1h brw-r----- 1 root operator 4, 0x00030002 Aug 18 16:26 da0s2 brw-r----- 1 root operator 4, 0x00040002 Aug 18 16:26 da0s3 brw-r----- 1 root operator 4, 0x00050002 Aug 18 16:26 da0s4 brw-r----- 1 root operator 4, 0x0001000a Aug 18 16:27 da1 brw-r----- 1 root operator 4, 8 Aug 18 16:27 da1a brw-r----- 1 root operator 4, 9 Aug 18 16:27 da1b brw-r----- 1 root operator 4, 10 Aug 18 16:27 da1c brw-r----- 1 root operator 4, 11 Aug 18 16:27 da1d brw-r----- 1 root operator 4, 12 Aug 18 16:27 da1e brw-r----- 1 root operator 4, 13 Aug 18 16:27 da1f brw-r----- 1 root operator 4, 14 Aug 18 16:27 da1g brw-r----- 1 root operator 4, 15 Aug 18 16:27 da1h brw-r----- 1 root operator 4, 0x0002000a Aug 18 16:27 da1s1 brw-r----- 1 root operator 4, 0x0003000a Aug 18 16:27 da1s2 brw-r----- 1 root operator 4, 0x0004000a Aug 18 16:27 da1s3 brw-r----- 1 root operator 4, 0x0005000a Aug 18 16:27 da1s4 brw-r----- 1 root operator 4, 0x00010012 Aug 18 16:26 da2 brw-r----- 1 root operator 4, 16 Aug 18 16:26 da2a brw-r----- 1 root operator 4, 17 Aug 18 16:26 da2b brw-r----- 1 root operator 4, 18 Aug 18 16:26 da2c brw-r----- 1 root operator 4, 19 Aug 18 16:26 da2d brw-r----- 1 root operator 4, 20 Aug 18 16:26 da2e brw-r----- 1 root operator 4, 21 Aug 18 16:26 da2f brw-r----- 1 root operator 4, 22 Aug 18 16:26 da2g brw-r----- 1 root operator 4, 23 Aug 18 16:26 da2h brw-r----- 1 root operator 4, 0x00020012 Aug 18 16:26 da2s1 brw-r----- 1 root operator 4, 0x00030012 Aug 18 16:26 da2s2 brw-r----- 1 root operator 4, 0x00040012 Aug 18 16:26 da2s3 brw-r----- 1 root operator 4, 0x00050012 Aug 18 16:26 da2s4 brw-r----- 1 root operator 4, 0x0001001a Aug 18 16:26 da3 brw-r----- 1 root operator 4, 24 Aug 18 16:26 da3a brw-r----- 1 root operator 4, 25 Aug 18 16:26 da3b brw-r----- 1 root operator 4, 26 Aug 18 16:26 da3c brw-r----- 1 root operator 4, 27 Aug 18 16:26 da3d brw-r----- 1 root operator 4, 28 Aug 18 16:26 da3e brw-r----- 1 root operator 4, 29 Aug 18 16:26 da3f brw-r----- 1 root operator 4, 30 Aug 18 16:26 da3g brw-r----- 1 root operator 4, 31 Aug 18 16:26 da3h brw-r----- 1 root operator 4, 0x0002001a Aug 18 16:26 da3s1 brw-r----- 1 root operator 4, 0x0003001a Aug 18 16:26 da3s2 brw-r----- 1 root operator 4, 0x0004001a Aug 18 16:26 da3s3 brw-r----- 1 root operator 4, 0x0005001a Aug 18 16:26 da3s4 brw-r----- 1 root operator 4, 0x00010022 Aug 18 17:23 da4 brw-r----- 1 root operator 4, 32 Aug 18 17:23 da4a brw-r----- 1 root operator 4, 33 Aug 18 17:23 da4b brw-r----- 1 root operator 4, 34 Aug 18 17:23 da4c brw-r----- 1 root operator 4, 35 Aug 18 17:23 da4d brw-r----- 1 root operator 4, 36 Aug 18 17:23 da4e brw-r----- 1 root operator 4, 37 Aug 18 17:23 da4f brw-r----- 1 root operator 4, 38 Aug 18 17:23 da4g brw-r----- 1 root operator 4, 39 Aug 18 17:23 da4h brw-r----- 1 root operator 4, 0x00020022 Aug 18 17:23 da4s1 brw-r----- 1 root operator 4, 0x00030022 Aug 18 17:23 da4s2 brw-r----- 1 root operator 4, 0x00040022 Aug 18 17:23 da4s3 brw-r----- 1 root operator 4, 0x00050022 Aug 18 17:23 da4s4 end of message claude zipfel Schroeder & Associes 8, rue des Girondins L-1626 Luxembourg tel: +(352) 44 31 31 1 fax: +(352) 44 69 50 email: ingsa@pt.lu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message