Re: mdadm raid1 lost (my fault)

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

 



On 06/03/2018 08:46 PM, page p wrote:
[fluorine 10:32:38 ~] $ file -s /dev/sdb1
/dev/sdb1: SGI XFS filesystem data (blksz 4096, inosz 512, v2 dirs)

[fluorine 10:32:42 ~] $ mount /dev/sdb1 /mnt/localhost-sdb1
mount: unknown filesystem type 'linux_raid_member'

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

Is there a way to remove the the drive from the the array without destroying the data? Not sure if something like this would work but will to try anything at this point...

Make sure you stop the array before accessing the individual drive. And include the "-o ro" as above to avoid modifying the filesystem as well.

wouldn't all the data on sdb1 be encrypted as md127 was formatted as LUKS writing to these two drives. meaning once removed from the array, the data would be rubbish?

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



[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