| To: | "Jan Strohbehn" <j.strohbehn@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Checking mounted fs |
| From: | "Eric Sandeen" <sandeen@xxxxxxx> |
| Date: | Fri, 24 Aug 2001 08:52:23 -0500 |
| Cc: | "linux-xfs" <linux-xfs@xxxxxxxxxxx> |
| References: | <20010723095815.B402@xxxxxxxxxxxxx> <200107231404.f6NE4B010447@xxxxxxxxxxxxxxxxxxxx> <3B862623.9060707@xxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
Jan Strohbehn wrote: > My question is, can I run a "xfs_check /dev/.. || xfs_repair /dev/.." > before mounting the disk (during a takeover), or will I run into > additional problems, if the xfs is (accidently) still mounted etc. ?? > (It just happened, that the takeover failed because of a corrupted xfs.) Both commands will simply fail if the filesystem is mounted. You could check /proc/mounts first, I suppose, to see what's mounted before you try to do this? -Eric -- Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs sandeen@xxxxxxx SGI, Inc. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | multiple writes of same block, Eyal Lebedinsky |
|---|---|
| Next by Date: | Re: xfs_create looping, missing dirs/files, corrupt inode tables, etc., yocum |
| Previous by Thread: | Checking mounted fs, Jan Strohbehn |
| Next by Thread: | Re: Checking mounted fs, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |