Portál AbcLinuxu, 16. prosince 2025 07:29
device-mapper: resume ioctl on failed: Nepřípustný argument
Lze vůbec tento typ disku zašifrovat?
Díky.
Lze vůbec tento typ disku zašifrovat?Určitě. Blokové zařízení jako blokové zařízení, kernelu je to jedno. Bude ale potřeba napsat, jakým programem a s jakými parametry se šifrování snažíš vytvořit. Některé módy (xts-plain) například používaly 32bitové IV, které přes 2 TiB přeteklo. Proto třeba pro XTS potřebuješ xts-plain64.
LUKS header information for /dev/sdc
Version: 1
Cipher name: aes
Cipher mode: xts-plain64
Hash spec: sha256
Payload offset: 4096
MK bits: 256
MK digest: ff da 02 df d3 33 35 09 23 98 17 c3 f9 38 b4 37 8e 02 21 0e
MK salt: b0 fe 5a c2 2b 54 29 d5 df 3f 22 ae 43 76 b7 d6
e9 23 ea c7 3f d7 7d 4b 65 1b 00 ba df 50 59 c0
MK iterations: 520750
UUID: 24396ceb-6cf3-44f8-a2b8-3d0a0d968a18
Key Slot 0: ENABLED
Iterations: 4137373
Salt: dc a6 b5 38 dc 5c 26 06 d2 5c dc c2 fe 6f 14 93
38 cb bf db 6e 1e 68 41 f9 6d 3e ba fe e3 f1 3e
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
cryptsetup -c aes-xts-plain64 luksFormat [device]
cryptsetup open /dev/sdc dm_data Zadejte heslo pro /dev/sdc: device-mapper: resume ioctl on failed: Nepřípustný argument
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.