Re: [gentoo-user] old cyrus-imapd from overlay
Am 2012-02-29 08:23, schrieb J. Roeleveld: Stefan, I haven't had problems with upgrading, but I didn't wait this long. Eg. I didn't migrate from 2.1 to 2.4 directly. *SIGH* ;-) I would suggest you check on the cyrus-imap mailing list (see bottom of email) for tips. Installing it is simple, but there are a few changes with some of the files. A safer method would be running the 2 versions in parallel and using imapsync or something similar to copy the email over to the new version. Sure, yes. I have to research how to do that for hundreds of mailboxes in one command ... I have 2.4.12 on the newer box already, will look that up asap. Thanks, Stefan
Re: [gentoo-user] old cyrus-imapd from overlay
On Wed, February 29, 2012 9:10 am, Stefan G. Weichinger wrote: Am 2012-02-29 08:23, schrieb J. Roeleveld: Stefan, I haven't had problems with upgrading, but I didn't wait this long. Eg. I didn't migrate from 2.1 to 2.4 directly. *SIGH* ;-) I would suggest you check on the cyrus-imap mailing list (see bottom of email) for tips. Installing it is simple, but there are a few changes with some of the files. A safer method would be running the 2 versions in parallel and using imapsync or something similar to copy the email over to the new version. Sure, yes. I have to research how to do that for hundreds of mailboxes in one command ... There is an example for this on the project homepage: http://imapsync.lamiral.info/ All you need is the usernames/passwords for the different users. I have 2.4.12 on the newer box already, will look that up asap. If you want to still try to copy the mail over, you need to look into converting the *.db files. -- Joost
Re: [gentoo-user] old cyrus-imapd from overlay
Am 2012-02-29 09:35, schrieb J. Roeleveld: On Wed, February 29, 2012 9:10 am, Stefan G. Weichinger wrote: Sure, yes. I have to research how to do that for hundreds of mailboxes in one command ... There is an example for this on the project homepage: http://imapsync.lamiral.info/ All you need is the usernames/passwords for the different users. hmm, found it already, thanks ... a bit uncomfortable. I would have to extract user/pws from the mysql-DB ... but they are crypted there afaik ... will look at my DB-backups now. I have 2.4.12 on the newer box already, will look that up asap. If you want to still try to copy the mail over, you need to look into converting the *.db files. Thanks for the hint. S
Re: [gentoo-user] Freeing up disk space problem!!
On Tue, 28 Feb 2012 20:38:13 -0600 Dale rdalek1...@gmail.com wrote: Alex Schuster wrote: Dale writes: I have a question on this. I have a drive that I use for movies and such. There is nothing OS related on that drive. Would it be safe to set this to say 1% or even 0? I'd say 1% is okay. For 0% I'm not sure, I avoid that, but maybe there will be no noticeable difference at all. Also, it is already set up with LVM and ext4. Can I change it even while there is data on there? Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or something, and then resize2fs /dev/mapper/whatever. I was talking about the command to change the superuser reserves. I know how to make LVM bigger but wanted to make sure this can be run even when there is data on there. Basically, can I run: tune2fs -m 1 /dev/data/data1 Which is where the ext4 file system is on the LVM. After I run that then I can expand LVM from there, I hope it works that easy. They don't interfere with each other. LVM and the size of the filesystem is one thing. Reserved space is something else, completely unrelated. Wonko Dale :-) :-) -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, 29 Feb 2012 01:10:05 -0600 Dale rdalek1...@gmail.com wrote: Neil Bothwick wrote: On Tue, 28 Feb 2012 20:38:13 -0600, Dale wrote: tune2fs -m 1 /dev/data/data1 Which is where the ext4 file system is on the LVM. After I run that then I can expand LVM from there, I hope it works that easy. It does. Apparently I am missing something then. I looked at cfdisk for the drive. It reported right at 750Gb as it should with the change. Thing is, I can't get anything else to add it or to even show it is available. Some results somewhat shortened: From cfdisk 750156.38Mb root@fireball / # pvs PV VG Fmt Attr PSize PFree /dev/sdc1 data lvm2 a-- 698.63g0 root@fireball / # vgs VG #PV #LV #SN Attr VSize VFree data 1 1 0 wz--n- 698.63g0 root@fireball / # lvs LVVG Attr LSize Origin Snap% Move Log Copy% Convert data1 data -wi-ao 698.63g root@fireball / # So, cfdisk is happy with the change but nothing else seems to see it. What am I missing here? Where did the 50Gbs go to? Dale :-) :-) Nowhere. Disk manufacturers measure kilos of data as 1000 Everyone else measures it in 1024 They do this because it fudges disk sizes to appear 2.4% bigger than they really are. When you get into TB drives, it gets worse as 1024*1024*1024*1024 differs from 1000*1000*1000*1000 bu a lot more than 2.4% -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, 29 Feb 2012 00:25:00 +0100 Alex Schuster wo...@wonkology.org wrote: Neil Bothwick writes: On Tue, 28 Feb 2012 14:01:50 +0100, Alex Schuster wrote: If you instantly need more space, reduce the amount of reserved space for the superuser, which is 5% as default: tune2fs -m 2 /dev/your/partition Don't reduce it to 0, the lower this value is, the more fragmentation you will get. Why is that? I would have expected more usable space to reduce the need for fragmentation. I routinely use 0 on non-system filesystems. I read this often, and to me it seems to make sense. When a file system is nearly full, writing a last big file will make the file being cluttered along all those tiny places where some free space is still left. And this probably already happens to some extent before the filesystem is completely full. Now, which values for reserved percentage are good, I don't know. The 5% figure is completely arbitrary and dates back many years. There was no good reason then for it to be exactly 5%, it just happened to mostly work fine. Remember that was a time when 250M was a BIG drive. 5% is 2.5K and that is about the size of the largest single file people realistically were using. So 5% wiggle room for root lets you manipulate the last single file you were using when the drive filled up, and hence save the day. These days 2TB file systems are common and 5% means 20G. How many 20G files do you routinely have on a single file system? Media drives aside, a few meg is still about the broad average file size. It is just not realistic to reserve emergency wiggle room for root that amounts to 20,000 average files. It means there's no single sane default anymore. On my servers I set reserved space to 100M or so as that's what I need. I reckon the average person should keep it to somewhat larger than the biggest single file you expect to store on that file system. This probably depends much on the typical size of files on that partition, and usage patterns. For large movies on your data partition, it probably does not matter, but for my system partitions (/root, /usr, /var, /tmp, portage stuff) I just keep it at 5%. With the benefit that I can instantly free some space in /var when it's just become full, without needing to decide what to delete. Okay, in practice this does not matter much because resizing the LVM and resizing the FS is also a matter of seconds only. Wonko -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, 29 Feb 2012 01:10:05 -0600, Dale wrote: tune2fs -m 1 /dev/data/data1 Which is where the ext4 file system is on the LVM. After I run that then I can expand LVM from there, I hope it works that easy. It does. Apparently I am missing something then. I looked at cfdisk for the drive. It reported right at 750Gb as it should with the change. Thing is, I can't get anything else to add it or to even show it is available. cfdisk deals with disk partitions, not filesystems. That's like buying bigger socks and complaining that your shoes are still too tight. -- Neil Bothwick WITLAG: The delay between delivery and comprehension of a joke. signature.asc Description: PGP signature
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, 29 Feb 2012 11:29:45 +0200, Alan McKinnon wrote: It means there's no single sane default anymore. On my servers I set reserved space to 100M or so as that's what I need. I reckon the average person should keep it to somewhat larger than the biggest single file you expect to store on that file system. Do you mean the biggest single file you expect root to store on that filesystem? Is there any point in reserving space for root on a filesystem root does not need to write to, such as /home? -- Neil Bothwick Very funny Scotty.. now beam down my pants! signature.asc Description: PGP signature
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, 29 Feb 2012 09:57:19 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 29 Feb 2012 11:29:45 +0200, Alan McKinnon wrote: It means there's no single sane default anymore. On my servers I set reserved space to 100M or so as that's what I need. I reckon the average person should keep it to somewhat larger than the biggest single file you expect to store on that file system. Do you mean the biggest single file you expect root to store on that filesystem? Is there any point in reserving space for root on a filesystem root does not need to write to, such as /home? No, I mean the biggest file. When $LUSER fills up his drive it can be that root is the only user that can properly mount and access the filesystem. So whatever the $LUSER was doing that filled up the drive needs to be undone by root, probably by shuffling stuff around. There are other cases where root might want some reserved space too, but fixing full drives is the only case I've ever encountered. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, 29 Feb 2012 12:40:33 +0200, Alan McKinnon wrote: When $LUSER fills up his drive it can be that root is the only user that can properly mount and access the filesystem. So whatever the $LUSER was doing that filled up the drive needs to be undone by root, probably by shuffling stuff around. I've never failed to fix that by deleting a file as the user that created it, usually the partial file that caused the problem, but I can see why you may want to keep a small amount reserved for that. However, I still don't get the -m 0 increases fragmentation thing. -- Neil Bothwick My friends went to alt.california, and all they brought me was this lousy sig. signature.asc Description: PGP signature
[gentoo-user] Help! HP625 WLAN is driving me nuts
Hi, I'm trying to get WLAN working on my HP625 laptop. I've checked several web pages but I'm lost. I'm using a recent kernel (3.3-rc5+). I configured CONFIG_BRCMUTIL=m CONFIG_BRCMSMAC=m CONFIG_BRCMFMAC=m and I installed the coresponding firmware in /lib/firmware/brcm Now, lspci -k shows 06:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: Hewlett-Packard Company Device 145c Kernel driver in use: bcma-pci-bridge and even iwconfig shows wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on I have net.wlan0 symlinked to net.lo. Now, when I try /etc/init.d/net.wlan0 start the screen gets blanked on a console as well as from an XTerm and the kernel crashes totally, i.e. the emergency reboot doesn't work either. And trying to do an strace with output to a file shows that even this output file doesn't exist (i.e. hasn't been closed) So, what can I try next? Many thanks for a hint, Helmut.
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, 29 Feb 2012 11:08:49 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 29 Feb 2012 12:40:33 +0200, Alan McKinnon wrote: When $LUSER fills up his drive it can be that root is the only user that can properly mount and access the filesystem. So whatever the $LUSER was doing that filled up the drive needs to be undone by root, probably by shuffling stuff around. I've never failed to fix that by deleting a file as the user that created it, usually the partial file that caused the problem, but I can see why you may want to keep a small amount reserved for that. However, I still don't get the -m 0 increases fragmentation thing. Yeah, that sounds like an old wives tale urban myth to me too I'll be wanting to be seeing the output of real diagnostic programs -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Freeing up disk space problem!!
On February 29, 2012 at 2:43 AM J. Roeleveld jo...@antarean.org wrote: On Wed, February 29, 2012 2:01 am, Alex Schuster wrote: Dale writes: Alex Schuster wrote: snipped Also, it is already set up with LVM and ext4. Can I change it even while there is data on there? Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or something, and then resize2fs /dev/mapper/whatever. I don't use ext4 (yet), so not sure about this. But, isn't resize2fs for ext2/3 only? -- Joost From the man page: On February 29, 2012 at 2:43 AM J. Roeleveld jo...@antarean.org wrote: On Wed, February 29, 2012 2:01 am, Alex Schuster wrote: Dale writes: Alex Schuster wrote: snipped Also, it is already set up with LVM and ext4. Can I change it even while there is data on there? Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or something, and then resize2fs /dev/mapper/whatever. I don't use ext4 (yet), so not sure about this. But, isn't resize2fs for ext2/3 only? -- Joost From the man page: The resize2fs program will resize ext2, ext3, or ext4 file systems.
Re: [gentoo-user] Freeing up disk space problem!!
Alan McKinnon wrote: They don't interfere with each other. LVM and the size of the filesystem is one thing. Reserved space is something else, completely unrelated. Ahhh, light bulb moment. Gotcha !! Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Freeing up disk space problem!!
J. Roeleveld wrote: On Wed, February 29, 2012 2:01 am, Alex Schuster wrote: Dale writes: Alex Schuster wrote: snipped Also, it is already set up with LVM and ext4. Can I change it even while there is data on there? Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or something, and then resize2fs /dev/mapper/whatever. I don't use ext4 (yet), so not sure about this. But, isn't resize2fs for ext2/3 only? It works for ext4 too. At least I been using it so I hope it is the right tool. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] portage updates
Peter Humphrey writes: On Tuesday 28 February 2012 11:23:40 Alex Schuster wrote: Peter Humphrey writes: Now can anyone tell me why clicking the first link in this e-mail opened it in Konqueror and the second in Firefox? Because KDE is so weird all over the place. Well I just hope the team get it sorted out soon. I'm waiting since KDE 4.2. And I believe it will never happen. Yes, things are getting better, and more things get fixed than break by updates. But still KDE4 has so many bugs and annoyances, nearly every day some weird things happen. I can't stand any of the Gnomes and the lighter desktops are just too thin on features. Me too. I _like_ KDE. If only things were more stable. I do not need any new features, I'd prefer the existing ones to work as they should. Look at Dolphin for example, the file manager. I expect such a thing to just work. But until 4.8 it didn't, it had some bugs that made it nearly unusable for me. Like the effect that after dragging files to a 2nd panel, Dolphin acted as if the mouse button was pressed, marking all files, and scrolling till the end when the mouse leaves the Dolphin window. Believe me, this is very annoying when copying/moving many files around. And don't press del to delete the files you copied, you might put all files in that directory to the trash. The scrolling behaviour was also annoying, I drag a file to the destination folder, which is near the top, and just when I release, the folder started to scroll away and the file is moved into another folder. Both bugs seem to be fixed in 4.8, and now Dolphin is better than the Windows XP explorer, finally. Of course, there was another bug introduced, couldn't reproduce it yet, and it does not happen often. All stuff scrolls down to the bottom then, I cannot scroll up, but with wild clicking on all mouse buttons it finally stops. Another example of these weird problems, just because it happened today: I copied 100 MB via FTP using Dolphin. Then I got an error dialog, there was a problem writing the file. Dolphin did not update the content, so I could not see how far the upload went. After some F5 pressing, it said internal error, please send a detailed bug report. Seems there was a problem renaming the file after download, I had to remove the '.part' suffix manually. No big deal, but such problems happen all over the time when I use KDE applications. Some errors are reproduceable, and I can avoid them, but many things just happen once. If you are an experienced user, you can live with that - as I said, I still like KDE, and its great features. But for the inexperienced user like my mom KDE is totally unusable, as very basic features often do not work. Like, logging out. I put Gnome on her notebook, so I do not have to help her every day when yet another problem arises. I can't see any material difference between the two links. Yes, there is none. This doesn't happen here, but I'm using the new KMail. I'm not going to that version until it works. It was only careful backing up that avoided losing half my e-mails. As it was, the basic functions of an e- mail client were almost completely absent. I'm using Claws mainly, and KMail2 for stuff like encryption or local mail folders that I did not (yet?) spend the time to set up with Claws. I migrated KDEPIM stuff for three times, and it never worked well, and always took me hours at least to get a working setup. This is just unbelieveable. And I can be happy, because I did not lose any mails - probably because I use IMAP only. And this is so sad. Generally, I like the idea of Akonadi. And I see some advantages - for example, Claws does not respond while it is checking for new mails, and it seems to do this so very often just when I want to see a new mail. KDE does this in the background. But there are far too many problems with this. So many people were bitten by this. And email is such an important issue. BTW, since 4.8, at every login I get messages that some calendar stuff did not get configured, migrated or whatever. Good thing I don't use it much, so I just do not care. But would I really entrust my important personal data to KDEPIM applications? Probably not. Wonko
Re: [gentoo-user] portage updates
On Wednesday 29 Feb 2012 16:27:50 Alex Schuster wrote: Peter Humphrey writes: On Tuesday 28 February 2012 11:23:40 Alex Schuster wrote: Peter Humphrey writes: Now can anyone tell me why clicking the first link in this e-mail opened it in Konqueror and the second in Firefox? Because KDE is so weird all over the place. Well I just hope the team get it sorted out soon. I'm waiting since KDE 4.2. And I believe it will never happen. Yes, things are getting better, and more things get fixed than break by updates. But still KDE4 has so many bugs and annoyances, nearly every day some weird things happen. I can't stand any of the Gnomes and the lighter desktops are just too thin on features. Me too. I _like_ KDE. If only things were more stable. I do not need any new features, I'd prefer the existing ones to work as they should. Look at Dolphin for example, the file manager. I expect such a thing to just work. But until 4.8 it didn't, it had some bugs that made it nearly unusable for me. Like the effect that after dragging files to a 2nd panel, Dolphin acted as if the mouse button was pressed, marking all files, and scrolling till the end when the mouse leaves the Dolphin window. Believe me, this is very annoying when copying/moving many files around. And don't press del to delete the files you copied, you might put all files in that directory to the trash. The scrolling behaviour was also annoying, I drag a file to the destination folder, which is near the top, and just when I release, the folder started to scroll away and the file is moved into another folder. Both bugs seem to be fixed in 4.8, and now Dolphin is better than the Windows XP explorer, finally. Of course, there was another bug introduced, couldn't reproduce it yet, and it does not happen often. All stuff scrolls down to the bottom then, I cannot scroll up, but with wild clicking on all mouse buttons it finally stops. Another example of these weird problems, just because it happened today: I copied 100 MB via FTP using Dolphin. Then I got an error dialog, there was a problem writing the file. Dolphin did not update the content, so I could not see how far the upload went. After some F5 pressing, it said internal error, please send a detailed bug report. Seems there was a problem renaming the file after download, I had to remove the '.part' suffix manually. No big deal, but such problems happen all over the time when I use KDE applications. Some errors are reproduceable, and I can avoid them, but many things just happen once. If you are an experienced user, you can live with that - as I said, I still like KDE, and its great features. But for the inexperienced user like my mom KDE is totally unusable, as very basic features often do not work. Like, logging out. I put Gnome on her notebook, so I do not have to help her every day when yet another problem arises. I can't see any material difference between the two links. Yes, there is none. This doesn't happen here, but I'm using the new KMail. I'm not going to that version until it works. It was only careful backing up that avoided losing half my e-mails. As it was, the basic functions of an e- mail client were almost completely absent. I'm using Claws mainly, and KMail2 for stuff like encryption or local mail folders that I did not (yet?) spend the time to set up with Claws. I migrated KDEPIM stuff for three times, and it never worked well, and always took me hours at least to get a working setup. This is just unbelieveable. And I can be happy, because I did not lose any mails - probably because I use IMAP only. And this is so sad. Generally, I like the idea of Akonadi. And I see some advantages - for example, Claws does not respond while it is checking for new mails, and it seems to do this so very often just when I want to see a new mail. KDE does this in the background. But there are far too many problems with this. So many people were bitten by this. And email is such an important issue. BTW, since 4.8, at every login I get messages that some calendar stuff did not get configured, migrated or whatever. Good thing I don't use it much, so I just do not care. But would I really entrust my important personal data to KDEPIM applications? Probably not. Wonko I could echo most of what you raised here and add to it (because kmail will just not work for me without major failures on POP3 IMAP4 and korganizer is seriously broken when trying to import and merge calendars) - but I won't. What I don't understand is why couldn't we stay with 4.2 or which ever version was broadly working and keep all these dev wet-dreams for testing purposes only. If it takes them 3 years to arrive at a stable (read = functioning) product then we can start then and only then bringing it slwly in the stable tree. -- Regards, Mick signature.asc Description: This is a digitally
Re: [OT] Re: [gentoo-user] Anybody have kdebluetooth working?
On Tuesday 28 February 2012 15:57:36 James Broadhead wrote: Please don't send html emails to the list I wrote a test message and saved it, then examined it with less. It was in two parts: one plain text and one HTML. I have never set an option to write in HTML so I shut kmail down and checked its config file. It said html- markup=true for some reason. So I changed it to false and I hope that's cleared the problem. -- Rgds Peter Linux Counter 5290, 1994-04-23
Re: [gentoo-user] Help! HP625 WLAN is driving me nuts
On Wednesday 29 Feb 2012 11:28:34 Helmut Jarausch wrote: Hi, I'm trying to get WLAN working on my HP625 laptop. I've checked several web pages but I'm lost. I'm using a recent kernel (3.3-rc5+). I configured CONFIG_BRCMUTIL=m CONFIG_BRCMSMAC=m CONFIG_BRCMFMAC=m and I installed the coresponding firmware in /lib/firmware/brcm Now, lspci -k shows 06:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: Hewlett-Packard Company Device 145c Kernel driver in use: bcma-pci-bridge and even iwconfig shows wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on I have net.wlan0 symlinked to net.lo. Now, when I try /etc/init.d/net.wlan0 start the screen gets blanked on a console as well as from an XTerm and the kernel crashes totally, i.e. the emergency reboot doesn't work either. And trying to do an strace with output to a file shows that even this output file doesn't exist (i.e. hasn't been closed) So, what can I try next? Many thanks for a hint, Helmut. I assume that you have not read this yet: http://linuxwireless.org/en/users/Drivers/brcm80211 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] SOLVED: old cyrus-imapd from overlay
Am 29.02.2012 09:35, schrieb J. Roeleveld: If you want to still try to copy the mail over, you need to look into converting the *.db files. Just as a closing(?) feedback here: people at the cyrus-ml were a great support, I am nearly done with my conversion. And, yes, I run (gentoo stable) 2.4.12 now. Thanks, Stefan
Re: [OT] Re: [gentoo-user] Anybody have kdebluetooth working?
On Wednesday 29 Feb 2012 21:08:41 Peter Humphrey wrote: On Tuesday 28 February 2012 15:57:36 James Broadhead wrote: Please don't send html emails to the list I wrote a test message and saved it, then examined it with less. It was in two parts: one plain text and one HTML. I have never set an option to write in HTML so I shut kmail down and checked its config file. It said html- markup=true for some reason. So I changed it to false and I hope that's cleared the problem. Hmmm which Kmail are you using? === References: 201202272329.35343.robin.atw...@attglobal.net 201202280039.35660.pe...@humphrey.ukfsn.org CA+hid6Hu5NJz7cr=j_o6phu8a+vrcz-nj8hlcnss+mzfob8...@mail.gmail.com In-Reply-To: CA+hid6Hu5NJz7cr=j_O6Phu8A+vrCZ- nj8hlcnss+mzfob8...@mail.gmail.com X-KMail-Markup: true == -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Recovering MySQL Database from EXT4 Formatted Hard Disk ...
On Wed, Feb 8, 2012 at 4:27 PM, Mick michaelkintz...@gmail.com wrote: On Wednesday 08 Feb 2012 11:33:42 Hinnerk van Bruinehsen wrote: On 08.02.2012 12:02, Michael Mol wrote: On Tue, Feb 7, 2012 at 6:28 PM, Christopher Kurtis Koeber ckoe...@gmail.com wrote: Hello, I am trying to recover MySQL databases (which were properly shut down) from an EXT4 formatted hard disk. What happened to require the recovery? Which parts of the database server shut down properly, and which didn't? I loaded the SystemRescueCD distro that you can get online and when running TestDisk I can see the partitions but I cannot recover said partitions because it tells me the structure is bad (any options here, by the way?) You could try Autopsy sleuthkit[1]. Before you do anything to the drive it would be wise to copy it via dd so that no accidental write makes anythoing worse... [1] http://www.sleuthkit.org/autopsy/desc.php Definitely create an image of the partition first, rather than keep accessing the real thing. At this moment you don't know what caused the corruption - it could well be a warning of worse things to come as far as this drive is concerned ... ;-) It is much better if you create the image with dd-rescue/ddrescue (can't recall which of the two packages is claimed to be better). You may also want to make a backup copy of the image in case you embark on any destructive operations on it. Multiple passes with ddrescue may recover more bits/bytes so hopefully you'll have a more complete set of data to work with. With PhotoRec, I can recover parts of the MySQL Database but I cannot get the important *.MYD files because I guess PhotoRec doesn't have the signatures for that type of file. So, any options I have at this point? You can use dd or hexdump to pick up some blocks at the start of a known good *.MYD file, create a signature for PhotoRec and add it on the list of files to check for. See the instruction of how to go about this here: http://www.cgsecurity.org/wiki/Add_your_own_extension_to_PhotoRec -- Regards, Mick Never had a chance to reply back but this was very helpful. Now to search online to see if people created signatures for IBD files (where the actual data for a MySQL database lives) as the headers are different for every sample IBD I tried from working databases. Regards, Christopher Koeber
[gentoo-user] Somewhat OT - Grandtech PC to TV component and X
I recently bought a new Gradtec PC To TV component because my old Grand Pro Ultimate XP that I bought in 2004 was on its last legs. We used the Ultimate XP so that we could use the living room TV as a monitor, so that we could watch MythTV in the living room. The Ultimate XP was having a problem where after I logged into X the video would go all screwy; it was all static-y and the top half of the video output would appear at the top half of the screen and again at the bottom half. I dragged a real monitor in there and attached it to the end of the external monitor plug on the component and everything displayed normally on the monitor, but still screwy on the TV. I bought a new component and it's doing the same thing. But it only does it in X. This setup worked fine until about a month ago. I'm completely at a loss as to how to fix this. Here's my search for errors in /etc/Xorg.0.log: carter log # grep EE Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [42.372] (II) Loading extension MIT-SCREEN-SAVER Does anyone have any idea of what's going on? It only happens in X; it's fine until X loads... -Michael Sullivan-
[gentoo-user] Re: Freeing up disk space problem!!
On 02/29/2012 02:40 AM, Alan McKinnon wrote: So whatever the $LUSER was doing that filled up the drive needs to be undone by root, probably by shuffling stuff around. That's a shocking statement for a wannabe BOFH to make. A *real* BOFH would delete the entire $LUSER account and blame the nuclear tests in North Korea for causing an unfortunate power surge at his data center.
Re: [OT] Re: [gentoo-user] Anybody have kdebluetooth working?
On Wednesday 29 February 2012 21:28:07 Mick wrote: On Wednesday 29 Feb 2012 21:08:41 Peter Humphrey wrote: On Tuesday 28 February 2012 15:57:36 James Broadhead wrote: Please don't send html emails to the list I wrote a test message and saved it, then examined it with less. It was in two parts: one plain text and one HTML. I have never set an option to write in HTML so I shut kmail down and checked its config file. It said html- markup=true for some reason. So I changed it to false and I hope that's cleared the problem. Hmmm which Kmail are you using? 4.7.4. -- Rgds Peter Linux Counter 5290, 1994-04-23
Re: [gentoo-user] Re: Freeing up disk space problem!!
On Mar 1, 2012 7:02 AM, walt w41...@gmail.com wrote: On 02/29/2012 02:40 AM, Alan McKinnon wrote: So whatever the $LUSER was doing that filled up the drive needs to be undone by root, probably by shuffling stuff around. That's a shocking statement for a wannabe BOFH to make. A *real* BOFH would delete the entire $LUSER account and blame the nuclear tests in North Korea for causing an unfortunate power surge at his data center. Naah, North Korea explanation already used 2 days ago... time to use a new reason... Today would be: surge caused by harmonic oscillation between rotating electric motors, you know, like the... building air conditioner! ... followed by some conversation with the management with the end effect of shutting down the building AC but letting the data center AC still operational ... Rgds,
[gentoo-user] Re: Somewhat OT - Grandtech PC to TV component and X [SOLVED]
On 02/29/12 16:41, Michael Sullivan wrote: I recently bought a new Gradtec PC To TV component because my old Grand Pro Ultimate XP that I bought in 2004 was on its last legs. We used the Ultimate XP so that we could use the living room TV as a monitor, so that we could watch MythTV in the living room. The Ultimate XP was having a problem where after I logged into X the video would go all screwy; it was all static-y and the top half of the video output would appear at the top half of the screen and again at the bottom half. I dragged a real monitor in there and attached it to the end of the external monitor plug on the component and everything displayed normally on the monitor, but still screwy on the TV. I bought a new component and it's doing the same thing. But it only does it in X. This setup worked fine until about a month ago. I'm completely at a loss as to how to fix this. Here's my search for errors in /etc/Xorg.0.log: carter log # grep EE Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [42.372] (II) Loading extension MIT-SCREEN-SAVER Does anyone have any idea of what's going on? It only happens in X; it's fine until X loads... -Michael Sullivan- I read on Google how one user was having trouble getting X to work with her new monitor. Another user suggested renaming xorg.conf (so it no longer existed under that name.) I tried it, and it worked.
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, Feb 29, 2012 at 02:11:41PM +0200, Alan McKinnon wrote: I've never failed to fix that by deleting a file as the user that created it, usually the partial file that caused the problem, but I can see why you may want to keep a small amount reserved for that. However, I still don't get the -m 0 increases fragmentation thing. Yeah, that sounds like an old wives tale urban myth to me too I'll be wanting to be seeing the output of real diagnostic programs All that does, as far as I understand it, is to fool $user into having less space available. So if the partition only has as much space left as is reserved for root, he just can't write anymore. It just means that before the drive gets physically full (which means that files will fragment more), it will get logically full earlier. This is why there can be expected less fragmentation under extreme circumstances (i.e. an almost full FS). -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. When the going gets tough, the tough get going. ... and so do I. – Alf pgpVtfejU5VBQ.pgp Description: PGP signature
Re: [gentoo-user] Freeing up disk space problem!!
On Wed, Feb 29, 2012 at 11:23:11AM +0200, Alan McKinnon wrote: So, cfdisk is happy with the change but nothing else seems to see it. What am I missing here? Where did the 50Gbs go to? Dale :-) :-) Nowhere. Disk manufacturers measure kilos of data as 1000 Everyone else measures it in 1024 Well, to nitpick, they say it correctly, as for their kilo, 10^3 bytes is correct. We, the binary folk, assert kilo to be 2^10 bytes which is actually called kibi, but we still use kilo in our everyday language thanks to historical ballast (and because, as I recently heard, the -bi units aren't around that long yet). First time I heard of them was in uni lecture ~2003±1. They do this because it fudges disk sizes to appear 2.4% bigger than they really are. When you get into TB drives, it gets worse as 1024*1024*1024*1024 differs from 1000*1000*1000*1000 bu a lot more than 2.4% By 1.024^4, which is 1.0995 to be precise. Those swines are stealing almost 10% from us. :o) -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. “Don't put multiple statements on a single line unless you have something to hide.” – Linux Torvalds, Linux kernel coding style documentation pgpSL7QsyvpZS.pgp Description: PGP signature
Re: [gentoo-user] portage updates
Wouldn't this particular topic be best answered by the dev's of said file systems and what, if any, fragmentation etc, could and can and will happen with the different arguments ie -m 0, etc.? All it is now between everyone discussing this here in a Gentoo list is more or less conjecture, at least what I've read from most posts. Wouldn't the people who make up, design and take care of the file systems in discussion be the best ones to simply ask? Not meaning to 'end' the discussion, just curious as to why no one has gone to those who would know best and brought it up and seeked out the answer(s) from them instead of people who only can guesstimate here. So don't get mad, get glad, heh heh.
Re: [gentoo-user] portage updates
John wrote: Wouldn't this particular topic be best answered by the dev's of said file systems and what, if any, fragmentation etc, could and can and will happen with the different arguments ie -m 0, etc.? All it is now between everyone discussing this here in a Gentoo list is more or less conjecture, at least what I've read from most posts. Wouldn't the people who make up, design and take care of the file systems in discussion be the best ones to simply ask? Not meaning to 'end' the discussion, just curious as to why no one has gone to those who would know best and brought it up and seeked out the answer(s) from them instead of people who only can guesstimate here. So don't get mad, get glad, heh heh. I think one reason may be this, there are people on this list that have more experience than a lot of devs. By that, I mean real life experience. Sometimes what devs expect doesn't actually happen in real life situations. For example, when testing a file system and how it frags, large files, small files or medium size files? Are these files changing or once saved they never change? So, sometimes asking a person who actually uses something can have better advice than the person that created it. Just saying. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n