-
Armbian images don't boot on my 2 M5
With a new question: What is the biggest u-sd card the bpi-m5 can boot from and use? I have located and started to copy to the 32G card I'm booted from now but recovering the 3dp.stf dir from a backup image will probably need at least a 64G card, maybe even a 128G just to contain that data in a place that the openscad AppImage can find and use it. Thank you Igor.
-
user vs root
- backup server
I have spent the summer in the shop, getting dialysis port installed when my kidneys succumed to the years, 92 of them. That machine is now my main machine as I am now in a bedroom at my sons place 10 miles from my place. This device mapper raid6 has run until about a month back when a drive failed. Due to the volatility of drive discovery, it was very difficult to locate the drive out of 5 that failed which I bought two more of the same brand but found then to be slightly more actual capacity. So I used the new ones to make rsync backups of the new 4 drive raid6. So I have 2 copy's of 20 some years of work, nearly 600G's on 2 4T drives. Determined to recreate the raid6 that mdadm can manage, it knows nothing of device mapper created raids. Determined to redo it with mdadm I have attempted to follow a script with edits to cancel the volatility of drive assignments. mdadm requires all partitions used to be the same exact size so I first made the newer drives first partitions to be the ext size of the older 4, and installed gpt tables so they alll looked alike. Then I found mdadm wants raw drives, no filesystems installed. I found wipefs was not the tool so I wound up doing about 50 megs of /dev/zero to each drive to clear the ext4 that gparted installed when I was building the one partition on each drive. Dot that all done & started the mdadm --create process on 20T of drives, which should give around 12T of raid6. 27 hours later, it errored out, another drive had puked. I tore it down by unplugging all and rebooted. Plugging in each drive by itself and rebooting showed all drives good. Check in /dev amd got rid of anything md related, removed /etc/lcm just for insurance,plugged all of them back in & rebooted. Used dd to clear the first 50 mags of each partition, so the mdadm theoretically was starting with 5 raw 3.6T partitions.. But, it won't, even with a --force option run,claiming /dev/md0 already exists. root@bananapim5:~# time mdadm --create --verbose --force /dev/md0 --level=6 --raid-devices=5 /dev/sd[cdefg]1 To optimize recovery speed, it is recommended to enable write-intent bitmap, do you want to enable it now? [y/N]? n mdadm: layout defaults to left-symmetric mdadm: layout defaults to left-symmetric mdadm: chunk size defaults to 512K mdadm: size set to 3906838528K mdadm: Fail to create md0 when using /sys/module/md_mod/parameters/new_array, fallback to creation via node mdadm: /dev/md0 is already in use. real 0m5.864s user 0m0.000s sys 0m0.014s root@bananapim5:~# /dev/sda or /dev/sda1 doesn't exist, /dev/md0 does not exist. /dev/sdb, sdb1 and sdb2 exist, on a toshiba 1T lappy drive, so that explains the [cdefg] in the mdadm --create run. The real time is me putting the keyboard where I can confirm the no it asks for. After the n is entered, the exit is only milliseconds and it never touches the drives. And /dev/md0 still does not exist. I'm going to change that line to make md1 just for S&G. Might be back later with results. Reply if you think I'm still doing it wrong. Cheers, Gene.- building a big raid6, mdadm or device mapper?
I have, on a bpi-m5 made what was going to be a backup machine out of two usb3.1 7 port self powered hubs plugged into the USB ports on the bpi-m5, a 100 watt 5 volt supply, and 6 drives, a 1T toshiba partitions as around 875G for gp use, like t-birds local folders and about 54G as swap, then 5 of the 4T SP SSD's, using at first the GFS2 file system, mainly because RH's tut uses it. Because the write currents tripped off the hubs, I had to use two of those hubs to spread the load. All these 6 drives are on startech usb3.1 to sata-iii adapter cables, 3 plugged into each hub. A usb3.1 wifi radio from panda at times, but not at the instant while I work on this. I made a raid6 out of the 5 4T drives for about 12T of storage, and backed up the user 1000 directories of my 8 machine home net several times, using about 4% of the raid6. It ran about 14 months, then a drive failed but the raid6 still worked on 4 drives. I bought another pair of the drives and will have the cables by the end of the present week. I had one more cable on hand, so I used it to make two copies on the 2 new drives, one of which I have since reformatted to a single full drive ext4 partition I'll use to replace the failed drive. Finding which drive had failed was a MAJOR PITA when linux finds the drives in random order. The one T toshiba lappy drive is in the mddle of the sda,sdb,sdc,sdd,sde,sdf listing in /dev in each powerdown reboot. The powerdown is the only way to reset a shutdown hub. The bpi-m5 with only the Toshiba drive plugged in, draws around 12 watts acc my kill-a-watt. With the cage fan on a voltage booster, nothing shows over 40C and is silent. I've now torn down that raid6, and have been advised that gfs2 isn't the best choice, ext4 is, so those 5 drives are now labeled by both GPT names and partition names so I can hopefully determine which drive has failed by the lack of those names. All are presently plugged in and I have a row of icons down the left edge of an xfce4 workspace. However, mdadm has never seen this raid6 from any angle as it was apparently setup originally (I'm now 92 and spent the past summer in the shop having dialysis ports installed for 3x a week sessions tied to a machine) with device mapper tools, so each piece seen in a /dev listing was named dm-# where # is 0 to 10 for a 5 drive setup. Mounted by using /dev/vg0-myraid in the /etc/fstab file to identify it. This explains why mdadm cannot see this raid6. If you read the Ubuntu mdadm man page, it says right in the first 20 lines that mdadm is on its way out, mentioning device mapper is the future way. Either manpage is over 1k lines of text and give few examples, not enough to be a setup guide I can easily grok. I am at the point where I'm ready to build this raid6 again. Which set of tools should I use? device mapper or mdadm? A friend's fedora manpage does NOT say what the ubuntu manpage says! Either way I need a setup tutorial. I think I followed a stackoverflow howto 2 years ago but won't swear to that. I can't find it now. My lack of proper google-foo, probably. Somebody toss me an oar, please. Cheers, Gene1934- bananapi-m5 vs builtin ram
- bananapi-m5 vs builtin ram
I've had a power failure so it has been rebooted. Apparently there is something at the exit of its making a new initramfs causing a lockup of the shell it ran in. I now have it netting via a plugged in radio, but wifi is still on the 2.4GHZ band for both ipv4 and ipv6. There is a CVE against ipv4. What is the status of that fix? uname -r: 6.18.44-current-meson64 Thank you Igor, Gene- user vs root
ANAICT it only shuts down the HDMI output, by first an auto-logout, leaving that screen up for maybe 15 minutes, then shuts down the HDMI leaving it headless, but if I leave t-bird running when I go to sleep, it continues to suck in emails from the lists I'm subbed to. I wake up, wiggle the mouse to wake up the HDMI, and re-select that input on the tv with its remote, log back in and things are back to normal with 5 to 15 new emails. I replied to this once, but cannot find it the next morning. Diff thread maybe? One thing that would help forum use since you don't have a mailing list, is a button to find ones own posts quickly. They are being shown to me in the right hand panel in firefox now but its taken may clicks to achieve from a cold login. You are in what could be troubled real estate, please stay safe & well.- user vs root
one of the things the user cannot do from the xfce settings menu is disable the no-activity shut downs, I assume because the user has no permissions to mess with the defaults. So while I have the user set to 0 time in the power management screens, it continues to do a shutdow of the HDMI output in about 20 minutes. Since this only draws 15.5 watts, and the shutdown causes the 42" vizio tv to go back to the tv mode. So where and what,, I assume in the /etc directory, should I edit as root to stop this??? Thanks, Gene- where is the sound, 26.8.1 is totally quiet.
IDK what is different, but this is around the 10th install of 26.08.1, and suddenly sound is working. Now despite turning off all the timeouts, it still blanks the hdmi output, which in this case goes to a 42" Visio TV. So anything left running, like T-Bird is running headless as the visio tv reverts to network tv after I've gone to bed, blowing me back out of bed with the tv sound, so how do I turn that off, I want to stay logged in forever. Thank you Werner. Cheers, Gene- where is the sound, 26.8.1 is totally quiet.
- bananapi-m5 vs builtin ram
I managed to destroy the 2404 u0-sd so I'm back on the 26.08 u-sd card, all upto date except 12 pkgs. So I thought it ought to be safe, but synaptic seems to have dome something to get stuck for around 2 hours now, supposedly generating a new initramfs for 6.18.44. The machine is still alive, I expect to be able to send this post with it stuck. The u-sd is a 32G & reasonably fast for smaller files. I've run htop w/o finding anything obviously related to building a new boot file. The log is uninformative. Send it a kill and the prompt is back instantly. Has anyone a clue?- bananapi-m5 vs builtin ram
- bananapi-m5 vs builtin ram
I have built a backup server out of a bpi-m5 I bought a pile of 2 years back. Using two high speed usb3 hubs to spread the load current enough the hub don't shut down. 5 ea 4T SSD's on usb3 to sata cables made an almost 12T raid6 that reads and writes at 600 megabytes/second. But I've now repurposed it to be a general do anything box while I finish out my time on this ball of rock & water. I'm now 92 My instant problem is that the latest 2608 img fails networking, so I've backed up to a noble img, where everything but t-bird runs just fine. 2 problems, 1st being that t-bird has no findable place to modify the mail servers PW, you must blow the whole install away just to try a different PW. tbird is 140.16.0esr (aarch64) from the about screen. Secondary problem is the speed of the u-sd it boots from. My attempts to make tbird use this /raid6 which I as user can use, fails, insisting on creating the local directory tree for local storage on the u-sd. That's redefining slow, so how do I convince T-bird to use this 100x faster storage? This raid6 uses the RH gfs2 file system. For obvious reasons I want also to move the /home/me/Downloads to this raid6. If anybody can help, I'd sure appreciate it. Thanks & Cheers, Gene- networking in bpi-m5 with new 26.03.1 release.
And the email system for is emailing with me erroneos info about bedno report 2x a day, so call off the quard dogs, it been solved without any help from this forum. you've been yelling about dhcp w/out once offering me a single clue as to how I should configure it even when I showed you the results. FYI I have been doing odd things with little machines for a lot longer that most of you have been breathing on your own starting with an rca 1802 in 1978. Do any of you have a track record that long? That bit of production tooling for a medium market tv station was still in use 20+ times a day when the station burned to the ground in the late 90's. I prefer to call it efficiency since most production equipment at a tv station is so heavily used & long since worn out before the IRS lets them amortize the cost. I am also a CET, a test 95% of the EE's out there cannot pass. I call a backup server that draws 19 watts at full song in the middle of backing up 8 machines here, efficient. Took me a while to figure it out the hardware and around $1500 in hardware. But it works as fast as my cat6 wired local net can run.- networking in bpi-m5 with new 26.03.1 release.
I've wasted 2 days now, screwing around trying to make netplan work and not getting anywhere. So I've taken a screenshot of what works on my e5p. I will nuke the 25-04 image I have and dl a fresh one but to test that idea, I'll first get the card from the e5p and see if it works in this one. But first I'll dl an image of the e5p card. And I may have a clue dd died w/o an error at 64G of a 128G card. So now that image is being written to another 128G u-card to see if it becomes an e5p when booted and the network works in which case i'll edit the hostname and see if it is amanda when repowered again. It was pings yahoo.com like it has a license. At 192.168.71.122 at which point I edit the netplan to put it back at amanda's address of 192.168.71.2. If that works, and it did, install gfs2 & 57 deps and mdadm & see if the /raid6 appears on a pd reboot. It did as /dev/vg0/myraid so while this has been a looooong slog, it all works even if its not an approved method. That img has quite a pile of gcode as it been a 3d printer for over a year. burned up a hot end and 20+ kg of filament. All that can go. And its gone quite nicely so far, got the /raid6 stuff installed and its been making a new 6.18 initramdisk img for about 20 minutes. Assuming its found the raid6 and has to fsck 11.2 Tb it might take a while. The busy circle is still rotating. But its still rotating with a new msg, something about permissions despite me being root to run synaptic. But that did NOT prevent it from rebooting from a powerdown. Or preventing me from mounting the /raid6 after creating its mount point. And recovering from that raid6, the rsync based backup driver script that fills it. I'm logged into it from here and here is a df report: gene@amanda:~$ df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 385288 6424 378864 2% /run /dev/mmcblk0p1 60102260 12713940 46688204 22% / tmpfs 1926424 0 1926424 0% /dev/shm tmpfs 5120 0 5120 0% /run/lock tmpfs 1926424 68 1926356 1% /tmp /dev/zram1 47960 1524 42852 4% /var/log tmpfs 385284 92 385192 1% /run/user/1000 /dev/mapper/vg0-myraid 11272913680 533576604 10739337076 5% /raid6 So it even thinks /dev/mmcblk01 is a 60G drive, apparently because the one I copied was a 64G, not a 128G like its label says. problem solved but I still haven't the foggiest what the real problem was, only that I burned up two weeks of my remaining life at 91 years old already. Now I need the fstab line that automounts it during the bootup. - backup server
gene1934
Members
-
Joined
-
Last visited