Linux resize2fs: Bad magic number in super-block錯誤的解決方法
[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.
執行resize2fs報錯:
[root@backup binlog]# resize2fs /dev/mapper/centos-home
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block 當嘗試開啟 /dev/mapper/centos-home 時
找不到有效的檔案系統超級塊.
確認檔案系統是xfs:
[root@backup binlog]# cat /etc/fstab | grep centos-home
/dev/mapper/centos-home /home xfs defaults 0 0
xfs用以下命令來擴磁碟空間:
[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
--- 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.
執行resize2fs報錯:
[root@backup binlog]# resize2fs /dev/mapper/centos-home
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block 當嘗試開啟 /dev/mapper/centos-home 時
找不到有效的檔案系統超級塊.
確認檔案系統是xfs:
[root@backup binlog]# cat /etc/fstab | grep centos-home
/dev/mapper/centos-home /home xfs defaults 0 0
xfs用以下命令來擴磁碟空間:
[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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15498/viewspace-2136692/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Bad magic number for central directory
- Linux yum提示Loaded plugins錯誤的解決方法LinuxPlugin
- PHP & Linux: libsodium.so.23 錯誤解決方法PHPLinux
- undefined reference to錯誤的解決方法Undefined
- Linux下錯誤解決方案Linux
- PbootCMS 404 錯誤解決方法boot
- dbfread報錯ValueError錯誤解決方法Error
- linux解決“XXX is not in the sudoers file”錯誤Linux
- dedecms提示500錯誤解決方法
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- Mac上搭建chromedriver的錯誤解決方法MacChrome
- standby新增檔案錯誤的解決方法
- nginx出現403錯誤的解決方法Nginx
- MYSQL中 TYPE=MyISAM 錯誤的解決方法MySql
- 400 Bad Request(錯誤請求)
- Linux中常見的檔案讀寫錯誤問題及解決方法!Linux
- Nginx報504 gateway timeout錯誤的解決方法NginxGateway
- steam磁碟寫入錯誤怎麼解決 steam磁碟寫入錯誤解決方法大全
- 印表機提示列印錯誤怎麼解決 印表機狀態錯誤的方法
- 織夢提示dedecms error warning錯誤的解決方法Error
- 解決java5 發行錯誤最好的方法Java
- ORA-06550錯誤程式碼的解決方法QB
- mysql 發生系統錯誤1067的解決方法MySql
- Ocelot錯誤解決
- 解決伺服器返回錯誤的方法和步驟伺服器
- Python: 安裝 sklearn 包出現錯誤的解決方法Python
- 資料庫連線錯誤的原因及解決方法資料庫
- ORACLE匯入遇到ORACLE錯誤959解決方法Oracle
- Cocopods的升級錯誤解決
- ORA-12005 錯誤的解決
- SAXParseException的錯誤解決之二Exception
- 解決 Python UnicodeEncodeError 錯誤PythonUnicodeError
- ERROR L107: ADDRESS SPACE OVERFLOW keil錯誤的解決方法Error
- FreeBSD系統下zfs: failed with error 6錯誤的解決方法AIError
- Nginx下出現 see security.limit_extensions錯誤的解決方法NginxMIT
- adobe安裝提示【錯誤程式碼1】解決方法
- The operation, ‘DecodeJpeg/contents‘, does not exist in the graph.錯誤解決方法
- 高階複製錯誤ORA-23474解決方法
- 帝國CMS搬家常見錯誤及解決方法