DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] LUKS partition write-protected, mounting read-only
@ 2016-04-26 22:38 Serrano Pereira
  2016-04-27  0:44 ` Arno Wagner
  2016-04-27  4:18 ` David Christensen
  0 siblings, 2 replies; 3+ messages in thread
From: Serrano Pereira @ 2016-04-26 22:38 UTC (permalink / raw)
  To: dm-crypt

Hello,

When I create a LUKS partition like so:

$ cryptsetup luksFormat /root/test
$ cryptsetup open /root/test test
$ mkfs.ext4 -j /dev/mapper/test
$ mount /dev/mapper/test /mnt/files

Then I can create files in /mnt/files just fine. But when I copy
/root/test to a different computer, and then do:

$ cryptsetup open /root/test test
Enter passphrase for /root/test:
mount: /dev/mapper/test is write-protected, mounting read-only
$ mount /dev/mapper/test /mnt/files

As you can see, the device is mounted read-only. I cannot write any
files to the LUKS partition. Why is this so? How can I write to the
partition on another computer?

Regards,
Serrano

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-27  4:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 22:38 [dm-crypt] LUKS partition write-protected, mounting read-only Serrano Pereira
2016-04-27  0:44 ` Arno Wagner
2016-04-27  4:18 ` David Christensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox