Re: Problem with sound disappearing
On 1/14/24 16:03, Maureen L Thomas wrote: > I am using a Lenovo computer with 8G of memory and 1 TB hard drive, AMD > Ryzen 3 2200g w/radion vega graphices x4, Graphics Gallium 0.4 llvmpipe, > it is running 64 bit Debian. Processor is Intel Core i3-9100T, CPU > 3.10GHz, Realtec 8821CE wireless lan 802.11 ac PCI-E NIC. > > My problem is all of a sudden I have no sound at all. I have checked > all my settings and they have not changed at all so I should have had > sound. There is none no matter what I have done. I need help please. > > Moe > On 1/14/24 17:21, Maureen L Thomas wrote: Sorry I forgot I am using Debian Bookworm and it is updated with the latest updates. What desktop environment are you using? What application are you using? What speakers are you using? If external, have you checked the cables -- both sound and power? The power adapter? The AC cable? The AC outlet? David
Re: smartctl cannot access my storage, need syntax help
On 1/14/24 11:48, gene heskett wrote: On 1/14/24 07:42, David Christensen wrote: Re-ordered for clarity -- David. And snipped by Gene as I updated On 1/12/24 18:42, gene heskett wrote: I just found an mbox file in my home directory, containing about 90 days worth of undelivered msgs from smartctl running as root. Do you know how the mbox file got there? No, it just appeared. smartctl says my raid10 is dying, ... Please post a console session with a command that displays the message. This is a copy/paste of the second message in that file, the first from smartctl, followed by the last message in that file: From r...@coyote.coyote.den Wed Nov 02 00:29:05 2022 Return-path: Envelope-to: r...@coyote.coyote.den Delivery-date: Wed, 02 Nov 2022 00:29:05 -0400 Received: from root by coyote.coyote.den with local (Exim 4.94.2) It looks like you configured Exim to put root's mailbox in your home directory, to make it easier to read (?). (envelope-from ) id 1oq5NB-000DBx-15 for r...@coyote.coyote.den; Wed, 02 Nov 2022 00:29:05 -0400 To: r...@coyote.coyote.den Subject: SMART error (SelfTest) detected on host: coyote MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Message-Id: From: root Date: Wed, 02 Nov 2022 00:29:05 -0400 Content-Length: 513 Lines: 16 Status: RO X-Status: X-Keywords: X-UID: 2 This message was generated by the smartd daemon running on: host name: coyote DNS domain: coyote.den The following warning/error was logged by the smartd daemon: Device: /dev/sde [SAT], Self-Test Log error count increased from 0 to 1 Device info: Samsung SSD 870 EVO 1TB, S/N:S626NF0R302507V, WWN:5-002538-f413394ae, FW:SVT01B6Q, 1.00 TB For details see host's SYSLOG. ... I also note they are now very old messages but the file itself is dated Jan 7nth. And syslog has been rotated several times since. I'm not expert at interpreting smartctl reports, but I do not see such in the smarttcl output now. going backwads thru the list, the 4th drive in the raid has had 3334 errors, as had the third drive with 3332 ettors, the 1st and 2nd are clean. One stanza of the error report: Error 3328 occurred at disk power-on lifetime: 21027 hours (876 days + 3 hours) I believe "3328" is an error number, not the quantity of errors -- the smartd mail said the count increased from 0 to 1. SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 50% 10917 1847474376 # 2 Extended offline Completed: read failure 50% 10586 1847474376 So half the samsung 870's are on their way out. But nothing recent... So I am now trying to get a good rsync copy on another drive. Before you conclude that two of the Samsung 870 1 TB's are dying, please run a SMART short test on all four: # smartctl -t short /dev/disk/by-id/... What a few minutes for the test to complete (10 minutes should be more than enough). Then get full SMART reports and save them to files: # smartctl -x /dev/disk/by-id/... > MMDD-HHMM-smartctl-x-MANF-MODEL-SERIAL.out Then upload the SMART reports someplace we can see them and post the URL's. * /home is on a RAID 10 with 2 @ mirror of 2 @ 1 TB Samsung 870 SSD? I think thasts what you call a raid10 Okay. * 4 @ 2 TB Gigastone SSD for a new RAID 10? just installed, not mounted or made into a raid yet. WIP? Okay. What drives are connected to which ports? 4 Samsung 870 1T's are on the 1st added controller. ATM 5, 2T gigastone's are on the 2nd, 16 port added controller smarttcl says all 5 of those are fine. Okay. What is on the other 20 ports? On the mobo? A big dvd writer and 2 other half T or 1T samsung drives from earlier 860 runs, not currently mounted. No spinning rust anyplace now. ... A current lsblk: gene@coyote:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 931.5G 0 disk ├─sda1 8:1 0 838.2G 0 part / ├─sda2 8:2 0 46.8G 0 part [SWAP] └─sda3 8:3 0 46.6G 0 part /tmp sdb 8:16 1 0B 0 disk is probably my camera, currently plugged in sdc 8:32 1 0B 0 disk is probably my brother MFP-J6920DW printer, always plugged in So, your OS disk is a Samsung 1 TB SSD on port /dev/sda. I do not see the second Samsung SSD (?). I would use dmesg(1) and grep(1) to figure out what /dev/sdb and /dev/sdc are: # dmesg | egrep '/dev/sd[bc]' first controller, 6 port sdd 8:48 0 931.5G 0 disk ├─sdd1 8:49 0 900G 0 part │ └─md0 9:0 0 1.7T 0 raid10 │ └─md0p1 259:0 0 1.7T 0 part /home ├─sdd2 8:50 0 30G 0 part │ └─md1 9:1 0 60G 0 raid10 [SWAP] └─sdd3 8:51 0 1.5G 0 part └─md2 9:2 0 3G 0 raid10 sde
Re: Debian in HPC
Stuart Barkley writes: > I think some places are moving to Ubuntu. The thought is that Ubuntu > keeps more up to date with software. I preferred to keep the OS > minimal and build the user software independently since there usually > were complex dependencies and Debian should be fine in that case. > > We used diskless servers with stable ramdisk boot images and I did not > get Debian or Ubuntu working before I retired. I didn't get far > enough along to try Infiniband or GPFS. GPFS was working for some > others on Ubuntu workstations. > > The Beowulf mailing list is good. > > Stuart > > > On January 6, 2024 4:04:51 PM UTC, "Andrew M.A. Cater" > wrote: >>Michael: This discussion has also been taking place periodically in >>the main Beowulf lists over at Beowulf.org (https://www.beowulf.org) >> >>See, for example, their archives from May-November 2023 for the thread. >> >>For anyone interested in HPC, I commend the Beowulf list - very small >>numbers of extremely motivated, extremely competent people. >> >>Disclaimer: I'm also an occasional contributor to discussions there - >>and I first suggested that they use Debian rather than a Red Hat base >>in about 1998 when Red Hat launched Extreme Linux :) >> >>All the very best, as ever, >> >>Andy >>(amaca...@debian.org) Thanks for the info - I'll have a look at the beowulf.org list. Personally I can't see Ubuntu being a viable option. For HPC I don't see any advantage regarding software relative to Debian. Cheers, Loris -- Dr. Loris Bennett (Herr/Mr) FUB-IT (ex-ZEDAT), Freie Universität Berlin
Re: smartctl cannot access mystorage, need syntax help
On Sun, Jan 14, 2024 at 06:15:13PM -0500, gene heskett wrote: [...] > /home/coyotebak would be in the raid, but something in the system > /backupdisk/ as a mount point would not be in the raid. But I have mount > points scattered about this system, literaaly all over that just work, since > when is /mnt some special thing? [...] It's not, and it is fine as a mount point; Felix only took issue with putting that mount on fstab, which isn't the conventional way of doing things. Technically there's no issue with it. If you shared your system with another sysadmin, you better refrain from this. If you are alone at home, and remember you did it two days down, no problem. [...] > Or are you saying I should mkdir that mount point in the rad10, and then > mount one of these SSD's to it? [...] Please don't. Cheers -- t signature.asc Description: PGP signature
Re: 512e vs 4K sector confusion
Hi Stefan, On Sun, Jan 14, 2024 at 11:32:37PM -0500, Stefan Monnier wrote: > Do you need a partition table? These are other people's virtual machines so to some extent I don't have a say on what they put inside them. It is always nice to understand what is going on though! > What happens if you use diskimages that contain directly a filesystem > without going through the trouble of using a partition table? > Does `ext4` also get tripped by the different underlying block size? I believe it will also fail but I haven't directly experimented. On the target host I was able to use fdisk (or gdisk or parted or whatever…) to change the partition table to be "correct", which enabled me to then use "kpartx" to expose the partition out of the disk image as a loop device as usual. However, the ext4 driver and fsck.ext4 were still unable to find superblocks on this. This despite a sha256sum of the loop device coming back with the same hash as a sha256sum of the partition on the source. So, I believe that the existence or type of a partition table doesn't matter and similar problems would be encountered if an ext4 filesystem were directly put on the LV. It's just that with there being a partition table I see problems sooner as the geometry of the drive is all wrong and tools like kpartx can't work. Unless there is some way to fiddle this at the LVM PV level, I think I must try using hdparm to convert the target HDDs to 512 byte sectors. I will try asking the LVM folks. Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Re: smartctl cannot access mystorage, need syntax help
On Sun, Jan 14, 2024 at 01:37:05PM -0500, Felix Miata wrote: > tomas composed on 2024-01-14 19:15 (UTC+0100): [Gene] > >> > I have not been able to use that last line as a target for rsync > > >> That's not unexpected. /mnt/ is intended for /temporary/ or /transient/ > >> mounting, > >> while /etc/fstab is OTOH intended for routine. > > > How should the mount point have an influence on transfer rates? > > AFAIK, nothing I wrote would be expected to have any relationship to transfer > rates. My point was entirely about suitability of /mnt/ for fstab entries. Oh, I understand. And I do agree that it isn't generally a good idea to put /mnt in fstab -- unless you know well what you're doing. Cheers -- t signature.asc Description: PGP signature
Re: 512e vs 4K sector confusion
> Now, after the disk_image has arrived, it looks very odd. fdisk > thinks it is 8 times bigger than it really is, and thinks it has 4K > sectors. I can't use "kpartx" to get at the partition inside it, and > fsck.ext4 doesn't like its first partition at all. Thanks for this experiment. I was lucky enough not to bump into such a weird situation and it had never occurred to me that the underlying block size would "show through" an LV. > Is there any way to make this work? [ A quick look at Wikipedia suggests that a GPT partition table won't help because that also uses "block" addresses (LBA). ] Do you need a partition table? What happens if you use diskimages that contain directly a filesystem without going through the trouble of using a partition table? Does `ext4` also get tripped by the different underlying block size? Stefan
Re: smartctl cannot access mystorage, need syntax help
gene heskett composed on 2024-01-14 20:03 (UTC-0500): > Felix Miata wrote: >> I'm only suggesting you find a place other than /mnt/ for anything found in >> /etc/fstab, based upon the definition of /mnt/ in FHS. Conforming your >> machinery >> to FHS is not mandatory, just recommended, a good idea. > so I should use /media? That's also not a good place to match with fstab entries, also for temporary, transient use: [quote] /media Mount points for removable media such as CD-ROMs (appeared in FHS-2.3 in 2004). [/quote] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Something you do /not/ find on that page may best serve matching up with fstab. Think something up, /Z370/, /coypup/, /bakmnt/, /disk/, /rsync-mnt/ or /rsync/. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: smartctl cannot access mystorage, need syntax help
On 1/14/24 20:07, David Wright wrote: On Sun 14 Jan 2024 at 18:15:13 (-0500), gene heskett wrote: /home/coyotebak would be in the raid, but something in the system /backupdisk/ as a mount point would not be in the raid. But I have mount points scattered about this system, literaaly all over that just work, since when is /mnt some special thing? its just an empty dir I can mount any block thing to. one furinstance is an /sshnet directory, inside of which is a few nore directories that I mount the rest of my cnc and 3d printers to using sshfs, so they are a direct link to the /home/me directories of every machine on the premises. I have a script in my private bin directory that mounts them all. I get tired of repeating my user pw while the script is running, but it just works. When I save a file, I use bash-completion to help write directory names etc, but I know where I'm going, so to speak. But I have this idea at the back of my mind that when a GUI dialog box opens up for you to save a file, it has an extensive look around the filesystem. Direct links (symlinks, I assume) to networked machines is a great way of slowing this process down, and any unresolvable names will make things far worse. Is this a possible cause for your problem? Cheers, David. That thought too has crossed my mind. readable logs might show that, but we no longer have readable logs, they are all filtered by journalctl and I wasn't invited to that semester of how to run journalctl. That manpage no doubt has that data but it is buried in a wall of text that is a sleeping pill to read. Thanks David Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 1/14/24 07:56, gene heskett wrote: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' [sudo] password for gene: ./libreoffice/registry/graphicfilter.xcd ./libreoffice/registry/xsltfilter.xcd ./fonts/conf.d/11-lcdfilter-default.conf ./xdg/kshorturifilterrc ./alternatives/bogofilter ./bogofilter.cf ./apache2/mods-enabled/filter.load ./apache2/mods-available/filter.load ./apache2/mods-available/ext_filter.load ./modules-load.d/cups-filters.conf gene@coyote:/etc$ I don't see anything thunderbird there. I have some macular degeneration but wouldn't call myself blind, yet... Thanks David. Cheers, Gene Heskett. On 1/14/24 08:09, Arno Lehmann wrote: > why sudo, and why in /etc ? On 1/14/24 14:00, gene heskett wrote: > I thought find was global. Its not? My mistake then. You need to tell find(1) where to start searching via the "starting-point" argument This incantation makes it explicit that find(1) should search the ".thunderbird" subdirectory in your home directory: 2024-01-14 16:56:50 dpchrist@laalaa ~ $ find $HOME/.thunderbird -iname '*filter*' /home/dpchrist/.thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-3.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-2.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat Once you have found the files, you can look inside for the bug. David
Re: Problem with sound disappearing
Sorry I forgot I am using Debian Bookworm and it is updated with the latest updates. On 1/14/24 7:03 PM, Maureen L Thomas wrote: I am using a Lenovo computer with 8G of memory and 1 TB hard drive, AMD Ryzen 3 2200g w/radion vega graphices x4, Graphics Gallium 0.4 llvmpipe, it is running 64 bit Debian. Processor is Intel Core i3-9100T, CPU 3.10GHz, Realtec 8821CE wireless lan 802.11 ac PCI-E NIC. My problem is all of a sudden I have no sound at all. I have checked all my settings and they have not changed at all so I should have had sound. There is none no matter what I have done. I need help please. Moe
Re: smartctl cannot access my storage, need syntax help
On 1/14/24 19:48, David Wright wrote: On Sun 14 Jan 2024 at 14:48:49 (-0500), gene heskett wrote: On 1/14/24 07:42, David Christensen wrote: I am confused -- do you have 4 or 5 Gigastone 2 TB SSD? 5, ordered in 2 separate orders. > So that one could be formatted ext4 and serve as a backup of the raid10. What I am trying to do now, but cannot if it is plugged into a motherboard port, hence the repeat of this exercise on the 2nd sata card. > how do I make an image of that > raid10 to /dev/sde and get every byte? That seems like the first step > to me. This I am still trying to do, the first pass copied all 350G of /home but went to the wrong drive, and I had mounted the drive by its label. It is now /dev/sdh and all labels above it are now wrong. Crazy. These SSD's all have an OTP serial number. I am tempted to use that serial number as a label _I_ can control. And according to gparted, labels do not survive being incorporated into a raid as the raid is all labeled with hostname : partition number. So there really is no way in linux to define a drive that is that drive forever. Unreal... Interesting to see in how many differents ways you can use the term "label". BTW I have no idea what an "OTP serial number" is. OTP=One Time Pad, never to be used again. On Sun 14 Jan 2024 at 16:47:41 (-0500), gene heskett wrote: ene@coyote:~/src/klipper-docs$ sudo smartctl -a /dev/sde [sudo] password for gene: smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: Gigastone SSD Serial Number:GST02TBG221146 ↑↑ You see that there? You should find this symlink on your system: /dev/disk/by-id/… …GST02TBG221146 pointing at some random /dev/sdX. Where you put /dev/sdX, put /dev/disk/by-id/… …GST02TBG221146 instead. Then you'll know you're referring to that disk. Likewise the others. (As already suggested by David C, Sun, 14 Jan 2024 04:41:51 -0800) Cheers, David. . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: smartctl cannot access mystorage, need syntax help
On 1/14/24 18:57, Felix Miata wrote: gene heskett composed on 2024-01-14 18:39 (UTC-0500): Felix Miata wrote: AFAIK, nothing I wrote would be expected to have any relationship to transfer rates. My point was entirely about suitability of /mnt/ for fstab entries. And my point is that for a one time copy, its was handy. I didn't have to mkdir a mount point for it. /mnt/ is intended for one-time copies, just the ticket for that particular exercise. I don't recall ever mounting something to /mnt, always to a subdir in mount. But, fstab entries for one-time mounting is not normal, and neither are subdirectories in /mnt/ unless a filesystem is temporarily mounted there. It's allowed, but not particularly a product of wisdom, particularly if you forget to undo it before rebooting without the configured filesystem available, or an unexpected reboot occurs first. Remember your short-term memory quality? Absolutely plus its the end of a long day for me, so the next copy try will be tomorrow. With an extra argument to rsync, --bwlimit=5m. That should limit the write to 5megs a second which should give the SSD time to process its cache. This whole thing has just one objective, making a copy of the raid10 /home onto a single drive that I could us to edit the raid out of fstab, substituting the single drive copy. This raid has 2 of its 4 drives complaining to smartctl. Get my data off it, by whatever means works.-- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata Thanks Felix. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 1/14/24 08:13, David Wright wrote: On Sun 14 Jan 2024 at 01:57:59 (-0800), David Christensen wrote: On 1/12/24 18:17, gene heskett wrote: On 1/12/24 15:58, David Christensen wrote: Searching for the Thunderbird message filter configuration files on my computer: 2024-01-12 12:31:57 dpchrist@taz ~ $ find .thunderbird/dpchrist -iname '*filter*' .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat Did you choose those (appropriate-looking) names? No. Thunderbird did. David
Re: smartctl cannot access mystorage, need syntax help
On Sun 14 Jan 2024 at 18:15:13 (-0500), gene heskett wrote: > /home/coyotebak would be in the raid, but something in the system > /backupdisk/ as a mount point would not be in the raid. But I have > mount points scattered about this system, literaaly all over that just > work, since when is /mnt some special thing? its just an empty dir I > can mount any block thing to. one furinstance is an /sshnet directory, > inside of which is a few nore directories that I mount the rest of my > cnc and 3d printers to using sshfs, so they are a direct link to the > /home/me directories of every machine on the premises. I have a script > in my private bin directory that mounts them all. I get tired of > repeating my user pw while the script is running, but it just works. When I save a file, I use bash-completion to help write directory names etc, but I know where I'm going, so to speak. But I have this idea at the back of my mind that when a GUI dialog box opens up for you to save a file, it has an extensive look around the filesystem. Direct links (symlinks, I assume) to networked machines is a great way of slowing this process down, and any unresolvable names will make things far worse. Is this a possible cause for your problem? Cheers, David.
Re: smartctl cannot access mystorage, need syntax help
On 1/14/24 18:43, Felix Miata wrote: gene heskett composed on 2024-01-14 18:15 (UTC-0500): Felix Miata wrote: ... I have mount points scattered about this system, literaaly all over that just work, Fine! It's your stuff. since when is /mnt some special thing? Since 1994, 30 years ago next month: ... http://www.ibiblio.org/pub/Linux/docs/fsstnd/old/fsstnd-1.1/fsstnd-1.1.txt https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Or are you saying I should mkdir that mount point in the rad10, and then mount one of these SSD's to it? Sounds like the long way around the bush but it might work, I'll try it. But that would be forever recursive w/o excluding that dir from the copy. ... I'm only suggesting you find a place other than /mnt/ for anything found in /etc/fstab, based upon the definition of /mnt/ in FHS. Conforming your machinery to FHS is not mandatory, just recommended, a good idea. so I should use /media? In any event that line is now commented out of fstab. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 1/14/24 17:27, Greg Wooledge wrote: On Sun, Jan 14, 2024 at 05:00:09PM -0500, gene heskett wrote: On 1/14/24 11:10, Arno Lehmann wrote: Gene, Am 14.01.2024 um 16:56 schrieb gene heskett: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' why sudo, and why in /etc ? /etc only because I was there and sudo to get around a whole passel of no permissons. I thought find was global. Its not? My mistake then. The arguments after find which don't begin with "-" are the starting point(s). In this case, your command asks find to start in "." which is the current directory. If you were to run something like find /tmp /var -iname '*.log' then it would look for pathnames ending with .log (case-insensitive) starting in /tmp and /var. . I see. I grew into linux 26 years ago, using locate but you have to updatedb first if you want the current state. I should use find more often, its realtime. Thanks Greg. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: smartctl cannot access my storage, need syntax help
On Sun 14 Jan 2024 at 14:48:49 (-0500), gene heskett wrote: > On 1/14/24 07:42, David Christensen wrote: > > I am confused -- do you have 4 or 5 Gigastone 2 TB SSD? > > 5, ordered in 2 separate orders. > > > > > So that one could be formatted ext4 and serve as a backup of the raid10. > What I am trying to do now, but cannot if it is plugged into a > motherboard port, hence the repeat of this exercise on the 2nd sata > card. > > > > > how do I make an image of that > > > raid10 to /dev/sde and get every byte? That seems like the first step > > > to me. > This I am still trying to do, the first pass copied all 350G of /home > but went to the wrong drive, and I had mounted the drive by its label. > It is now /dev/sdh and all labels above it are now wrong. Crazy. > These SSD's all have an OTP serial number. I am tempted to use that > serial number as a label _I_ can control. And according to gparted, > labels do not survive being incorporated into a raid as the raid is > all labeled with hostname : partition number. So there really is no > way in linux to define a drive that is that drive forever. Unreal... Interesting to see in how many differents ways you can use the term "label". BTW I have no idea what an "OTP serial number" is. On Sun 14 Jan 2024 at 16:47:41 (-0500), gene heskett wrote: > ene@coyote:~/src/klipper-docs$ sudo smartctl -a /dev/sde > [sudo] password for gene: > smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) > Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org > > === START OF INFORMATION SECTION === > Device Model: Gigastone SSD > Serial Number:GST02TBG221146 ↑↑ You see that there? You should find this symlink on your system: /dev/disk/by-id/… …GST02TBG221146 pointing at some random /dev/sdX. Where you put /dev/sdX, put /dev/disk/by-id/… …GST02TBG221146 instead. Then you'll know you're referring to that disk. Likewise the others. (As already suggested by David C, Sun, 14 Jan 2024 04:41:51 -0800) Cheers, David.
Re: Thunderbird filters
On Sun 14 Jan 2024 at 17:11:01 (-0500), gene heskett wrote: > On 1/14/24 11:13, David Wright wrote: > > On Sun 14 Jan 2024 at 01:57:59 (-0800), David Christensen wrote: > > > On 1/12/24 18:17, gene heskett wrote: > > > > On 1/12/24 15:58, David Christensen wrote: > > > > > > > Searching for the Thunderbird message filter configuration > > > > > files on my computer: > > > > > > > > > > 2024-01-12 12:31:57 dpchrist@taz ~ > > > > > $ find .thunderbird/dpchrist -iname '*filter*' > > > > > .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat > > > > > .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat > > > > > .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat > > > > Did you choose those (appropriate-looking) names? > > > that was the other David example, not mine. Precisely. And that's why I asked the question. If David chose them (wisely), then the obviousness of their names may be of no consequence. OTOH if their names (ignoring the directory part) are "standard" ones, chosen by TB, there's a glimmer of a hope that your filters may have similar names, which you can search for. > > > > I have no such directory structure where subbing my id for > > > > dpchrist might hide: > > > > gene@coyote:~/.thunderbird$ ls > > > > 'Crash Reports' f37v8icg.default-default installs.ini > > > > 'Pending Pings' profiles.ini twpgj5qd.default > > > > > > Use find(1) instead of ls(1): > > > > > > $ find . -xdev -iname '*filter*' > > > > Random website: > > > >Create Filter Rules in Mozilla Thunderbird > > > >Let’s go over the steps you need to follow to create Thunderbird rules > > that move messages from a specific sender to a folder: > Most of the "filters" I use (and there are well over a 100 of them) > are based on the src of the mailing list they go into, and were first > made by using a list mail as the filter key, move to such and such > local directory. As to where those filters are stored, I have not > found them. Well, you now know to carry on searching, because you only looked in /etc before. > > Launch Mozilla Thunderbird. > > Open the Tools menu and choose Message Filters. > > Click New to create a new filter. > > Give the filter a suitable name. > > > > … or an unsuitable one? Cheers, David.
Problem with sound disappearing
I am using a Lenovo computer with 8G of memory and 1 TB hard drive, AMD Ryzen 3 2200g w/radion vega graphices x4, Graphics Gallium 0.4 llvmpipe, it is running 64 bit Debian. Processor is Intel Core i3-9100T, CPU 3.10GHz, Realtec 8821CE wireless lan 802.11 ac PCI-E NIC. My problem is all of a sudden I have no sound at all. I have checked all my settings and they have not changed at all so I should have had sound. There is none no matter what I have done. I need help please. Moe
Re: smartctl cannot access mystorage, need syntax help
gene heskett composed on 2024-01-14 18:39 (UTC-0500): > Felix Miata wrote: >> AFAIK, nothing I wrote would be expected to have any relationship to transfer >> rates. My point was entirely about suitability of /mnt/ for fstab entries. > And my point is that for a one time copy, its was handy. I didn't have > to mkdir a mount point for it. /mnt/ is intended for one-time copies, just the ticket for that particular exercise. But, fstab entries for one-time mounting is not normal, and neither are subdirectories in /mnt/ unless a filesystem is temporarily mounted there. It's allowed, but not particularly a product of wisdom, particularly if you forget to undo it before rebooting without the configured filesystem available, or an unexpected reboot occurs first. Remember your short-term memory quality? > This whole thing has just one objective, making a copy of the raid10 > /home onto a single drive that I could us to edit the raid out of fstab, > substituting the single drive copy. This raid has 2 of its 4 drives > complaining to smartctl. Get my data off it, by whatever means works.-- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: Thunderbird filters
Am 14.01.2024 um 23:00 schrieb gene heskett: On 1/14/24 11:10, Arno Lehmann wrote: Gene, Am 14.01.2024 um 16:56 schrieb gene heskett: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' why sudo, and why in /etc ? /etc only because I was there and sudo to get around a whole passel of no permissons. I thought find was global. Its not? My mistake then. It might be helpful if you either started doing exactly what gets proposed, and not something else based upon assumptions. Even better, try to *understand* what you type. The find program, for example, has a decent manual page, and it's a very old unix tool, and thus should be covered in any tutorial, manual, or introduction textbook. I guess today you'll even find youtube videos. Anyway, it seems you already decided your mails are gone, so it's pointless investigating further. Perhaps it would be useful to remove all existing filters, if they tend to delete all your mails. I would even propose to configure yll your mail accounts to avoid removing mails from servers, and probably even see if you can make the mail servers read-only. After all, nearly every program you use seems to insist on deleting your data or at least breaking your software, if not your hardware. Cheers, Arno Thanks Arno Cheers, Arno Cheers, Gene Heskett. -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück
Re: smartctl cannot access mystorage, need syntax help
gene heskett composed on 2024-01-14 18:15 (UTC-0500): > Felix Miata wrote: ... > I have mount > points scattered about this system, literaaly all over that just work, Fine! It's your stuff. > since when is /mnt some special thing? Since 1994, 30 years ago next month: ... http://www.ibiblio.org/pub/Linux/docs/fsstnd/old/fsstnd-1.1/fsstnd-1.1.txt >> https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard > Or are you saying I should mkdir that mount point in the rad10, and then > mount one of these SSD's to it? Sounds like the long way around the > bush but it might work, I'll try it. But that would be forever recursive > w/o excluding that dir from the copy. ... I'm only suggesting you find a place other than /mnt/ for anything found in /etc/fstab, based upon the definition of /mnt/ in FHS. Conforming your machinery to FHS is not mandatory, just recommended, a good idea. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: smartctl cannot access mystorage, need syntax help
On 1/14/24 13:37, Felix Miata wrote: tomas composed on 2024-01-14 19:15 (UTC+0100): On Sun, Jan 14, 2024 at 12:33:39PM -0500, Felix Miata wrote: gene heskett composed on 2024-01-14 12:04 (UTC-0500): # first put it where it is now & reboot #LABEL=homesde1 /mnt/homesde1 ext4 errors=remount-ro 0 2 ... I have not been able to use that last line as a target for rsync That's not unexpected. /mnt/ is intended for /temporary/ or /transient/ mounting, while /etc/fstab is OTOH intended for routine. How should the mount point have an influence on transfer rates? AFAIK, nothing I wrote would be expected to have any relationship to transfer rates. My point was entirely about suitability of /mnt/ for fstab entries. And my point is that for a one time copy, its was handy. I didn't have to mkdir a mount point for it. This whole thing has just one objective, making a copy of the raid10 /home onto a single drive that I could us to edit the raid out of fstab, substituting the single drive copy. This raid has 2 of its 4 drives complaining to smartctl. Get my data off it, by whatever means works. The explosion could have occurred by inserting a USB stick while rsync was running and you were engaging in root activities. As regular user, most DEs now use /run/media/ instead of /tmp/. Best anyway to find someplace besides your /mnt/ tree for that filesystem, maybe /home/coyotebak/ or /backupdisk/. You think an automounter mounted some stuff beneath /mnt/? I think they don't do that for the last twenty years, at least (before /run/media/ it has been /media/ for quite a while already... I don't have a working knowledge of all the deviations from FHS or other standards that Gene employs, and neither am I familiar with behaviors of DEs I do not use. When one has /mnt/ in fstab, where would one put a transient manual mount? Another would need to be created, lest done to /mnt/ on coyote, /mnt/homesde1/'s filesystem would disappear, no trivial danger in the context of deteriorated short term memory. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: call me puzzled.
On 1/14/24 12:53, mick.crane wrote: On 2024-01-12 13:31, gene heskett wrote: I'm using tbird as an email agent, but it just did something both strange and scary. Its filters have been working very spotty, only when the phase of the moon was right. And it missed moving a msg from the nut list to the local nut sbbdir, so I went to the filter menu and had it add a new filter based on that msg. Then told it to "run it now". Apparently a big mistake!! tbird took about an hour, totally cleaned out the inbox at my mail server of 4080 some messages, w/o adding or moving to anything, absolutely zip to any local mail directory. No local msgs were played with, but I've lost several hundred often used addresses that were stashed in my inbox. Does anybody have a clue what did that? Isn't mbox (seen elsewhere) like one file? Without knowing what I'm doing I reckoned maildir would be safer. mick I've always found it to be safer as long as the max # of entries is not exceeded. Thanks mick. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: smartctl cannot access mystorage, need syntax help
On 1/14/24 12:34, Felix Miata wrote: gene heskett composed on 2024-01-14 12:04 (UTC-0500): # first put it where it is now & reboot #LABEL=homesde1 /mnt/homesde1 ext4 errors=remount-ro 0 2 ... I have not been able to use that last line as a target for rsync That's not unexpected. /mnt/ is intended for /temporary/ or /transient/ mounting, while /etc/fstab is OTOH intended for routine. The explosion could have occurred by inserting a USB stick while rsync was running and you were engaging in root activities. As regular user, most DEs now use /run/media/ instead of /tmp/. Best anyway to find someplace besides your /mnt/ tree for that filesystem, maybe /home/coyotebak/ or /backupdisk/. /home/coyotebak would be in the raid, but something in the system /backupdisk/ as a mount point would not be in the raid. But I have mount points scattered about this system, literaaly all over that just work, since when is /mnt some special thing? its just an empty dir I can mount any block thing to. one furinstance is an /sshnet directory, inside of which is a few nore directories that I mount the rest of my cnc and 3d printers to using sshfs, so they are a direct link to the /home/me directories of every machine on the premises. I have a script in my private bin directory that mounts them all. I get tired of repeating my user pw while the script is running, but it just works. https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Or are you saying I should mkdir that mount point in the rad10, and then mount one of these SSD's to it? Sounds like the long way around the bush but it might work, I'll try it. But that would be forever recursive w/o excluding that dir from the copy. And I just found in the rsync man page --bwlimit=#1024 blocks/second with optional kmg as multipliers. Maybe that is what I need, say --bwlimit=5m which would limit the destination writes to nominally half what I see dd doing toward the end of writing an iso to an u-sd card. There is also a --exclude=PATTERN to keep it from recursing to that subdir of the raid. But why bother, move the mount point out of the raid's view by using the /mnt or /media points. Food for experimentation, thank you Felix. Thanks Felix. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
gene heskett composed on 2024-01-14 17:11 (UTC-0500): > David Wright wrote: >>Let’s go over the steps you need to follow to create Thunderbird rules >> that move messages from a specific sender to a folder: > Most of the "filters" I use (and there are well over a 100 of them) are > based on the src of the mailing list they go into, and were first made > by using a list mail as the filter key, move to such and such local > directory. as to where those filters are stored, I have not found them. Most likely the location is the same as in SeaMonkey, where there is one filter file per account, which is by default, thus: /home/username/.mozilla/profilename/Mail/smtp-name/msgFilterRules.dat I believe in TB the default may be: /home/username/.thunderbird/profilename/Mail/smtp-name/msgFilterRules.dat Mozilla profiles located in other locations are supported. They need not be anywhere in /home/ if properly configured and permissioned. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: Thunderbird filters
On Sun, Jan 14, 2024 at 05:00:09PM -0500, gene heskett wrote: > On 1/14/24 11:10, Arno Lehmann wrote: > > Gene, > > > > Am 14.01.2024 um 16:56 schrieb gene heskett: > > > On 1/14/24 04:58, David Christensen wrote: > > > > find . -xdev -iname '*filter*' > > > gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' > > > > why sudo, and why in /etc ? > /etc only because I was there and sudo to get around a whole passel of no > permissons. > I thought find was global. Its not? My mistake then. The arguments after find which don't begin with "-" are the starting point(s). In this case, your command asks find to start in "." which is the current directory. If you were to run something like find /tmp /var -iname '*.log' then it would look for pathnames ending with .log (case-insensitive) starting in /tmp and /var.
Re: Thunderbird filters
On 1/14/24 11:45, Max Nikulin wrote: On 13/01/2024 09:17, gene heskett wrote: Go to Thunderbird -> Edit -> Account Settings -> ghesk...@shentel.net -> Server Settings. What is the value of the field "Server Type"? IMAP MAIL Server There is a little chance that messages are still on the server. Set "mark as deleted" for delete action. Messages that have not been pruned may appear overstriked. zero chance I'd say, when it went berzerkly, I sat here trying to stop it while it was busy deleting over 4500 msgs from the server is Seattle. Maybe messages have been moved to "archived". has, or had 1 msg a phishing scam. I think I killed it. yup its empty now. Thank you Max. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 1/14/24 11:13, David Wright wrote: On Sun 14 Jan 2024 at 01:57:59 (-0800), David Christensen wrote: On 1/12/24 18:17, gene heskett wrote: On 1/12/24 15:58, David Christensen wrote: Searching for the Thunderbird message filter configuration files on my computer: 2024-01-12 12:31:57 dpchrist@taz ~ $ find .thunderbird/dpchrist -iname '*filter*' .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat Did you choose those (appropriate-looking) names? that was the other David example, not mine. I have no such directory structure where subbing my id for dpchrist might hide: gene@coyote:~/.thunderbird$ ls 'Crash Reports' f37v8icg.default-default installs.ini 'Pending Pings' profiles.ini twpgj5qd.default Use find(1) instead of ls(1): $ find . -xdev -iname '*filter*' Random website: Create Filter Rules in Mozilla Thunderbird Let’s go over the steps you need to follow to create Thunderbird rules that move messages from a specific sender to a folder: Most of the "filters" I use (and there are well over a 100 of them) are based on the src of the mailing list they go into, and were first made by using a list mail as the filter key, move to such and such local directory. As to where those filters are stored, I have not found them. Launch Mozilla Thunderbird. Open the Tools menu and choose Message Filters. Click New to create a new filter. Give the filter a suitable name. … or an unsuitable one? However, I do have in my home dir, an mbox file dated the 7th: Which may result in a clue about my raid10, its msgs from SMARTCTL running as root to me I've never rx'd containing warnings about /dev/sde which is part of that raid10 that is the systems /home directory. So I'll take a break here and go investigate that. It does lead to another question, how do I incorporate that into tbird so I get important status msgs from root?. Add the filename to your list of incoming mailboxes. That should notify you whenever something comes in to any of them. How ever t-bird has so many hot keys that pop up some config page as I'm typing what looks like a legit sentence that I may have commanded something by continuing to type after the popup shows up as it steals the focus when it does. I wish there was some way to disable that crap until I actually want to do some config stuff. Edit -> Settings does not seem to offer a way to turn off hot keys (?). All I can suggest is that you slow down and concentrate on your fingers. It's difficult to prevent accidentally executing commands, but you can prevent their altering your configuration by making the latter readonly. Myself, I use that trick with mc, so that it always starts in the same state, and any configuration changes I do make (sorting, backup/hidden file visibility, etc) are temporary and local, only lasting till I quit that instance. Cheers, David. . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 1/14/24 11:10, Arno Lehmann wrote: Gene, Am 14.01.2024 um 16:56 schrieb gene heskett: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' why sudo, and why in /etc ? /etc only because I was there and sudo to get around a whole passel of no permissons. I thought find was global. Its not? My mistake then. Thanks Arno Cheers, Arno Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Fact finding / clarification [WAS Re: Re: smartctl cannot accessmy storage, need syntax help]
On 1/14/24 09:15, Greg Wooledge wrote: On Sun, Jan 14, 2024 at 11:58:42AM +, Andrew M.A. Cater wrote: You now have a slow access to one/more of your RAID devices. Does he, though? I thought we had established some time late last year that his *symptom* (delayed startup of some applications) had nothing at all to do with his storage devices, and everything to do with his desktop environment. I still think so, Greg, but apt has a dependency cow if i try to do any housekeeping. I'd like to use xfce4 but theres a couple bargeloads of kde5plasma the installer put in that I can't take out w/o demolishing the system. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
new thread, are gigastone ssd's good/bad
Greetings all; I have bought 5, 2T gigastone SSD's, made in Taiwan I have 2 extra sata cards in this machine, a 6 port cheap and a twice as expensive on with 16 port, all rated at 6G speeds. The cheaper one has my home raid10 on it consisting of 4, 1T samsung 870 SSD's first assembled back in buster days. The newwer 16 port card has 4, 2T gigastone's on it, unused for anything yet, intending to either make me a new, bigger raid10 for /home, or maybe an 8T lvm for amanda's vtapes. And a 5th gigastone that I have now had its data cable plugg into all 3 choices of sata ports, 1, built into an Asus PRIME-Z370-A II motherboard 2, the bargain no name 6 port sata card 3. the more expensive 16 port sata card. Two of the 4 Samsung drive that make the raid10 I mount as home are reporting trouble to smartctl, some of that has been posted in the previous thread. The 5th gigastone SSD has now been plugged into all three choices via its data cable mounted to /mnt/homevol by its unique LABEL= in the mount command, and attempted copy of /home made using this syntax: $>sudo rsync -av /home/ /mnt/homevol There is about 350Gb of data to copy. OpenSCAD and 3d printer slicer can blow up a 200 line plain text module into several gigabytes of gcode. Problem: Regardless of the sata port/card this 5th SSD is plugged into, it appears to me that rsync is overpowering the SSD's write bandwidth and somewhere between 13.5Gb of data to around 45Gb of data copied, I wind up with a machine that begins to stutter a bit, and finally htop says rsync is down to zero cpu, and maybe one more file locks everything but the mouse up, it still moves but the clock and the rest of the machine has stopped. This may take 5 minutes, maybe 15 but its the same story 5 times now. by the time I've rebooted, smartctl give the SSD a clean bill of health. or did til this last try, now it says, for that drive: ene@coyote:~/src/klipper-docs$ sudo smartctl -a /dev/sde [sudo] password for gene: smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: Gigastone SSD Serial Number:GST02TBG221146 Firmware Version: T0917A0 User Capacity:2,048,408,248,320 bytes [2.04 TB] Sector Size: 512 bytes logical/physical Rotation Rate:Solid State Device Form Factor: 2.5 inches TRIM Command: Available Device is:Not in smartctl database 7.3/5319 ATA Version is: ACS-3 T13/2161-D revision 4 SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is:Sun Jan 14 16:42:48 2024 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection:( 120) seconds. Offline data collection capabilities:(0x11) SMART execute Offline immediate. No Auto Offline data collection support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. No Selective Self-test supported. SMART capabilities:(0x0002) Does not save SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability:(0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time:( 2) minutes. Extended self-test routine recommended polling time:( 10) minutes. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x0032 100 100 050Old_age Always - 0 5 Reallocated_Sector_Ct 0x0032 100 100 050Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 050Old_age Always - 912 12 Power_Cycle_Count 0x0032 100 100 050Old_a
Ironically, in freshly installed Debian-12.3 KDE (debian-live-12.4.0-amd64-kde.iso) when session is restored, 'konsole' is not restored
Hello All, I wanted to file a bug using the official Debian bug filing system, but since I do not know against what package to file the bug I'm writing to this list. Essentially, the subject says it all. Session restore mechanism works as expected except for the fact that 'konsole' is not restored. Other terminal emulators (like 'xterm') and other applications (like 'firefox') are restored OK. The bug happens always. I didn't exclude any application from session restore - as I said above, it was a fresh install (on a totally formatted disk). Anyway, I checked in system settings that no application is excluded from session restore. Thanks in advance, Sergei.
Re: smartctl cannot access my storage, need syntax help
On 1/14/24 07:42, David Christensen wrote: Re-ordered for clarity -- David. And snipped by Gene as I updated On 1/12/24 18:42, gene heskett wrote: I just found an mbox file in my home directory, containing about 90 days worth of undelivered msgs from smartctl running as root. Do you know how the mbox file got there? No, it just appeared. smartctl says my raid10 is dying, ... Please post a console session with a command that displays the message. This is a copy/paste of the second message in that file, the first from smartctl, followed by the last message in that file: From r...@coyote.coyote.den Wed Nov 02 00:29:05 2022 Return-path: Envelope-to: r...@coyote.coyote.den Delivery-date: Wed, 02 Nov 2022 00:29:05 -0400 Received: from root by coyote.coyote.den with local (Exim 4.94.2) (envelope-from ) id 1oq5NB-000DBx-15 for r...@coyote.coyote.den; Wed, 02 Nov 2022 00:29:05 -0400 To: r...@coyote.coyote.den Subject: SMART error (SelfTest) detected on host: coyote MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Message-Id: From: root Date: Wed, 02 Nov 2022 00:29:05 -0400 Content-Length: 513 Lines: 16 Status: RO X-Status: X-Keywords: X-UID: 2 This message was generated by the smartd daemon running on: host name: coyote DNS domain: coyote.den The following warning/error was logged by the smartd daemon: Device: /dev/sde [SAT], Self-Test Log error count increased from 0 to 1 Device info: Samsung SSD 870 EVO 1TB, S/N:S626NF0R302507V, WWN:5-002538-f413394ae, FW:SVT01B6Q, 1.00 TB For details see host's SYSLOG. You can also use the smartctl utility for further investigation. Another message will be sent in 24 hours if the problem persists. === 3 more identical msgs refering to the other 3 drives in the raid.= From r...@coyote.coyote.den Wed Nov 16 06:22:02 2022 Return-path: Envelope-to: r...@coyote.coyote.den Delivery-date: Wed, 16 Nov 2022 06:22:02 -0500 Received: from root by coyote.coyote.den with local (Exim 4.94.2) (envelope-from ) id 1ovGUR-De-Bc for r...@coyote.coyote.den; Wed, 16 Nov 2022 06:21:59 -0500 To: r...@coyote.coyote.den Subject: SMART error (SelfTest) detected on host: coyote MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Message-Id: From: root Date: Wed, 16 Nov 2022 06:21:59 -0500 Content-Length: 592 Lines: 17 Status: RO X-Status: X-Keywords: X-UID: 9 This message was generated by the smartd daemon running on: host name: coyote DNS domain: coyote.den The following warning/error was logged by the smartd daemon: Device: /dev/sdd [SAT], Self-Test Log error count increased from 1 to 2 Device info: Samsung SSD 870 EVO 1TB, S/N:S626NF0R302502E, WWN:5-002538-f413394a9, FW:SVT01B6Q, 1.00 TB For details see host's SYSLOG. You can also use the smartctl utility for further investigation. The original message about this issue was sent at Wed Nov 2 06:59:04 2022 EDT Another message will be sent in 24 hours if the problem persists. I also note they are now very old messages but the file itself is dated Jan 7nth. And syslog has been rotated several times since. I'm not expert at interpreting smartctl reports, but I do not see such in the smarttcl output now. going backwads thru the list, the 4th drive in the raid has had 3334 errors, as had the third drive with 3332 ettors, the 1st and 2nd are clean. One stanza of the error report: Error 3328 occurred at disk power-on lifetime: 21027 hours (876 days + 3 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 28 00 54 a9 40 Error: UNC at LBA = 0x00a95400 = 11097088 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- 60 00 28 00 54 a9 40 05 15:16:34.891 READ FPDMA QUEUED 61 18 18 e8 ea 67 40 03 15:16:34.891 WRITE FPDMA QUEUED 60 00 10 00 5e a9 40 02 15:16:34.891 READ FPDMA QUEUED 60 28 08 00 f4 87 40 01 15:16:34.891 READ FPDMA QUEUED 60 00 00 00 7c a9 40 00 15:16:34.891 READ FPDMA QUEUED SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 50% 10917 1847474376 # 2 Extended offlineCompleted: read failure 50% 10586 1847474376 So half the samsung 870's are on their way out. But nothing recent... So I am now trying to get a good rsync copy on another drive. On 1/12/24 20:57, gene heskett wrote: > ... there are 4 1t drives as a raid10, and the > various messages in that mbox file name all of the individual drives. Please post a representative sample of th
Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
On Sat, Jan 13, 2024 at 1:14 PM gene heskett wrote: > > The 6809 cpu in the coco was first with program counter independant > code, put it anyplace in memory and it just ran, so we showed the pc's > of the day a much shorter, faster way home. But I've Been Moved chose > intel 8088's and dos and had a bigger advertising budget. That and > nobody ever got fired for buying IBM. After writing 8080 assembly code the 6809 was a breath of fresh air. Then the 68000, I think the first microprocessor Unix was ported to. >
[(fwd): [Debian/Bullseye] - Come far scattare il 'fallback relayhost'?]
This is just to apologize for sending the 'forwarded' message to the wrong list! Have everybody a happy New Year, ennio - Forwarded message from Ennio-Sr - Subject: [Debian/Bullseye] - Come far scattare il 'fallback relayhost'? From: Ennio-Sr Reply-To: nasr.la...@tin.it Date: Tue, 21 Nov 2023 00:10:34 +0100 To: debian-user@lists.debian.org Visto che è passato il mio precedente messaggio circa Majordomo, invio [...] Grazie dell''attenzione, ennio - end of old msg -- [Perché usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo. \\?// Fà qualche cosa di cui non sei capace!" (diceva Henry Miller) (°|°) [Why use Win$ozz (I say) if ... "even a fool can do that. .)=(. Do something you aren't good at!" (as Henry Miller used to say)] /_\
Re: smartctl cannot access mystorage, need syntax help
tomas composed on 2024-01-14 19:15 (UTC+0100): > On Sun, Jan 14, 2024 at 12:33:39PM -0500, Felix Miata wrote: >> gene heskett composed on 2024-01-14 12:04 (UTC-0500): >> > # first put it where it is now & reboot >> > #LABEL=homesde1 /mnt/homesde1 ext4 errors=remount-ro 0 2 >> ... >> > I have not been able to use that last line as a target for rsync >> That's not unexpected. /mnt/ is intended for /temporary/ or /transient/ >> mounting, >> while /etc/fstab is OTOH intended for routine. > How should the mount point have an influence on transfer rates? AFAIK, nothing I wrote would be expected to have any relationship to transfer rates. My point was entirely about suitability of /mnt/ for fstab entries. >> The explosion could have occurred >> by inserting a USB stick while rsync was running and you were engaging in >> root >> activities. As regular user, most DEs now use /run/media/ instead of >> /tmp/. >> Best anyway to find someplace besides your /mnt/ tree for that filesystem, >> maybe >> /home/coyotebak/ or /backupdisk/. > You think an automounter mounted some stuff beneath /mnt/? > I think they don't do that for the last twenty years, at least > (before /run/media/ it has been /media/ for quite > a while already... I don't have a working knowledge of all the deviations from FHS or other standards that Gene employs, and neither am I familiar with behaviors of DEs I do not use. When one has /mnt/ in fstab, where would one put a transient manual mount? Another would need to be created, lest done to /mnt/ on coyote, /mnt/homesde1/'s filesystem would disappear, no trivial danger in the context of deteriorated short term memory. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: smartctl cannot access mystorage, need syntax help
On Sun, Jan 14, 2024 at 12:33:39PM -0500, Felix Miata wrote: > gene heskett composed on 2024-01-14 12:04 (UTC-0500): > > > # first put it where it is now & reboot > > #LABEL=homesde1 /mnt/homesde1 ext4 errors=remount-ro 0 2 > ... > > I have not been able to use that last line as a target for rsync > > That's not unexpected. /mnt/ is intended for /temporary/ or /transient/ > mounting, > while /etc/fstab is OTOH intended for routine. How should the mount point have an influence on transfer rates? > The explosion could have occurred > by inserting a USB stick while rsync was running and you were engaging in root > activities. As regular user, most DEs now use /run/media/ instead of > /tmp/. > Best anyway to find someplace besides your /mnt/ tree for that filesystem, > maybe > /home/coyotebak/ or /backupdisk/. You think an automounter mounted some stuff beneath /mnt/? I think they don't do that for the last twenty years, at least (before /run/media/ it has been /media/ for quite a while already... Cheers -- t signature.asc Description: PGP signature
Re: 512e vs 4K sector confusion
On Sun, Jan 14, 2024 at 9:37 AM Andy Smith wrote: > Hi, > > I've got a disk image that sits on top of an LVM logical volume > that is on top of an mdadm RAID-1 that is on top of a pair of: > > Device Model: Samsung SSD 870 EVO 4TB > Sector Size: 512 bytes logical/physical > > so let';s say that is at /dev/foo/disk_image (where /dev/foo is the > name of the LVM VG and disk_image is the LV) > > So, > > # fdisk -ul /dev/foo/disk_image > Disk /dev/foo/disk_image: 400 GiB, 429496729600 bytes, 838860800 sectors > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > Disklabel type: dos > Disk identifier: 0x14409245 > > DeviceBoot Start End Sectors Size Id > Type > /dev/foo_disk_image2048 838858751 838856704 400G 83 > Linux > > So it's a 400G disk image with an MBR and a single partition, right? > > Now, I dd that disk image across the network to another machine > which has a similar setup, except here the "foo" volume group is on > a pair of > > Device Model: HGST HUS726T6TALN6L4 > Sector Size: 4096 bytes logical/physical > 4096 Bytes is 4K sector size. Now, after the disk_image has arrived, it looks very odd. fdisk > thinks it is 8 times bigger than it really is, and thinks it has 4K > sectors. I can't use "kpartx" to get at the partition inside it, and > fsck.ext4 doesn't like its first partition at all. > > Is there any way to make this work? > > If necessary and if there is a way, I *can* nuke off the target > machine's "foo" volume group and recreate the RAID array if I have > to make it 512e format. But obviously I'd like some way to move this > disk image and have it still work without having to meddle inside it > much — it is a VM disk. > > Thanks, > Andy > > -- > https://bitfolk.com/ -- No-nonsense VPS hosting > > -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄⠀⠀
Re: call me puzzled.
On 2024-01-12 13:31, gene heskett wrote: I'm using tbird as an email agent, but it just did something both strange and scary. Its filters have been working very spotty, only when the phase of the moon was right. And it missed moving a msg from the nut list to the local nut sbbdir, so I went to the filter menu and had it add a new filter based on that msg. Then told it to "run it now". Apparently a big mistake!! tbird took about an hour, totally cleaned out the inbox at my mail server of 4080 some messages, w/o adding or moving to anything, absolutely zip to any local mail directory. No local msgs were played with, but I've lost several hundred often used addresses that were stashed in my inbox. Does anybody have a clue what did that? Isn't mbox (seen elsewhere) like one file? Without knowing what I'm doing I reckoned maildir would be safer. mick
Re: smartctl cannot access mystorage, need syntax help
gene heskett composed on 2024-01-14 12:04 (UTC-0500): > # first put it where it is now & reboot > #LABEL=homesde1 /mnt/homesde1 ext4 errors=remount-ro 0 2 ... > I have not been able to use that last line as a target for rsync That's not unexpected. /mnt/ is intended for /temporary/ or /transient/ mounting, while /etc/fstab is OTOH intended for routine. The explosion could have occurred by inserting a USB stick while rsync was running and you were engaging in root activities. As regular user, most DEs now use /run/media/ instead of /tmp/. Best anyway to find someplace besides your /mnt/ tree for that filesystem, maybe /home/coyotebak/ or /backupdisk/. https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: Fact finding / clarification [WAS Re: Re: smartctl cannot access mystorage, need syntax help]
On Sun, Jan 14, 2024 at 12:04:58PM -0500, gene heskett wrote: > On 1/14/24 06:59, Andrew M.A. Cater wrote: > > Hi Gene, > > > > There's a whole series of long threads which loop through several > > subjects - I can tease out a couple of things. > > > > 1.) You have one large deskside machine - large enough that it's tough > > to lift or move - which is used for many things. > Correct, a one size fits all machine. OK. That much at least is understood :) > > > > 2.) You've added various drive controllers and various drives over a > > period. > > Correct. > > > Unclear: At least one of your RAID devices may be mixed between on > > motherboard connections and on-card drive controller connections?? > No, I boot from /dev/sda, a 1T samsung 870 SSD plugged into the motherboards > sata which has 6 ports OK. I'd suggest you plug this into the *first* SATA port on the motherboard, maybe, and the CD/DVD drive (/dev/sr0) into the second on the motherboard. > Because I didn't have 4 ports left for the raid, it on its own controller, > one of 2 extra sata controllers currently plugged in. Both of the extra > controlleres are just controllers, no raid in their pedigree, 1st extra has > 6 ports, 2nd extra has 16 ports. > > 2a.) How many devices in the RAID in total? 2b.) How do you have these configured - what RAID configuration are you looking to do in mdadm here? > > 3.) You "lost" a RAID a while ago so you don't trust RAID on some devices > > but you're persisting with RAIDs. > No here, it was a pair of quite new 2T seagates that died and started this > whole maryann. Lasted about a month from 1st powerup to going offline in the > night with no warning about 3 weeks after 1st powerup. Lost everything back > to about 2002. The only raid I've ever had is the current one, which > smartctl was sending me emails about but not thru a normal chaanel, I only > found them when I found a strange mbox file in my home dir. Last mail in the > mbox file was dated Jan 7th of this year. > But I've now sussed the smartctl syntax and all 4 drives of the raid say > they are healthy. If you have four drives in your RAID - maybe plug them up to channels 3-6 on your motherboard and remove the extra drive controllers? That should simplify things mightily. mdadm will reassemble the RAID appropriately. > > > > 4.) You have various add in cards but you don't seem to know which RAID is > > which / what's "locking" your filesystem / what's causing your problems. > > OK. Possibly irrelevant given your reply below. > > You now have a slow access to one/more of your RAID devices. > Which from the very limited clues seems to be related to my original of of > plasma for a desktop, with xfce4 on top of that. So I suspecting the problem > might be mixed gui related. This lag or lockup, whatever you want to call it > occurs for any app that opens a file requestor, there at least 30 seconds of > this lag before the gui opens the requestor, at which point everything > returns to normal. Failing ns reslution? I've NDI. The lags are not logged > anyplace I've managed to find a log to read. > > > 5). Unclear: All / ("most"??) of those RAID devices are using Linux mdadm > > rather than "RAID" supplied by the individual cards/controllers. > > Correct. OK - at least one more thing understood. > > > Various of us - including myself - have suggested that you simplify things > > / get another machine and divide up functionality. For various reasons > > you can't / won't do that. > > Mostly lack of space in this tiny childs bedroom to do that, over the last > 35 years its best described as a midden heap. ;o)> > > > Can you answer the questions I've posted above, please, to try > > and clarify what you have. I would have asked you for /etc/fstab and > > a couple of other files, but this is good enough to be going on with. > Instant /etc/fstab: > gene@coyote:/etc$ cat fstab > # /etc/fstab: static file system information. > # > # Use 'blkid' to print the universally unique identifier for a > # device; this may be used with UUID= as a more robust way to name devices > # that works even if disks are added and removed. See fstab(5). > # > # systemd generates mount units based on this file, see systemd.mount(5). > # Please run 'systemctl daemon-reload' after making changes here. > # > # > # / was on /dev/sda1 during installation > UUID=f295334b-fdcb-4428-bed3-cb9e9e129be6 / ext4 > errors=remount-ro 0 1 > # /tmp was on /dev/sda3 during installation > UUID=518cb65d-21f0-493f-8bb5-a5f435796991 /tmpext4 defaults > 0 2 > # swap was on /dev/sda2 during installation > UUID=422b50db-9913-4ed3-92c3-dc18be72cc61 noneswapsw > 0 0 > /dev/sr0/media/cdrom0 udf,iso9660 user,noauto 0 0 > UUID=bc6135de-0578-4e3b-b2c0-5c4687abd9bd /home ext4 > errors=remount-ro 0 2 > UUID=d24c3a99-9f40-4b71-92d4-916804553cb5 none swapsw 0 0 > # first pu
Connamon: Desklet "Network usage monitor" fills logfiles
Hello, I try to use the desklet Network usage monitor which I can download using the Desklet control. It downloads and installs without issues, and when I try to activate it it is not shown on the desktop. vnstat and vnstati are installed. Looking into the logs with journalctl, the following error message is shown 3 times every 2 seconds: Jan 14 08:07:58 laptop1 cinnamon[2643]: JS ERROR: TypeError: Clutter.Texture is not a constructor _updateGraph/<@/home/chris/.local/share/cinnamon/desklets/netus...@30yavash.com/4.0/desklet.js:144:29 spawnCommandLineAsync/<@/usr/share/cinnamon/js/misc/util.js:206:17 The code around line 144 in desklet.js is: if (this._device != "null") { if (!this.useExtendedDisplay) { this.extendedDisplay = "-s" }; let image = `${path}/vnstatImage_${this._device}_${this.extendedDisplay}.png`; let command = 'vnstati ' + this.extendedDisplay + ' -ne -i ' + this._device + ' -o ' + image ; // GLib.spawn_command_line_async(command); Util.spawnCommandLineAsync(command, () => { let l = new Clutter.BinLayout(); let b = new Clutter.Box(); let c = new Clutter.Texture({keep_aspect_ratio: true, filter_quality: 2, filename: image }); b.set_layout_manager(l); * b.add_actor(c);* this.imageWidget.destroy_all_children(); this.imageWidget.set_child(b); }); } I used Alf+F2 and "lg" to get more insights, but was not successful. I can see that Clutter is provided with the package cinnamon-common, but I could not find the definition of Clutter.Texture. But I am not a Javscript developer, so just tried to grep around a little bit. I read that whole Clutter is already unmaintained. Does it look like those Clutter based Cinnamon stuff is slowly fading out? BR Chris
Re: Fact finding / clarification [WAS Re: Re: smartctl cannot access mystorage, need syntax help]
On 1/14/24 06:59, Andrew M.A. Cater wrote: Hi Gene, Frankly: Dealing with you over a mailing list can be very frustrating for others trying to help (and especially for people trying to follow the list who are reading the lists in the background and facing long, long threads). You're not helping explain yourself well because the mails keep referring to "other stuff that happened a while ago". People ask to see mails / messages or whatever exactly because we can't sit next to you, we can't see what you type, we can't see what you're meaning. That's why well-meaning folk keep asking questions to try and establish what's going on and get a sense of where we can help (if at all). There's a whole series of long threads which loop through several subjects - I can tease out a couple of things. 1.) You have one large deskside machine - large enough that it's tough to lift or move - which is used for many things. Correct, a one size fits all machine. 2.) You've added various drive controllers and various drives over a period. Correct. Unclear: At least one of your RAID devices may be mixed between on motherboard connections and on-card drive controller connections?? No, I boot from /dev/sda, a 1T samsung 870 SSD plugged into the motherboards sata which has 6 ports Because I didn't have 4 ports left for the raid, it on its own controller, one of 2 extra sata controllers currently plugged in. Both of the extra controlleres are just controllers, no raid in their pedigree, 1st extra has 6 ports, 2nd extra has 16 ports. 3.) You "lost" a RAID a while ago so you don't trust RAID on some devices but you're persisting with RAIDs. No here, it was a pair of quite new 2T seagates that died and started this whole maryann. Lasted about a month from 1st powerup to going offline in the night with no warning about 3 weeks after 1st powerup. Lost everything back to about 2002. The only raid I've ever had is the current one, which smartctl was sending me emails about but not thru a normal chaanel, I only found them when I found a strange mbox file in my home dir. Last mail in the mbox file was dated Jan 7th of this year. But I've now sussed the smartctl syntax and all 4 drives of the raid say they are healthy. 4.) You have various add in cards but you don't seem to know which RAID is which / what's "locking" your filesystem / what's causing your problems. You now have a slow access to one/more of your RAID devices. Which from the very limited clues seems to be related to my original of of plasma for a desktop, with xfce4 on top of that. So I suspecting the problem might be mixed gui related. This lag or lockup, whatever you want to call it occurs for any app that opens a file requestor, there at least 30 seconds of this lag before the gui opens the requestor, at which point everything returns to normal. Failing ns reslution? I've NDI. The lags are not logged anyplace I've managed to find a log to read. 5). Unclear: All / ("most"??) of those RAID devices are using Linux mdadm rather than "RAID" supplied by the individual cards/controllers. Correct. Various of us - including myself - have suggested that you simplify things / get another machine and divide up functionality. For various reasons you can't / won't do that. Mostly lack of space in this tiny childs bedroom to do that, over the last 35 years its best described as a midden heap. ;o)> Can you answer the questions I've posted above, please, to try and clarify what you have. I would have asked you for /etc/fstab and a couple of other files, but this is good enough to be going on with. Instant /etc/fstab: gene@coyote:/etc$ cat fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # systemd generates mount units based on this file, see systemd.mount(5). # Please run 'systemctl daemon-reload' after making changes here. # # # / was on /dev/sda1 during installation UUID=f295334b-fdcb-4428-bed3-cb9e9e129be6 / ext4 errors=remount-ro 0 1 # /tmp was on /dev/sda3 during installation UUID=518cb65d-21f0-493f-8bb5-a5f435796991 /tmpext4 defaults0 2 # swap was on /dev/sda2 during installation UUID=422b50db-9913-4ed3-92c3-dc18be72cc61 noneswapsw 0 0 /dev/sr0/media/cdrom0 udf,iso9660 user,noauto 0 0 UUID=bc6135de-0578-4e3b-b2c0-5c4687abd9bd /home ext4 errors=remount-ro 0 2 UUID=d24c3a99-9f40-4b71-92d4-916804553cb5 none swapsw 0 0 # first put it where it is now & reboot #LABEL=homesde1 /mnt/homesde1 ext4 errors=remount-ro 0 2 gene@coyote:/etc$ I have not been able to use that last line as a target for rsync, it make around 13.5 gig of a 360G copy and locks up all i/o. So I've now refomatted
Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
Hello, >> You don't mention it, but did you look at CKW (C-Kermit 10.0 for >> Microsoft Windows)? No, I didn't look into CKW 10, that's true. I skimmed through the description of Kermit 95 (from 2003) and that of C-Kermit 9 too quickly and didn't consider that CKW 10 is the full replacement for Kermit 95. >> In any event it seems it might be worth your time to contact the kermit >> developers as well as the putty developers. Yes, absolutely. Thank you for the advice. I will reach out to the Kermit project developers in addition to those of PuTTY. Thank you. Regards, Thierry
Re: 512e vs 4K sector confusion
Hi, Andy Smith wrote: > what I meant was that fdisk showed a single partition of > 3.2TB size, while the entire disk being only the 400G Then it's what i would expect from fdisk. > I did try using fdisk on the destination to delete the partition and > recreate it with the correct numbers, but the ext4 driver and fsck > and other filesystem tools were still totally unable to work with > it. Yet, a sha256sum of the disk image file at both sides showed the > same value, so it is the same data. I would also expect complaints about read attempts after the end of the device. > Is it actually possible to create an LVM volume that thinks it has 512b > logical sectors, on an underlying device that is 4Kn? Interesting question. Googling for LVM instructions ... pvcreate(8), vgcreate(8), lvcreate(8). Their man pages show no options for selecting block sizes. losetup(8) has an option which looks helpful: -b, --sector-size size Set the logical sector size of the loop device in bytes (since Linux 4.14). But that would be another software layer between filesystem and physical device. (losetup -b 4096 would possibly help to mount an image file from a disk with logical block size 4K.) Have a nice day :) Thomas
Re: Thunderbird filters
On 13/01/2024 09:17, gene heskett wrote: Go to Thunderbird -> Edit -> Account Settings -> ghesk...@shentel.net -> Server Settings. What is the value of the field "Server Type"? IMAP MAIL Server There is a little chance that messages are still on the server. Set "mark as deleted" for delete action. Messages that have not been pruned may appear overstriked. Maybe messages have been moved to "archived".
Re: smartctl cannot access my storage, need syntax help
Hello, On Sun, Jan 14, 2024 at 11:37:08AM +0100, Nicolas George wrote: > Andy Smith (12024-01-13): > > As usual you have not bothered to show us what you are talking about > > (the email from smartd) > > And that leads you to write a patient and detailed answer, so surely it > was the best way to proceed. If only Gene had signalled that no matter what I had written, he was going to nuke it all and start again anyway. Then I could have given a detailed answer piped from /dev/urandom and nothing would have changed for anyone involved. Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Re: 512e vs 4K sector confusion
Hi Thomas, On Sun, Jan 14, 2024 at 02:33:37PM +0100, Thomas Schmitt wrote: > I wonder, though, why fdisk would misrepresent the total disk size, > which i would expect to come from the storage device. > Maybe fdisk is more confused than i expect. > > Can you show the whole output of fdisk from the new logical device ? Sorry, I've deleted it now as I've been preparing to try hdparm to set the underlying HDDs to 512e. However, what I meant was that fdisk showed a single partition of 3.2TB size, while the entire disk being only the 400G, which is as you would expect if it thinks the sector count is for 4K sectors, not 512b ones. > The start address and the number of sectors is integer divisible by 8. > You could change the partition start and size so that the block numbers > address the correct bytes with the 8 fold larger logical block size. > > But given that this could still create an unusual situation in the > filesystem driver, i would try to create a device with a logical block > size of 512. I did try using fdisk on the destination to delete the partition and recreate it with the correct numbers, but the ext4 driver and fsck and other filesystem tools were still totally unable to work with it. Yet, a sha256sum of the disk image file at both sides showed the same value, so it is the same data. Is it actually possible to create an LVM volume that thinks it has 512b logical sectors, on an underlying device that is 4Kn? Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Re: removing gdb-minimal removed plasma-desktop?
On Sun 14 Jan 2024 at 08:54:35 (+0100), Morten Hauke Solvang wrote: > Short version: "apt remove gdb-minimal" seems to have also removed > plasma-desktop + a bunch of related packages. > > Curious if there are any good debugging tips for figuring out what > happened here. > Or maybe I'm missing something obvious about how apt works, and this > is expected behavior? > > Yesterday, I was trying to use gdb, and realized I had gdb-minimal > installed instead of the regular gdb package. > > To fix this, I first ran "apt remove gdb-minimal". > My assumption was that I then would have to run "apt install gdb". > But turns out that invoking "gdb" after running "apt remove > gdb-minimal", I had the full version of gdb installed. > I didn't think more about it, went on using gdb and later shut down > the computer. I'd be interested to know what happens if you (had) run: apt install gdb+ gdb-minimal- (As I don't install DEs, I don't tend to get these complex dependency problems.) $ man apt [ … ] install, reinstall, remove, purge (apt-get(8)) Performs the requested action on one or more packages specified via regex(7), glob(7) or exact match. The requested action can be overridden for specific packages by appending a plus (+) to the package name to install this package or a minus (-) to remove it. [ … ] Cheers, David.
Re: Thunderbird filters
On Sun 14 Jan 2024 at 01:57:59 (-0800), David Christensen wrote: > On 1/12/24 18:17, gene heskett wrote: > > On 1/12/24 15:58, David Christensen wrote: > > > Searching for the Thunderbird message filter configuration > > > files on my computer: > > > > > > 2024-01-12 12:31:57 dpchrist@taz ~ > > > $ find .thunderbird/dpchrist -iname '*filter*' > > > .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat > > > .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat > > > .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat Did you choose those (appropriate-looking) names? > > I have no such directory structure where subbing my id for > > dpchrist might hide: > > gene@coyote:~/.thunderbird$ ls > > 'Crash Reports' f37v8icg.default-default installs.ini > > 'Pending Pings' profiles.ini twpgj5qd.default > > Use find(1) instead of ls(1): > > $ find . -xdev -iname '*filter*' Random website: Create Filter Rules in Mozilla Thunderbird Let’s go over the steps you need to follow to create Thunderbird rules that move messages from a specific sender to a folder: Launch Mozilla Thunderbird. Open the Tools menu and choose Message Filters. Click New to create a new filter. Give the filter a suitable name. … or an unsuitable one? > > However, I do have in my home dir, an mbox file dated the 7th: > > Which may result in a clue about my raid10, its msgs from SMARTCTL > > running as root to me I've never rx'd containing warnings about > > /dev/sde which is part of that raid10 that is the systems /home > > directory. > > So I'll take a break here and go investigate that. > > > > It does lead to another question, how do I incorporate that into > > tbird so I get important status msgs from root?. Add the filename to your list of incoming mailboxes. That should notify you whenever something comes in to any of them. > > How ever t-bird has so many hot keys that pop up some config page > > as I'm typing what looks like a legit sentence that I may have > > commanded something by continuing to type after the popup shows up > > as it steals the focus when it does. I wish there was some way to > > disable that crap until I actually want to do some config stuff. > > Edit -> Settings does not seem to offer a way to turn off hot keys > (?). All I can suggest is that you slow down and concentrate on your > fingers. It's difficult to prevent accidentally executing commands, but you can prevent their altering your configuration by making the latter readonly. Myself, I use that trick with mc, so that it always starts in the same state, and any configuration changes I do make (sorting, backup/hidden file visibility, etc) are temporary and local, only lasting till I quit that instance. Cheers, David.
Re: Thunderbird filters
Gene, Am 14.01.2024 um 16:56 schrieb gene heskett: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' why sudo, and why in /etc ? Cheers, Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück
Re: Thunderbird filters
On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' [sudo] password for gene: ./libreoffice/registry/graphicfilter.xcd ./libreoffice/registry/xsltfilter.xcd ./fonts/conf.d/11-lcdfilter-default.conf ./xdg/kshorturifilterrc ./alternatives/bogofilter ./bogofilter.cf ./apache2/mods-enabled/filter.load ./apache2/mods-available/filter.load ./apache2/mods-available/ext_filter.load ./modules-load.d/cups-filters.conf gene@coyote:/etc$ I don't see anything thunderbird there. I have some macular degeneration but wouldn't call myself blind, yet... Thanks David. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Fact finding / clarification [WAS Re: Re: smartctl cannot access my storage, need syntax help]
On Sun, Jan 14, 2024 at 11:58:42AM +, Andrew M.A. Cater wrote: > You now have a slow access to one/more of your RAID devices. Does he, though? I thought we had established some time late last year that his *symptom* (delayed startup of some applications) had nothing at all to do with his storage devices, and everything to do with his desktop environment.
Re: Re: removing gdb-minimal removed plasma-desktop?
On 2024-01-14 08:54 +0100, Morten Hauke Solvang wrote: > That assumption was a bit misguided. The correct way would have been to > "apt install gdb" _without_ first removing gdb-minimal, that would have > avoided the removal of reverse dependencies. > Pretty sure not only was this information printed, apt also asks for > confirmation if it has to install or remove more packages than > requested. But it did what you told it to do, although the outcome > might not have been what you desired. Right, makes sense to me. I was apparently just asleep at the wheel. > Good you sorted it out. The only question is why apt installed gdb even > though it removed plasma-workspace anyway. When I tried to replicate > your situation in a bookworm chroot, "apt remove gdb-minimal" removes > plasma-workspace but does not install gdb. I just ran 'apt install gdb-minimal' to get back to the state from before yesterday. If I then run 'apt remove gdb-minimal' I do infact see the warning you were saying I would see. $ sudo apt remove gdb-minimal ... (trimmed output) The following additional packages will be installed: gdb Suggested packages: gdb-doc gdbserver The following packages will be REMOVED: gdb-minimal kde-plasma-desktop kinfocenter plasma-desktop plasma-widgets-addons plasma-workspace plasma-workspace-wayland sddm-theme-breeze sddm-theme-debian-breeze The following NEW packages will be installed: gdb 0 upgraded, 1 newly installed, 9 to remove and 0 not upgraded. If I follow what you are saying, then this is all is fine, except that - It's a bit odd that plasma-desktop depends on gdb-minimal | gdb - Why is it installing gdb? - If it is installing gdb, then it shouldn't actually need to remove plasma-desktop. If I type 'n' to abort the 'apt remove ...' call, and instead install 'gdb', I see this: $ sudo apt install gdb ... (trimmed output) The following packages will be REMOVED: gdb-minimal The following NEW packages will be installed: gdb 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. Need to get 3,962 kB of archives. After this operation, 1,757 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://deb.debian.org/debian bookworm/main amd64 gdb amd64 13.1-3 [3,962 kB] Fetched 3,962 kB in 0s (34.7 MB/s) dpkg: gdb-minimal: dependency problems, but removing anyway as you requested: plasma-workspace depends on gdb-minimal | gdb; however: Package gdb-minimal is to be removed. Package gdb is not installed. Package gdb-minimal which provides gdb is to be removed. plasma-workspace depends on gdb-minimal | gdb; however: Package gdb-minimal is to be removed. Package gdb is not installed. Package gdb-minimal which provides gdb is to be removed. ... (trimmed output) This ends up doing what I wanted to do yesterday: I get full gdb instead of gdb-minimal, and my desktop environemnt doesn't disappear. The warning from dpkg seems a bit odd, looks like it also is confused about whether or not gdb is installed (and the warning also is printed twice...). Maybe I'll try booting up a full clean install in a VM to see if I can reproduce, to rule out that there is anything else which is messed up on my system. Either way, thanks a lot for your reply! Best regards, Morten
Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
phoebus phoebus wrote: > Hello, > > >> Clearly we don't know of any terminal > >> emulators that do what you want. (I assume you've already looked > >> at kermit, and found it lacking... yes? OK then.) > > I want to express my sincere gratitude for pointing me to this > project. I wasn't familiar with the Kermit terminal emulator before > but after looking at their website, I believe that Kermit 95's > feature set should address my needs. The features such as: > * Copy/paste, print, searching, and bookmarks in the scrollback > buffer > * Host-directed and local printing > * Versatile printer control, including bidirectional printers and > built-in Text/PostScript conversion seem to align with my > requirements. > > I also explored E-Kermit (Kermit for Embedding) since we were asked > if there was an emulator that could perform these functions in an > embedded environment. However, based on what it does not do, it > doesn't seem to be the solution I was hoping for. Regarding the > purely Linux/Unix C-Kermit, it appears to be less feature-rich > compared to Kermit 95, so it may not be the best fit for my > requirements. You don't mention it, but did you look at CKW (C-Kermit 10.0 for Microsoft Windows)? In any event it seems it might be worth your time to contact the kermit developers as well as the putty developers.
Re: smartctl cannot access my storage, need syntax help
Gene Heskett wrote: > >I'm looking for a solution to a broken install, all caused by the >installer finding a plugged in FDTI usb-serial adapter so it >automatically assumed I was blind and automatically installed brltty and >orca, which are not removable once installed without ripping the system >apart rendering it unbootable. If orca is disabled, the system will >_NOT_ reboot. And I catch hell for discriminating against the blind when >I complained at the time. > >That took me 20+ installs to get this far because if I removed the exec >bits on orca, disabling it=no reboot=yet another re-install go thru the >same thing with orca yelling at me for every keystroke entered, till >someone took pity on me and wrote to unplug the usb stuff which looks >like a weeping willow tree here, nothing more or less. Gene, *stop* doing this. When you ask for help with *one* issue (in this case, smartctl), looping around other issues you've had in the last few years *does not help*. It's unrelated, it obfuscates what you're saying, and it's *intensely* frustrating to the people here who might actually be trying to help you. You do this *a lot*. Please focus on one thing at a time, and we might be able to help you better. The usual advice applies: * Give a clear description of the problem you're seeing. Include command lines and command output, log entries or similar. Make it possible for people to actually identify the problem - vague descriptions make it much harder. * When people reply to you asking for more information, they're not doing that to annoy you. They're trying to understand the problem you've reported more, so they can help you fix it. If they ask you to run extra commands and report the output, *please do that*. * Stay on topic. If you have another issue you'd like help with, send a separate mail about that and have a separate thread of conversation about that issue. Don't mix things up. Please think about this, and help people to help you. >And I'm forced to conclude that a simple yes or no answer to what looks >like a single, simple question to me, included above, is beyond you. >Surely there is someone who /can/ answer that question. > >Do take care, stay warm, dry and well Andy. And unvaxed, so you might >live to be my age. > >I am not. You are helpful, just not to me. That, I do not understand. It >comes across to me that you have no time for anyone north of 50 years >old, we are too dumb to be help when something goes south. The only >part of the advanced age category I fit into is the poor short term >memory of someone 89 years old, which I am. It's nothing to do with your age. You keep on bringing this up. People are volunteering their time to help you. When you don't pay attention and go wandering off-topic it makes it much harder for people to help. I hope you can understand that. -- Steve McIntyre, Cambridge, UK.st...@einval.com Can't keep my eyes from the circling sky, Tongue-tied & twisted, Just an earth-bound misfit, I...
Re: 512e vs 4K sector confusion
Hi, Andy Smith wrote: > I've got a disk image that sits on top of an LVM logical volume > that is on top of an mdadm RAID-1 that is on top of a pair of: > Device Model: Samsung SSD 870 EVO 4TB > Sector Size: 512 bytes logical/physical > so let';s say that is at /dev/foo/disk_image (where /dev/foo is the > name of the LVM VG and disk_image is the LV) > So > # fdisk -ul /dev/foo/disk_image > Disk /dev/foo/disk_image: 400 GiB, 429496729600 bytes, 838860800 sectors > Units: sectors of 1 * 512 = 512 bytes fdisk thinks that this device has a logical block size of 512. This information is not stored in MBR partition table (or in GPT) but rather it is a property of the storage device. > Disklabel type: dos > So it's a 400G disk image with an MBR and a single partition, right? Yes. (But nitpicking: It has an MBR partition table with entries other than the protective entry which would indicate the presence of GPT. I.e. GPT contains an MBR too, but its partition table entries are stored outside of the MBR.) > Now, I dd that disk image across the network to another machine > which has a similar setup, except here the "foo" volume group is on > a pair of > Device Model: HGST HUS726T6TALN6L4 > Sector Size: 4096 bytes logical/physical So the logical volume was probably created with the logical block size of the involved physical disk devices. > fdisk > thinks it is 8 times bigger than it really is, and thinks it has 4K > sectors. fdisk asks the device (unless it is a regular file, i guess) for its logical size. Since the partition table gives no hint about its own idea of the bytes/block ratio, you end up with vastely inflated byte numbers. I wonder, though, why fdisk would misrepresent the total disk size, which i would expect to come from the storage device. Maybe fdisk is more confused than i expect. Can you show the whole output of fdisk from the new logical device ? Whatever: Not only the partition table might get misinterpreted like the partition table. Depending on the filesystem and its Linux driver the same wrong address computations can happen inside the filesystem. (ISO 9660 has a field to announce the intended logical block size. But the Linux driver "iso9660" ignores it and assumes 2048 bytes/block. It is nice enough to convert the LBA values of the filesystem to 512 bytes per logical block addresses if needed. I guess it does the same for disk devices with 4096 bytes per logical block, but never tested this.) > Is there any way to make this work? > DeviceBoot Start End Sectors Size Id Type > /dev/foo_disk_image2048 838858751 838856704 400G 83 Linux The start address and the number of sectors is integer divisible by 8. You could change the partition start and size so that the block numbers address the correct bytes with the 8 fold larger logical block size. But given that this could still create an unusual situation in the filesystem driver, i would try to create a device with a logical block size of 512. (... or i would create and mount a new filesystem on the new device and copy the files over from the mounted image file.) Have a nice day :) Thomas
Re: smartctl cannot access my storage, need syntax help
Re-ordered for clarity -- David. On 1/12/24 18:42, gene heskett wrote: I just found an mbox file in my home directory, containing about 90 days worth of undelivered msgs from smartctl running as root. Do you know how the mbox file got there? smartctl says my raid10 is dying, ... Please post a console session with a command that displays the message. On 1/12/24 20:57, gene heskett wrote: > ... there are 4 1t drives as a raid10, and the > various messages in that mbox file name 3 of the individual drives. Please post a representative sample of the messages. > Then I find the linux has played 52 pickup with the device names. /dev/sd* device node names are unpredictable. The traditional solution is UUID's. Linux added /dev/disk/by-id/* a while ago and I am starting to use them as much as possible. Make sure you look very carefully at the serial numbers when you have several drives of the same make and model. > There are in actual fact 3 sata controller is this machine, the > motherboards 6 ports, 6 more on an inexpensive sata contrller that are > actually the 4 raid10 amsung 870 1T drives, and 4 more on a more > sxpensive 16 port card which has a quartet of 2T gigastone SSD's on it, > but the drives are not found in the order of the controllers. That > raid10 was composed w/o the third controller. So: * /home is on a RAID 10 with 2 @ mirror of 2 @ 1 TB Samsung 870 SSD? * 4 @ 2 TB Gigastone SSD for a new RAID 10? What drives are connected to which ports? What is on the other 20 ports? > blkid does not sort them in order either. And of coarse does not list > whats unmounted, forcing me to ident the drive by gparted in order to > get its device name. From that I might be able to construct another raid > from the 8T of 4 2T drives but its confusing as hell when the first of > those 2T drives is assigned /dev/sde and the next 4 on the new > controller are /dev/sdi, j, k, & l. > So it appears I have 5 of those gigastones, and sde is the odd one I am confused -- do you have 4 or 5 Gigastone 2 TB SSD? > So that one could be formatted ext4 and serve as a backup of the raid10. > how do I make an image of that > raid10 to /dev/sde and get every byte? That seems like the first step > to me. Please get a USB 3.x HDD, do a full backup of your entire computer, put it off-site, get another USB 3.x HDD, do another full backup, and keep it nearby. > But since I can't copy a locked file, What file is lock? Please post a console session that demonstrates. > /dev/sde1 has been formatted and mounted, what cmd line will copy every > byte including locked files in that that raid10 to it? See above for locked. Otherwise, I suggest rsync(1). On 1/13/24 09:02, gene heskett wrote: > ... I've done this this morning: > used gparted to format to ext4 a single gpt partition on that /dev/sde > with a LABEL=homesde1 but forgot the 1 when editing /etc/fstab to > remount it on a reboot to /mnt/homesde1, which resulted in a failed > boot, look up the root pw and finally get in to fix /etc/fstab for the > missing 1 in the labelname. > > but first mounted a 2t gigastone ssd to /mnt/homesde1 which is where it > showed up in an lsblk -f report. > Spent 2+ hours rsync'ing with: > sudo rsync -av /home/ /mnt/homesde1 > which worked entirely within the same 6 port controller as this raid10 > is running on. > > reboot failed, moved the data cable to the motherboard port 5 or 6 (or > maybe 1 or 2, 6 ports, nfi which is 0 and which is 5) but its on the > mobo ports now, should be easily found at boot time. > > Finally look up root pw, get in to fix /etc/fstab and get booted. > Talk about portable devicenames, that drive is now /dev/sdk1 !!! And > empty of a LABELname but now has the 360gigs of data I just rsync'd to it. > but on reboot, its now /dev/sdb1 and empty. > > from a df: > gene@coyote:~$ df > Filesystem 1K-blocks Used Available Use% Mounted on > udev 16327704 0 16327704 0% /dev > tmpfs 3272684 18883270796 1% /run > /dev/sda1 863983352 376505108 443516596 46% / > tmpfs16363420 1244 16362176 1% /dev/shm > tmpfs5120 8 5112 1% /run/lock > /dev/sda347749868 132 45291728 1% /tmp > /dev/md0p1 1796382580 334985304 1370072300 20% /home > /dev/sdb1 196789216428 1867855888 1% /mnt/homesde1 > tmpfs 3272684 25443270140 1% /run/user/1000 > gene@coyote:~$ > and gparted now says that indeed, /dev/sdb is the drive with the label > "homesde1" on it. > And showing 31GiB used. What for unless thats ext4 > overhead. All I can see on /mnt/homesde1 is lost+found, which is empty. > So at this point I still have a home raid10, and have NDI What does "NDI" mean? > where the he!! > the rsync line actually copied 360 Gb of stuff from home to. Please post: # ls -a /mnt # ls -a /mnt/homesde1 > gene@coyote:~$ sudo smartctl -
Fact finding / clarification [WAS Re: Re: smartctl cannot access my storage, need syntax help]
Hi Gene, Frankly: Dealing with you over a mailing list can be very frustrating for others trying to help (and especially for people trying to follow the list who are reading the lists in the background and facing long, long threads). You're not helping explain yourself well because the mails keep referring to "other stuff that happened a while ago". People ask to see mails / messages or whatever exactly because we can't sit next to you, we can't see what you type, we can't see what you're meaning. That's why well-meaning folk keep asking questions to try and establish what's going on and get a sense of where we can help (if at all). There's a whole series of long threads which loop through several subjects - I can tease out a couple of things. 1.) You have one large deskside machine - large enough that it's tough to lift or move - which is used for many things. 2.) You've added various drive controllers and various drives over a period. Unclear: At least one of your RAID devices may be mixed between on motherboard connections and on-card drive controller connections?? 3.) You "lost" a RAID a while ago so you don't trust RAID on some devices but you're persisting with RAIDs. 4.) You have various add in cards but you don't seem to know which RAID is which / what's "locking" your filesystem / what's causing your problems. You now have a slow access to one/more of your RAID devices. 5). Unclear: All / ("most"??) of those RAID devices are using Linux mdadm rather than "RAID" supplied by the individual cards/controllers. Various of us - including myself - have suggested that you simplify things / get another machine and divide up functionality. For various reasons you can't / won't do that. Can you answer the questions I've posted above, please, to try and clarify what you have. I would have asked you for /etc/fstab and a couple of other files, but this is good enough to be going on with. All the best, as ever, Andy Cater (amaca...@debian.org)
Re: 512e vs 4K sector confusion
Hi andy, Am 14.01.2024 um 09:15 schrieb Andy Smith: On Sun, Jan 14, 2024 at 08:01:52AM +, Andy Smith wrote: If necessary and if there is a way, I *can* nuke off the target machine's "foo" volume group and recreate the RAID array if I have to make it 512e format. But obviously I'd like some way to move this disk image and have it still work without having to meddle inside it much — it is a VM disk. I think I may be able to use hdparm to reformat these Ultrastar DCs from 4kn to 512e… ... Thoughts? Reshaping the target system's storage may be the quickest and most reliable solution. If you expect there may be future cases with similar problems -- the other way around would be much worse, i.e. you have a source storage with 4k sectors, and target that does not support it -- these posts https://unix.stackexchange.com/questions/748208/lvm-and-device-mapper-logical-volume-device-sector-size https://unix.stackexchange.com/questions/676534/creating-an-ssd-partition-with-a-different-block-size might be good starting points to work out a real solution. As far as I know, however, it is not possible to change the block sizes using any of the software layers involved -- they all inherit from their base layer, which means from the actual devices, eventually. Fortunately, I never had to solve such issues myself, but that's probably because I prefer working at the file system level. Block level just has too many pitfalls for my simple tastes ;-) I'm getting curious to see what happens if I have to mix 512- and 4k-sector disks in one RAID, though. Cheers, Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück
Re: 512e vs 4K sector confusion
On 14.01.2024 13:15, Andy Smith wrote: On Sun, Jan 14, 2024 at 08:01:52AM +, Andy Smith wrote: If necessary and if there is a way, I *can* nuke off the target machine's "foo" volume group and recreate the RAID array if I have to make it 512e format. But obviously I'd like some way to move this disk image and have it still work without having to meddle inside it much — it is a VM disk. I think I may be able to use hdparm to reformat these Ultrastar DCs from 4kn to 512e… hdparm --set-sector-size 512 --please-destroy-my-drive /dev/sdX https://wiki.archlinux.org/title/Advanced_Format#Advanced_Format_hard_disk_drives It is okay to destroy the drive contents as there's nothing working on there yet given this initial failure. I think that is the only way this is going to work without mounting filesystems both sides and using an fs-aware tool like tar|ssh or rsync… which I don't want to do. Thoughts? Weird. I can imagine some wild theories. :) I think it has something to do with a fact that "disk_image" is a LVM volume and you dd copy "/dev/mapper/VG--name-LV--name" not "/dev/sdc2" . Could it be that "dd" sees source and destination as block devices and copies data by sector? I.e. takes 512b sector and place it to the beginning of 4096b sector and padding the rest 3584b of the sector with zeroes. This calls for some tests. I'd create 1G image test file with dos partition table and a few primary partitions: $ dd if=/dev/zero of=./1G-disk-image.bin bs=1M count=1000 1000+0 records in 1000+0 records out 1048576000 bytes (1,0 GB, 1000 MiB) copied, 8,07768 s, 130 MB/s ... $ /sbin/fdisk -l ./1G-disk-image.bin Disk ./1G-disk-image.bin: 1000 MiB, 1048576000 bytes, 2048000 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x143acb59 Device Boot Start End Sectors Size Id Type ./1G-disk-image.bin1 2048 411647 409600 200M 83 Linux ./1G-disk-image.bin2 411648 1435647 1024000 500M 83 Linux ./1G-disk-image.bin3 1435648 2047999 612352 299M 83 Linux And dd copied it the same way to disk with 4k sectors. Just to see if it will be inconsistent too, without LVM mapper involved. I'd also try to clone disk to image file first, with say "partclone" utility, "scp" the image file and restore it at remote destination with the same utility after recreating dumped partition table layout using "sfdisk". I did this procedure multiple times successfully, but without 4k sector disks and LVM involvement. -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: smartctl cannot access my storage, need syntax help
Hi. Andy Smith (12024-01-13): > As usual you have not bothered to show us what you are talking about > (the email from smartd) And that leads you to write a patient and detailed answer, so surely it was the best way to proceed. Regards, -- Nicolas George
Re: removing gdb-minimal removed plasma-desktop?
On 2024-01-14 08:54 +0100, Morten Hauke Solvang wrote: > Short version: "apt remove gdb-minimal" seems to have also removed > plasma-desktop + a bunch of related packages. > > Curious if there are any good debugging tips for figuring out what > happened here. > Or maybe I'm missing something obvious about how apt works, and this > is expected behavior? > > Yesterday, I was trying to use gdb, and realized I had gdb-minimal > installed instead of the regular gdb package. > > To fix this, I first ran "apt remove gdb-minimal". > My assumption was that I then would have to run "apt install gdb". That assumption was a bit misguided. The correct way would have been to "apt install gdb" _without_ first removing gdb-minimal, that would have avoided the removal of reverse dependencies. > But turns out that invoking "gdb" after running "apt remove > gdb-minimal", I had the full version of gdb installed. > I didn't think more about it, went on using gdb and later shut down > the computer. > > When I booted it today, a different display manager than what I > usually have was shown. Switching to a different pseudoterminal and > checking "/var/log/apt/history.log" showed that when I had removed > gdb-minimal, for some reason plasma-desktop and some other packages > had also been removed. > > This is the entry I saw: > > Start-Date: 2024-01-13 15:52:49 > Commandline: apt remove gdb-minimal > Requested-By: morten (1000) > Install: gdb:amd64 (13.1-3, automatic), > libsource-highlight-common:amd64 (3.1.9-4.2, automatic), > libboost-regex1.74.0:amd64 (1.74.0+ds1-21, automatic), libc6-dbg:amd64 > (2.36-9+deb12u3, automatic), libbabeltrace1:amd64 (1.5.11-1+b2, > automatic), libsource-highlight4v5:amd64 (3.1.9-4.2+b3, automatic) > Remove: kinfocenter:amd64 (4:5.27.5-2), plasma-workspace:amd64 > (4:5.27.5-2+deb12u1), plasma-widgets-addons:amd64 (4:5.27.5-2), > plasma-workspace-wayland:amd64 (4:5.27.5-2+deb12u1), > sddm-theme-breeze:amd64 (4:5.27.5-2+deb12u1), > sddm-theme-debian-breeze:amd64 (4:5.27.5-2+deb12u1), gdb-minimal:amd64 > (13.1-3), kde-plasma-desktop:amd64 (5:142), plasma-desktop:amd64 > (4:5.27.5-2) > End-Date: 2024-01-13 15:52:52 > > (Looks like this is where regular gdb got installed too, so I didn't > actually have it, it just got autoinstalled when I removed > gdb-minimal?) Apparently, although it is not clear why because apt also went on to remove plasma-workspace and its reverse dependencies. The plasma-workspace package depends on gdb-minimal | gdb, that is why gdb-minimal was installed in the first place. > (Also, probably this info got printed when I ran "apt remove > gdb-minimal", and I was not paying attention.) Pretty sure not only was this information printed, apt also asks for confirmation if it has to install or remove more packages than requested. But it did what you told it to do, although the outcome might not have been what you desired. > To fix it, I ran this command and rebooted with "systemctl reboot", > which seems to have worked fine. Now I'm back in the expected desktop > environment. > apt install kinfocenter plasma-workspace plasma-widgets-addons > plasma-workspace-wayland sddm-theme-breeze sddm-theme-debian-breeze > kde-plasma-desktop plasma-desktop Good you sorted it out. The only question is why apt installed gdb even though it removed plasma-workspace anyway. When I tried to replicate your situation in a bookworm chroot, "apt remove gdb-minimal" removes plasma-workspace but does not install gdb. Cheers, Sven
Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
On Sun, Jan 14, 2024 at 10:25:06AM +, phoebus phoebus wrote: > Hello, > > >> One viable approach is the one proposed by Stefan et al (modify an > >> existing terminal emulator) [...] > I fully endorse the approach proposed by Stefan et al, as well as the > implementation logic for the terminal emulator part. However, as a system > administrator and not a developer, I will seek out existing projects or > solutions that provide these features. > Thank you once again for your valuable assistance. Glad if I could contribute a grain of help. Keeping fingers crossed that you succeed in your endeavour. Every bit of free software out there helping people do their thing makes the world a bit better. Cheers -- t signature.asc Description: PGP signature
Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
Hello, >> One viable approach is the one proposed by Stefan et al (modify an >> existing terminal emulator). I'd tend to separate concerns and just >> write the application part as a separate process accepting a bidi >> connection to SSH, one to a terminal emulator, and one to the serial >> port (OK, some error and diagnostic logging too). The classical >> thing built around a select() loop, with some extended state >> automaton in it. I fully endorse the approach proposed by Stefan et al, as well as the implementation logic for the terminal emulator part. However, as a system administrator and not a developer, I will seek out existing projects or solutions that provide these features. Thank you once again for your valuable assistance. Regards, Thierry
Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
Hello, >> Clearly we don't know of any terminal >> emulators that do what you want. (I assume you've already looked at >> kermit, and found it lacking... yes? OK then.) I want to express my sincere gratitude for pointing me to this project. I wasn't familiar with the Kermit terminal emulator before but after looking at their website, I believe that Kermit 95's feature set should address my needs. The features such as: * Copy/paste, print, searching, and bookmarks in the scrollback buffer * Host-directed and local printing * Versatile printer control, including bidirectional printers and built-in Text/PostScript conversion seem to align with my requirements. I also explored E-Kermit (Kermit for Embedding) since we were asked if there was an emulator that could perform these functions in an embedded environment. However, based on what it does not do, it doesn't seem to be the solution I was hoping for. Regarding the purely Linux/Unix C-Kermit, it appears to be less feature-rich compared to Kermit 95, so it may not be the best fit for my requirements. >> At this point, I don't think you're talking to the right mailing list. >> We're just Debian users. >> If you need new features to be added to an existing Free terminal >> emulator, or even to have a whole new one developed from the ground up, >> this is not the mailing list for that. My initial goal was to find an equivalent of a proprietary emulator for Linux, particularly on our preferred Debian platform. I completely agree that this mailing list is not the place to discuss adding features to an emulator or creating a new one from scratch. >> Find the project that comes >> closest to your needs, and talk to the developers of that project. I also agree that for the terminal emulator I want to enhance, I should locate the project and directly engage with their team. This is precisely what i'm trying to do with the PuTTY team. In any case, the Debian community through the constructive exchange has been tremendously helpful and beneficial in my search. Regards, Thierry
Re: Thunderbird filters
On 1/12/24 18:17, gene heskett wrote: On 1/12/24 15:58, David Christensen wrote: Go to Thunderbird -> Edit -> Account Settings -> ghesk...@shentel.net -> Server Settings. What is the value of the field "Server Type"? IMAP MAIL Server Okay. Please run the following commands and post your console session: 2024-01-12 11:49:46 root@taz ~ # cat /etc/debian_version ; uname -a 12.4 Linux coyote 6.1.0-17-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux Okay. 2024-01-12 11:49:56 root@taz ~ # dpkg-query -W thunderbird thunderbird 1:115.6.0-1~deb12u1 Okay. Searching for the Thunderbird message filter configuration files on my computer: 2024-01-12 12:31:57 dpchrist@taz ~ $ find .thunderbird/dpchrist -iname '*filter*' .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat I have no such directory structure where subbing my id for dpchrist might hide: gene@coyote:~/.thunderbird$ ls 'Crash Reports' f37v8icg.default-default installs.ini 'Pending Pings' profiles.ini twpgj5qd.default Use find(1) instead of ls(1): $ find . -xdev -iname '*filter*' However, I do have in my home dir, an mbox file dated the 7th: Which may result in a clue about my raid10, its msgs from SMARTCTL running as root to me I've never rx'd containing warnings about /dev/sde which is part of that raid10 that is the systems /home directory. So I'll take a break here and go investigate that. It does lead to another question, how do I incorporate that into tbird so I get important status msgs from root?. I have the same need for both my Debian and FreeBSD machines. Please post the contents of your Thunderbird message filter configuration files. Redact if you must, but understand that we cannot debug what we cannot see. Appreciated David. If it happens again I will do as much of the above as I can, It does seem as if my input sorting filters are working noticeably better now. This is an imap account, aliased to mail2world by my isp. I hve increased the period of the savr's whn editing a long reply, from 5 minutes to ten, but hve made no other changes. How ever t-bird has so many hot keys that pop up some config page as I'm typing what looks like a legit sentence that I may have commanded something by continuing to type after the popup shows up as it steals the focus when it does. I wish there was some way to disable that crap until I actually want to do some config stuff. Edit -> Settings does not seem to offer a way to turn off hot keys (?). All I can suggest is that you slow down and concentrate on your fingers. Typed the above before I noted the mbox file. Thanks David. New thread when I find out whats wrong. Take care, stat warm, dry and well. Cheers, Gene Heskett. Same to you. :-) David
Re: Virtualization
On 1/13/24 16:54, Chip Snuth wrote: Thank you for your kind words on encouragement,. I fully intend to stick around this list as well as becomming more active on the debian users forums. I choose to use virtualbox because I can spin up multiple instances of Debian inorder to not only help the Debian development team but also to help fellow users debug there issues and or solve their issues. Thanks, Chip Welcome aboard. :-) To get the best results from this mailing list, please read the FAQ: https://lists.debian.org/debian-user/2024/01/msg3.html If you have any further questions about Debian, please start a new thread by creating a new e-mail message and sending it to this list. If you think you can add useful information to a thread, please "Reply to List". I typically do not cc the author, unless they request it. David
Re: 512e vs 4K sector confusion
On Sun, Jan 14, 2024 at 08:01:52AM +, Andy Smith wrote: > If necessary and if there is a way, I *can* nuke off the target > machine's "foo" volume group and recreate the RAID array if I have > to make it 512e format. But obviously I'd like some way to move this > disk image and have it still work without having to meddle inside it > much — it is a VM disk. I think I may be able to use hdparm to reformat these Ultrastar DCs from 4kn to 512e… hdparm --set-sector-size 512 --please-destroy-my-drive /dev/sdX https://wiki.archlinux.org/title/Advanced_Format#Advanced_Format_hard_disk_drives It is okay to destroy the drive contents as there's nothing working on there yet given this initial failure. I think that is the only way this is going to work without mounting filesystems both sides and using an fs-aware tool like tar|ssh or rsync… which I don't want to do. Thoughts? Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
removing gdb-minimal removed plasma-desktop?
Short version: "apt remove gdb-minimal" seems to have also removed plasma-desktop + a bunch of related packages. Curious if there are any good debugging tips for figuring out what happened here. Or maybe I'm missing something obvious about how apt works, and this is expected behavior? Yesterday, I was trying to use gdb, and realized I had gdb-minimal installed instead of the regular gdb package. To fix this, I first ran "apt remove gdb-minimal". My assumption was that I then would have to run "apt install gdb". But turns out that invoking "gdb" after running "apt remove gdb-minimal", I had the full version of gdb installed. I didn't think more about it, went on using gdb and later shut down the computer. When I booted it today, a different display manager than what I usually have was shown. Switching to a different pseudoterminal and checking "/var/log/apt/history.log" showed that when I had removed gdb-minimal, for some reason plasma-desktop and some other packages had also been removed. This is the entry I saw: Start-Date: 2024-01-13 15:52:49 Commandline: apt remove gdb-minimal Requested-By: morten (1000) Install: gdb:amd64 (13.1-3, automatic), libsource-highlight-common:amd64 (3.1.9-4.2, automatic), libboost-regex1.74.0:amd64 (1.74.0+ds1-21, automatic), libc6-dbg:amd64 (2.36-9+deb12u3, automatic), libbabeltrace1:amd64 (1.5.11-1+b2, automatic), libsource-highlight4v5:amd64 (3.1.9-4.2+b3, automatic) Remove: kinfocenter:amd64 (4:5.27.5-2), plasma-workspace:amd64 (4:5.27.5-2+deb12u1), plasma-widgets-addons:amd64 (4:5.27.5-2), plasma-workspace-wayland:amd64 (4:5.27.5-2+deb12u1), sddm-theme-breeze:amd64 (4:5.27.5-2+deb12u1), sddm-theme-debian-breeze:amd64 (4:5.27.5-2+deb12u1), gdb-minimal:amd64 (13.1-3), kde-plasma-desktop:amd64 (5:142), plasma-desktop:amd64 (4:5.27.5-2) End-Date: 2024-01-13 15:52:52 (Looks like this is where regular gdb got installed too, so I didn't actually have it, it just got autoinstalled when I removed gdb-minimal?) (Also, probably this info got printed when I ran "apt remove gdb-minimal", and I was not paying attention.) To fix it, I ran this command and rebooted with "systemctl reboot", which seems to have worked fine. Now I'm back in the expected desktop environment. apt install kinfocenter plasma-workspace plasma-widgets-addons plasma-workspace-wayland sddm-theme-breeze sddm-theme-debian-breeze kde-plasma-desktop plasma-desktop Looking back in history.log, the only other references to gdb-minimal and plasma-desktop I could find was near the top of the file (15th entry): Start-Date: 2024-01-08 06:25:16 Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -q -y -o APT::Install-Recommends=true -o APT::Get::AutomaticRemove=true -o Acquire::Retries=3 install task-kde-desktop bind9-dnsutils dbus systemd-timesyncd apt-listchanges reportbug netcat-traditional debian-faq python3-reportbug man-db ncurses-term bash-completion bind9-host groff-base mime-support manpages bzip2 inetutils-telnet doc-debian krb5-locales lsof ucf wget libnss-systemd ca-certificates gettext-base perl wamerican openssh-client xz-utils traceroute file liblockfile-bin libpam-systemd media-types task-english task-desktop task-ssh-server Install: ... I've cut off the "Install :" part, because it continues for more than a screen. It contains both the kde-packages which were gone from my system, and gdb-minimal. I assume that this is from when I ran the debian installer on monday (fresh install). I appreciate any input, thanks in advance.
512e vs 4K sector confusion
Hi, I've got a disk image that sits on top of an LVM logical volume that is on top of an mdadm RAID-1 that is on top of a pair of: Device Model: Samsung SSD 870 EVO 4TB Sector Size: 512 bytes logical/physical so let';s say that is at /dev/foo/disk_image (where /dev/foo is the name of the LVM VG and disk_image is the LV) So, # fdisk -ul /dev/foo/disk_image Disk /dev/foo/disk_image: 400 GiB, 429496729600 bytes, 838860800 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x14409245 DeviceBoot Start End Sectors Size Id Type /dev/foo_disk_image2048 838858751 838856704 400G 83 Linux So it's a 400G disk image with an MBR and a single partition, right? Now, I dd that disk image across the network to another machine which has a similar setup, except here the "foo" volume group is on a pair of Device Model: HGST HUS726T6TALN6L4 Sector Size: 4096 bytes logical/physical Now, after the disk_image has arrived, it looks very odd. fdisk thinks it is 8 times bigger than it really is, and thinks it has 4K sectors. I can't use "kpartx" to get at the partition inside it, and fsck.ext4 doesn't like its first partition at all. Is there any way to make this work? If necessary and if there is a way, I *can* nuke off the target machine's "foo" volume group and recreate the RAID array if I have to make it 512e format. But obviously I'd like some way to move this disk image and have it still work without having to meddle inside it much — it is a VM disk. Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting