libera/#devuan/ Wednesday, 2023-09-06

testerI've been playing (quite a bit) with suspend to disk and resume.  Something funny has happened though.  During these "re-cyclings," at some point my drives went from being /dev/sda and /dev/sdb to where it is now /dev/sda and /dev/sdd.07:06
testerI understand that can happen sometimes from a boot.07:06
testerThese drives, on a test box, were /dev/sda5, /dev/sdb5, and /dev/md7p4.07:08
testerI have all of my drives in /etc/fstab set up with UUIDs rather than the /dev/mapper or /dev/sd* paths.07:08
testerI have not mucked with these since successfully setting up the suspend/resume business.07:09
testerBut now, I am seeing /dev/sdb5 as one of my swap drives!07:09
testerthe system is humming along nicely, but I find this odd... and probably, kinda... wrong?07:09
testerbut /dev/sda5 does not appear in swapon -s07:10
testerI disabled the two drives whose uuids match to /dev/sda5 and /dev/sdb507:10
testeroh, and one other thing:  The swap partition I am using for hibernate/resume is not either /dev/sd?; I am using that 3rd drive, /dev/md7p407:12
testerIf I swapon -a, I see the /dev/md7p4 swap but I also see the /dev/sdb5 swap (which should not be there, right?)07:13
testerSo I think what is happening, in part at least, is that what used to be /dev/sdb5 is now /dev/sdd5.  And somehow, when the system resumed, after one of my testings, the /dev/sdb drive became /dev/sdd.07:16
testerNow, this IS a test box, and I do put it through some beatings.  But in this case, I'd thin the linux kernel would not even think about a device /dev/sdb* if it has assigned the same drive /dev/sdd now.07:18
testers/thin/think/07:19
testerAnd I admit I may have done something to screw things up somehow.07:20
tester(I'm still a rookie with some of this stuff, though I think I have md raid and even cryptsetup down)07:20
tester"down"--poor choice of words there.  I mean, I understand them now.07:21
testerand LVM also, which I have been using for some time, although I do not use the many flavors of LV's besides the sort of vanilla type.07:21
ted-ioustester: Have you tried rescanning all the scsi busses to see what it does?07:40
ted-iousMaybe that needs to be done whenever you resume.07:40
testerscan fu please?07:44
testerecho "- - -" > /sys/class/scsi_host/host0/scan07:46
tester maybe?07:46
testerbut you mean during the boot process?07:46
testerif it needs to be done, then I would hope the utilities support hibernate and suspend / resume would handle that already.07:47
testerthis is actually the only weirdness I've noticed since starting to muck with the hibernate stuff07:47
YKaeligHello15:04
al1r4dHello15:12

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!