Errors on Harddrive
-
I get the following on bootup in the dmesg.boot log:
ad0: 29314MB <ibm dtla-307030="" tx4oa5aa="">at ata0-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: R/W mount of / denied. Filesystem is not clean - run fsck
WARNING: R/W mount of / denied. Filesystem is not clean - run fsckSo…I run fsck to try to correct the problem and get the following. It does not give me the option to answer yes, it enters no automatically and goes on to the next.
fsck
** /dev/ad0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=2896899 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:04 2006
CLEAR? noUNREF FILE I=2896900 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:04 2006
CLEAR? noUNREF FILE I=2896901 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:04 2006
CLEAR? noUNREF FILE I=2896934 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2896936 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2896937 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2897110 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2897111 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2897123 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? no** Phase 5 - Check Cyl groups
24249 files, 285787 used, 13743147 free (9819 frags, 1716666 blocks, 0.1% fragmentation)
#</ibm> -
run fsck -y
-
I guess the piece that doesnt make sense to me is "** /dev/ad0s1a (NO WRITE)". Its a HD install, I would assume it would be writable by default.
fsck -y
** /dev/ad0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
INCORRECT BLOCK COUNT I=2896902 (4 should be 0)
CORRECT? no** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=2896899 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:04 2006
CLEAR? noUNREF FILE I=2896900 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:04 2006
CLEAR? noUNREF FILE I=2896901 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:04 2006
CLEAR? noUNREF FILE I=2896934 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2896936 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2896937 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2897110 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2897111 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? noUNREF FILE I=2897123 OWNER=root MODE=100644
SIZE=0 MTIME=May 28 14:06 2006
CLEAR? no** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? noSUMMARY INFORMATION BAD
SALVAGE? noBLK(S) MISSING IN BIT MAPS
SALVAGE? no24250 files, 285802 used, 13743131 free (9819 frags, 1716664 blocks, 0.1% fragmentation)
-
Should be.. That doesn't really make sense to me. Not sure what to tell you, perhaps try a diff hard drive?
Also, I assume you know that you can only fsck -y from single user mode.
-
If NO WRITE is truely NO WRITE, then its confusing to me how Ive been able to create/save rulesets, install/remove/modify packages all this time.
-
If NO WRITE is truely NO WRITE, then its confusing to me how Ive been able to create/save rulesets, install/remove/modify packages all this time.
"Also, I assume you know that you can only fsck -y from single user mode."
-
Single User Mode meaning logging into the box as root via SSH, choosing option 8 for shell and then issueing fsck -y?
-
no.
You need to specify boot -s at the press return to continue loader prompt. Hit any key excecpt return to drop to a boot prompt.
-
Im not sure, but I dont think that is possible on the IP330's since the only way to watch them boot is through the management port and hyperterm. There is no boot loader prompt.
-
Huh? This is a freebsd load prompt. It has nothing to do with Nokia.
-
Im not sure, but I dont think that is possible on the IP330's since the only way to watch them boot is through the management port and hyperterm. There is no boot loader prompt.
Bollocks. You need to get a proper null modem cable. There is a BIOS that looks like a text version of a normal AWARD bios.
I had exactly the same issue using a three-wire null modem, where you really need all the handshake lines etc. The FreeBSD stuff starts coming up after the boot loader prompt, if you have the wrong serial cable.
The cable is worth under $10 in any currency. G'luck!
http://criggie.dyndns.org/tech/ip330/ <– lots of pictures and info on IP330 and pfSense.