Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 12:39:49 -0500
From:      Mail Handler <admin@channel1.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        freebsd-isp@FreeBSD.ORG, brian@channel1.com
Subject:   shell-init and super-block problems
Message-ID:  <3.0.5.32.19990312123949.023de720@pop.channel1.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990312123949.023de720>