Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 04:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
How to mount an LVM2 filesystem?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
williepabon

Joined: 16 Sep 2013
Posts: 64
Location: Puerto Rico(USA)

PostPosted: Mon 25 Aug 2014, 13:40    Post_subject:  How to mount an LVM2 filesystem?  

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.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9159
Location: Stratford, Ontario

PostPosted: Mon 25 Aug 2014, 13:50    Post_subject:  

Try here.
Back to top
View user's profile Send_private_message 
williepabon

Joined: 16 Sep 2013
Posts: 64
Location: Puerto Rico(USA)

PostPosted: Mon 25 Aug 2014, 16:05    Post_subject:  

rcrsn51 wrote:
Try here.


@rcrsn51:

Sorry, I get an error when I try to download from the url you suggested. Are there alternative locations? Thanks.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9159
Location: Stratford, Ontario

PostPosted: Mon 25 Aug 2014, 16:25    Post_subject:  

williepabon wrote:
Are there alternative locations?

You would have to ask tempestuous.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Mon 25 Aug 2014, 20:34    Post_subject:  

LVM dotpet now uploaded to new location. Details here -
http://www.murga-linux.com/puppy/viewtopic.php?p=483667#483667
Back to top
View user's profile Send_private_message 
williepabon

Joined: 16 Sep 2013
Posts: 64
Location: Puerto Rico(USA)

PostPosted: Mon 25 Aug 2014, 21:03    Post_subject:  

Thank @tempestuous and @rcrsn51. Found the file and installed it. After installation, do I have to do anything else? Because still, the LVM partition doesn't show in the list of mounted drives. Thanks for your help.
wp
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Tue 26 Aug 2014, 11:17    Post_subject:  

williepabon wrote:
After installation, do I have to do anything else?

Ooh yes. LVM setup is non-trivial.
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/fedora-35/how-can-i-mount-lvm-partition-in-ubuntu-569507/#post4509822
http://superuser.com/questions/116617/how-to-mount-an-lvm-volume
Here's what I THINK you need to do:
First load the dm-mod driver -
Code:
modprobe dm-mod


Scan your system for LVM volumes and identify in the output the volume group name that contains the volume you need -
Code:
vgscan

It will be something like "VolGroup00"

Activate the volume group you just identified -
Code:
vgchange -ay VolGroup00


Find the logical volume that has the files you wish to access -
Code:
lvs

This will list logical volumes. The result(s) will be something like "LogVol00"

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:
mkdir /mnt/lvm


Finally mount the logical volume -
Code:
mount /dev/VolGroup00/LogVol00 /mnt/lvm

Obviously replace "VolGroup00" and "LogVol00" with your own values.
Now you can access your newly mounted LVM volume at /mnt/lvm
Back to top
View user's profile Send_private_message 
williepabon

Joined: 16 Sep 2013
Posts: 64
Location: Puerto Rico(USA)

PostPosted: Tue 26 Aug 2014, 12:09    Post_subject:  

@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
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0560s ][ Queries: 11 (0.0030s) ][ GZIP on ]