Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello. I have a server which is doing some archiving of files. What's kind of frustrating is that I inherited this server without any documentation.
Here's what I know about it:
1. There are two USB external hard drives drives connected to it.
2. It has six hard drives and a 3Ware 9550SX controller.
3. It MIGHT have 2 RAID 5 arrays of 3 drives a piece, but I can't pull the server down and look at the controller BIOS to find out. (I'm guessing judging from the information shown below)
4. It's running "Linux from Scratch"
Now, maybe I'm looking in the wrong places, but first of all, mdadm doesn't exist on this machine. Second of all, I can't seem to find the external USB Drives. Third, I'm seeing things that don't make sense.
What things do I need to do to find out the information I'm looking for?
I need to know:
1. What the device names of the USB drives are and how to get at the data that's sitting on them, if there's any data at all. (Taking them off the server and putting one of them on my PC isn't an option right now.)
2. How are the internal hard drives really set up?
3. How do I configure or examine md0 without mdadm?
4. How do I find out how the 3Ware 9550SX is configured without having to take down the machine?
Disk /dev/sda: 1199.9 GB, 1199966257152 bytes
255 heads, 63 sectors/track, 145887 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 1217 9775521 fd Linux raid autodetect
/dev/sda2 1218 145286 1157234242+ 83 Linux
/dev/sda3 145287 145887 4827532+ 82 Linux swap / Solaris
Disk /dev/sdb: 1199.9 GB, 1199966257152 bytes
255 heads, 63 sectors/track, 145887 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 1217 9775521 fd Linux raid autodetect
/dev/sdb2 1218 145286 1157234242+ 83 Linux
/dev/sdb3 145287 145887 4827532+ 82 Linux swap / Solaris
Disk /dev/sdc: 8 MB, 8388608 bytes
8 heads, 32 sectors/track, 64 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/md0: 10.0 GB, 10010034176 bytes
2 heads, 4 sectors/track, 2443856 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
root@eb-xxx:~# mount /dev/md0 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sda2 on /srv/mysql type ext3 (rw)
/dev/sdb2 on /filebackup type ext3 (rw)
devpts on /dev/pts type devpts (rw,gid=4,mode=620)
shm on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devgid=14,devmode=0660)
root@xxx:~# cat /etc/fstab
# Begin /etc/fstab
# file system mount-point type options dump fsck
# order
I found the vendor's web site and technical information about the card. http://www.3ware.com/support/OS-Support.asp#lindis
The important thing here is that it says that a software driver is included for Linux and that Linux v2.6 kernel has a driver built into it. That means that the card is not fully independent of the operating system. Therefore it requires a Linux device driver to create the RAID configuration, hence the md0 device.
I haven't used RAID under Linux. I do, however, see boot messages on my own Linux machines that indicate that a startup script is trying to autodetect RAID devices. This may relate to the partition on each of your disks that are described as being Linux RAID autodetect partitions.
Look in your machine's startup scripts for the messages that you see in dmesg relating to md0 and RAID. You can use grep for this.
My PCLOS system shows only /etc/rc.d/rc.sysinit using this search. That's where I would start looking for information about RAID on my system.
There should be some kind of software utility to create and manage the RAID configuration for this card. I'd look in /sbin and /usr/sbin for anything that seems like some kind of RAID setup software.
Last edited by stress_junkie; 02-13-2009 at 07:46 AM.
Please put CLI output in "Code:" blocks to preserve the monospace font alignment. I can't easily, & therefore won't bother to, read those parts of your posts. I don't want to be rude, but frankly if you expect volunteer help, you ought to make it as easy for us as you can. If this is a case of being so new to LQ & the vBulletin forum s/w, I apologize for the harshness of my comments. Unfortunately I have lost patience w/ posts I can't read.
We will be glad to explain "Code:" blocks, if you ask.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.