From owner-freebsd-questions Sat Jul 7 20:24: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtprelay1.adelphia.net (smtprelay1.adelphia.net [64.8.25.6]) by hub.freebsd.org (Postfix) with ESMTP id E4D7437B401 for ; Sat, 7 Jul 2001 20:23:54 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scraemondaemon.my.domain ([24.49.96.3]) by smtprelay1.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id GG4XDA01.IHC for ; Sat, 7 Jul 2001 23:22:22 -0400 Received: (from ipt@localhost) by scraemondaemon.my.domain (8.11.3/8.11.3) id f683M7900513 for freebsd-questions@freebsd.org; Sat, 7 Jul 2001 23:22:07 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200107080322.f683M7900513@scraemondaemon.my.domain> Subject: moving a hard drive (editing fstab) To: freebsd-questions@freebsd.org Date: Sat, 7 Jul 2001 23:22:07 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I want to move my current hard drive which is on a UDMA 33 controller to a UDMA 66 controller. My current drive looks like this. Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 49583 30587 15030 67% / /dev/ad0s1e 496111 3119 453304 1% /var /dev/ad0s1f 2032623 1086643 783371 58% /usr /dev/ad0s1g 4065262 5587 3734455 0% /home /dev/ad0s1h 12494951 411007 11084348 4% /usr/local mfs:63 254063 44 233694 0% /tmp procfs 4 4 0 100% /proc dmesg shows this as far as info about my drive controllers goes atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 atapci1: port 0xd400-0xd4ff,0xd000-0xd003,0$ ata2: at 0xcc00 on atapci1 atapci2: port 0xe000-0xe0ff,0xdc00-0xdc03,0$ ata3: at 0xd800 on atapci2 When I had a previous drive that I had installed 3.x Stable on connected to the UDMA 66 controller I could mount each of the slices by doing this mount /dev/ad5[a-h] /mnt When I have just the drive I want to switch to the UDMA 66 controller connected and no other drives with the BIOS set to boot from this controller it shows up as ad4. I have tried editing fstab with each of the following /dev/ad4s1a / ufs rw 1 1 as well as /dev/ad4a / ufs rw 1 1 I have done a MAKEDEV ad4 and it has given me the following files grep: ad4a: Device not configured grep: ad4b: Device not configured grep: ad4c: Device not configured grep: ad4d: Device not configured grep: ad4e: Device not configured grep: ad4f: Device not configured grep: ad4g: Device not configured grep: ad4h: Device not configured grep: ad4s1: Device not configured grep: ad4s2: Device not configured grep: ad4s3: Device not configured grep: ad4s4: Device not configured This is using ls | grep ad4* for above about. ad0 shows up as this however Binary file ad0a matches Binary file ad0b matches Binary file ad0c matches Binary file ad0e matches Binary file ad0f matches Binary file ad0g matches Binary file ad0h matches Binary file ad0s1 matches Binary file ad0s1a matches Binary file ad0s1b matches Binary file ad0s1c matches Binary file ad0s1e matches Binary file ad0s1f matches Binary file ad0s1g matches Binary file ad0s1h matches My kernel has the following # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering I think I'm close to solving this problem but I have spent way to much time editing my /etc/fstab file with ed after making errors previous. Thanks in advance uname -r 4.3-RELEASE Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message