在使用gpt分区时这个这个提示

来源:2-5 Linux中GPT分区

比偶

2017-08-12 17:18

提示是在我执行完mklabel gpt之后出现的


(parted) mklabel gpt                                                      
*** glibc detected *** <unknown>: double free or corruption (!prev): 0x0000000014164000 ***
*** glibc detected *** <unknown>: malloc(): memory corruption: 0x0000000014164210 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3657672fae]
/lib64/libc.so.6(__libc_calloc+0xcd)[0x365767495d]
/lib64/ld-linux-x86-64.so.2[0x3657209e25]
/lib64/ld-linux-x86-64.so.2[0x3657205adc]
/lib64/ld-linux-x86-64.so.2[0x3657207d43]
/lib64/ld-linux-x86-64.so.2[0x3657210c8d]
/lib64/ld-linux-x86-64.so.2[0x365720ced6]
/lib64/ld-linux-x86-64.so.2[0x365721068c]
/lib64/libc.so.6[0x3657708ba0]
/lib64/ld-linux-x86-64.so.2[0x365720ced6]
/lib64/libc.so.6(__libc_dlopen_mode+0x47)[0x3657708d07]
/lib64/libc.so.6(backtrace+0x9f)[0x36576e5fef]
/lib64/libc.so.6[0x365766a85f]
/lib64/libc.so.6[0x365767230f]
/lib64/libc.so.6(cfree+0x4b)[0x365767276b]
/usr/lib64/libparted-1.8.so.0[0x365821a725]
/usr/lib64/libparted-1.8.so.0[0x3658248c84]
======= Memory map: ========
00400000-00410000 r-xp 00000000 08:02 2934923                            /sbin/parted
00610000-00611000 rw-p 00010000 08:02 2934923                            /sbin/parted
00611000-00612000 rw-p 00611000 00:00 0
00810000-00812000 rw-p 00010000 08:02 2934923                            /sbin/parted
14140000-14182000 rw-p 14140000 00:00 0                                  [heap]
3657200000-365721c000 r-xp 00000000 08:02 3358924                        /lib64/ld-2.5.so
365741b000-365741c000 r--p 0001b000 08:02 3358924                        /lib64/ld-2.5.so
365741c000-365741d000 rw-p 0001c000 08:02 3358924                        /lib64/ld-2.5.so
3657600000-365774e000 r-xp 00000000 08:02 3358925                        /lib64/libc-2.5.so
365774e000-365794d000 ---p 0014e000 08:02 3358925                        /lib64/libc-2.5.so
365794d000-3657951000 r--p 0014d000 08:02 3358925                        /lib64/libc-2.5.so
3657951000-3657952000 rw-p 00151000 08:02 3358925                        /lib64/libc-2.5.so
3657952000-3657957000 rw-p 3657952000 00:00 0
3657a00000-3657a02000 r-xp 00000000 08:02 3358926                        /lib64/libdl-2.5.so
3657a02000-3657c02000 ---p 00002000 08:02 3358926                        /lib64/libdl-2.5.so
3657c02000-3657c03000 r--p 00002000 08:02 3358926                        /lib64/libdl-2.5.so
3657c03000-3657c04000 rw-p 00003000 08:02 3358926                        /lib64/libdl-2.5.so
3657e00000-3657e1c000 r-xp 00000000 08:02 3358953                        /lib64/libdevmapper.so.1.02
3657e1c000-365801b000 ---p 0001c000 08:02 3358953                        /lib64/libdevmapper.so.1.02
365801b000-365801d000 rw-p 0001b000 08:02 3358953                        /lib64/libdevmapper.so.1.02
3658200000-365825d000 r-xp 00000000 08:02 373884                         /usr/lib64/libparted-1.8.so.0.0.1
365825d000-365845c000 ---p 0005d000 08:02 373884                         /usr/lib64/libparted-1.8.so.0.0.1
365845c000-3658460000 rw-p 0005c000 08:02 373884                         /usr/lib64/libparted-1.8.so.0.0.1
3658460000-3658461000 rw-p 3658460000 00:00 0
3658e00000-3658e15000 r-xp 00000000 08:02 3358942                        /lib64/libselinux.so.1
3658e15000-3659015000 ---p 00015000 08:02 3358942                        /lib64/libselinux.so.1
3659015000-3659017000 rw-p 00015000 08:02 3358942                        /lib64/libselinux.so.1
3659017000-3659018000 rw-p 3659017000 00:00 0
3659200000-365923b000 r-xp 00000000 08:02 3358941                        /lib64/libsepol.so.1
365923b000-365943b000 ---p 0003b000 08:02 3358941                        /lib64/libsepol.so.1
365943b000-365943c000 rw-p 0003b000 08:02 3358941                        /lib64/libsepol.so.1
365943c000-3659446000 rw-p 365943c000 00:00 0
3659600000-3659635000 r-xp 00000000 08:02 366740                         /usr/lib64/libreadline.so.5.1
3659635000-3659834000 ---p 00035000 08:02 366740                         /usr/lib64/libreadline.so.5.1
3659834000-365983c000 rw-p 00034000 08:02 366740                         /usr/lib64/libreadline.so.5.1
365983c000-365983d000 rw-p 365983c000 00:00Aborted
[root@localhost dev]# print
bash: print: command not found
[root@localhost dev]# parted
Warning: Unable to open /dev/hdc read-write (Read-only file system).  /dev/hdc has been opened read-only.
GNU Parted 1.8.1
Using /dev/hdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Error: Unable to open /dev/hdc - unrecognised disk label.                 
(parted) print all                                                        
Error: Unable to open /dev/hdc - unrecognised disk label.                 
(parted) mkpart                                                           
Error: Unable to open /dev/hdc - unrecognised disk label.                 
(parted)  



请问这是什么回事?

写回答 关注

1回答

  • 慕仔5237117
    2017-08-13 17:30:11

    指定分区模式之前,选择磁盘/dev/hdc了吗?

    比偶

    恩有的

    2017-08-14 21:59:21

    共 1 条回复 >

Linux 达人养成计划 II

VIM+磁盘管理+用户权限,通过学习对Linux系统有进一步的理解

124313 学习 · 226 问题

查看课程

相似问题