1. Quick check
/usr/sbin/smartctl -q errorsonly -H -l selftest -l error /dev/sdX2. Run some tests if the command above reported any errors:
smartctl -t short /dev/sdX && smartctl -l selftest /dev/sdX
Entries from September 2010.
/usr/sbin/smartctl -q errorsonly -H -l selftest -l error /dev/sdX2. Run some tests if the command above reported any errors:
smartctl -t short /dev/sdX && smartctl -l selftest /dev/sdX
alias cp='cp -i'-i means interactive, or in more words: "prompt before overwrite (overrides a previous -n option)".
\cp -a /home/xyz/* /home/zyx/No more annoying confirmations, now I can go to bed. ZzzZz.
dd_rescue /dev/old-b0rk3d-drive /dev/new-clone-driveIt's a good idea to run the above in a screen, especially if you're doing this via the internet.
sfdisk -d /dev/existing-drive | sfdisk /dev/new-empty-driveUse `fdisk -l` before and after the partition cloning to be sure you're doing the right thing.
root@sysresccd /root % cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md3 : active raid1 sda6[1] 297780736 blocks [2/1] [U_] md1 : active raid1 sda3[1] 4192896 blocks [2/1] [U_] md2 : active raid1 sda2[1] 153597376 blocks [2/1] [U_] md0 : active raid1 sda1[1] 30716160 blocks [2/1] [U_]And now let's add partitions to our raid layout:
mdadm /dev/md0 --add /dev/sdb1 mdadm /dev/md1 --add /dev/sdb3 mdadm /dev/md2 --add /dev/sdb2 mdadm /dev/md3 --add /dev/sdb6And that's that, now we can see the raid resync'ing:
cat /proc/mdstat
export SHELL=/bin/bash chroot /mnt/clone #grub grub> find /boot/grub/stage1 (hd0,0) (hd1,0) grub> root (hd0,0) Filesystem type is ext2fs, partition type 0xfd grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded Done. grub> root (hd1,0) Filesystem type is ext2fs, partition type 0xfd grub> setup (hd1) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 15 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd1) (hd1)1+15 p (hd1,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded Done. grub>quitAnd we're done now: reboot.
So how do you get it? We’ve packaged the first release as a Debian Squeeze/Ubuntu 10.04 package.Wait, what?
#rpm -ivh spotify-client-qt-0.4.7.132.g9df34c0-2.i386.rpm spotify-client-gnome-support-0.4.7.132.g9df34c0-2.noarch.rpm --nodepsThey appear to install and run, however I cannot login (maybe because I use the free version of the account[1]):
$ spotify 04:15:40.619 I [offline_authorizer.cpp:156] Unable to login offline: no such user 04:15:42.801 I [ap:1387] Connecting to AP B2.spotify.com:4070 04:15:42.829 I [ap:937] Connected to AP: 78.31.8.17:4070 04:15:42.894 E [ap:3285] Connection error: 406 04:16:04.565 I [offline_authorizer.cpp:156] Unable to login offline: no such user 04:16:05.492 I [ap:1387] Connecting to AP b1.spotify.com:4070 04:16:05.506 I [ap:937] Connected to AP: 78.31.8.15:4070 04:16:05.586 E [ap:3285] Connection error: 406
Would be nice to see this ported on every distribution; should be trivial to do it.echo This is quite handy | fpaste
Uploading (0.1K)...
http://fpaste.org/hTKI/
DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange server, even from the internet or behind a firewall through Outlook Web Access. DavMail now includes an LDAP gateway to Exchange global address book and user personal contacts to allow recipient address completion in mail compose window and full calendar support with attendees free/busy display.Enjoy!
From a desktop point of view, Mandriva intends to be the BEST KDE DISTRIBUTION IN THE WORLD: easy to use, stable, rich featured and with excellent localization.Read the whole post for more details.
Distros keep python alive in the "real" world where you need stuff running reliably and securely for many years!
yum install yum-utils package-cleanup --orphans