186d7f5d3SJohn Marino#!/bin/bash 286d7f5d3SJohn Marino# Copyright (C) 2008 Red Hat, Inc. All rights reserved. 386d7f5d3SJohn Marino# 486d7f5d3SJohn Marino# This copyrighted material is made available to anyone wishing to use, 586d7f5d3SJohn Marino# modify, copy, or redistribute it subject to the terms and conditions 686d7f5d3SJohn Marino# of the GNU General Public License v.2. 786d7f5d3SJohn Marino# 886d7f5d3SJohn Marino# You should have received a copy of the GNU General Public License 986d7f5d3SJohn Marino# along with this program; if not, write to the Free Software Foundation, 1086d7f5d3SJohn Marino# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 1186d7f5d3SJohn Marino 1286d7f5d3SJohn Marino. ./test-utils.sh 1386d7f5d3SJohn Marino 1486d7f5d3SJohn Marinoexit 200 1586d7f5d3SJohn Marino# doesn't work right now 1686d7f5d3SJohn Marinoaux prepare_pvs 2 1786d7f5d3SJohn Marinoaux pvcreate --metadatacopies 0 $dev1 1886d7f5d3SJohn Marinovgcreate -cn $vg $devs 1986d7f5d3SJohn Marino 2086d7f5d3SJohn Marino# Test for block sizes != 1024 (rhbz #480022) 2186d7f5d3SJohn Marinolvcreate -n$lv1 -L 64M $vg 2286d7f5d3SJohn Marinomke2fs -b4096 -j $G_dev_/$vg/$lv1 2386d7f5d3SJohn Marinoe2fsck -f -y $G_dev_/$vg/$lv1 2486d7f5d3SJohn Marinofsadm --lvresize resize $G_dev_/$vg/$lv1 128M 2586d7f5d3SJohn Marinovgremove -ff $vg 26