那些经过PV创建啊 ,vg 扩展啊 还有lv扩展的 都略过了。就说说我遇到的错误吧。先说说系统环境
侬 这就是系统环境咯
Linux oracle.localdomain 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
然后是自己报错咯
[root@oracle ~]# resize2fs /dev/cl_oracle/root
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open /dev/cl_oracle/root
Couldn't find valid filesystem superblock.
鹅鹅鹅饿饿 以前都是在用这个东西的,现在居然不行了啊。伤心啊!!!!!!!!
经过网络搜索发现了一个命令是
[root@oracle ~]# xfs
xfs_admin xfs_estimate xfsinvutil xfs_mkfile xfs_rtcp
xfs_bmap xfs_freeze xfs_io xfs_ncheck
xfs_copy xfs_fsr xfs_logprint xfs_quota
xfs_db xfs_growfs xfs_mdrestore xfs_repair
xfsdump xfs_info xfs_metadump xfsrestore
[root@oracle ~]# xfs_growfs /dev/cl_oracle/root
meta-data=/dev/mapper/cl_oracle-root isize=512 agcount=4, agsize=1113856 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=0 spinodes=0
data = bsize=4096 blocks=4455424, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 4455424 to 14940160
哟!!!!!成功了耶!!!!!! 忽然想起来7的文件系统的方面的东西。看来自己要学的东西还有很多哟!!!!!
特附上搜索到的博客的地址。
http://blog.itpub.net/24486203/
看着干货比较多的一位咯!
阅读(2507) | 评论(0) | 转发(0) |