LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 03-11-2017, 05:41 AM   #1
gdayvw
LQ Newbie
 
Registered: Apr 2016
Posts: 6

Rep: Reputation: Disabled
DiskUtil


Hello,

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.

Thanks

VW
 
Old 03-11-2017, 06:51 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Does man diskutil on the device give you any further info on interpreting the results?
 
Old 03-11-2017, 04:57 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Plenty of manpages online - most say Apple, but for something that old, probably BSD.
 
Old 03-11-2017, 05:32 PM   #4
gdayvw
LQ Newbie
 
Registered: Apr 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
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

I'll have a look at man pages online, thanks.
 
Old 03-11-2017, 05:44 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
 
Old 03-11-2017, 07:11 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 03-12-2017, 07:13 PM   #7
gdayvw
LQ Newbie
 
Registered: Apr 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration