Skip to content

DAOS-9094 control: daos_server storage scan to show VMD backing devices#7440

Merged
johannlombardi merged 7 commits intomasterfrom
tanabarr/control-ds-vmd-scanw
Dec 5, 2021
Merged

DAOS-9094 control: daos_server storage scan to show VMD backing devices#7440
johannlombardi merged 7 commits intomasterfrom
tanabarr/control-ds-vmd-scanw

Conversation

@tanabarr
Copy link
Copy Markdown
Contributor

Allow local storage scan to detect VMD backing devices and display details.

Signed-off-by: Tom Nabarro tom.nabarro@intel.com

Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@tanabarr
Copy link
Copy Markdown
Contributor Author

Automatic VMD detection and showing backing device details.

tanabarr@wolf-157:~/projects/daos_m> ls -lah /dev/nv*
crw------- 1 root root 240,   0 Nov 21 22:44 /dev/nvme0
brw-rw---- 1 root disk 259,   1 Nov 21 22:44 /dev/nvme0n1
crw------- 1 root root 240,   1 Nov 21 22:44 /dev/nvme1
brw-rw---- 1 root disk 259,   0 Nov 21 22:44 /dev/nvme1n1
crw------- 1 root root 240,   2 Nov 21 22:44 /dev/nvme2
brw-rw---- 1 root disk 259,   2 Nov 21 22:44 /dev/nvme2n1
crw------- 1 root root 240,   3 Nov 21 22:44 /dev/nvme3
brw-rw---- 1 root disk 259,   3 Nov 21 22:44 /dev/nvme3n1
crw------- 1 root root 240,   4 Nov 21 22:44 /dev/nvme4
brw-rw---- 1 root disk 259,   4 Nov 21 22:44 /dev/nvme4n1
crw------- 1 root root 240,   5 Nov 21 22:44 /dev/nvme5
brw-rw---- 1 root disk 259,   6 Nov 21 22:44 /dev/nvme5n1
crw------- 1 root root 240,   6 Nov 21 22:44 /dev/nvme6
brw-rw---- 1 root disk 259,   5 Nov 21 22:44 /dev/nvme6n1
crw------- 1 root root 240,   7 Nov 21 22:44 /dev/nvme7
brw-rw---- 1 root disk 259,   8 Nov 21 22:44 /dev/nvme7n1
crw------- 1 root root 240,   8 Nov 21 22:44 /dev/nvme8
brw-rw---- 1 root disk 259,   7 Nov 21 22:44 /dev/nvme8n1
crw------- 1 root root 240,   9 Nov 21 22:44 /dev/nvme9
brw-rw---- 1 root disk 259,   9 Nov 21 22:44 /dev/nvme9n1
crw------- 1 root root  10, 144 Nov 10 17:49 /dev/nvram
tanabarr@wolf-157:~/projects/daos_m> install-leap15/bin/daos_server storage scan -l /tmp/admin.log --debug
DEBUG 22:45:11.339909 storage.go:163: volume management devices detected: 0000:17:05.5 0000:5d:05.5 0000:85:05.5 0000:ae:05.5 0000:d7:05.5
Scanning locally-attached storage... (VMD enabled)

        No NVMe devices found

SCM Namespace Socket ID Capacity
------------- --------- --------
pmem0         0         3.2 TB
pmem1         1         3.2 TB
tanabarr@wolf-157:~/projects/daos_m> install-leap15/bin/daos_server storage prepare -l /tmp/admin.log --debug -n
DEBUG 22:45:28.476815 storage.go:74: volume management devices detected: 0000:17:05.5 0000:5d:05.5 0000:85:05.5 0000:ae:05.5 0000:d7:05.5
Preparing locally-attached NVMe storage... (VMD enabled)
DEBUG 22:45:28.477192 ctl_storage.go:80: calling bdev provider prepare: {ForwardableRequest:{Forwarded:false} HugePageCount:0 DisableCleanHugePages:false PCIAllowList: PCIBlockList: TargetUser:tanabarr Reset_:false DisableVFIO:false EnableVMD:true}
tanabarr@wolf-157:~/projects/daos_m> ls -lah /dev/nv*
crw------- 1 root root 10, 144 Nov 10 17:49 /dev/nvram
tanabarr@wolf-157:~/projects/daos_m> install-leap15/bin/daos_server storage scan -l /tmp/admin.log --debug
DEBUG 22:46:04.310514 storage.go:163: volume management devices detected: 0000:17:05.5 0000:5d:05.5 0000:85:05.5 0000:ae:05.5 0000:d7:05.5
Scanning locally-attached storage... (VMD enabled)

NVMe PCI       Model               FW Revision Socket ID Capacity
--------       -----               ----------- --------- --------
5d0505:01:00.0 INTEL SSDPE2KE016T8 VDV10170    0         1.6 TB
5d0505:03:00.0 INTEL SSDPE2KE016T8 VDV10170    0         1.6 TB
850505:07:00.0 INTEL SSDPE2KE016T8 VDV10170    0         1.6 TB
850505:09:00.0 INTEL SSDPE2KE016T8 VDV10170    0         1.6 TB
850505:0b:00.0 INTEL SSDPE2KE016T8 VDV10170    0         1.6 TB
850505:0d:00.0 INTEL SSDPE2KE016T8 VDV10170    0         1.6 TB
850505:0f:00.0 INTEL SSDPE2KE016T8 VDV10170    0         1.6 TB
850505:11:00.0 INTEL SSDPE2KE016T8 VDV10170    0         1.6 TB
850505:14:00.0 INTEL SSDPED1K750GA E2010475    0         750 GB
d70505:05:00.0 INTEL SSDPED1K750GA E2010475    0         750 GB

...

Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@daosbuild1
Copy link
Copy Markdown
Collaborator

Base automatically changed from tanabarr/control-bdev-pci-list-aa to master November 23, 2021 13:25
Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@daosbuild1
Copy link
Copy Markdown
Collaborator

Test stage Build RPM on CentOS 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-7440/3/execution/node/333/log

@daosbuild1
Copy link
Copy Markdown
Collaborator

Test stage Build RPM on CentOS 7 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-7440/3/execution/node/302/log

@daosbuild1
Copy link
Copy Markdown
Collaborator

Test stage Build RPM on Leap 15 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-7440/3/execution/node/353/log

@daosbuild1
Copy link
Copy Markdown
Collaborator

Allow local storage scan to detect VMD backing devices and display details.

Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
@tanabarr tanabarr force-pushed the tanabarr/control-ds-vmd-scanw branch from 90752a1 to 403d542 Compare November 23, 2021 23:24
Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@daosbuild1
Copy link
Copy Markdown
Collaborator

Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@daosbuild1
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@daosbuild1
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@johannlombardi johannlombardi merged commit f15d6c9 into master Dec 5, 2021
@johannlombardi johannlombardi deleted the tanabarr/control-ds-vmd-scanw branch December 5, 2021 15:24
tanabarr added a commit that referenced this pull request Dec 5, 2021
…es (#7440)

Allow local storage scan to detect VMD backing devices and display details.

Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
tanabarr added a commit that referenced this pull request Dec 30, 2021
…es (#7440)

Allow local storage scan to detect VMD backing devices and display details.

Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
johannlombardi pushed a commit that referenced this pull request Jan 4, 2022
…es (#7440) (#7563)

Allow local storage scan to detect VMD backing devices and display details.

Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants