In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
[root@backup binlog] # vgdisplay
-Volume group
VG Name centos
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 2
Act PV 2
VG Size 2.73 TiB
PE Size 4.00 MiB
Total PE 715273
Alloc PE / Size 712822 / 2.72 TiB
Free PE / Size 2451 / 9.57 GiB
VG UUID 6rIzMZ-cqff-oWy6-0EvS-YENe-37U9-65SunU
[root@backup binlog] # lvextend-L + 4G / dev/mapper/centos-home
Size of logical volume centos/home changed from 2.66 TiB (697542 extents) to 2.66 TiB (698566 extents).
Logical volume home successfully resized.
Execute resize2fs error message:
[root@backup binlog] # resize2fs / dev/mapper/centos-home
Resize2fs 1.42.9 (28-Dec-2013)
Resize2fs: Bad magic number in super-block when trying to open / dev/mapper/centos-home
No valid file system super block was found.
Verify that the file system is xfs:
[root@backup binlog] # cat / etc/fstab | grep centos-home
/ dev/mapper/centos-home / home xfs defaults 0 0
Xfs expands disk space with the following command:
[root@backup binlog] # xfs_growfs / dev/mapper/centos-home
Meta-data=/dev/mapper/centos-home isize=256 agcount=6, agsize=118277632 blks
= sectsz=4096 attr=2, projid32bit=1
= crc=0 finobt=0
Data = bsize=4096 blocks=709040128, imaxpct=5
= sunit=0 swidth=0 blks
Naming = version 2 bsize=4096 ascii-ci=0 ftype=0
Log = internal bsize=4096 blocks=231011, version=2
= sectsz=4096 sunit=1 blks, lazy-count=1
Realtime = none extsz=4096 blocks=0, rtextents=0
Data blocks changed from 709040128 to 715331584
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.