xfs
[Top] [All Lists]

how to truncate XFS filesystem?

To: linux-xfs@xxxxxxxxxxx
Subject: how to truncate XFS filesystem?
From: Jonathan Dill <dill@xxxxxxxxxxxx>
Date: Thu, 27 Sep 2001 15:56:12 -0400
Organization: CARB
References: <200109271718.f8RHIYs09809@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
I have an XFS filesystem on a 50 GB disk that "thinks" that it's a 170
GB filesystem due to weirdness with a hot swap drive bay at a remote
site where data was collected.  When I try to mount this FS I get
"filesystem too large for device."

I'm making an image of the FS onto a second disk for backup purposes and
may take a stab at it with xfs_db.  Does anybody know how to "truncate"
the filesystem to fit the size of the device?

The next thing I might try is to dump the image onto a 170 GB disk and
see if xfs_repair can do something with it.

Thanks,
-- 
"Jonathan F. Dill" (dill@xxxxxxxxxxxx)
CARB IT Coordinator
Experimental Support Site http://concept.umbi.umd.edu


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