How to mount an LVM2 filesystem? (Solved)
-
- Posts: 64
- Joined: Mon 16 Sep 2013, 22:52
- Location: Puerto Rico(USA)
How to mount an LVM2 filesystem? (Solved)
Hi:
I was triying to troubleshoot a laptop using my PupRescue stick and found out that my Puppy wasn't able to mount an LVM2 partition. So, I had to stop the activity. Is there an update for Puppy that solves this problem? Thanks.
I was triying to troubleshoot a laptop using my PupRescue stick and found out that my Puppy wasn't able to mount an LVM2 partition. So, I had to stop the activity. Is there an update for Puppy that solves this problem? Thanks.
-
- Posts: 64
- Joined: Mon 16 Sep 2013, 22:52
- Location: Puerto Rico(USA)
@rcrsn51:rcrsn51 wrote:Try here.
Sorry, I get an error when I try to download from the url you suggested. Are there alternative locations? Thanks.
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
LVM dotpet now uploaded to new location. Details here -
http://www.murga-linux.com/puppy/viewto ... 667#483667
http://www.murga-linux.com/puppy/viewto ... 667#483667
-
- Posts: 64
- Joined: Mon 16 Sep 2013, 22:52
- Location: Puerto Rico(USA)
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
Ooh yes. LVM setup is non-trivial.williepabon wrote:After installation, do I have to do anything else?
I provided the LVM utilities as part of my RAID forum thread, thinking that some RAID configurations might require LVM ... however ...
I don't actually know anything about LVM/LVM2 myself.
But your query has prompted me to do a bit of reading about LVM, mainly from these 2 links -
http://www.linuxquestions.org/questions ... ost4509822
http://superuser.com/questions/116617/h ... lvm-volume
Here's what I THINK you need to do:
First load the dm-mod driver -
Code: Select all
modprobe dm-mod
Code: Select all
vgscan
Activate the volume group you just identified -
Code: Select all
vgchange -ay VolGroup00
Code: Select all
lvs
Create a mountpoint for your LVM partition. The aforementioned links suggest /mnt/fcroot
but I would think that something like /mnt/lvm would be more intuitive. It's your choice.
Code: Select all
mkdir /mnt/lvm
Code: Select all
mount /dev/VolGroup00/LogVol00 /mnt/lvm
Now you can access your newly mounted LVM volume at /mnt/lvm
-
- Posts: 64
- Joined: Mon 16 Sep 2013, 22:52
- Location: Puerto Rico(USA)
@tempestuous:
Thanks for answering. I really appreciate your effort to provide a thorough answer to my request, and as you say, this is no trivial matter. In my ignorance I thought it would be a simple app that would run like a daemon, that would detect LVM partitions and would mount them accordingly. You see, I have a PupRescue memory stick that I use to troubleshoot computers, and lately, I've encountered some with LVM partitions. I was looking for a utility that I install on my stick to do the job of detecting and installing LVM partitions. Thank you for your enlightment on this matter and showing me that this is not as simple as I thought. Your diligence on this issue is sincerely appreciated.
wp
Thanks for answering. I really appreciate your effort to provide a thorough answer to my request, and as you say, this is no trivial matter. In my ignorance I thought it would be a simple app that would run like a daemon, that would detect LVM partitions and would mount them accordingly. You see, I have a PupRescue memory stick that I use to troubleshoot computers, and lately, I've encountered some with LVM partitions. I was looking for a utility that I install on my stick to do the job of detecting and installing LVM partitions. Thank you for your enlightment on this matter and showing me that this is not as simple as I thought. Your diligence on this issue is sincerely appreciated.
wp