From: Chaitanya Kulkarni <chaitanyak@nvidia.com>
To: "linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Subject: Re: [PATCH nvme-cli 0/2] add "State" field in command "nvme list"
Date: Thu, 16 Sep 2021 16:58:50 +0000 [thread overview]
Message-ID: <e40fa754-60ae-ab6f-bd2e-27b8ed7251a1@nvidia.com> (raw)
In-Reply-To: <20210915132912.3004-1-chengjike.cheng@huawei.com>
On 9/15/21 6:29 AM, chengjike wrote:
> When NVMe Subsystem is connected with one or more controllers via fabric, such as NVMe-oF over RDMA,
> if some links are down, some nvme disks on the host are faulty and they won't be deleted immediately.
> But the "nvme list" command does not show these faulty disks.
> So add "State" field in command "nvme list", and display the status of each disk for users.
> For example:
> [root@localhost nvme-cli]# nvme list
> Node SN Model Namespace Usage Format FW Rev Status
> ----------- -------------------- ------------- --------- ------------------------ ---------------- -------- --------
> nvme0n2 25658552656655456265 Huawei-XSG1 2 2.83 GB / 10.74 GB 512 B + 0 B 1000001 live
> nvme0n1 25658552656655456265 Huawei-XSG1 1 2.78 GB / 10.74 GB 512 B + 0 B 1000001 faulty
>
what if namespace is non NVMeOF ? also you need to make the printing
status optional.
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
next prev parent reply other threads:[~2021-09-16 16:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 13:29 [PATCH nvme-cli 0/2] add "State" field in command "nvme list" chengjike
2021-09-15 13:29 ` [PATCH nvme-cli 1/2] add "State" entry chengjike
2021-09-16 16:57 ` Chaitanya Kulkarni
2021-09-16 19:21 ` Keith Busch
2021-09-16 23:01 ` Chaitanya Kulkarni
2021-09-22 13:17 ` Chengjike (ISSP)
2021-09-15 13:29 ` [PATCH nvme-cli 2/2] set disk state chengjike
2021-09-16 16:58 ` Chaitanya Kulkarni [this message]
2021-09-22 13:11 ` [PATCH nvme-cli 0/2] add "State" field in command "nvme list" Chengjike (ISSP)
2021-09-19 14:05 ` Sagi Grimberg
2021-09-22 13:01 ` Chengjike (ISSP)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e40fa754-60ae-ab6f-bd2e-27b8ed7251a1@nvidia.com \
--to=chaitanyak@nvidia.com \
--cc=linux-nvme@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).