From owner-freebsd-questions Fri Mar 12 9:41:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from user1.channel1.com (user1.channel1.com [199.1.13.9]) by hub.freebsd.org (Postfix) with ESMTP id 5FAB81538F; Fri, 12 Mar 1999 09:41:18 -0800 (PST) (envelope-from admin@channel1.com) Received: from ntadmin (ntadmin.channel1.com [204.96.33.24]) by user1.channel1.com (8.9.2/8.9.2) with SMTP id MAA25202; Fri, 12 Mar 1999 12:40:56 -0500 (EST) Message-Id: <3.0.5.32.19990312123949.023de720@pop.channel1.com> X-Sender: deepblue@pop.channel1.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 12 Mar 1999 12:39:49 -0500 To: freebsd-questions@FreeBSD.ORG From: Mail Handler Subject: shell-init and super-block problems Cc: freebsd-isp@FreeBSD.ORG, brian@channel1.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Folks -- A recent disk crash produced two problems. After replacing the bad disk, three previously unaffected drives had this problem: fsck -y /dev/sd2s1e ** /dev/rsd2s1e BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE /dev/rsd2s1e: LABELED AS A 4.2BSD FILE SYSTEM, BUT BLOCK SIZE IS 0 What caused this and how can it be fixed? Second, it was necessary to restore the machine's /usr/home (a separate) partition. Now, all logins get: shell-init: could not get current directory: permission denied. Logins do get placed in $HOME and a simple "cd" will cure the problem. Until then, any "pwd" command will fail. drwxr-xr-x 20 root wheel 512 Mar 12 11:37 usr/ drwxr-xr-x 3735 root wheel 63488 Mar 11 16:36 homes/ In an archive message, J Wunsch suggested problems with fstab. Ours is: /dev/sd4s1e /usr/homes ufs rw,nosuid 1 1 Does anyone have any suggestions for either of these issues? Thanks, Brian Brian Miller admin@channel1.com Channel 1 Communications 617-864-0100 voice 617-354-3100 fax http://www.channel1.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message