LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   question about LVM (https://www.linuxquestions.org/questions/linux-software-2/question-about-lvm-423841/)

an2ny_18 03-11-2006 11:33 AM

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

uselpa 03-11-2006 11:39 AM

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.

an2ny_18 03-11-2006 03:28 PM

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

uselpa 03-12-2006 04:35 AM

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.


All times are GMT -5. The time now is 04:32 AM.