Re: lto/xfs filesystem recover.

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

 



On Oct 29, 2014, at 10:03 AM, Gary Artim <gartim@xxxxxxxxx> wrote:

> I have a xfs filesystem (4 drives) and one died /dev/sdc1. It was used for backup and trying to recover one directory. Any ideas would be great. I was able to drop the volume that died and have a pv of 3 now, but getting lvm to recognize (create a dev) is not happening
> 
> parted /dev/sdx
> mklabel gpt
> mkpart primary xfs 1 -1 (sometime xfs doesnt work until the xfsprogs are installed and reboot)
> set 1 lvm on
> 
> do this for each drive.
> pvcreate /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
> vgcreate backup /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
> lvcreate -L 9T -n backuplv backup
> mkfs.xfs -L backuplv /dev/mapper/backup-backuplv
> /dev/mapper/backup-backuplv /xfs xfs   (in fstab)

I can't tell how the four drives were arranged such that there's one XFS volume. Is this LVM linear (default)? If so I'd say it's toast, but whether you can maybe mount it ro and use the remaining metadata in each AG to extract data on each drive is probably best asked on the XFS list. The same applies to md linear/concat. If it's raid0 then it's definitely toast.

I'll assume it's not raid1/mirror or you'd be able to use it degraded and recovery is pretty sraightforward.

Chris Murphy
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[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