Trying to fsck
-
hi… :)
I can´t to repair mi pfsense hdd, (1.2rc3 version) I have 3 equipment and when I install always say this:
login as: root Using keyboard-interactive authentication. Password: *** Welcome to pfSense 1.2-RC3-pfSense on server *** WAN* -> rl0 -> 190.xx.xx.xx(DHCP) LAN* -> xl0 -> 192.168.1.1 pfSense console setup *********************** 0) Logout (SSH only) 1) Assign Interfaces 2) Set LAN IP address 3) Reset webConfigurator password 4) Reset to factory defaults 5) Reboot system 6) Halt system 7) Ping host 8) Shell 9) PFtop 10) Filter Logs 11) Restart webConfigurator 12) pfSense PHP shell 13) Upgrade from console Enter an option: 8 # ls .cshrc .login .shrc .first_time .part_mount .tcshrc .hushlogin .profile check_reload_status.log # fsck -y ** /dev/ad0s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes INCORRECT BLOCK COUNT I=871448 (4 should be 0) CORRECT? no ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=871428 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:11 2007 CLEAR? no UNREF FILE I=871429 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:11 2007 CLEAR? no UNREF FILE I=871430 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:11 2007 CLEAR? no UNREF FILE I=871431 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:11 2007 CLEAR? no UNREF FILE I=871433 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:11 2007 CLEAR? no UNREF FILE I=871451 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871452 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871453 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871454 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871455 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871457 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871458 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871459 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871466 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=871476 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=873536 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=873759 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=873760 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=873761 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no UNREF FILE I=873764 OWNER=root MODE=100644 SIZE=0 MTIME=Dec 1 13:12 2007 CLEAR? no ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? no SUMMARY INFORMATION BAD SALVAGE? no BLK(S) MISSING IN BIT MAPS SALVAGE? no 162342 files, 315540 used, 3422670 free (172302 frags, 406296 blocks, 4.6% fragmentation) # ``` is this a bugs of pfsense 1.2rc3 ??? I am run fsck -y in mono user but cant´t repair this… thanks...
-
It looks like you're trying to fsck a mounted partition on a running system?
is this a bugs of pfsense 1.2rc3 ???
No. It might be a FreeBSD problem, but I kind of doubt it. I think you're doing something wrong, but I'm not sure what. You should be able to boot into single user and fsck.
-
in your /etc/rc on top of everything after the #!/bin/sh add the following
/sbin/fsck -p /dev/ad0s1a
if [ $? -ne 0 ]; then
fsck -y /dev/ad0s1a
fior boot in single user mode (boot -s)
-
hi!! :D
thanks for reply…
@cmb:
It looks like you're trying to fsck a mounted partition on a running system?
**No, i run fsck -y in single mode
I download the iso image in tree times and install this iso in tree pc´s and say this error in the tree pc´s..excuse my english.. thanks…**.