Opened 11 years ago

Last modified 11 years ago

#654 closed defect

analyze-my-lvm fails if LANG is not english — at Version 1

Reported by: Eduardo Owned by: Bruno Cornec
Priority: normal Milestone: 3.0.3
Component: mindi Version: 3.0.2
Severity: normal Keywords: mindi lvm create fail
Cc:

Description (last modified by Bruno Cornec)

Hello take care of LANG in create mindi copy..

[root@redhatprueba1 mindi]# set | grep LANG
LANG=en_US.UTF-8

[root@redhatprueba1 mindi]# ./analyze-my-lvm
/usr/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/sda2
To get started, type:-
(insmod dm-mod)
(insmod dm_mod)
# lvm vgchange -an
# echo y | lvm pvcreate -ff /dev/sda2
# lvm vgscan

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

Finally, create the LV's (logical volumes).
# lvm lvcreate -L 6082m -r auto -n LogVol00 VolGroup00
# lvm lvcreate -L 352.00m -r auto -n LogVol01 VolGroup00

# lvm vgscan
Now you may format the LV's:-
(mkfs -t foo /dev/VolGroup00/LogVol00 or something like that)
(mkfs -t foo /dev/VolGroup00/LogVol01 or something like that)

Finally, to shut down and delete the volumes, do this:-
(lvm lvremove -f /dev/VolGroup00/LogVol00)
(lvm lvremove -f /dev/VolGroup00/LogVol01)
(lvm vgchange -a n VolGroup00)
(lvm vgremove VolGroup00)
(rmmod dm-mod & rmmod dm_mod & )
[root@redhatprueba1 mindi]# ./analyze-my-lvm
/usr/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/sda2
To get started, type:-
(insmod dm-mod)
(insmod dm_mod)
# lvm vgchange -an
# echo y | lvm pvcreate -ff /dev/sda2
# lvm vgscan

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

Finally, create the LV's (logical volumes).
# lvm lvcreate -L 6082m -r auto -n LogVol00 VolGroup00
# lvm lvcreate -L 352.00m -r auto -n LogVol01 VolGroup00

# lvm vgscan
Now you may format the LV's:-
(mkfs -t foo /dev/VolGroup00/LogVol00 or something like that)
(mkfs -t foo /dev/VolGroup00/LogVol01 or something like that)

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

[root@redhatprueba1 mindi]# export LANG=es_ES.UTF-8
[root@redhatprueba1 mindi]# ./analyze-my-lvm
/usr/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/sda2
To get started, type:-
(insmod dm-mod)
(insmod dm_mod)
# lvm vgchange -an
# echo y | lvm pvcreate -ff /dev/sda2
# lvm vgscan

Create and activate the VG's (volume groups).
# '''lvm vgcreate VolGroup00 -l 0 -p 0 -s 32,00m /dev/sda2'''
# lvm vgchange -a y VolGroup00

Finally, create the LV's (logical volumes).
# lvm lvcreate -L 6082m -r auto -n LogVol00 VolGroup00
# lvm lvcreate -L 352,00m -r auto -n LogVol01 VolGroup00

# lvm vgscan
Now you may format the LV's:-
(mkfs -t foo /dev/VolGroup00/LogVol00 or something like that)
(mkfs -t foo /dev/VolGroup00/LogVol01 or something like that)

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

after of this the diference in , and . is very importan because mondoresque don't run.

i-want-my-lvm fails to create because this command is error.

lvm vgcreate VolGroup00 -l 0 -p 0 -s 32,00m /dev/sda2

can't use , you must use .

Regards!

Change History (1)

comment:1 by Bruno Cornec, 11 years ago

Description: modified (diff)
Status: newassigned
Note: See TracTickets for help on using tickets.