HP FlexFabric 7900 Series Command Reference Manual page 132

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Syntax
fdisk medium-name [ partition-number ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
medium-name: Specifies the name of the storage medium to be partitioned.
partition-number: Specifies the number of partitions, in the range of 1 to 4.
Usage guidelines
The Flash 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:
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 usb: 3
Capacity of usb: : 256M bytes
usb: will be divided into the following partitions:
DeviceName
usb0:
usb1:
usb2:
All data on usb: will be lost, continue? [Y/N]:y
Partitioning usb:...Done.
# Divide the USB disk on the device into one partition in an interactive way.
<Sysname> fdisk usb:
The capacity of usb: : 256M bytes
Partition 1 (32MB~224MB, 256MB. Press CTRL+C to quit or Enter to use all available space):
// Press Enter or enter 256.
usb: will be divided into the following partition(s):
DeviceName
usb0:
All data on usb: will be lost, continue? [Y/N]:y
Partitioning usb:...Done.
Capacity
85MB
85MB
86MB
Capacity
256MB
124

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents