]> git.proxmox.com Git - mirror_zfs.git/commit
Silence e2fsck warning in zconfig.sh
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 13 Dec 2013 19:29:06 +0000 (11:29 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 16 Dec 2013 17:46:10 +0000 (09:46 -0800)
commitc2d439dffd4c404d39e82e5b174a338515080f26
tree0b18c780d5f702a010ceb986074f186ffe122bbf
parentce37ebd2ebcbc8ec6bbaa56cd22e6e807b6d36f3
Silence e2fsck warning in zconfig.sh

When running zconfig.sh test 7 and 8 cause the following warning to
be printed to the console.  It's caused because we're snapshoting a
mounted ext2 filesystem which is not in a 'clean' state.  This is
to be expected since we have no guarentees about the on-disk
consistency of the filesystem.

EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

To silence the warning and preserve the intent of these test cases
they have been updated to unmount the filesystem prior to snapshoting
them.  This ensures the ext2 filesystem is in a consistent state
when the snapshot is taken.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Closes #1972
scripts/zconfig.sh