Driver and Utility
3-45
PCIe Flash Drive FlashMAX2&3 User’s Guide
vgc-config
If this is a new Flash Drive or if you want to clear the user data, always use
the following procedure to format the drive. Formatting is done at a low level
of the Flash Drive, and is different from the formatting performed by the OS.
Two modes are available for formatting: Maximum Capacity mode or Maximum
Performance mode. The Maximum Capacity mode is effective for applications
with intensive write, and the Maximum Performance mode requires a 15%
sacrifice in user capacity but can double the random write performance when
compared with the Maximum Capacity mode. (However, in terms of
performance in read and sequential write, there is no difference between the
two modes.) If the available capacity is large, the Maximum Performance
mode is recommended.
Command:
# vgc-config -d
< drive name >
-m
< maxcapacity or maxperformance >
-n 1
Example: To format using the Maximum Capacity mode
# vgc-config -d /dev/vgcx -m maxcapacity -n 1
* Use the vgc-monitor command to find out the "x" in "vgcx".
Example: To format using the Maximum Performance mode
# vgc-config -d /dev/vgcx -m maxperformance -n 1
* Use the vgc-monitor command to find out the "x" in "vgcx".
(2) When the following message appears, enter "yes” and press the Enter key.
***WARNING:this operation will erase ALL data on drive,type<yes>to
continue:
(3) The following message appears.
***Formatting drive. Please wait...***
(4) After the message disappears, it takes about 15 minutes for formatting to
finish.
Therefore, wait for 15 minutes or more and then proceed to the next step.
(5) Create a file system.
Use the mkfs command to create a file system.
Example: mkfs -t ext4 -J size=400 /dev/vgcx0
* Use the vgc-monitor command to find out the "x" in "vgcx0".