Ha nem tudjuk, hol van a titkositott particio/device, pl a blkid paranccsal is meg lehet nezni.
# blkid /dev/sdb*
/dev/sdb1: UUID="146fd42b-2843-4d54-b5fd-0c312d42b918" TYPE="ext2"
/dev/sdb2: UUID="f2248f59-eda0-46fe-a4c7-875fb66550b3" TYPE="crypto_LUKS"
A cryptsetupnak kell a device neve es egy tetszoleges 'alnev' a device-mappernek.
# cryptsetup luksOpen /dev/sdb2 ocz
Enter passphrase for /dev/sdb2:
#
Innentol nalam mar csak az LVM muveletek vannak:
# vgscan
Reading all physical volumes. This may take a while...
Found exported volume group "system" using metadata type lvm2
# vgchange -ay system
5 logical volume(s) in volume group "system" now active
# lvs system
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
data system -wi-a- 10.00g
home system -wi-a- 2.00g
root system -wi-a- 12.00g
swap system -wi-a- 2.00g
virt system -wi-a- 5.00g
Lehet mountolni...
A vgexporttol miert nem tunik el a VG a rendszerbol?
- LGee blogja
- A hozzászóláshoz be kell jelentkezni
- 1098 megtekintés
Hozzászólások
Kapcsolodo tema:
http://hup.hu/node/97927 - Linux LVM2 - ket azonos nevu VG
- A hozzászóláshoz be kell jelentkezni
A vgexporttol miert nem tunik el a VG a rendszerbol?
Mert ahhoz a vg-nek inaktívnak kell lennie. Hogyaszondja: vgexport allows you to make the inactive VolumeGroupName(s) unknown to the system
Az inaktiválásra való parancsot pedig már használtad, csak az opciót kell áthegeszteni:
vgchange -an system
.
- A hozzászóláshoz be kell jelentkezni
En is ezt vartam volna, de nem:
http://hup.hu/node/97927#comment-1201334
Itt megvolt elotte a vgchange -an is.
Illetve ld a felette levo dmsetup parancsot.
- A hozzászóláshoz be kell jelentkezni