Samsung MZ-7KM960E, MZ-7KM480Z, MZ-7KM240E, MZ-7KM120E, MZ-7LM960Z, MZ-7LM960E Command Line Options

Page 10

Samsung SSD Magician DC

10

Command Line Options

The Samsung SSD Magician DC uses Command Line Interface (CLI) and has two variants: Admin version and Client version.

The table given below briefly explains the available command line options. The detailed description of each feature is provided in the next sections of this chapter. For the purpose of illustration, the name of the tool for all examples will be “Magician” to simplify documentation.

 

Option

Arguments

Description

Used With

 

 

 

 

 

 

 

 

-H [--help]

N/A

Used to display the command line options

N/A

 

 

 

 

 

 

 

 

-C [ –command

N/A

Used to display the history of the previously

N/A

 

 

-history]

executed commands.

 

 

 

 

 

 

 

 

 

 

 

 

[--force]

N/A

Used to bypass the user prompt.

-E [--erase]

 

 

-F [--firmwareupdate]

 

 

 

 

 

 

 

 

 

 

-T [--trim]

 

 

 

 

 

 

 

 

 

 

 

-E [--erase]

 

 

 

 

Used to input the physical disk index listed in the

-F [--firmware-

 

 

 

 

update]

 

 

 

 

--list command.

 

 

 

 

-T [--trim]

 

 

-d [--disk]

Disk Number.

Note: For --firmware-update, to select all disks

 

 

-S [--smart]

 

 

 

 

-d [--disk] option should be followed by keyword “A”

 

 

 

 

-O [--overprovision]

 

 

 

 

 

 

 

 

 

 

-W [--setfeature]

 

 

 

 

 

-X [--sct]

 

 

 

 

 

-I [--info]

 

 

 

 

 

 

 

 

-L [--list]

N/A

Used to display a list of attached Samsung SSD

N/A

 

 

Drives.

 

 

 

 

 

 

 

 

 

 

 

 

 

-S [--smart]

-d [ --disk ]

Used to select a specific drive connected to the

N/A

 

 

system and get the SMART Value.

 

 

 

 

 

 

 

 

 

 

 

 

 

-q [--query]

N/A

Displays the available LBA percentage

-S [--smart]

 

 

 

 

 

 

 

 

 

 

 

 

Optional file path

Logs the temperature of the SSD in the file path

 

 

 

-t [--

provided or if no argument is given, then

-S [--smart]

 

 

or no argument.

 

 

temperature]

temperature will be logged into file in default folder,

 

 

 

 

 

 

 

 

 

refer to Smart temperature logging file location

 

 

 

 

 

 

 

 

 

 

 

“--start” records the data needed to estimate

 

 

 

-a [ --analyzer]

--start

lifetime of the SSD.

-S [--smart]

 

 

--stop

“--stop” calculates the lifetime of the SSD from the

 

 

 

 

 

 

 

 

recorded data.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Image 10
Contents Samsung SSD Legal and additional information Legalities Table of Contents Abbreviations IntroductionA.R.T Features Hardware Requirements System RequirementsSoftware Requirements Limited support for some ATA commands Windows Server Address, and FW UpdateFW Update Rhel 5.7 and laterKnown Issues Command Line Options Setmax Update EraseExecute SetUtility ClearVendor LicenseStarting Magician DC software How to Use Magician DCFind a Magician file and execute Magician --help HelpNone Magician -HMagician -- command-history Command-historyMagician -C Force Disk Magician -L ListMagician --list ※Note in case of OS disk Disk Number is preceded withSmart Smart Information Temperature log SSD Lifetime Analyzer Trim Disk a --firmware-update -p fwpackage-path Firmware-updateFirmware files and it should be given just after the switch Magician -d a -F -p fwpackage-pathErase Over-provision Overprovisioning on Windows Example10% of device size Overprovisioning on Linux ExampleOver-provision --query Over-provision --set 10% Over-provision -- clear Info Display the details of the selected Samsung SSDMagician -d 1 -M -r SetmaxMagician --disk 1 --setmax --read-native-max Setmax --set Setmax --read-native-maxSetfeature Writecache --set 1enable Writecache--set 0disable Enable/disable Write Cache on specified SSDWritecache Sct Samsung SSD Magician DC Sctcachestate SctcachestateVendor-utility Display the End User License Agreement LicenseMagician -license Display Tool Help Display History of CommandsExamples Display Disk ListSmart Information of the Disks Firmware Update Trim CommandErase Reserved area Over ProvisioningSet Max Address Disk Info Set FeatureMagician --disk 1 --sct --writecache-set Vendor Utility Bypass confirmation prompt --forceLicense Below is the full license statement from hdparm Software is provided AS is without warranty of any kindEnd User License Agreement Eula Below is the full license statement from json-cppNo Liability Supported Commands for LSI RAID