1DAXCTL-OFFLINE-MEM(1)            daxctl Manual           DAXCTL-OFFLINE-MEM(1)
2
3
4

NAME

6       daxctl-offline-memory - Offline the memory for a device that is in
7       system-ram mode
8

SYNOPSIS

10       daxctl offline-memory <dax0.0> [<dax1.0>...<daxY.Z>] [<options>]
11

EXAMPLES

13       •   Reconfigure dax0.0 to system-ram mode
14
15
16           .ft C
17           # daxctl reconfigure-device --mode=system-ram --human dax0.0
18           {
19             "chardev":"dax0.0",
20             "size":"7.87 GiB (8.45 GB)",
21             "target_node":2,
22             "mode":"system-ram"
23           }
24           .ft
25
26
27       •   Offline the memory
28
29
30           .ft C
31           # daxctl offline-memory dax0.0
32           dax0.0: 62 sections offlined
33           offlined memory for 1 device
34           .ft
35
36

DESCRIPTION

38       Offline the memory sections associated with a device that has been
39       converted to the system-ram mode. If one or more blocks are already
40       offline, attempt to offline the remaining blocks. If all blocks were
41       already offline, print a message and return success without actually
42       doing anything.
43
44       This is complementary to the daxctl-online-memory command, and may be
45       used when it is wished to offline the memory sections, but not convert
46       the device back to devdax mode.
47

OPTIONS

49       -r, --region=
50           Restrict the operation to devices belonging to the specified
51           region(s). A device-dax region is a contiguous range of memory that
52           hosts one or more /dev/daxX.Y devices, where X is the region id and
53           Y is the device instance id.
54
55       -u, --human
56           By default the command will output machine-friendly raw-integer
57           data. Instead, with this flag, numbers representing storage size
58           will be formatted as human readable strings with units, other
59           fields are converted to hexadecimal strings.
60
61       -v, --verbose
62           Emit more debug messages
63
65       Copyright © 2016 - 2020, Intel Corporation. License GPLv2: GNU GPL
66       version 2 http://gnu.org/licenses/gpl.html. This is free software: you
67       are free to change and redistribute it. There is NO WARRANTY, to the
68       extent permitted by law.
69

SEE ALSO

71       daxctl-reconfigure-device(1),daxctl-online-memory[1]
72
73
74
75daxctl 71.1                       01/26/2021             DAXCTL-OFFLINE-MEM(1)
Impressum