Grub2 configuration is in /etc/defaut/grub ( on Debian at least ).
Set GRUB_DEFAULT=saved in /etc/default/grub if you want to start with the last good boot.
update-grub - detects kernels automatically and writes boot lines to /boot/grub/grub.conf
grub-set-default - set the default entry
grub-reboot - set the boot entry for the next reboot only ( for testing new kernels or other boot stuff especially when you're working remotely )
First boot entry is number 0
If you want to be sure the data on the slave is the same as the data on the master ( yes sometimes is can happen to bbe diffeent ) you can use pt-table-checksum ( part of percona-toolkit ) to compute checksums for the data in the tables and then compare the checksums from the master with the ones on the slave(s).
Use with replication
pt-table-checksum can be used to compare any two databases/tables but if you want to compare everything on master and it's slaves you can use the
--replicate option to connect only on the master and compute checksums. The checksums will then be computed on slaves too by replicating the checksum statements.
If you have slave hosts running on non standard ports use option --recursion-method=hosts to tell pt-table-checksum how to detect the slaves. Tell the slaves to report their hostname and and port with report-host and report-port in my.cnf . This will make them show in "show slave hosts" issued on the master.
If the "hosts" method doesn't work, try with --recursion-method=dsn=t=dbname.dsns_table . Create a table with the name "dsns_table" and the following structure in the "dbname" database:
CREATE TABLE `dsns` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`dsn` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
And put the dsns for accessing the slaves in the dsn field.
insert into dsns values ('','h=184.108.40.206,u=root,P=3306,p=slavepassword');
For non innodb plugin
--lock-wait-time is required if using a version of mysql without innodb plugin.
Database for storing checksums
pt-table-checksum stores the checksums in mysql so you have to create a database where to store the checksums table. I named mine "mk" since the tool was called mk-table-checksum before it became part of percona toolkit.
Use the --create-replicate-table option to create the checksums table if it doesn't already exist.
pt-table-checksum --recursion-method=hosts --lock-wait-time=50 --defaults-file=/home/mihai/mysql.pass -u root --create-replicate-table --replicate-check --replicate mk.checksums 127.0.0.1
TS ERRORS DIFFS ROWS CHUNKS SKIPPED TIME TABLE
09-13T18:25:13 0 0 361 1 0 0.019 mydb.accounts
09-13T18:25:13 0 0 91 1 0 0.079 mydb.announcements
Some time ago I tried to get the XtreemFS server to work on MacOSX (Lion).
I had to patch it a bit to make it compile and run. So here's the patch if you want to give it a try:
I wanted to use it to have a synchroneous replicated filesystem over a WAN but in the end I gave up this idea and switched to unison.
Btw. I also tried to get gluster fs to work on MacOSX lion and partially succeeded. You can see my changes on github
I've been a thunderbird user since firefox was named firebird. I was happy with it, I like the way you can easily search over all accounts, how you can archive messages in folders by year by simply hitting the "a" key, I like the threads and even the "gmail" conversations extension even if I don't use it.
One problem with thunderbird is it became unusable when I added an old account which was accumulating mail up to over 170k messages. I know 170k messages is not realistic and no one should have so many messages in inbox but still this made me look for something better.
First let's see what I'm looking for in an email client:
- Easy global search like thunderbird
- Archive folders and 1 key hit like thudnerbird
- Easy to mark messages as Spam/Junk with a single key hit, would be great to be able to mark multiple messages with a single key ( thunderbird doesn't have this )
- Message threads
- And last but not least, be able to handle a lot of messages in a folder, don't have to be super fast but at least it shouldn't lock
Here's what I tested so far:
This was a nice surprise.
It has global search but it's a bit harder to access
Harder junk marking ( shift+ctrl+j instead of just j )
Always asks if I want to accept a certificate that's not issued for the exact domain of my email server ( at startup )
Pro: Evolution downloaded 87k message headers in just a few seconds and had no problems with selecting all and moving around.
I could accept all the cons except for the lack of archiving.
Anyone knows of a plugin that does archiving like thunderbird ? Please let me know!
Becomes almost unusable with a big inbox ( 87k), hard to select all messages
Pro: message list groups messages by year ( but this still doesn't beat yearly archives )
- very slow with a lot of messages, takes a lot of time to fetch message headers
- adding an account doesn't show it immediately in the accounts list, unless you restart kmail
- no archives
- no keyboard shortcut for junk/spam marking ( seriously ???)
- global search harder to access
Pro: It's fast an lightweight but that also means it lacks what I want
- No archiving
- No keybboard shortcut for marking junk mail
- No global search
Conclusion: there's no client that meets all my needs so I'm going to have to stay with Thunderbird and just use evolution when I want to open a big folder.
What email client are you using ?
More Recent Articles