Slackware :: Building NAS - LVM / RAID Configuration For Partition

Jan 6, 2010

I'm building a NAS, based on the Intel SS4200. There are 4 drive bays in the machine for use with SATA disks, two of which I plan on filling now, the other two which I plan on filling later. The box also includes an IDE connector to which I will connect an 8GB Disk on Module onto which I will install Slackware. I wish to have all drives in the box show up as one contiguous volume. What partitioning/LVM/RAID configuration can I use which will allow me to:

1. Add a disk and transparently grow the available space of the volume?
2. Replace a disk with a larger disk and transparently grow the available space of the volume?
3. Lose a disk to hardware failure and replace it with a new one with no data loss?

If I use RAID 5, I'm pretty certain I can get numbers 1 and 3 above, but I'm not sure about number 2. The downside is that I'd have to start with 3 disks in the machine, and I'm unsure if adding a 4th disk whose size is larger than each of the 3 starting disks would lead to wasted space. For instance, if I start with three 1TB drives in RAID 5, and then add a 2TB 4th drive, would my available size go from 2TB to 3TB? Or from 2TB to 3.xTB?

Is it important in a RAID 5 setup to have all disks the same size? With LVM, I can certainly get number 1 above, but what about 2 and 3? I know you can use LVM to present many disks or partitions as one contiguous volume, but if I have two 1TB drives in one volume, and only have 300GB of data, then would the second drive remain empty until I broke the 1TB barrier? In this case, it's wasted space from the get go. I suppose another option would be to start with RAID 1 until I can afford a third disk.

When adding the new disk, could I switch to RAID 5 without data loss? I'm planning on maintaining a full mirror of the NAS on some USB disks as a backup, so if configuration changes to the NAS require wiping the disks and restoring from backup, it's not a total loss. However, it certainly makes me nervous to be in a state where only one copy of the data exists, so I'd rather find a solution where I can add and upgrade disks in the NAS without relying on the backup copies.

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Use A Whole Disk Or A Partition In RAID Array?

Aug 31, 2010

concerning Linux, mdadm, and creating RAID Array's in Debian. I've done a lot of reading and research on RAID both on this board and elsewhere (The Linux Documentation Project's Software-RAID HOWTO is especially good), but I've run across something that no one seems to explain, and I'm not sure why. I'm instructed to create partitions on the drives I wish to add to my array. These partitions inevitably take up the whole disk, and are always have their system IDs set to "Linux raid autodetect". What I don't understand is why, after creating these partitions, some guides then go on to create an array (say a RAID5 one) with just the disks themselves as members, while others go on to create the RAID5 array with the previously created partitions as members. E.g.,

mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
vs.
mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1

What's the advantage of using one over the other?

View 3 Replies View Related

Slackware :: Windows Raid-O Install Virtualbox, Will Slackware Install Raid-o Without Raid Driver?

Feb 28, 2011

If I have a windows installed in raid-0, then install virtualbox and install all my linux os,s to virtualbox will they be a raid-0 install without needing to install raid drivers?

View 1 Replies View Related

Fedora Installation :: Building RAID Drivers For 10?

Jan 22, 2009

I want to install Fedora 10 but need to build RAID (bcraid) drivers so the installation will see my RAID array. I'm currently running Fedora 6 & thought this would be the process:

1) Install kernel source
2) Modify configuration to include bcraid drivers.
3) Build new kernel
4) Replace kernel in standard build with custom kernel or load driver during installlation
5) Install Fedora 10

I'm stuck on no. 1. When I tried to install the kernel source, there was some problem with "mockbuild" (wot dat?) which I think was a red herring but I now don't know what to do about these unsatisfied dependencies:

[root@fedora6 ~]# rpm -Vp ~/Desktop/kernel-2.6.27.5-117.fc10.src.rpm
warning: /home/nick/Desktop/kernel-2.6.27.5-117.fc10.src.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273
Unsatisfied dependencies for kernel-2.6.27.5-117.fc10.src: rpm-build >= 4.4.2.1-4

[code]....

View 4 Replies View Related

Ubuntu Servers :: Building RAID Server With 10.04 LTS

Jul 6, 2011

I've been running my dedicated server on Ubuntu 10.04 for 300 days non-stop so far (touch wood). I'm planning to purchase a dedicated server to host many large sites. The specs are Sandybridge Xeon with 16 bay x 2TB storage using RAID5 (Adaptec RAID 51645).I don't have experience with RAID, but I read that ext4 can only support filesystem up to 16TB, my plan for the system is to have 32TB of storage. How can I make Ubuntu run this configuration?

Also, can Ubuntu 10.04 recognize the Adaptec card? Going through Adaptec website there is no mention of drivers for Ubuntu (although many other distros are available).

View 6 Replies View Related

Ubuntu Servers :: Building A NAS (Raid 5) For Home?

Jul 6, 2011

I'm looking at building a small NAS setup for my home to hold all my media (DVD's, pictures, music etc..). I'm not too concerned with backups of it at this point as I have all the data elsewhere as it is, but would like one central spot to access it.

A friend of mine turned me on to Ubuntu to do this with but he's never tried it, so I'm looking to see if anyone else has done this or if there issues with it. I've used linux off and on for several years, but this would be my first Ubuntu install.

I'm looking at either using some older hardware I have sitting around, or something cheap like a small dell server (T310 or something). I'd get 4 2TB drives and just use them in a software raid 5 array. It would be accessed with a few different samba shares I'm thinking.

View 9 Replies View Related

Debian Hardware :: Sata Errors While Building Mdadm Raid 5?

Oct 13, 2010

I received some errors while running a benchmarking script to determine my ideal raid chunk size. There are several errors in the kernel log regarding the sata link and eventually the two drives i have connected to a pci express x1 sata card were no longer present in /dev/

the script i was using is available here [URL]..system specs 1 500gb western digital drive (system drive)3 2tb samsung f4 drives (2 connected to pci x1 card (sata II) and 1 onto onboard sata port (sata I)) single core amd 64 on SiS chipset debian 64bit testing

[Code]...

I rebooted the machine and everything appears to be happy. What do these errors mean? What steps should i take to prevent them in the future so it doesn't end up corrupting the array?

View 1 Replies View Related

Ubuntu :: Building Raid Array Causing An IRQ Error, Logs Included?

Dec 4, 2010

I've been trying to create a RAID5 array with 4x1TB disks.

I'm using Ubuntu 10.10, uname output:

Quote:

Linux dynamips 2.6.35-22-server #33-Ubuntu SMP Sun Sep 19 20:48:58 UTC 2010 x86_64 GNU/Linux

I have two of them connected to the on board ICH7 SATA controller (sdb and sdc), and two of them connected to an external Silicon Image SiI 3132 controller (sdd and sde). sda is my boot disk split into several partitions and is also connected to the onboard SATA.

Everything is working fine before I create the array, here are my hdparm outputs:

Quote:

/dev/sdb:
Timing cached reads: 2958 MB in 2.00 seconds = 1478.89 MB/sec
Timing buffered disk reads: 360 MB in 3.02 seconds = 119.35 MB/sec
/dev/sdc:
Timing cached reads: 2940 MB in 2.00 seconds = 1469.77 MB/sec
code....

View 2 Replies View Related

Slackware :: HDMI Sound After Building A New Kernel ( Slackware 13.1 )?

Aug 21, 2010

I'm currently trying to install unRaid on Slackware following this tutorial :[URL].. I'm new to Linux and after many hours, i finally managed to build the new kernel for unRAID (2.6.32.9). But audio on HDMI port doesn't work I tried alsaconf without success. HDMI sound works when i boot into the old kernel.

My codecs are :

Code:
root@unraid:~# cat /proc/asound/Intel/code* | grep Codec
Codec: Realtek ALC888
Codec: Intel G45 DEVIBX
Code:
lspci -v:

[Code]...

View 4 Replies View Related

Slackware :: Building Mumble 1.2.2 On Slackware - Current 64?

Jan 10, 2011

I'm very keen on getting Mumble installed on my slackware -current 64 bit install. I found a slackbuild script for 12.2 here, but changing the version number resulted in failure. I also tried following the build instructions on the Mumble website, which failed with the following.

Code:
neil@slackbox:~/Downloads/mumble/mumble-1.2.2$ qmake -recursive main.pro
Reading /home/neil/Downloads/mumble/mumble-1.2.2/src/mumble11x/mumble11x.pro
WARNING: /home/neil/Downloads/mumble/mumble-1.2.2/src/mumble11x/mumble11x.pro:33: Variable LIBPATH is deprecated; use QMAKE_LIBDIR instead.
WARNING: /home/neil/Downloads/mumble/mumble-1.2.2/src/mumble11x/mumble11x.pro:33: Variable LIBPATH is deprecated; use QMAKE_LIBDIR instead.

[Code]...

View 12 Replies View Related

Slackware :: Building Erlang-otp In Slackware 13.37?

May 21, 2011

I'm trying to build erlang-otp using slackbuild script from http://slackbuilds.org/. I've got these errors while building:

Code:
checking lex output file root... configure: error: cannot find output from flex; giving up
configure: error: /bin/sh '/tmp/SBo/otp_src_R14B01/lib/megaco/./configure' failed for megaco/.
configure: error: /bin/sh '/tmp/SBo/otp_src_R14B01/lib/configure' failed for lib
GNU flex is in system, so I have no idea what has goes wrong. Maybe someone know the issue?

View 3 Replies View Related

Slackware :: Building A Guest OS In Xen?

Sep 14, 2010

I would request for a step by step procedure for building a slackware 13 guest OS in xenserver 5.6

View 3 Replies View Related

Debian Configuration :: Building A Loadable Kernel Module?

Jul 30, 2010

I upgraded my kernel in my Debian Lenny to version 2.6.32-bpo.4-amd64 to fix a problem with a software and ALSA-related issues. The thing is that now, when I boot, eth1 is not enabled and I have to "load" (I guess) the driver each time. To do this, I go to the folder where all the files for the drivers are and I run:

modprobe lib80211
and then
insmod wl.ko

That I got from the readme file. That gets the wireless working perfectly again, but when I reboot the wireless is dead again and I have to run the commands above again. I imagine that what I should do is to build the driver again, for my new kernel. However, according to the readme file, before I need to install linux-headers-generic and build-essential. With build-essential, it says it's already the newest version, and with the linux-headers, I don't know which one should I install for my kernel! I thought it would be the linux-headers-2.6.32-bpo.4-xen-amd64, but when I tried that, this is what happened:

debian:/home/hernan/Programas/hybrid_wl# apt-get install linux-headers-2.6.32-bpo.4-xen-amd64
Reading package lists... Done
Building dependency tree       

[code]....

So the warning says something about the MODULE_LICENSE being missing... how to build the driver again to make it load each time I boot?

View 3 Replies View Related

Software :: Building Nspluginwrapper On Slackware 13.1?

Jan 2, 2011

I did some research and located a nice packaging script "nspluginwrapper.SlackBuild" so I decided to go that route and build a Slackware package for nspluginwrapper. The error I get is the inability to find /usr/include/gnu-32.h when it is building the nspluginviewer. Not realizing that the viewer is what is used by the Browser I edited the configure script to not build that piece and it worked fine after that but of course that defeated what I was trying to do. What it looks like is that I need to have 32 bit headers or both headers and libraries installed to be able to build the viewer. I just want to use the acrobat reader plugin in Firefox. Would someone please provide an explanation of what I need to do to build nsplguinwrapper viewer?

View 1 Replies View Related

Slackware :: Error Building Gtk+-2.22.0 From Source

Jan 5, 2011

I tried building but got errors at the end.

make: *** No targets specified and no makefile found. Stop.

View 2 Replies View Related

Slackware :: Lilypond Error When Building

Oct 1, 2009

I've just tried to compile lilypond using a fresh SlackBuild from slacky.eu site.

I have all deps and I use current Slackware that was gradually upgraded using all current packages since version 12.2. So I call it "version 13".

After a minute or so I got this ugly sentence:

View 6 Replies View Related

Slackware :: Src2pkg - Building Xorgxserver 1.8 ?

May 10, 2010

Im having problem building xorg-xserver 1.8 with src2pkg

Heres src2pkg build script:

Code:

error that im getting is :

Code:

What am i doing wrong? sysconfdir=/etc directive is inside the script.

View 14 Replies View Related

Debian Configuration :: Building (Wireless Adapter) Driver From Source

Feb 24, 2010

Apparently, the wireless adapter Realtek 8171 uses the rtl8192se driver, which is currently available only as source from Realtek's website. Is building a driver equal to building a package? Should I follow the same cautions, say these ones?

View 9 Replies View Related

Debian Configuration :: Address Prior To Building The Latest Kernel (2.6.33.4)?

May 13, 2010

Got this while installing the kernel development tools on my Squeeze system being used as a router/firewall. Setting up update-inetd (4.36) ... Setting up cvs (1:1.12.13-12) ... Ignoring install-info called from maintainer script The package cvs should be rebuilt with new debhelper to get trigger support Ignoring install-info called from maintainer script The package cvs should be rebuilt with new debhelper to get trigger support Setting up autopoint (0.17-11) ...

Is that an issue that I need to address prior to building the latest kernel (2.6.33.4)?

View 1 Replies View Related

Slackware :: Building Mesa-7.8.1 With Osmesa Support?

May 28, 2011

I'm using Slackware 13.1, just messing around with some stuff before I upgrade to 13.37. I really want to get a decent build of Desmume working, but the 3D engine for it requires OSMesa to be enabled. I've removed the initial Mesa package that I installed from the Slackware DVD and I'm trying to recompile mesa-7.8.1 so that OSMesa is available for the system. However, I keep running into problems.

Code:

./configure --enable-gl-osmesa

When I run those options for the configure command and compile it, Mesa builds alright and gives me a working libGL just fine. It also gives me libOSMesa. Yet, when I compile Desmume to specifically use OSMesa, its configure script says that it can't find OSMesa at all. But running ldconfig -p, the output shows libOSMesa.so in /usr/lib. The symlink is up to date too, and I've recreated it several times.

Code:

./configure --with-driver=osmesa

When I build Mesa using these configure options, I don't get libGL (well, that's expected, the manual says as much will happen). But apparently libOSMesa is installed just fine. When I went to compile Desmume, no gripes about OSMesa, but Desmume needs both libGL and OSMesa to work properly.

So my question is, how can I install Mesa so that I have OpenGL and OSMesa working together? I've been able to get one working, but not both. I don't know how to get OpenGL on Slackware without using the Mesa package, but the package isn't cooperating. I'm on Intel graphics too.

View 3 Replies View Related

Slackware :: Building SlackBuilds KVM Does Not Work - 2.6.35.4 Kernel

Oct 1, 2010

Since there was a lot of talk about virtualization I thought I try kvm -- before I used VirtualBox. I took the SlackBuild from SlackBuilds.org and got an error with u8 as type in /usr/include/scsi/scsi.h. (sorry, I don't have the exact error message anymore..) I searched for its definition and I only found __u8 in /usr/include/linux/types.h. Then I searched the web and found a "fix" which says I have to change u8 from /usr/include/scsi/scsi.h to __u8. This problem was solved, but when I run the SlackBuild now it stops at some point and I don't know why. These are the last few lines of output:

CC arm-softmmu/translate.o
CC arm-softmmu/tcg/tcg.o
CC arm-softmmu/tcg/tcg-runtime.o
CC arm-softmmu/fpu/softfloat.o .....
LINK i386-softmmu/qemu
AR arm-softmmu/libqemu.a
LINK arm-softmmu/qemu-system-arm
root@tux:/home/christian/Downloads/kvm#

I put an echo after the make for building kvm and I put an echo after "make install". None of them are printed.

View 14 Replies View Related

Slackware :: Error Building Compiz 0.8.4 From Source - 13

Dec 16, 2009

I've been trying to install Compiz 0.8.4 from the source code provided by the Compiz people.

However, when I run make on the first set of code (compiz-0.8.4 tar package), it halts with the following error:

Code:

As well as --disable-gconf and --disable-gnome since gnome isn't install on Slackware (I've also tried it without those, but it picks up on it anyway and throws them out). The folder I'm running this from is /root/Desktop/Compiz Fusion/compiz-0.8.4.

View 14 Replies View Related

Slackware :: Error Building Glade3 - Build ?

Jan 21, 2011

Im trying to build the glade3 slackbuild on slackware x64 -current, but everytime i try to build it, i get the same error:

Code:

There are no dependencies listed in the slackbuild, so i'm confused as to what could be causing this error.

View 5 Replies View Related

Slackware :: Make Failure When Building Bigforth?

Mar 16, 2011

I am trying to make a slackbuild for the bigforth package (source:[URL]However when I run make I get the following error messages:

Code:
bash-4.1# make
env LIBDIR=/usr/local/lib/bigforth SRC=/usr/local/lib/bigforth/src ./forthker -e " include startup.fb ' .blk

[code]....

View 4 Replies View Related

Slackware :: Building From Slackbuilds - Get Make Error ?

May 18, 2010

I have tried building a couple of packages like gst-plugins-bad, Qtcurve-Gtk2, but I get make error at this line:

Code:

For gparted I'm getting:

Code:

Using Slackware64 - current

View 14 Replies View Related

Slackware :: Building The Perl Modules For Bugzilla 4.x.x?

May 16, 2011

I've done a clean install of Slackware 13.37 64-bit and am having trouble with building the Perl modules for Bugzilla 4.x.x (downloaded yesterday with bzr). This same problem exists with both Bugzilla stable and 4.1.2+.Executing checksetup.pl results in

Code:
checksetup.pl
* This is Bugzilla 4.1.2+ on perl 5.12.3

[code]....

View 3 Replies View Related

Slackware :: Compile Error When Building SBOPKG For Libsoup

Jan 2, 2011

Trying to get Midori browser from SBOpkg's and one of the dependencies is libsoup.configure: error: GLIB 2.21.3 or later is required to build libsoup.Anyone able to give me a pointer in the right direction to overcome this.

View 2 Replies View Related

Slackware :: Error Building Gnome-power-manager 2.30

May 20, 2010

I use Slackware 13.0 with the 2.6.33.2 kernel, and I use GnomeSlackbuild.I tried to get help on their discussion group, but I didn't get any.I'm trying to build gnome-power-manager 2.30, because it uses the new upower interface (so it seems). I have GTK+ 2.18.9.

View 3 Replies View Related

Slackware :: Failure Building Nvidia-kernel Slackbuild From SBo?

Jun 27, 2011

I have a brand new installation of 13.37 but I can't seem to get the nvidia-kernel (64 bit only) Slackbuild from slackbuilds.org to build. I have the nvidia driver installed and working on 13.1 so I am not desperate yet: although I thought that it could just be something with the older Nvidia driver so I waited for the updated release but it fails in the same way.I have uninstalled xf86-video-nouveau and installed xf86-video-nouveau-blacklist-noarch-1.txz from /extra.I have also installed libvdpau from SBo. The nvidia-driver Slackbuild builds fine.I am using the stock 2.6.37.6 huge kernel but have also tried the 2.6.38.4 kernel from /extra and the 2.6.38.7 kernel from Slackware-current.Here is the error message I am seeing:

Code:
root@DarkStar:/home/server/Utils/Packages/Slackware/13.37/64/nvidia-kernel# SRCSUFFIX="-no-compat32" ./nvidia-kernel.SlackBuild

[code]....

View 7 Replies View Related

Slackware :: Program Segmentation Fault When Building With A Slackbuild?

Nov 25, 2010

So I've wanting to try out the new development branch of compiz (0.9). I made some slackbuilds a while back and installed all of the necessary packages for the compiz window manager. However when ever I tried to launch the program using "compiz --replace ccp &" I would get a segmentation fault. I forgot about it but today I decided to give it another go and after a few hours I decided to try and see what would happen if I just built compiz-core from source with out using a slackbuild, and sure enough it now works. I have hacked the script trying different combinations to try and make it work but no matter what I try unless I install from scratch (directly into the tree) it will not work. If anyone has any ideas on how to fix this so I can make an actual slack package please let me know. Also I used the main developers forum post as a referencem you can view his instructions here [URL]..

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved