[Top] [All Lists]

Re: Mounting an xfs partition twice?

To: Jim Buzbee <James.Buzbee@xxxxxxxxxxxx>
Subject: Re: Mounting an xfs partition twice?
From: Steve Lord <lord@xxxxxxx>
Date: 14 Feb 2002 10:11:18 -0600
Cc: XFS List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3C6BDFC6.14BE4651@echostar.com>
References: <3C6BDFC6.14BE4651@echostar.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, 2002-02-14 at 10:03, Jim Buzbee wrote:
> While looking into an apparent filesystem corruption issue, I noticed
> that a script that we run mounts an already mounted filesystem in a
> different location.  Mount allows it. Is this a feature? or is this a
> _bad_ thing?  The corruption I am seeing is not on the partition that is
> mounted twice. 
> In the corrupted directory, I see several files listed twice, and a
> simple "ls -l" gives me several  "No such file or directory" errors on
> other files that were previously in the directory.
> Any help and/or advice would be appreciated.

Mounting a filesystem in two different places (or the same place twice)
is a linux vfs thing. The idea is so make setting up chrooted environments 
simpler. All it means is there are multiple paths into the filesystem,
the filesystem itself is really only present once.

As for the corruption thing, run xfs_repair -n on the filesystem and 
xfs_check and send us the output. Also some information about software
and hardware versions, and what you are doing to get the corruption.


> Thanks,
> Jim Buzbee
> Echostar Technologies

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx

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