LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can I use cryptsetup commands on a PCIe NVM ssd drive? (https://www.linuxquestions.org/questions/linux-newbie-8/can-i-use-cryptsetup-commands-on-a-pcie-nvm-ssd-drive-4175696364/)

thecloud9 06-12-2021 06:59 PM

Can I use cryptsetup commands on a PCIe NVM ssd drive?
 
Hi everybody

I've been using mechanical hard drives for years and learn many commands to do on them. I know the cryptsetup commands support HDD and SATA SSD drives, but what about PCIe NVM drives?

Can the command below work on PCIe NVM drives?

Code:

cryptsetup luksFormat -c aes-xts-plain64 /dev/nvme0n1
Or do I need to add switches to the command above for this type of drive.

I appreciate any replies. Thanks

syg00 06-13-2021 02:43 AM

As a general rule the tools couldn't care less about the block device they are dealing with. If your kernel supports the device - i.e. you can see the device and its partitions, then you should be good to go. Try it and see.


All times are GMT -5. The time now is 05:26 AM.