Created
October 15, 2013 22:24
-
-
Save holms/6999632 to your computer and use it in GitHub Desktop.
Accessing a raid logical volume from debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install lvm2: | |
$ sudo apt-get install lvm2 | |
Load the necessary module(s): | |
$ sudo modprobe dm-mod | |
Scan your system for LVM volumes and identify in the output the volume group name that has your Fedora volume (mine proved to be VolGroup00): | |
$ sudo vgscan | |
Activate the volume: | |
$ sudo vgchange -ay VolGroup00 | |
Find the logical volume that has your Fedora root filesystem (mine proved to be LogVol00): | |
$ sudo lvs | |
Create a mount point for that volume: | |
$ sudo mkdir /mnt/fcroot | |
Mount it: | |
$ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o ro,user | |
Copied my files. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment