Happy new year to you all!
I was in the process of moving over to Linux Mint Debian Edition 201403 from Scientific Linux 6.5 but I have had a problem post install. As I am new to Debian based distributions I have spent a few days learning how to install configure most of the software I plan to use on my server but I overlooked one area - which is where I should of taken advantage of the live DVD. That area being my server hardware.
http://pastebin.com/EXEc1GuE
The server has 4 SATA disks. Each pair has a software RAID1 using up most of the disk, apart from about 22Gb at the start. Then I have one LVM spanning both RAID1's. The OS and swap is installed into the first 20Gb (+2Gb for the swap) of the first disk.
http://smg.photobucket.com/user/meng...psf726f598.jpg
http://img.photobucket.com/albums/v6...psf7802033.jpg
All installed fine and after the reboot I logged in and started to install my software.
Code:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install openssh-server
$ sudo apt-get install mdadm dmraid smartmontools
The last one resulted in an error I hadn't seen before.
Unpacking mdadm (from .../archives/mdadm_3.3-2_amd64.deb) ...
Quote:
Processing triggers for man-db ...
Setting up mdadm (3.3-2) ...
Generating array device nodes... done.
Generating mdadm.conf... done.
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
[ ok ] Generating udev events for MD arrays...done.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
[ ok ] Starting MD monitoring service: mdadm --monitor.
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.11-2-amd64
W: Possible missing firmware /lib/firmware/radeon/KAVERI_sdma.bin for module radeon
W: Possible missing firmware /lib/firmware/radeon/KAVERI_rlc.bin for module radeon
W: Possible missing firmware /lib/firmware/radeon/KAVERI_mec.bin for module radeon
W: Possible missing firmware /lib/firmware/radeon/KAVERI_ce.bin for module radeon
W: Possible missing firmware /lib/firmware/radeon/KAVERI_me.bin for module radeon
W: Possible missing firmware /lib/firmware/radeon/KAVERI_pfp.bin for module radeon
|
This error I believe meant although mdadm was installed my RAID was not properly detected hence my /dev is missing the LVM I need to mount to access all my data.
I managed to find the package (firmware-linux-nonfree_0.43) which needed to be updated to remove the error.
https://packages.debian.org/jessie/a...nfree/download
So now the error does not appear when I install the package but still my RAID / LVM setup is hiding somewhere.
When I run these commands, nothing:
Code:
$ cat /proc/mdstat
$ sudo mdadm --detail --scan
From the
Linux Mint Debian Edition mdadm.conf
Quote:
ARRAY /dev/md/2 metadata=1.1 UUID=50d30aa3:5d299ff5:a2d6a195:66113152 name=phantom:2
ARRAY /dev/md/2 metadata=1.1 UUID=123af871:5c4fb0ce:951acf30:74ee3382 name=phantom:2
|
From my original
Scientific Linux fstab
Quote:
/dev/vg_phantom/lv_store /mnt/store ext4 defaults 1 2
|
From my original
Scientific Linux mdadm.conf
Quote:
ARRAY /dev/md0 UUID=50d30aa3:5d299ff5:a2d6a195:66113152
ARRAY /dev/md1 UUID=123af871:5c4fb0ce:951acf30:74ee3382
|
Any ideas on how to detect the RAID array's, so the LVM is detected and I can mount it?