Lines Matching refs:VOLUME
61 VOLUME=unknown
123 dry $MOUNT "$VOLUME" "$MOUNTED"
131 test "$DO_LVRESIZE" -eq 2 && exec $LVM lvresize $VERB -r -L$(( $NEWSIZE / 1048576 )) $VOLUME
161 VOLUME=${1#/dev/}
162 VOLUME=$($READLINK $READLINK_E "/dev/$VOLUME") || error "Cannot get readlink $1"
164 VOLUME=${VOLUME%%$NL}
167 FSTYPE=$($BLKID -c /dev/null -s TYPE "$VOLUME") || error "Cannot get FSTYPE of \"$VOLUME\""
170 verbose "\"$FSTYPE\" filesystem found on \"$VOLUME\""
175 $MOUNT >/dev/null || error "Cannot detect mounted device $VOLUME"
176 MOUNTED=$($MOUNT | $GREP "$VOLUME")
187 DEVSIZE=$($BLOCKDEV --getsize64 "$VOLUME") || error "Cannot read size of device \"$VOLUME\""
189 DEVSIZE=$($BLOCKDEV --getsize "$VOLUME") || error "Cannot read size of device \"$VOLUME\""
190 SSSIZE=$($BLOCKDEV --getss "$VOLUME") || error "Cannot block size read device \"$VOLUME\""
204 dry $MOUNT "$VOLUME" "$TEMPDIR" || error "Failed to mount $TEMPDIR"
242 verbose "Parsing $TUNE_EXT -l \"$VOLUME\""
243 for i in $($TUNE_EXT -l "$VOLUME"); do
260 …verbose "Resizing filesystem on device \"$VOLUME\" to $NEWSIZE bytes ($BLOCKCOUNT -> $NEWBLOCKCOUN…
261 dry $RESIZE_EXT $FSFORCE "$VOLUME" $NEWBLOCKCOUNT
272 verbose "Parsing $TUNE_REISER \"$VOLUME\""
273 for i in $($TUNE_REISER "$VOLUME"); do
281 …verbose "Resizing \"$VOLUME\" $BLOCKCOUNT -> $NEWBLOCKCOUNT blocks ($NEWSIZE bytes, bs: $NEWBLOCKC…
283 dry echo y | $RESIZE_REISER -s $NEWSIZE "$VOLUME"
285 dry $RESIZE_REISER -s $NEWSIZE "$VOLUME"
312 verbose "Resizing Xfs mounted on \"$MOUNTPOINT\" to fill device \"$VOLUME\""
328 verbose "Device \"$VOLUME\" size is $DEVSIZE bytes"
338 *) error "Filesystem \"$FSTYPE\" on device \"$VOLUME\" is not supported by this tool" ;;
348 detect_mounted && error "Can not fsck device \"$VOLUME\", filesystem mounted on $MOUNTED"
350 "xfs") dry $XFS_CHECK "$VOLUME" ;;
351 *) dry $FSCK $YES "$VOLUME" ;;