LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-11-2006, 12:33 PM   #1
an2ny_18
Member
 
Registered: Mar 2006
Location: Philippines
Distribution: Fedora Core 4, Debian
Posts: 43

Rep: Reputation: 15
question about LVM


hi,

LVM is posible to mount in debian?

is there a program to backup all files or selected files from(fedora) LVM to debian or windows?

thanks
 
Old 03-11-2006, 12:39 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
As far as I remember the Debian installer allows you to create LVM volume groups, so I guess that you can mount them in Debian. However, if your Fedora uses a 2.6 kernel, you'll need to use a 2.6 kernel with Debian as well as the LVM system has changed between kernel 2.4 and kernel 2.6 (where it is called LVM2 now).
If you can mount it, you can copy files with the usual `cp` command.
 
Old 03-11-2006, 04:28 PM   #3
an2ny_18
Member
 
Registered: Mar 2006
Location: Philippines
Distribution: Fedora Core 4, Debian
Posts: 43

Original Poster
Rep: Reputation: 15
cant copy because it is not mounted i need to mount the drive before i can copy, pls if you have a program that can read and copy the files from LVN to debian or windows please post the link.

thank you very much
 
Old 03-12-2006, 05:35 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
You are focussing on the wrong problem.

The copy tool you need is simply `cp` and it's included in every distro. Any tool, whether it is `cp` or anything else, will have to mount the source and destination disks.

So your only problem is how to mount both the LVM source partition and the destination partition. There are 3 ways to do it:
-1- mount the LVM partition in Debian: that's easy, provided you use kernel 2.6 in Debian
-2- mount the Debian partition in Fedora: I don't know what file system you use in Debian, but if it's ext2/ext3 that should be no problem at all, easier than solution -1-
-3- use a live CD like RIP which allows you to mount both; if your live CD uses captive you can even copy to a Windows disk, though I wouldn't recommend it because you loose some information (uid, gid, permissions).

So I'd suggest you try solution -2- first, solution -1- second and if both of them fail, go and look for a live CD based on kernel 2.6 which has LVM support.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Snapshot question sjtushi Linux - Software 3 03-12-2006 10:41 AM
Hardware Raid Setup Question - LVM? funbags Linux - Hardware 0 11-13-2005 12:39 PM
lvm question babag Mandriva 4 09-11-2005 03:13 AM
Lvm sudheendra.ss Linux - General 1 05-03-2005 07:36 PM
lvm Ammad Linux - General 2 02-22-2005 09:19 PM


All times are GMT -5. The time now is 02:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration