1DAXCTL-OFFLINE-MEM(1) DAXCTL-OFFLINE-MEM(1)
2
3
4
6 daxctl-offline-memory - Offline the memory for a device that is in
7 system-ram mode
8
10 daxctl offline-memory <dax0.0> [<dax1.0>...<daxY.Z>] [<options>]
11
13 • Reconfigure dax0.0 to system-ram mode
14
15 # daxctl reconfigure-device --mode=system-ram --human dax0.0
16 {
17 "chardev":"dax0.0",
18 "size":"7.87 GiB (8.45 GB)",
19 "target_node":2,
20 "mode":"system-ram"
21 }
22
23 • Offline the memory
24
25 # daxctl offline-memory dax0.0
26 dax0.0: 62 sections offlined
27 offlined memory for 1 device
28
30 Offline the memory sections associated with a device that has been
31 converted to the system-ram mode. If one or more blocks are already
32 offline, attempt to offline the remaining blocks. If all blocks were
33 already offline, print a message and return success without actually
34 doing anything.
35
36 This is complementary to the daxctl-online-memory command, and may be
37 used when it is wished to offline the memory sections, but not convert
38 the device back to devdax mode.
39
41 -r, --region=
42 Restrict the operation to devices belonging to the specified
43 region(s). A device-dax region is a contiguous range of memory that
44 hosts one or more /dev/daxX.Y devices, where X is the region id and
45 Y is the device instance id.
46
47 -u, --human
48 By default the command will output machine-friendly raw-integer
49 data. Instead, with this flag, numbers representing storage size
50 will be formatted as human readable strings with units, other
51 fields are converted to hexadecimal strings.
52
53 -v, --verbose
54 Emit more debug messages
55
57 Copyright © 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL
58 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
59 are free to change and redistribute it. There is NO WARRANTY, to the
60 extent permitted by law.
61
63 linkdaxctl:daxctl-reconfigure-device[1],daxctl-online-memory[1]
64
65
66
67 08/03/2023 DAXCTL-OFFLINE-MEM(1)