xfs
[Top] [All Lists]

Re: Userspace cp and ls utility

To: Jan Dittmer <jdi@xxxxxxx>
Subject: Re: Userspace cp and ls utility
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 22 Jul 2006 22:36:37 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <44C0B0E4.7020403@l4x.org>
References: <44C0B0E4.7020403@l4x.org>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (Macintosh/20060516)
Jan Dittmer wrote:
Are there utilities for xfs which are able to ls and
cp from an _unmounted_ xfs volume? I fear that by
mounting the volume - even ro - I would lose even more
data.
Or can I achieve such an effect with other xfs related
utilities?

Mounting ro should be fine - if you also mount with "norecovery" then truly no IO should happen. If you're really paranoid, find a utility to mark the block device itself as read-only, then you've taken it out of the filesystem's hands completely.


You could also try xfs_copy, it makes a copy of the filesystem and works on the underlying device, with the filesystem unmounted. There's a man page for it.

-Eric


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