Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a firewall appliance (SnapGear SG560) which appears to be going offline intermittently and I'm trying to do some troubleshooting. I'd like to confirm that the filesystem has adequate free disk space
The Linux version is 2.4.31-uc0, gcc version 3.3.2
There is a diskutil tool which produces a report, but I haven't been able to find a guide on the Net to interpret the diskutil results so hoping I can get some assistance either on the results or where I might find a guide.
The report for root is as follows:
blocks 4096
bfree 0
inodes 739
ifree 0
I'm concerned that bfree 0 / ifree 0 might indicate no free space.
However there are other partitions (ram1, ram2) so perhaps this is normal. Unfortunately I don't have another device to compare with.
Does man diskutil on the device give you any further info on interpreting the results?
@hydrurga
man: bad command or file name
I'm not a Unix expert by any means, but the CLI environment seems to be limited. So far none of the commands that I've tried seem to support any switches.
I've found df command, but again it doesn't appear to accept any switches
It looks as if Snapgear was bought out by McAfee and the firewall product range rebranded as UTM Firewall.
At a pinch you could try contacting McAfee directly or through their (rather inactive) community page at https://community.mcafee.com/communi...k/utm_firewall, although they do say that the SG560 went EOL in 2013.
Maybe it's just busybox plus company add-ons. I found a manual online that has a chapter for CLI commands and lists the devices that support that command. For example fdisk is listed, but not for the SG560. Interestingly, diskutil isn't mentioned at all. - well actually it is; as "report/diskutil"
Quote:
SnapGear GCC tool to generate reports for Disk Utilization
The GCC mentioned is "Global Control Centre", not your everyday gcc as we think of it.
Last edited by syg00; 03-11-2017 at 07:48 PM.
Reason: later searched found it.
It looks as if Snapgear was bought out by McAfee and the firewall product range rebranded as UTM Firewall.
At a pinch you could try contacting McAfee directly or through their (rather inactive) community page at https://community.mcafee.com/communi...k/utm_firewall, although they do say that the SG560 went EOL in 2013.
Unfortunately you can no longer obtain vendor support for the Snapgear.
When I was trying to figure out whether maybe the unit had ran out of space, I also had a look at the logs and I could see some unauthorised attempted connections via SSH. So I made some changes to prevent that and so far since then the unit has been behaving itself. Need to wait a few more days, but perhaps some of these attempts were causing the issue I have been observing. It's been a good unit and I don't want to chuck it unless I'm sure it's cactus.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.