xfs fs on lvm, failed drive.

Gary Artim gartim at gmail.com
Wed Oct 29 12:19:35 CDT 2014


Hi...wondering if there is anyway I can salvage a directory on the lvm
volume that is xfs? thanks of any help, assembled:

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)

failed drive:
/dev/sdc1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20141029/74b774ca/attachment.html>


More information about the xfs mailing list