What do you want in a custom unRAID package (BubbaRaid)


Recommended Posts

@prostuff1:  It looks like one of the SQL daemons died.  Try stopping SS and restarting it.  FWIW, I've seen a lot of perl warnings and other output that indicates the SS perl code ion Linux s not necessarily A grade work.

 

Yeah, and it keeps dying.  I can get it up and running for about 30 seconds but then it just shits out on me.  Had it working quite nicely and was loving the streaming to computers at work.

 

When i get some free time and don't have to study for school stuff i will see what i can do about fixing this.  All i wanted to do was add some music to my library, wish i had refrained now.

Link to comment
  • Replies 929
  • Created
  • Last Reply

Top Posters In This Topic

Ok, what i did was: when the parity-building process was about 10% (under bubbaraid) i decided to break it and roll back to normal unraid. Then i restored the configuration and built the parity another time. What is intressting is that the newest super.dat file is different to the oldest (before playing with bubba). But all disks and data seem to be ok. Today, i tried to install bubbaraid once again and all disks were shown as missing again, so i again rolled back to unraid and everything was ok there.

 

BubbaQ, there must be something wrong in your distro with disks identification. You must fix it to make it safe to use.

 

I attach a syslog from running bubbaraid today: http://rapidshare.com/files/156041764/syslog.rar.html

Link to comment

What is intressting is that the newest super.dat file is different to the oldest (before playing with bubba). But all disks and data seem to be ok.

The super.dat file includes timestamps and counters:

 

Every time you start or stop the array the "Array state" is  modified.

Every time you perform a "parity check" the "last sync time" and "last sync error count" are updated.

Any time anything listed above is updated in the superblock the "Superblock update time and count" and the "checksum of the whole superblock" are updated.

It is for these reasons you must leave the flash drive plugged into the array when it is running.

 

I would worry if the superblock had the same checksum after all the actions you have performed.

[pre]typedef struct mdp_superblock_s {

        /*

         * Common information

         */

        __u32 md_magic;         /*  0 MD identifier                           */

        __u32 major_version;    /*  1 major version to which the set conforms */

        __u32 minor_version;    /*  2 minor version ...                       */

        __u32 patch_version;    /*  3 patchlevel version ...                  */

        __u32 sb_csum;          /*  4 checksum of the whole superblock        */

        __u32 ctime;            /*  5 Array Creation time                     */

        __u32 utime;            /*  6 Superblock update time                  */

        __u32 events;           /*  7 Superblock update count                 */

        __u32 md_minor;         /*  8 preferred MD minor device number        */

        __u32 state;            /*  9 array state                             */

        __u32 num_disks;        /* 10 number of disks in the array            */

        __u32 stime;            /* 11 Last sync time                          */

        __u32 sync_errs;        /* 12 Last sync error count                   */

        __u32 common_reserved[MD_SB_COMMON_WORDS - 13];

        /*

         * Disks information

         */

        mdp_disk_t disks[MD_SB_DISKS];

 

        /*

         * Reserved

         */

        __u32 reserved[MD_SB_RESERVED_WORDS];

} mdp_super_t;

[/pre]

 

Joe L.

Link to comment

Here it is: http://pastebin.com/m2c901bdb

 

My answer to the question asked in the topic name is NUT (Network UPS Tools) - a program which controls UPS condition and turns the system of in cases of emergency. It's something similar to that "APC Tools" which are already in bubbaraid, but better configurable and works with uncomparably more ups brands.

 

P.S. Does the bubbaraid automatically apply the "20% read performance hit" trick? If not maybe it would be a good feature...

 

 

Link to comment

I think that must be the problem.  I've found some differences in the Fuse version between unRAID 4.3.3 and BubbaRaid, and they are reflected in the two different syslogs.

 

I don't use user shares, so I didn't see this before.  I'll look into it, but for the time being, I'm going to have to limit BubbaRiad to regular shares, and not User Shares.

Link to comment

I don't use user shares, so I didn't see this before.  I'll look into it, but for the time being, I'm going to have to limit BubbaRiad to regular shares, and not User Shares.

Wait, user shares are when unraid merges two folders with the same name located on different disks into one? If so, deleting this feature you will kill the bubba raid project for me! When i saw that distro i really thought i would eventually be able to use my unraid box as torrent downloading machine, web server, and i generally was happy to see something new, as tom's progress has been hardly any last times... Now, without user shares it is going to be another unusefull project :(

Link to comment

Hold on a sec...  User shares can be enabled, the issue is that rtorrent cannot utilize the user share as the filesystem from which it reads or writes.

 

That is.. rtorrent and the current fuse/kernel environment must use /mnt/disk1/torrent instead of /mnt/user/torrent.

The issue is with the current version of fuse and the mmap call.

rtorrent uses mmap to map a file into memory and that system call is not compatible with fuse and the current kernel.

This has been fixed in later kernels, so it's only temporary.

 

I have user shares enabled, yet all my rtorrent path defintions point to /mnt/disk1/bittorrent.

This is working without

Link to comment

Webo is right.... although there is a slight version difference in the Fuse FS, the problem appears to be with rTorrent, not BubbaRaid.  I created a user share on a stock unRAID 4.3.3 and installed rTorrent, and rTorrent doesn't work with the user share, but will work with regular disk shares.

 

 

Link to comment

So the apps included in bubbaraid will just not work with user shares...

 

rtorrent is the only issue because it uses a call not supported by fuse/user shares. It will work with direct disk shares.

 

As to a release where rtorrent works on user shares, I think this depends on the latest kernel being released within unRAID itself.

 

Link to comment

@Koperfild, I'm still looking at your logs.  I need to understand exactly what was happening in your system first.

 

Frankly, it has me baffled right now... except for the minor difference in Fuse version, I can't point the finger at anything.  I can't reproduce the problem on my test systems.

Link to comment
  • 2 weeks later...

bubbaQ,

 

I am having similar problems (too many wrong or missing disks!).  I installed v0.7 on my 4.3.3 stick, ran the batch file and then booted the array.  Attached are a picture and both syslogs (BubbaRaid and Normal) for comparison.  I've reverted to the normal status and all seems fine again.  Let me know if more info is needed.

 

Regards,  Peter

 

p.s. I am running a parity check again just to be safe...

 

 

 

Link to comment

bubbaQ,

 

I am having similar problems (too many wrong or missing disks!).  I installed v0.7 on my 4.3.3 stick, ran the batch file and then booted the array.  Attached are a picture and both syslogs (BubbaRaid and Normal) for comparison.  I've reverted to the normal status and all seems fine again.  Let me know if more info is needed.

 

Regards,  Peter

 

p.s. I am running a parity check again just to be safe...

 

 

 

You are probably fine.  The bug seems to be the exact same one Tom addressed in the 4.3.3 release of unRaid as described here:  http://lime-technology.com/forum/index.php?topic=2235.0

 

BubbaQ,

in md.c, in function same_disk_info, you probably need to modify the source of the driver you compiled as Tom did his, to truncate the model numbers to 20 characters.

 

Joe L.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.