From owner-freebsd-questions@FreeBSD.ORG Mon Aug 20 23:28:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 807B316A418 for ; Mon, 20 Aug 2007 23:28:52 +0000 (UTC) (envelope-from msherman77@yahoo.com) Received: from web88312.mail.re4.yahoo.com (web88312.mail.re4.yahoo.com [216.39.53.235]) by mx1.freebsd.org (Postfix) with SMTP id 4C3F613C45B for ; Mon, 20 Aug 2007 23:28:52 +0000 (UTC) (envelope-from msherman77@yahoo.com) Received: (qmail 46711 invoked by uid 60001); 20 Aug 2007 23:28:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=mG6yMdMnHRhujxUx2+BHCRdAavEWhLcF8UPL2fMXX9WWM0bKul/fjx+/x2vyQHxFdRaTn/W/OB8Jds80IfGmjv8ITTelw5kLVdv/uv6kWquJYYUUuZ8im/p3HBnFieLjaE12gmkAwqcwp6IUze7l1E8VAbP1wMF9hrwsmEF9FLw=; X-YMail-OSG: g3O8wzkVM1nPpRQpi.ab2JObfp4AMBotEOlMDZv6_L_Rd7uRgWwPZn.HNn93qgnUUg-- Received: from [74.107.243.44] by web88312.mail.re4.yahoo.com via HTTP; Mon, 20 Aug 2007 19:28:51 EDT Date: Mon, 20 Aug 2007 19:28:51 -0400 (EDT) From: Michael S To: FreeBSD Mailing List In-Reply-To: <20070820230544.GA47497@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <583401.46664.qm@web88312.mail.re4.yahoo.com> Subject: Re: Trying to move /usr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2007 23:28:52 -0000 Here's df -k output: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 507630 85046 381974 18% / devfs 1 1 0 100% /dev /dev/da0s1e 495726 10 456058 0% /tmp /dev/da0s1f 3733038 2869704 564692 84% /user /dev/da0s1d 495726 110700 345368 24% /var /dev/da1s1d 68431992 27948332 35009102 44% /usr/home /dev/da2s1d 17213408 2882922 12953414 18% /usr When I go back to the old /usr by editing fstab: /dev/da0s1b none swap sw 0 0 /dev/da1s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /tmp ufs rw 2 2 /dev/da0s1f /usr ufs rw 2 2 /dev/da0s1d /var ufs rw 2 2 /dev/da1s1d /home ufs rw 2 2 /dev/da2s1d /user ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 I get into my home directory with no problem. --- Jerry McAllister wrote: > On Mon, Aug 20, 2007 at 06:52:12PM -0400, Michael S > wrote: > > > I tried the earlier suggested dump/restore: > > %cd /user > > %dump -L -f - /usr | restore -r -f - > > > > When I log-in over ssh I get: > > Could not chdir to home directory /home/michael: > No > > such file or directory. > > Well, is there a directory named /home/michael > > It looks like there is a file system mounted as > /home. > I am guessing that has not changed. But, it is > telling you > that it cannot find that directory. Are there some > links > messing you up? > > What does 'df -k' show? > > ////jerry > > > > > Here's my fstab: > > # Device Mountpoint FStype > > Options Dump Pass# > > /dev/da0s1b none swap sw > > > 0 0 > > /dev/da1s1b none swap sw > > > 0 0 > > /dev/da0s1a / ufs rw > > > 1 1 > > /dev/da0s1e /tmp ufs rw > > > 2 2 > > /dev/da0s1f /user ufs rw > > > 2 2 > > /dev/da0s1d /var ufs rw > > > 2 2 > > /dev/da1s1d /home ufs rw > > > 2 2 > > /dev/da2s1d /usr ufs rw > > > 2 2 > > /dev/acd0 /cdrom cd9660 > > ro,noauto 0 0 > > > > This reflects the new /usr. > > > > Here's my dmesg.boot > > > > Copyright (c) 1992-2007 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, > > 1991, 1992, 1993, 1994 > > The Regents of the University of > California. > > All rights reserved. > > FreeBSD is a registered trademark of The FreeBSD > > Foundation. > > FreeBSD 6.2-RELEASE-p7 #2: Mon Aug 20 07:20:53 EDT > > 2007 > > root@free:/usr/obj/usr/src/sys/MARIMIKE > > ACPI APIC Table: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: AMD Sempron(tm) Processor 3400+ (2009.68-MHz > > 686-class CPU) > > Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = > 2 > > > > > Features=0x78bfbff > > Features2=0x1 > > AMD > > > Features=0xe2500800 > > AMD Features2=0x1 > > real memory = 469696512 (447 MB) > > avail memory = 450179072 (429 MB) > > ioapic0 irqs 0-23 on motherboard > > acpi0: on motherboard > > acpi0: Power Button (fixed) > > Timecounter "ACPI-fast" frequency 3579545 Hz > quality > > 1000 > > acpi_timer0: <24-bit timer at 3.579545MHz> port > > 0x4008-0x400b on acpi0 > > cpu0: on acpi0 > > acpi_button0: on acpi0 > > pcib0: port 0xcf8-0xcff on > > acpi0 > > pci0: on pcib0 > > agp0: mem > > 0xe8000000-0xefffffff at device 0.0 on pci0 > > pcib1: at device 1.0 on pci0 > > pci1: on pcib1 > > pci1: at device 0.0 (no driver > > attached) > > ahc0: port > > 0xe000-0xe0ff mem 0xf6022000-0xf6022fff irq 16 at > > device 8.0 on pci0 > > ahc0: [GIANT-LOCKED] > > aic7892: Ultra160 Wide Channel A, SCSI Id=7, > 32/253 > > SCBs > > xl0: <3Com 3c905-TX Fast Etherlink XL> port > > 0xe200-0xe23f irq 17 at device 9.0 on pci0 > > miibus0: on xl0 > > nsphy0: on > miibus0 > > nsphy0: 10baseT, 10baseT-FDX, 100baseTX, > > 100baseTX-FDX, auto > > xl0: Ethernet address: 00:10:4b:31:54:cd > > atapci0: port > > > 0xe300-0xe307,0xe400-0xe403,0xe500-0xe507,0xe600-0xe603,0xe700-0xe70f,0xe800-0xe8ff > > irq 20 at device 15.0 on pci0 > > ata2: on atapci0 > > ata3: on atapci0 > > atapci1: port > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe900-0xe90f > at > > device 15.1 on pci0 > > ata0: on atapci1 > > ata1: on atapci1 > > uhci0: port > 0xea00-0xea1f > > irq 21 at device 16.0 on pci0 > > uhci0: [GIANT-LOCKED] > > usb0: on uhci0 > > usb0: USB revision 1.0 > > uhub0: VIA UHCI root hub, class 9/0, rev > 1.00/1.00, > > addr 1 > > uhub0: 2 ports with 2 removable, self powered > > uhci1: port > 0xeb00-0xeb1f > > irq 21 at device 16.1 on pci0 > > uhci1: [GIANT-LOCKED] > > usb1: on uhci1 > > usb1: USB revision 1.0 > > uhub1: VIA UHCI root hub, class 9/0, rev > 1.00/1.00, > > addr 1 > > uhub1: 2 ports with 2 removable, self powered > > uhci2: port > 0xec00-0xec1f > > irq 21 at device 16.2 on pci0 > > uhci2: [GIANT-LOCKED] > > usb2: on uhci2 > > usb2: USB revision 1.0 > > uhub2: VIA UHCI root hub, class 9/0, rev > 1.00/1.00, > > addr 1 > > uhub2: 2 ports with 2 removable, self powered > > uhci3: port > 0xed00-0xed1f > > irq 21 at device 16.3 on pci0 > > uhci3: [GIANT-LOCKED] > > usb3: on uhci3 > > usb3: USB revision 1.0 > > uhub3: VIA UHCI root hub, class 9/0, rev > 1.00/1.00, > > addr 1 > > uhub3: 2 ports with 2 removable, self powered > > ehci0: mem > > 0xf6020000-0xf60200ff irq 21 at device 16.4 on > pci0 > > ehci0: [GIANT-LOCKED] > > usb4: EHCI version 1.0 > > usb4: companion controllers, 2 ports each: usb0 > usb1 > > usb2 usb3 > > usb4: on ehci0 > > usb4: USB revision 2.0 > > uhub4: VIA EHCI root hub, class 9/0, rev > 2.00/1.00, > > addr 1 > > uhub4: 8 ports with 8 removable, self powered > > isab0: at device 17.0 on pci0 > > isa0: on isab0 > > pci0: at device 17.5 (no > driver > > attached) > > vr0: port > > 0xef00-0xefff mem 0xf6021000-0xf60210ff irq 23 at > > device 18.0 on pci0 > > miibus1: on vr0 > > ukphy0: on > > miibus1 > > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, > > 100baseTX-FDX, auto > === message truncated ===