On 06/03/2018 11:09 PM, Samuel Sieb wrote:

Try "mount -t xfs -o ro /dev/sdb1 /mnt/localhost-sdb1".


returns:
mount: /dev/sdb1 is already mounted or /mnt/localhost-sdb1 busy

perhaps since i --created the array would this format the soft raid but leave the drive data intact not needing to mkfs.xfs once opened?

cryptsetup -v -c aes-xts-plain64 -s 512 -h sha512 luksFormat /dev/md127

Yes, I'm a little confused about what has happened.  If you really setup LUKS, then you shouldn't be able to see the XFS filesystem.  I guess you'll find out if you manage to mount it.

maybe i am creating these wrong but i have been doing it this way for about five years now... please correct me if i am wrong...

- i get 2(x) drives, create gpt partitions and format them as XFS
- mdadm --create to add both drives to an array
- cryptsetup the raid device as above
- cryptsetup luksOpen the device
- mkfs.xfs /dev/mapper/ the device
- cryptsetup luksClose the device

i only close to reopen to ensure that i can write to the device...

if this is not correct please let me know...

thank you again so much!
page







_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/NGVDZEGFIV5AH5G6SGXOIMILEA4ARGOO/
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/K45CVYBOBSVCKZHWFODUXBAVFIGDNR3N/

Reply via email to