xfs
[Top] [All Lists]

REOPEN 801764 - xfs_check and xfs_repair should fail if device mounted

To: nathans@xxxxxxxxxxxx
Subject: REOPEN 801764 - xfs_check and xfs_repair should fail if device mounted
From: pv@xxxxxxxxxxxxx (nathans@xxxxxxxxxxxx)
Date: Sun, 17 Sep 2000 23:09:29 -0700 (PDT)
Cc: linux-xfs@xxxxxxxxxxx
Reply-to: sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Webexec: webpvupdate,pvincident
Webpv: wobbly.melbourne.sgi.com
View Incident: 
http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=801764

*Status : open                         Priority : 4                         
 Assigned Engineer : nathans           Submitter : dxm                      
 Project : xfs-linux                   Assigned Group : xfs-linux           
 Opened Date : 09/13/00               *Closed Date :                        
*Fixed By :                           *Fixed By Domain :                    
*Verified Date :                      *Modified User : nathans              
*Modified User Domain : engr          *Description :
both "xfs_check" and "xfs_repair -n" may be run on a mounted
filesystem and will usually produce lots of warnings about
filesystem corruption due to the inconsistent state the FS
is in.

Both tools should fail or at least warn that the FS is mounted
before proceeding. 

xfs_logprint should also warn when run on a mounted FS, but
can still be useful when mounted.

.....


==========================
ADDITIONAL INFORMATION (REOPEN)
From: nathans@engr (BugWorks)
Date: Sep 17 2000 11:09:28PM
==========================

I've backed this fix out... it works but is too simplistic an
approach for the general case.  We should allow these tools to
run on a filesystem which is mounted read-only - this change
currently disallows _all_ mounted filesystems, which is too
strict.

<Prev in Thread] Current Thread [Next in Thread>
  • REOPEN 801764 - xfs_check and xfs_repair should fail if device mounted, nathans@xxxxxxxxxxxx <=