Re: mdadm raid1 lost (my fault)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/NGVDZEGFIV5AH5G6SGXOIMILEA4ARGOO/
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/K45CVYBOBSVCKZHWFODUXBAVFIGDNR3N/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux