Disk Says It is Full But There's Nothing on It
Eric Robinson
eric.robinson at psmnv.com
Tue Aug 6 13:28:05 PDT 2024
> -----Original Message-----
> From: Daniel Wagner <dwagner at suse.de>
> Sent: Tuesday, August 6, 2024 3:06 PM
> To: Eric Robinson <eric.robinson at psmnv.com>
> Cc: linux-nvme at lists.infradead.org
> Subject: Re: Disk Says It is Full But There's Nothing on It
>
> On Tue, Aug 06, 2024 at 01:11:23PM GMT, Eric Robinson wrote:
>
> > I was on 2.6.5. I upgraded to 2.9.1 but got the same result.
>
> I assume you also update libnvme alongside, because the bug was in libnvme.
Yes, I upgraded to libnvme 1.6.1.
> Anyway, what do you get with:
>
> nvme id-ns /dev/nvme0n1
>
> This should help to figure out if nvme-cli gets it wrong or the device reports
> someting bogus (nsze, ncap, nuse).
[root at store11b zpool0]# nvme id-ns /dev/nvme0n1
NVME Identify Namespace 1:
nsze : 0x6fc400000
ncap : 0x6fc400000
nuse : 0x6fc400000
nsfeat : 0
nlbaf : 4
flbas : 0
mc : 0x3
dpc : 0x1f
dps : 0
nmic : 0x1
rescap : 0xff
fpi : 0x80
dlfeat : 1
nawun : 0
nawupf : 0
nacwu : 0
nabsn : 0
nabo : 0
nabspf : 0
noiob : 0
nvmcap : 15360950534144
mssrl : 0
mcl : 0
msrc : 0
nulbaf : 0
anagrpid: 0
nsattr : 0
nvmsetid: 0
endgid : 0
nguid : 3647373054a015890025384100000002
eui64 : 0000000000000000
lbaf 0 : ms:0 lbads:9 rp:0x1 (in use)
lbaf 1 : ms:8 lbads:9 rp:0x3
lbaf 2 : ms:0 lbads:12 rp:0
lbaf 3 : ms:8 lbads:12 rp:0x2
lbaf 4 : ms:64 lbads:12 rp:0x3
Disclaimer : This email and any files transmitted with it are confidential and intended solely for intended recipients. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physician Select Management. Warning: Although Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
More information about the Linux-nvme
mailing list