Jump to content

How do I recover data from a failed cache drive? Array Starting - Mounting disks... XFS Cache drive failed, cannot mount array and cannot mount as unassigned drive.


Recommended Posts

Hello kind users,

 

I have been trying different solutions on the forums (e.g. 1. unmount the cache drive, start array, mount cache drive; 2. unmount the cache drive, mount as unassigned device read-only) but neither are working. I have tried mounting the cache drive in both regular startup and safe mode, same results.

 

I have downloaded the diagnostics file directly after I tried mounting the cache drive again, where it is stuck. I have attached that to this post.

At this rate I have accepted that the cache drive has been corrupted. I am now desperate to take data off the cache drive, as I stupidly had shares set to cache-only. I also had my appdata and docker image stuff there. I've attached the SMART report for the drive as well.

 

Can someone guide me on how to approach this problem? Thank you so much.

tower-diagnostics-20240807-2358.zip tower-smart-20240808-0000.zip

Link to comment

With the array stopped, this is the output:

 

Phase 1 - find and verify superblock...
        - block cache size set to 6161560 entries
Phase 2 - using internal log
        - zero log...
zero_log: head block 746056 tail block 594776
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair.  If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.

 

Link to comment

I also attempted to mount the drive by running:

mkdir /mnt/xfs_drive

mount -t xfs /dev/sdc1 /mnt/xfs_drive

 

And the terminal is frozen after this line -- should I attempt to do an xfs_repair with the -L tag? Will this cause any problems?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...