Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LVM2 unknow filesystem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nyakimishen
n00b
n00b


Joined: 14 Jun 2016
Posts: 7

PostPosted: Tue Jun 28, 2016 3:22 pm    Post subject: LVM2 unknow filesystem Reply with quote

trying to mount a disk from a linux based applience to get some of the base linux files off i recieve this error
Code:
 
sudo mount sdb2 /mnt/sdb2
mount: unknown filesystem type 'LVM2_member'

nothing special about this system
Back to top
View user's profile Send private message
alinefr
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2009
Posts: 112
Location: São Paulo, Brasil

PostPosted: Tue Jun 28, 2016 4:10 pm    Post subject: Reply with quote

If it's its LVM you need to:

Code:

sudo vgscan
Found volume group "volume_group" using metadata type lvm2


Replace "volume_group" with the one from your output:

Code:

sudo vgchange -ay volume_group


You should have one or more logical volumes. You could see then with

Code:

sudo lvdisplay


Now you are able to mount any of those displayed from the last command.

Code:

sudo mount /dev/mapper/volume_group-vg-name /mnt
Back to top
View user's profile Send private message
nyakimishen
n00b
n00b


Joined: 14 Jun 2016
Posts: 7

PostPosted: Tue Jun 28, 2016 5:23 pm    Post subject: Reply with quote

sudo: vgscan: command not found
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1777

PostPosted: Tue Jun 28, 2016 5:26 pm    Post subject: Reply with quote

You have to take a step back first and try again later. And actually emerge sys-fs/lvm2 in the meantime.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44193
Location: 56N 3W

PostPosted: Tue Jun 28, 2016 5:44 pm    Post subject: Reply with quote

nyakimishen,

Logical Volumes are in many ways like partitions. There is another abstraction layer on top of the physical devices, so that the filesystem knows nothing of the underlying physical devices storing the data. Its even possible to add and remove physical devices underneath the file system.

This abstraction layer has its own tools collectively called Logical Volume Manager (LVM). Think of LVM to logical volumes, like fdisk is to disks.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum