Re: Mindi failure

Bill Wesson <[email protected]> Sun, 27 Jan 2019 09:13:34 -0500
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
Bruno;

Thanks for the response. I ran the two commands as requested, as root, 
and the outputs were the same with no apparent failures (two files 
included in this email). Interesting thing is when I ran the bash -x 
command the output to the terminal window was greatly different that 
what went intol the file. I ran each command piped to tee and the output 
filename.

I have worked around the problem by cloning the original hdd to an ssd 
using df, which worked. However, I won't be able to use mondo for 
anything unless I can get past the syslinux failure.

Another question you had was about having a microsoft partition for 
boot. I don't have an answer, but it does seem strange. It is what the 
Centos 7.6 iso created when I installed it.

Thanks;

Bill

On 1/24/19 6:08 AM, Bruno Cornec wrote:
> bash -x /usr/lib64/mindi/analyze-my-lvm

_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
bash-mindi-analyze-my-lvm-wdw (text/plain, 1.2 KB)
/sbin/lvmdiskscan
/sbin/lvm
i=2
LVM version >= 2.0 found.
Just before you extrapolate mountlist to include RAID partitions,
extrapolate it to include the following LVM drives and partitions:-
>>>>> /dev/sda3 
To get started, type:-
(insmod dm-mod)
(insmod dm_mod)
# lvm vgchange -an
# echo y | lvm pvcreate -ff /dev/sda3
# lvm vgscan

Create and activate the VG's (volume groups).
# lvm vgcreate centos_scotty -l 0 -p 0 -s 4.00m /dev/sda3 
# lvm vgchange -a y centos_scotty

Finally, create the LV's (logical volumes).
# echo y | lvm lvcreate -l 9%VG -r auto -n root centos_scotty
# echo y | lvm lvcreate -l 2%VG -r auto -n swap centos_scotty
# echo y | lvm lvcreate -l 88%VG -r auto -n home centos_scotty

# lvm vgscan
Now you may format the LV's:-
(mkfs -t foo /dev/centos_scotty/swap or something like that)
(mkfs -t foo /dev/centos_scotty/home or something like that)
(mkfs -t foo /dev/centos_scotty/root or something like that)

Finally, to shut down and delete the volumes, do this:-
(lvm lvremove -f /dev/centos_scotty/swap)
(lvm lvremove -f /dev/centos_scotty/home)
(lvm lvremove -f /dev/centos_scotty/root)
(lvm vgchange -a n centos_scotty)
(lvm vgremove centos_scotty)
(rmmod dm-mod & rmmod dm_mod & )
mindi-analyze-my-lvm (text/plain, 1.2 KB)
/sbin/lvmdiskscan
/sbin/lvm
i=2
LVM version >= 2.0 found.
Just before you extrapolate mountlist to include RAID partitions,
extrapolate it to include the following LVM drives and partitions:-
>>>>> /dev/sda3 
To get started, type:-
(insmod dm-mod)
(insmod dm_mod)
# lvm vgchange -an
# echo y | lvm pvcreate -ff /dev/sda3
# lvm vgscan

Create and activate the VG's (volume groups).
# lvm vgcreate centos_scotty -l 0 -p 0 -s 4.00m /dev/sda3 
# lvm vgchange -a y centos_scotty

Finally, create the LV's (logical volumes).
# echo y | lvm lvcreate -l 9%VG -r auto -n root centos_scotty
# echo y | lvm lvcreate -l 2%VG -r auto -n swap centos_scotty
# echo y | lvm lvcreate -l 88%VG -r auto -n home centos_scotty

# lvm vgscan
Now you may format the LV's:-
(mkfs -t foo /dev/centos_scotty/swap or something like that)
(mkfs -t foo /dev/centos_scotty/home or something like that)
(mkfs -t foo /dev/centos_scotty/root or something like that)

Finally, to shut down and delete the volumes, do this:-
(lvm lvremove -f /dev/centos_scotty/swap)
(lvm lvremove -f /dev/centos_scotty/home)
(lvm lvremove -f /dev/centos_scotty/root)
(lvm vgchange -a n centos_scotty)
(lvm vgremove centos_scotty)
(rmmod dm-mod & rmmod dm_mod & )