MSATA question
-
Few weeks ago I purchased SG-2440 w/ 30GB mSATA SSD. I've never used pfSense before and still reading pfSense book online and reading this forum.
The output of df -H is:
Filesystem Size Used Avail Capacity Mounted on /dev/ufsid/57c48cdd1f22f12b 21G 706M 18G 4% / devfs 1.0k 1.0k 0B 100% /dev /dev/md0 3.6M 123k 3.2M 4% /var/run devfs 1.0k 1.0k 0B 100% /var/dhcpd/dev
That doesn't make 30GB?
So I ran fsck -p as suggested in 'the book'
/dev/ufsid/57c48cdd1f22f12b: NO WRITE ACCESS /dev/ufsid/57c48cdd1f22f12b: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
So then I did
touch /root/force_fsck ```and rebooted. That didn't change anything. The output of fsck with no modifiers is:
** /dev/ufsid/57c48cdd1f22f12b (NO WRITE)
USE JOURNAL? no
** Skipping journal, falling through to full fsck
SETTING DIRTY FLAG IN READ_ONLY MODE
UNEXPECTED SOFT UPDATE INCONSISTENCY
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
INCORRECT BLOCK COUNT I=1444626 (8 should be 0)
CORRECT? noINCORRECT BLOCK COUNT I=1444627 (72 should be 0)
CORRECT? no** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=1444610 OWNER=root MODE=100666
SIZE=0 MTIME=Sep 9 16:35 2016
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? no17738 files, 172292 used, 4892706 free (898 frags, 611476 blocks, 0.0% fragmentation)
It seems that perhaps I should answer 'yes' rather than the default 'no' but I do not know how to do that. Since my 30GB SDD does not seem to be fully accounted for I would hope that fsck might fix that. What is the best way to proceed to correct the errors reported in phase 4 & 5?
-
Swap. Run pstat -s
8GB?
SG-2440 has only 8GB eMMC so you're definitely running on the mSATA.
-
Swap. Run pstat -s
8GB?
SG-2440 has only 8GB eMMC so you're definitely running on the mSATA.
Yes, 8GB
Device 512-blocks Used Avail Capacity
/dev/label/swap0 16777208 0 16777208 0%So i guess the 8gb swap is a partition of the mSATA to total 30gb.
That helps, thanks.What about the fsck error "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY."?
Is this insignificant? -
That can happen particularly after a sudden power loss. Always use Halt system in Diagnostics or console option 6 when possible.
Connect a console, Reboot, press 2 for single-user mode at the "logo" menu, let it boot, press RETURN for /bin/sh, then run /sbin/fsck -y / a couple times until it comes back clean then /sbin/reboot.
-
That can happen particularly after a sudden power loss. Always use Halt system in Diagnostics or console option 6 when possible.
Connect a console, Reboot, press 2 for single-user mode at the "logo" menu, let it boot, press RETURN for /bin/sh, then run /sbin/fsck -y / a couple times until it comes back clean then /sbin/reboot.
I did have a power outage last week. Now attached to UPS.
Thanks for console info. Haven't tried connecting yet in that manner so now I have an excuse to do it :)