On Aug 26, 2008 13:04 -0400, Theodore Ts'o wrote:I mean that this is for "e2fsck -fn". In that case the filesystem isn't changed, and is often completely clean except the superblock counters. Until we have block-device freeze ioctl widely available (or convince users to use LVM), the best we can do is quiesce Lustre IO without unmounting the filesystem. Without patch: # e2fsck -fn /dev/hda3 e2fsck 1.40.7.sun1 (28-Feb-2008) Warning! /dev/hda3 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Free blocks count wrong (213908, counted=213298). Fix? no Free inodes count wrong (249992, counted=249282). Fix? no lustre-MDT0000: ********** WARNING: Filesystem still has errors ********** lustre-MDT0000: 56/250048 files (17.9% non-contiguous), 36092/250000 blocks # echo $? 4 With patch: # e2fsck -fn /dev/hda3 e2fsck 1.40.11.sun1 (17-June-2008) Warning! /dev/hda3 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Free blocks count wrong (213908, counted=213298). Fix? no Free inodes count wrong (249992, counted=249282). Fix? no lustre-MDT0000: 56/250048 files (17.9% non-contiguous), 36092/250000 blocks # echo $? 0 Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Bryan Woods | Stardom SATA HSM violation |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by commit a2bd7274b47124d2fc4d... |
git: | |
| Abdelrazak Younes | Git-windows and git-svn? |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| walt | [VOTE] git versus mercurial |
| Bill Lear | Error "fatal: cannot pread pack file: Success" |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Henning Brauer | Re: About Xen: maybe a reiterative question but .. |
| Patrick Hemmen | ipsec with carp |
| Alexey Dobriyan | 2.6.25-rc8-mm2: FIX kmalloc-2048 (was Re: 2.6.25-rc8-mm2: IP: [<ffffffff802868f... |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Johann Baudy | Packet mmap: TX RING and zero copy |
