[Top] [All Lists]

xfs fs on lvm, failed drive.

To: xfs@xxxxxxxxxxx
Subject: xfs fs on lvm, failed drive.
From: Gary Artim <gartim@xxxxxxxxx>
Date: Wed, 29 Oct 2014 10:19:35 -0700
Cc: Gary Artim <gartim@xxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=4mH8Mi3MAQXPqNPXgnFYpuExCBxe3LpKJRIr+eLuqnM=; b=FsPTFYGYaZksYpKICT3xUaus+8k/wwz2aJ2IUY/7dd3YIgkYzqjaRrPU5KZRadl+Yk sQkp8Ioudw9+G74N7Dv5msw4ieHpqV/FmKG4YCfzBQ9K9795tPBXSHzffEgEGg/EIBY/ N37ZZuJpsdlC3i8xYI775B+KrvcTrs7LBtIcjXhWdDAec6fsHHk2d/E8mI5xBksFk6EM FbgB/nBsnsD3rHRcSuBYP6UHBnORS+frpZpK0uClCXwR5n1q4mY5zOyeSR52psunNKis hLqdiCex4QwxDZGr6f2YnP9dAmNWUOdt+/+yMCQGheXNXSssJczRtRA0anrzgOgjr0/2 TEsg==
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:

<Prev in Thread] Current Thread [Next in Thread>