RAID tips on gentoo

Posted by nix under info, linux, tips

1. RAID Tips If you failed to install gentoo in software RAID, below are the tips you might want to consider. Don’t modify the partition table on HDDs, unless the data is corrupted or the partition(s) broken. Boot from gentoo installation CD. Install the modules that necessary for RAID: #modprobe md #modprobe raidXX (XX refers [...]

  • Share/Bookmark

I2o Tips

Posted by nix under info, linux, technology, tips

1. I2O tips Same as the RAID tips, in case u overwrite the MBR due to kernel insufficient or incompatible partition, but the data is still there the SCSI controller is fully functional. Boot from the latest gentoo installation CD using this option: gentoo doscsi dodevfs dolvm2 nox scandelay=20 Check whether the i2o is ready [...]

  • Share/Bookmark

How to SFTP

Posted by nix under linux

You can use command line SFTP from your Unix account, or from your Mac OS X or Unix workstation. To start an SFTP session, at the command prompt, enter: sftp username@host For example, to connect to your dvader account on the host sithlord.org, you would enter: sftp admin@hikecn.com Enter your password when prompted. Some standard [...]

  • Share/Bookmark

/lib folder gone on gentooo

Posted by nix under linux

This is how to fix it: just copy the /lib from gentoo cd or another gentoo machine. step: 473 mount -o remount,rw /boot/ 474 mount /dev/md0 /boot/ 475 ls /lib 476 mount -o remount,rw / 477 ls /lib 478 ln -sf /lib64 /lib 479 ls /lib 481 exit 482 eselect profile list 483 eselect profile [...]

  • Share/Bookmark

how to create MDADM in Gentoo

Posted by nix under info, internet, linux, news, technology

mdadm –create /dev/md0 –level=1 –raid-devices=2 /dev/sd[ab]1 mdadm –create /dev/md1 –level=1 –raid-devices=2 /dev/sd[cd]1 mdadm –create /dev/md2 –level=10 –raid-devices=4 /dev/sd[abcd]3 mdadm –create /dev/md3 –level=1 –raid-devices=2 /dev/sd[ab]4 mdadm –create /dev/md4 –level=1 –raid-devices=2 /dev/sd[cd]4 if error: mdadm –remove –stop /dev/md1 mkfs.ext3 /dev/md0 mkfs.ext3 /dev/md1 mkfs.xfs /dev/md2 mkfs.xfs /dev/md3 mkfs.xfs /dev/md4 mount /dev/md1 /mnt/gentoo mkdir /mnt/gentoo mount /dev/md0 /mnt/gentoo/boot mkdir [...]

  • Share/Bookmark
 

Switch to our mobile site