Opensuse 13.2 ldmtool

Hi,

Does ldmtool or libldm exists on opensuse 13.x?
I have a problem with a disk formatted with LDM (sfs) and I couldn’t find any ldm tool on opensuse.
I finally turned toward fedora 20 to fix my problem.

Thanks in advance.

Hadn’t heard of this before.
Are you referring to this?
http://openefs.org/

TSU

Hi,

No I am referring to this http://en.wikipedia.org/wiki/Logical_Disk_Manager, it’s a microsoft technology to bypass the limitation of 4 partitions with mbr, it creates volumes not partitions, it resembles more or less to the Linux LVM.

The thing is, Linux no longer can read the volumes, so if you have a problem with your windows, you can’t backup your files elsewhere for example.

On ubuntu, Debian and Fedora there is a utility called ldmtool (libldm) :

https://launchpad.net/ubuntu/+source/libldm
http://rpm.pbone.net/index.php3/stat/4/idpl/28795730/dir/fedora_other/com/libldm-0.2.3-7.fc22.i686.rpm.html

which can read this format and recreate the volumes under /dev/mapper, then we just have to mount them as a normal ntfs partitions.

As Opensuse is my favorite distro, I spent a lot of time searching this utility without luck, finally I used Fedora to read the disk and backup the data.

Thanks.

On 2015-04-26 19:36, wodel youchi wrote:
>
> Hi,
>
> No I am referring to this
> http://en.wikipedia.org/wiki/Logical_Disk_Manager, it’s a microsoft
> technology to bypass the limitation of 4 partitions with mbr, it creates
> volumes not partitions, it resembles more or less to the Linux LVM.

Ah! Dynamic volumes.

> The thing is, Linux no longer can read the volumes, so if you have a
> problem with your windows, you can’t backup your files elsewhere for
> example.

As far as I knew, it has never been possible to read those under Linux.

> On ubuntu, Debian and Fedora there is a utility called ldmtool (libldm)
> :

Well, that’s new to me. Interesting.

> As Opensuse is my favorite distro, I spent a lot of time searching this
> utility without luck, finally I used Fedora to read the disk and backup
> the data.

Well, you could ask in the factory mail list.

I have two guesses: changed name, because there is something else
(unrelated) named ldm2, or because there is a legal issue preventing its
inclusion.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

A couple things you can look at…

Looks like the ldmtool author posted his source, but it’s 3 years old
https://github.com/mdbooth/libldm
Note the two open pull requests (of which the ages likely means the author has no interest in maintaining the code himself), one is not directly applicable but could provide clues to successfully build (The Ubuntu/Debian patches) and the other might be important.
If you decide to try compiling from this original source, the following command will pull in dependencies. Be aware since the final build attempt will fail due to problems in the main recipe, there is a good chance that source depends on old libraries which could contain vulnerabilities

Install dependencies as root

zypper in gtk-doc readline-devel json-glib device-mapper-devel

Browse (change directory) to the root of your downloaded source ie. with “autogen.sh” as a normal User and execute the following

.autogen.sh && ./configure && make && make install 

Maybe the easier way to do the above is on an old 13.1 machine with no updates or even better a 12.3 machine using 3 yr old libraries.

Also, you can sometimes try running a Fedora/CentOS/RHEL RPM. Because the main library dependency is very unique, IMO there is a good chance a package will work because an extremely unique library likely be included in the package.
http://rpmfind.net/linux/rpm2html/search.php?query=ldmtool&submit=Search+

Good Luck,
TSU