You are not logged in.
Pages: 1
Topic closed
Hi, this is a new WD Black ssd, trying to use 4K blocks
$ sudo nvme id-ns /dev/nvme0n1
...
nlbaf : 1
...
lbaf 0 : ms:0 lbads:9 rp:0x2 (in use)
lbaf 1 : ms:0 lbads:12 rp:0x1
So this should be supported, however
$ sudo nvme format /dev/nvme0n1 --lbaf=1
You are about to format nvme0n1, namespace 0x1.
Namespace nvme0n1 has parent controller(s):nvme0
WARNING: Format may irrevocably delete this device's data.
You have 10 seconds to press Ctrl-C to cancel this operation.
Use the force [--force|-f] option to suppress this warning.
Sending format operation ...
NVMe status: INVALID_FORMAT: The LBA Format specified is not supported. This may be due to various conditions(0x410a)
I'll appreciate any help.
Offline
Udate: in fact the same error happens without any format being specified:
sudo nvme format -f /dev/nvme0n1
NVMe status: INVALID_FORMAT: The LBA Format specified is not supported. This may be due to various conditions(0x410a)
What's going on?
Offline
Last update, I decided to partition anyway as it was and it seems that the system anyway takes the 4K block size:
$ blkid /dev/nvme0n1p2
/dev/nvme0n1p2: UUID="6964f66a-be49-46df-9a02-82b4cb01ef21" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="f734f601-d48d-d044-a56e-11328d8a42de"
Offline
See if the suspend trick can help you out, if you want to reconfigure the drive someday:
https://superuser.com/questions/1574424 … -supported
And yeah filesystem block size usually depends on other things instead of the logical block size of the drive. IIRC many filesystems will use the block size of 4KiB because it's the usual page size of memory Linux uses on an x86 PC.
Offline
Had "LBA Format specified is not supported" error with WD SN700, the suspend tricked worked.
Offline
Closing this old thread
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed