Fortinet white logo
Fortinet white logo

CLI Reference

hardware harddisk

hardware harddisk

Use this command to display a list of hard disks and their capacity in megabytes (MB) in the FortiWeb appliance. In the case of FortiWeb-VM, this will instead be for virtual hardware.

To use this command, your administrator account’s access control profile must have at least r permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose hardware harddisk [list]

Example

diagnose hardware harddisk list

Output similar to the following appears in the CLI:

name size(M)

sda 625.56

sdb 32212.25

On a FortiWeb 1000C with a single properly functioning internal hard disk plus its internal flash disk, this command should show two file systems:

name size(M)

sda 1000204.89

sdb 1971.32

where sda, the larger file system, is from the hard disk used to store non-configuration/firmware data. If it does not appear, you can reboot and attempt to run a file system check to fix the file system and mount it.

Similarly FortiWeb 3000D shows:

name size(M)

sda 1999844.15

sdb 2055.21

Related topics

hardware harddisk

hardware harddisk

Use this command to display a list of hard disks and their capacity in megabytes (MB) in the FortiWeb appliance. In the case of FortiWeb-VM, this will instead be for virtual hardware.

To use this command, your administrator account’s access control profile must have at least r permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose hardware harddisk [list]

Example

diagnose hardware harddisk list

Output similar to the following appears in the CLI:

name size(M)

sda 625.56

sdb 32212.25

On a FortiWeb 1000C with a single properly functioning internal hard disk plus its internal flash disk, this command should show two file systems:

name size(M)

sda 1000204.89

sdb 1971.32

where sda, the larger file system, is from the hard disk used to store non-configuration/firmware data. If it does not appear, you can reboot and attempt to run a file system check to fix the file system and mount it.

Similarly FortiWeb 3000D shows:

name size(M)

sda 1999844.15

sdb 2055.21

Related topics