[arch-general] See the llvm volumes from GRUB console
Hello, I upgarded a remote machine recently. And i got loocked out of the system. I still have acess to the machine trough serial console (KVM). Is there any way to list the lvm volumes from there ? Since my /dev/mapper/Root-root doesn't work. -- Regards, Alfredo Palhares
Hi Alfredo, If you've got a live CD, boot it up and execute the following commands: [root@archiso]# modprobe dm-mod [root@archiso]# vgscan Reading all physical volumes. This may take a while... Found volume group "YourVolGroup" using metadata type lvm2 [root@archiso]# vgchange -ay NUM logical volume(s) in volume group "YourVolGroup" now active [root@archiso]# lvdisplay <useful content for you goes here> It should be possible from a serial console, too, if you can execute /sbin/modprobe and /sbin/lvm from there. Prefix vg- and lv- commands with /sbin/lvm. Yours sincerely, nyuszika7h On Tue, Oct 25, 2011 at 18:06, Alfredo Palhares <masterkorp@gmail.com>wrote:
Hello,
I upgarded a remote machine recently. And i got loocked out of the system. I still have acess to the machine trough serial console (KVM). Is there any way to list the lvm volumes from there ? Since my /dev/mapper/Root-root doesn't work.
-- Regards, Alfredo Palhares
Thank you. On Tue, Oct 25, 2011 at 5:29 PM, Nyuszika7H <litemininyuszika@gmail.com>wrote:
Hi Alfredo,
If you've got a live CD, boot it up and execute the following commands:
[root@archiso]# modprobe dm-mod [root@archiso]# vgscan Reading all physical volumes. This may take a while... Found volume group "YourVolGroup" using metadata type lvm2 [root@archiso]# vgchange -ay NUM logical volume(s) in volume group "YourVolGroup" now active [root@archiso]# lvdisplay <useful content for you goes here>
It should be possible from a serial console, too, if you can execute /sbin/modprobe and /sbin/lvm from there. Prefix vg- and lv- commands with /sbin/lvm.
Yours sincerely, nyuszika7h
On Tue, Oct 25, 2011 at 18:06, Alfredo Palhares <masterkorp@gmail.com
wrote:
Hello,
I upgarded a remote machine recently. And i got loocked out of the system. I still have acess to the machine trough serial console (KVM). Is there any way to list the lvm volumes from there ? Since my /dev/mapper/Root-root doesn't work.
-- Regards, Alfredo Palhares
-- Cumprimentos, Alfredo Palhares
participants (2)
-
Alfredo Palhares
-
Nyuszika7H