Re: mdadm raid1 lost (my fault)

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

 



On 06/03/2018 10:35 PM, page p wrote:
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

Did you stop the RAID array?  "mdadm -S /dev/md127"
What is the output of "mount"?
Given your comments below and since cryptsetup can't seem to find the data, I would assume your data is gone. The XFS signature is a red herring caused by your extra step.

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

Formatting them is wasted effort and can be confusing later, like now.

- 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...

The rest of the steps look ok.
_______________________________________________
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/MXGGFZGJDJLJW2SGTDF6FU6MWRCKOXV4/



[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