LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-29-2013, 02:42 PM   #1
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Rep: Reputation: Disabled
pacstrap or raid error


Hi everybody, after a few smooth installations I am stuck with pacman.
First I created partitions with GPT, then built mirrored RAIDS with mdadm. It complained because of persisting superblocks - I run --zero-superblocks. I erased and created GPT partition-tables and changed the formatting, used disk-eraser. It built the RAIDS, but warning that there were still rests of the old superblocks. I started the Arch installer 64 bit, reformatted the partitions, rebuilt all raids ok with new superblocks, established internet connection. But pacman is unable to find any database, it searched all servers and timed out everywhere. In the mirrorlist I put nearest server up and left the others untouched. Any suggestions what I did wrong ? dmesg : cant find squashfs superblock, cant find ext4 fs - HD spinning loudly, I had to shutdown. Thanks !
 
Old 05-29-2013, 03:24 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
Quote:
I started the Arch installer 64 bit,
How old is your install disk? Do you have repo [core] [extra] [community] enabled?

Maybe the wiki will help
https://wiki.archlinux.org/index.php/Beginners%27_Guide
https://wiki.archlinux.org/index.php/Installation_Guide
https://wiki.archlinux.org/index.php/RAID
https://wiki.archlinux.org/index.php/Pacman
 
Old 05-29-2013, 03:48 PM   #3
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Original Poster
Rep: Reputation: Disabled
Hello teckk, thanks for your reply. The CD is 2 weeks old ( but I have not checked the Md5), I have installed Arch on 4 PC with it. I verified the repositories file and additionally uncommented multilib. But I suspect that my raid is at fault :
Both velociraptor 300 GB disks were spinning rapidly when I rebooted, so I was worried and stopped all raids, removed them and tried to --zero-superblock.
I zapped both disks with disk eraser, then :
OK; writing new GUID partition table (GPT) to /dev/sda, then /dev/sdb.
The operation has completed successfully.
root@PartedMagic:~# mdadm --examine
mdadm: No devices to examine
root@PartedMagic:~# mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sda1 /dev/sdb1
mdadm: /dev/sda1 appears to contain an ext2fs file system
size=5120000K mtime=Thu Jan 1 00:00:00 1970
mdadm: Note: this array has metadata at the start and
may not be suitable as a boot device. If you plan to
store '/boot' on this device please ensure that
your boot-loader understands md/v1.x metadata, or use
--metadata=0.90
what is md/v1.x and how do I make a clean wipe of the HDD ? Thanks again...
 
Old 05-30-2013, 08:45 AM   #4
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Original Poster
Rep: Reputation: Disabled
So I reformatted the two velociraptor, rebuilt two RAIDs md0 (on sda1 and sdb1)=root and md1 (on sda3 and sdb3)=home. swap and bios boot partition are not raided. Installation of archlinux ( md0, md1 mounted and reformatted with ext4) went well until : pacstrap /mnt base. -> creating istall root to /mnt -> installing packages to /mnt. warning : database file for core does not exist. error: failed retreiving file core.db from mirror resolvinĝ timed out. Same error for every arch server. ping shows working internet connection. /etc/pacman.conf is present with core etc uncommented. mirrorlist is there. Does anyone have an idea what is wrong ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
Sofware RAID 1 + Fedora Core 3 + Boot Error L1 + GRUB 21 ERROR najeebsyed2 Linux - Hardware 0 10-25-2007 01:20 PM
Perc3Di SCSI RAID + Adaptec 2810SA RAID = Fatal Grub Error? LinuxOnTheEdge Linux - General 2 03-19-2005 02:35 PM
Raid 0 error adelezz Linux - Hardware 1 12-19-2004 02:03 PM
s/w RAID 1 error andy18 Linux - General 2 12-05-2004 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration