Slackware :: Making The Raid 0 As Root?
Mar 1, 2010
I have a Gigabyte P55-UD3 motherboard, I created a raid 0 array in the bios with the integrated gigabyte raid controller. can I install Slackware 64 on it, can I make it bootable, could I have multiple Operating Systems(Windows too)without each of them corrupting the partition table.If yes then how?(I would prefer not using extra bootdisk)
View 1 Replies
ADVERTISEMENT
Dec 17, 2008
I am trying to get Slackware 12.2 running on a system with two identical harddiscs using RAID-1, LVM and LUKS.
Here is what I get:
Code:
The system is still the same, however, the results of upgrading or installing 12.2 are different. The system refuses to boot. The screen messages during boot seem to suggest, that the RAID system is "seen" by the system, but the encrypted filesystem is not.
I can boot with the installation DVD, however, and
Code:
View 14 Replies
View Related
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
Sep 3, 2010
We are running on a debian lenny 5.0.5 server and we would like to upgrade our hadware with this card :
[URL]
Apparently the AAc drivers [URL] should allow us to make a material raid 5 with this card. (I hope installing the drivres after/during the installation will be enough and we will not hae to compile the os with it !) Though after searching for days the entire web i couldn't find any feedback on how runs this card with a debian lenny ? confirm us that it WILL run smoothly on a debian 5.0.5 ? If not, well .. we are trying to make a material raid 5 with 4 SATA II HD on a server without PCI-X port (only express 16x 8x 4x 2x 1x. us a robust raid controler that is assured to run fine with debian lenny ?
View 1 Replies
View Related
Jul 10, 2010
I am installing Slackware on a friends computer soon and I want to be able to log into his machine from home so that I can run updates and such for him. What programs do you guys recommend for this, freenx, realVNC, etc?
View 1 Replies
View Related
May 10, 2011
I'm using Slackware 13.1 on my laptop, and sometime ago it make some beeps on shutdown, and when I don't find any word on a page on Firefox(using the find tool on Firefox).
View 2 Replies
View Related
Feb 26, 2011
I would like to try making my desktop into a functioning web server on the web, if this is possible. The plan is to have web pages attached to a database where data provided by the users will be stored and to have programs that will process this data to generate new pages or PDF reports. I plan to user FireBird as the database manager and build the front end with Lazarus, if possible. My desktop is a small Acer with a 1TB hard disk. At the moment it has 1 partition containing Windows 7 which I would like to keep, for now. My internet connection is a phone company supplied standard residential high speed. Here are my questions, if this idea is actually possible:How should I partition the disk or is a root and home partition OK? When I install Slackware, is there anything special that I must do? How do I actually let the web know that this server exists? Are there any Slackware specific sites where I can learn how to do this type of stuff?
View 12 Replies
View Related
Feb 18, 2010
System Slackware64-Current multi-lib enabled. What command would I use to upgrade the compat32 packages after making new ones?
View 3 Replies
View Related
Jan 1, 2011
how to modify an existing slackbuild from slackbuilds.org to check source out of a git repo instead of downloading a tarball? Slackbuild in question is 'scantailor'.I could just change the 'info' file to point to a git snapshot URL, but I would have trouble with the version numbers and tarball checksums needing manual updating, no?
View 7 Replies
View Related
Feb 11, 2010
The RAID level 1 interested me because of its redundancy in both drives. And I successfully made it in a couple of partitions. But, I always did it after Linux installation. Then, I create both partitions, use 'mdadm' to create raidtab and RAID device (md0, for example) and then I format the RAID device with 'mkfs' and mount it.
Until there, it's all OK.
But my problem is to mirror ALL the hard disk, inclusive root partition. To do that, I guess I need no Linux installation, then create the RAID (md0, raidtab, etc) and after that install Linux in RAID device created.
But I'm new in Linux world and I have no idea how to do that.
I use Debian Lenny, so I need a solution that uses only the first DVD of this distribution.
View 10 Replies
View Related
Oct 26, 2010
I'm trying to install GRUB2 on root partition under RAID 5. I tried using the alternate CD, but installation failed. Now I'm trying under the live CD and grub-install ... but I'm being told it can't find the device even though /dev/sda2 (root partition) and /dev/sda are mounted.I have 4 discs, each with a swap partition (/dev/sdX1) and a root partition (/dev/sdX2).
View 9 Replies
View Related
Mar 21, 2011
I ran into this and found a non-trivial solution so I thought I'd share in case anyone else ran into it.I have two 200GB drives so I thought I'd install my system with RAIDed partitions for /boot, / and /home. I would use RAID1 for /boot and /home because GRUB2 can load the kernel from a RAID1 and I thought the extra reliability for /home would be nice. (I may second guess /home on RAID1 once I get to test performance.) I chose RAID0 for / to provide faster application loading.I prepared the drives using a Live CD because I'm not confident that I can do what needs to be done during installation.First I partitioned the drives as:
Code:
hbarta@olive:~$ sudo fdisk -luc /dev/sda
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
[code]....
At this point I could restart and boot from the system hard drives and proceed with configuring my system. I'm not positive that it is necessary to add the modules to /etc/initramfs-tools/modules but I do know that alone is not sufficient. An earlier attempt was to install grub (install-grub /dev/sda; install-grub /dev/sdb) within the chroot and I found that also was not sufficient. I have not listed it above because I think it was not necessary. But on these two issues, I'm not going to reinstall again from scratch just try...
[URL]
Another possibility is to install using the Alternate CD. I did not try that but it may provide better RAID handling. Last week I installed 10.04.2 LTS Server to a RAID1 and it did not experience this problem. However I do not know if it is RAID in general or RAID0 that led to the issues I encountered.
View 1 Replies
View Related
Apr 15, 2009
OpenSuSE 11.1 is by far the best SuSE version in a long time. It's generally up to competition or ahead of it. It's admirable, how thoughtful this system is set up, and how clean and fast it is compared to its predecessors. It ssems, that SuSE is fighting its way back to where they came from before the Novell "merger."
Having said that, it is even harder to understand, IMHO, why the installer doesn't support encrypted root partitions. Of course, there is a manual solution:
http://en.opensuse.org/Encrypted_Roo...ith_SUSE_HOWTO
However, this HOW-TO doesn't explain how to combine LUKS encryption with LVM on a RAID-1 system, as described for Slackware 12.2 here:
[url]
[url]
Is there a similar guide anywhere available for OpenSuSE 11.1?
If not: Would it be possible to do all the low-level setup work, like partitioning, setting up the logical volumes and encrypting everything, with Slackware, following the document above, and then install OpenSuSE 11.1 on that system? Would that work?
View 5 Replies
View Related
Dec 17, 2010
I have just configure RAID 1 on my IBM X3400 Server in CENTOS 5 ..Partition information is md0 boot , md1 swap and md2 is root ....but after resyn when i run cat /proc/mdstat I realize that md0 and md1 is ok and present with [UU] status. BUT the md2 is showing on one [U_].. that means my root partition is not properly in RAID 1.. how can i make it active in both drive. Or i need to reinstall complete system again. Screen shot attached [URL]
View 2 Replies
View Related
Feb 1, 2011
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
I was able to examine the disks though:
Code:
root@127.0.0.1:/etc# mdadm --examine /dev/sdb2
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
code....
Code:
mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
View 4 Replies
View Related
Jan 27, 2010
I'm having some problems with a hosted openSUSE 11.2 server. It was running fine until I did a "zypper up" to apply patches. This included a kernel update.
On reboot the root partition does not mount the / partition giving the following error:
Unrecognized mount option "defaults.noatime", or missing value mount: wrong fs type, bad option, bad superblock on /dev/md2.
Through an Ubuntu rescue disk (this is what Hetzner provides) the disk can be mounted without problems.
( I installed a fresh openSUSE 11.2 with a similar configuration and got the same results after the update)
The server is a hosted installation from Hetzner in Germany with just the basics for LAMP setup.
The disk setup is as follows using software raid1:
swap /dev/md0 (/dev/sda1 /dev/sdb1)
/boot /dev/md1 (/dev/sda2 /dev/sdb2)
/ /dev/md2 (/dev/sda3 /dev/sdb3)
View 3 Replies
View Related
May 3, 2010
I am running a RAID0 array, with Windows 7 Ultimate x64 installed.
When i install LL10.04 through Wubi, it installs fine, reboots, continues the installation procedure, then it gives me an error box "No root file system is defined".
I have attempted pressing the "OK" button 10 or 15 times, however it does not progress. The box just keeps on popping up. My only option is a hard reset.
I've tried downloading the latest version of Wubi from the official website, and allowing Wubi to download ubuntu itself, and still nothing.
I do not want to create a new partition for Ubuntu and use the GRUB loader. I have a multi boot system and would like to stick to the windows boot loader.
View 9 Replies
View Related
Mar 14, 2010
I look after some small office where computers run ubuntu. Sometimes they phone me for help. For that reason, I decided to install ubuntu alongside with my slack.I seem to have problems with lilo configuration. Ubuntu is installed on software raid :
/boot = md0 (raid 1 of sda1+sdb1)
/ = md1 (raid 0 of sda2+sdb2)
That's lilo.conf:
Code:
append=" vt.default_uft8=0"
boot = /dev/sda
bitmap = /boot/slack.bmp
[code]....
Code:
Fatal: open /vmlinuz-2.6.31-9-rt: No such file or directory
I can mount md0 without problems and the file name seems to be correct.
View 3 Replies
View Related
Dec 17, 2010
I have a server setup with software raid, I've used mdadm to create the mirror and it seems to be working just fine but it won't start by itself.
2 x 160GB SATA drives, each with a single partition
/dev/sdb1 and /dev/sdc1 respectively
Code:
/dev/md0:
Version : 0.90
Creation Time : Fri Dec 17 13:31:13 2010
Raid Level : raid1
[Code].....
View 3 Replies
View Related
Aug 17, 2010
I use slackware 13.1 and I want to create a RAID level 5 with 3 disks. Should I use entire device or a partition? What the advantages and disadvantages of each case? If a use the entire device, should I create any partition on it or leave all space as free?
View 4 Replies
View Related
Feb 6, 2010
I have a VT6421 based raid controller. lspci shows this: 00:0a.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50) The drivers that come with it appear to have been compiled against an old kernel (I'm guessing). When I try to load them I get invalid module format. dmesg shows this: viamraid: version magic '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.27.7-smp SMP mod_unload Does anyone know of a way to get this to work? I found the source for this, but it appears to only support Fedora, Mandrak, and RedHat. I can't get it to compile or make a driver disk.
View 3 Replies
View Related
Mar 9, 2011
Basic Problem: I have been trying to install 13.1 (64-bit) and have not been able to get lilo to install.
Procedure:
1) partitioned drive /dev/sdc 1GB (Linux RAID) and 499GB (Linux Raid)
2) copied partitioning scheme to /dev/sdd
3) set up RAID-1 arrays md0 (sdc1-sdd1) and md1 (sdc2-sdd2)
4) write random data to partitions
5) set up LUKS on md1 (swluks)
6) set up LVM on swluks (80GB /, 375GB /home, 20GB swap)
7) ran setup, chose partitions, installed software
8) setup lilo (mbr, selected /)
9) TRIED to install lilo
[Code]..
View 4 Replies
View Related
Aug 16, 2010
I have a raid array level 5 with metadata 1.2 made with mdadm. I put it on /etc/fstab to mount it on boot but it doesn't works because the raid is not detected on boot. I have a /etc/mdadm.conf like this:
Code:
ARRAY /dev/md0 level=raid5 num-devices=3 metadata=1.2 name=0 UUID=afdfe00e:0d18a5eb:29aa54f9:8b422ee0
Just another thing... After the command
Code:
mdadm --detail --scan >> /etc/mdadm.conf
The mdadm.conf is like this:
Code:
ARRAY /dev/md0 level=raid5 num-devices=3 metadata=1.02 name=0 UUID=afdfe00e:0d18a5eb:29aa54f9:8b422ee0
But I change manually the metadata version because the 1.02 give me a error. I don't know if it is a bug or what! Beside this. I have to put a line in /etc/rc.d/rc.local to assemble the array.
Code:
mdadm --assemble --scan --uuid=afdfe00e:0d18a5eb:29aa54f9:8b422ee0
And after that I already can mount it. Why the array is not detected on boot? Is because metadata type is prior to 1.00? Can I put the line I have on /etc/rc.d/rc.local to assemble the array in another file, that will be executed before /etc/fstab?
View 5 Replies
View Related
Nov 5, 2010
I'm somewhat stuck I fiddle with intel ss4200 NAS where I managed to install Slack 13.1 on some spare IDE HDD that was lying around (instead of that crappy 256 MB DOM). Anyway, everything works except one thing...
The setup is: 1x IDE HDD with Slackware on it. 4 x 1TB drives in RAID 5, which when mounted make 3 different logical drives. Everything works, /dev/md0 is created, pvc on top of it with 3 different drives. Well at least until I reboot. After reboot /dev/md0 is not automatically assembled and due to that - lvm stays inactive. Of course, I can make a script and put it in rc.local that will activate and mount what I want but I'm sure that there is one more elegant solution for that.
At the moment I need to issue: mdadm --assemble /dev/md0, vgchange -ay, mount -a and vgchange -an at shutdown. I checked parts concerning LVM in rc.S but I'm clueless. Kernel on the system is 2.6.36, mdadm - v2.6.9 and LVM version: 2.02.64
View 2 Replies
View Related
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
View Related
Jun 21, 2010
I'm trying to install Slackware 13.1 x64 on a Dell T610 with a SAS Raid Controller H700 and the following error appears: Failed initialization of WD-7000 SCSI Card / megasas: FW now in Ready state. not recognizing my disks!
View 1 Replies
View Related
May 1, 2011
I just setup sendmail on my server to send emails and it works, now I would like to be able to get an email from mdadm if sometjhing was going wrong. I imagine most raid users have this feature setup.
Right now, I have 7 raid arrays and mdadm starts at boot time. Until now, I used Mr. Goblin's script (http://connie.slackware.com/~mrgoblin/files/rc.mdadm) (thanks Mr Goblin!) to monitor my arrays.
The script is started at boot time from rc.local. I created a small script in /usr/bin that send the following command to rc.mdadm giving me the status of the arrays:
Code:
/etc/rc.d/rc.mdadm status
and it works fine, but this requires me probing the arrays manually by calling the script from the command line. I would like to automate probing every 10 minutes or whatever and if a fault has been detected, I get an email.
[Code]...
View 14 Replies
View Related
Jun 21, 2011
what do I have:2x 150GB drives (sda) on a raid card (raid 1)for the OS (slack 13.37)2x 2TB drives (sdb) on that same raid card (raid 1, too)2x 1.5TB drives (sdc,sdd) directly attached to MoBo2x 750GB drives (sde,sdf) attached to MoBo too.if i got about it the normal way, i'd create softRAID 1 out of the the 1.5TB and the 750GB drives and LVM all the data arrays (2TB+1.5TB+750GB) to get a unified disk.If I use btrfs will I be able to do the same? mean I have read how to create raid arrays with mkfs.btrfs and that some lvm capability is incorporated in the filesystem. but will it understand what I want it to do, if i just say
Code:
mkfs.btrfs /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
probably not, eh?
View 3 Replies
View Related
Mar 7, 2011
When you see this topic we are in trouble of installing driver of the raid card on hp server.
Enviorment:
OS: Slackware 13.1
Server Type : HP ProLiant DL160 G6
Raid Card: Smart Array B110i SATA RAID
Disk : SATA 250G * 2
Raid Model: Raid 1
We have setted raid model (raid 1+0) in BIOS and when we finished install Slackware13.1 ,the OS can not recognise the raid disk(also two disk).Is there anybody can help me?Some solution or driver program or other infomation etc.My email is "feng.pan@continental-corporation.com".
View 2 Replies
View Related
Aug 4, 2010
I want to build a 6xSATA RAID 5 system with on of the disks as spare disk. I think this give me a chance of 2 of 6 disks failing without losing data. I am right? Hardware: Intel ICH10R First I will creat a 3xSATA RAID 5, after I will add the spare disk and after that I will add the others disks. This is what I think I should do.
[code].....
EDIT:I'm thinking in put LVM with the RAID 5. What are the advantages and disadvantages of it (LVM over RAID 5). It is safe? My MB (Asus P5Q) have Chipset Intel P45 ICH10R. What kind of RAID have it? Hardware RAID, fake RAID, BIOS RAID, software RAID? This are the specs of storage
[code].....
View 1 Replies
View Related