You are not logged in.

#1 2012-02-23 23:44:48

wdirksen
Member
From: New Zealand
Registered: 2012-02-23
Posts: 107

Problem with blkid 32 bit when using FlexRAID

Been searching awhile and stuck and hoping to get help.

I want to use FlexRAID with Arch Linux 64 bit as it looks quite good as storage solution. FlexRAID is currently 32 bit only and uses bklid from util-linux to get drive info. I have both util-linux and lib32-util-linux installed. bklid works from command line. "sudo blkid" gives same result:

[mythtv@server ~]$ blkid
/dev/sdb1: LABEL="recordings2" UUID="7923f980-b631-4b6c-a6e8-3aa99f50b762" TYPE="ext4"
/dev/sda1: LABEL="storage" UUID="55e5142c-edfa-491b-83c7-f1b6e1ebe8f4" TYPE="ext4"
/dev/sdc1: LABEL="boot" UUID="70f453c3-a90f-47c0-98f2-3bf43b73396c" TYPE="ext3"
/dev/sdc2: LABEL="root" UUID="4490895c-9418-48df-9175-d5a4a5907de6" TYPE="ext4"
/dev/sdd1: LABEL="storage2" UUID="7ed531cf-d49c-433e-9fab-710bcf00da05" TYPE="ext4"
/dev/sde1: LABEL="parity" UUID="0393d1f1-3e63-4653-9651-12ddcd5a87c0" TYPE="ext4"
/dev/sdf3: LABEL="recordings" UUID="6dd17a88-e3d9-4707-b661-b999303f9f45" TYPE="ext4"

I'm assuming this is generated by the 64 bit blkid. (BTW I don't know how to call up a 32 bit terminal to test the lib32 version)

But flexraid gives the following error in their log:
[2012-02-24 00:15:46,790] INFO : Quartz scheduler version: 1.8.4
[2012-02-24 00:15:46,924] INFO : Freed 0 triggers from 'acquired' / 'blocked' state.
[2012-02-24 00:15:46,924] INFO : Recovering 0 jobs that were in-progress at the time of the last shut-down.
[2012-02-24 00:15:46,924] INFO : Recovery complete.
[2012-02-24 00:15:46,925] INFO : Removed 0 'complete' triggers.
[2012-02-24 00:15:46,925] INFO : Removed 0 stale fired job entries.
[2012-02-24 00:15:46,925] INFO : Scheduler flexraid_$_1 started.
[2012-02-24 00:15:46,948] INFO : jetty-7.x.y-SNAPSHOT
[2012-02-24 00:15:46,951] INFO : started o.e.j.s.ServletContextHandler{/,null}
[2012-02-24 00:15:47,100] INFO : Started SocketConnector@0.0.0.0:8080 STARTING
[2012-02-24 00:16:23,808] WARN : sudo: blkid: command not found

According to the only dev at FlexRAID, the problem lies in my system as blkid is not working. Apparently FlexRAID does work on Ubuntu 64 using ia32 libraries. I have my arch system setup to use UUID in fstab and at bootup which apparently is required.

Thanks for any tips!


Research | Trial | Make Mistakes | Ask questions | Learn | Repeat

Offline

#2 2012-02-24 00:38:20

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Problem with blkid 32 bit when using FlexRAID

I had mixed results with blkid where sometimes it would see the previous label/UUID instead of the current one, even after many reboots.

ls -l /dev/disk/by-uuid/

This one is much more accurate. It displays exactly what the Linux kernel sees.


But what exactly is the problem? FlexRAID doesn't work because it's 32 bit only? Um, 32 bit programs can run on 64 bit systems and I'm pretty sure that it doesn't matter if you run them from a 64 bit terminal or not (on a 64 bit system).

Last edited by DSpider (2012-02-24 00:39:36)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-02-24 00:45:08

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Problem with blkid 32 bit when using FlexRAID

DSpider wrote:

I had mixed results with blkid where sometimes it would see the previous label/UUID instead of the current one, even after many reboots.

Running it as a regular user will do that. It will read from the cache file in /etc (don't ask why it's in /etc, that's fixed in the next release).

DSpider wrote:
ls -l /dev/disk/by-uuid/

This one is much more accurate. It displays exactly what the Linux kernel sees.

Protip: those links were created by udev, using blkid.

FlexRAID sounds terribly broken in the 64 bit world... we have multilib, but we don't provide binaries in those packages, just the libs.

Offline

#4 2012-02-24 01:05:04

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Problem with blkid 32 bit when using FlexRAID

Well, to be fair, I didn't try running it with root privileges. Listing them from /dev was good enough for me.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-02-24 07:55:47

wdirksen
Member
From: New Zealand
Registered: 2012-02-23
Posts: 107

Re: Problem with blkid 32 bit when using FlexRAID

Thank-you both for responding

Other users claim FlexRAID can work in a linux 64 environment. The users claiming success are using debian or ubuntu. In my case I can't get it up and going because blkid can't see the drives and I can't look further. I'm hoping if I get beyond this blkid obstacle it will then work.

I did try to use the GIT util-linux package in AUR but then it just builds a x86_64 package. I couldn't seem to build a lib32 package from AUR when I tried the devtools scripts.

Leaving Arch is no option for the obvious reason that it is the best distro out there.

Last: How do you call up a 32 bit terminal in a 64 bit environment?


Research | Trial | Make Mistakes | Ask questions | Learn | Repeat

Offline

Board footer

Powered by FluxBB