|
[root@xyh-moon ~]# e2fsck -f /dev/vdb1
- A% h0 l( w- q+ o9 j$ Ne2fsck 1.42.9 (28-Dec-2013)
+ h3 S6 j0 {: [! j$ a/dev/vdb1 is mounted.
% M2 p- f! H- v4 ce2fsck: Cannot continue, aborting.3 I3 r5 z+ x$ a3 u
. ?+ M3 X$ S1 {
% }7 X8 U: O' k& @7 j& l
[root@xyh-moon ~]# resize2fs /dev/vdb1
" X. P8 L. C, c% a0 qresize2fs 1.42.9 (28-Dec-2013)
' e9 J+ v: Q" q- LFilesystem at /dev/vdb1 is mounted on /mnt/blockstorage; on-line resizing required$ n9 p: V0 ? x8 H3 t/ ^
old_desc_blocks = 15, new_desc_blocks = 32
( Y2 ~: h2 |7 \The filesystem on /dev/vdb1 is now 65535739 blocks long.
; Z [7 k: C6 X" \7 h, r J
; r, k, ]% r8 }! F& ]; ]+ } f[root@xyh-moon ~]# mount -a% e' `# L0 I5 h- J! _7 E
[root@xyh-moon ~]# df -h
& ~1 j9 E; P, L! ^ t. gFilesystem Size Used Avail Use% Mounted on
* l) v* e3 m$ H) [% A& O9 U' Tdevtmpfs 471M 0 471M 0% /dev3 r. k H2 H4 C' E) N( q
tmpfs 490M 0 490M 0% /dev/shm
% _; j8 C' w( S* |+ a Etmpfs 490M 7.5M 483M 2% /run
& d) `3 V/ c" ltmpfs 490M 0 490M 0% /sys/fs/cgroup
! \6 e9 b0 _. J& o/ T. d/dev/mapper/centos-root 29G 7.7G 22G 27% /- o+ J8 b7 \# @. q
/dev/vda1 1014M 208M 807M 21% /boot+ m* n+ ~8 {7 ]7 l
tmpfs 98M 12K 98M 1% /run/user/42- L& n/ P7 i+ D: F" @
tmpfs 98M 0 98M 0% /run/user/07 K! o" |8 ]2 X, @/ a4 @: i4 \
/dev/vdb1 246G 112G 125G 48% /mnt/blockstorage `% N: f' F+ c6 K$ L) g2 L
9 `+ S( l" Z! _9 k4 W% P# u
|
|