Fdisk - H3C S5830V2 Command Reference Manual

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

Field
0
-rwh
2008 13:45:28 xx.xx

fdisk

Use fdisk to partition a storage medium.
Syntax
fdisk medium-name [ partition-number ]
Views
User view
Predefined user roles
network-admin
Parameters
medium-name: Specifies the name of the storage medium to be partitioned. The value varies by
device model.
partition-number: Specifies the number of partitions, in the range of 1 to 4.
Usage guidelines
The flash memory cannot be partitioned.
If the partition-number argument is specified, the storage medium is divided into the specified
number of partitions. Otherwise, partitioning is performed in an interactive way.
It is normal that the specified partition size and the actual partition size have an error less than 5% of
the total memory.
A partition cannot be partitioned.
Before partitioning a USB disk, perform the following tasks:
Back up the files in the storage medium. The partition operation clears all data in the medium.
If you are partitioning a USB disk, make sure the disk is not write protected. Otherwise, the
partition operation will fail, and you must remount or reinstall the disk to restore access to the
USB disk.
Make sure no other users are accessing the medium. Otherwise, the partition operation fails.
Examples
# Divide the USB disk on the device evenly into three partitions in simple mode.
<Sysname> fdisk usba: 3
Capacity of usba: : 256M bytes
Description
File or folder information:
0—File or folder number, which is automatically allocated by the system.
-rwh—Attributes of the file or folder. The first character is the folder
indicator (d for folder and – for file). The second character indicates
whether the file or folder is readable (r for readable). The third character
indicates whether the file or directory is writable (w for writable). The
3144 Apr 26
fourth character indicates whether the file or directory is hidden (h for
hidden, - for visible). Modifying, renaming, or deleting hidden files might
affect functions.
3144—File size in bytes. For a folder, a hyphen (-) is displayed.
Apr 26 2008 13:45:28—Last date and time when the file or folder was
modified.
xx.xx—File or folder name.
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents