Re: This is an error reported in the recovery log

夏为丁 <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
Are these?




发自网易邮箱大师
On 7/17/2018 17:21,Josef Rick<[email protected]> wrote:

It looklike my problems too.







Can you report som line of the log, before your log started?




Starting with fdisk.......

Thanks a lot




with regards

Josef





Von: 夏为丁 <[email protected]>
Gesendet: Dienstag, 17. Juli 2018 07:34
An:[email protected]
Betreff: [Mondo-devel] This is an error reported in the recovery log
 
Please help me see how to solve it !




发自网易邮箱大师

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
mondorestore.txt (text/plain, 6.6 KB)
Command (m for help): Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p): Partition number (1-4, default 1): First sector (2048-41943039, default 2048): Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-41943039, default 41943039): Partition 1 of type Linux and of size 1 GiB is set

Command (m for help): Command (m for help): Command (m for help): 
Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x641a83a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     2099199     1048576   83  Linux

Command (m for help): Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended
Select (default p): Partition number (2-4, default 2): First sector (2099200-41943039, default 2099200): Using default value 2099200
Last sector, +sectors or +size{K,M,G} (2099200-41943039, default 41943039): Value out of range.
Last sector, +sectors or +size{K,M,G} (2099200-41943039, default 41943039): Using default value 41943039
Partition 2 of type Linux and of size 19 GiB is set

Command (m for help): Command (m for help): 
Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x641a83a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     2099199     1048576   83  Linux
/dev/sda2         2099200    41943039    19921920   83  Linux

Command (m for help): Partition number (1,2, default 2): Hex code (type L to list all codes): Changed type of partition 'Linux' to 'Linux LVM'

Command (m for help): Command (m for help): Command (m for help): 
Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x641a83a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     2099199     1048576   83  Linux
/dev/sda2         2099200    41943039    19921920   8e  Linux LVM

Command (m for help): Partition number (1,2, default 2): Hex code (type L to list all codes): Changed type of partition 'Linux LVM' to 'Linux LVM'

Command (m for help): Command (m for help): Command (m for help): 
Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x641a83a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     2099199     1048576   83  Linux
/dev/sda2         2099200    41943039    19921920   8e  Linux LVM

Command (m for help): 
Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x641a83a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     2099199     1048576   83  Linux
/dev/sda2         2099200    41943039    19921920   8e  Linux LVM

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): Partition number (1,2, default 2): 
Command (m for help): Partition number (1,2, default 2): 
Command (m for help): 
Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x641a83a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     2099199     1048576   83  Linux
/dev/sda2   *     2099200    41943039    19921920   8e  Linux LVM

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
INFO: ------------------- end of fdisk.log...       ------------------
INFO: Failed.
INFO: Errors may have occurred during the partitioning of your hard drives.
INFO: Warning. Errors occurred during partitioning.
INFO: Preparing to format your disk(s)
INFO: Please wait. This may take a few minutes.
DBG2: [Main] ../src/mondorestore/mondo-prep.c->format_everything#825: format_everything (mountlist, interactively = false
INFO: Formatting partitions	   
DBG1: [Main] ../src/mondorestore/mondo-prep.c->format_everything#832: Stopping all RAID devices
DBG1: [Main] ../src/mondorestore/mondo-prep.c->format_everything#838: Prepare soft-RAIDs
DBG2: [Main] ../src/mondorestore/mondo-prep.c->format_everything#841: Examining /dev/sda2
DBG2: [Main] ../src/mondorestore/mondo-prep.c->format_everything#841: Examining /dev/centos/root
DBG2: [Main] ../src/mondorestore/mondo-prep.c->format_everything#841: Examining /dev/sda1
DBG1: [Main] ../src/mondorestore/mondo-prep.c->format_everything#863: Creating LVMs
DBG2: [Main] ../src/mondorestore/mondo-rstr-tools.c->wait_until_software_raids_are_prepped#2274: wait_until_software_raids_are_prepped
INFO: Configuring LVM
DBG2: [Main] ../src/mondorestore/mondo-prep.c->do_my_funky_lvm_stuff#196: STARTING
DBG1: [Main] ../src/mondorestore/mondo-prep.c->do_my_funky_lvm_stuff#197: OK, opened i-want-my-lvm. Shutting down LVM volumes...
DBG4: [Main] libmondo-files.c->find_home_of_exe#360: find_home_of_exe --- Found lvm at /sbin/lvm
DBG1: [Main] ../src/mondorestore/mondo-prep.c->do_my_funky_lvm_stuff#238: OK, rewound i-want-my-lvm. Doing funky stuff...
INFO: lvm vgchange -an --> 0
INFO: echo y | lvm pvcreate -ff /dev/sda2 --> 0
INFO: lvm vgscan --> 0
DBG1: [Main] ../src/mondorestore/mondo-prep.c->do_my_funky_lvm_stuff#270: Deleting old entries at /dev/centos
INFO: running: rm -Rf /dev/centos > /tmp/mondo.tmp.ucMTiT/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.ucMTiT/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: --------------------------------end of output------------------------------
INFO: ...ran just fine. :-)
INFO: running: lvm vgscan > /tmp/mondo.tmp.ucMTiT/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.ucMTiT/mondo-run-prog-thing.err
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.