=== vlm_ is now known as vlm === Guest80556 is now known as caribou [10:51] Hello. I'm trying to install 20.04 on a old hp dc7800 machine. I have a issue relating using of ahrdware RAID. I defined that RAID1 with the BIOS Intel Matrix Storage Manager, but the installer is not able to see it when partitioning etc. Moreover, if I try to install the OS in one of the disks, the installation breaks (there are some complaints [10:51] about finding partitions) [10:52] I've found that I should ensure to use the ubuntu SERVER disks for installation and of course I'm sure that I'm using it [10:52] andy advice? [10:53] Can you drop to a shell and see if the kernel is seeing any drives? [10:57] which files do i need to copy across to move a libvirt/kvm vm from one host to another? [11:00] I've dropped and made a ls /dev and I see devices md, md126, md127, sda and sdb [11:00] and also with dmesg I see at least it see the drives [11:01] and explicitely, some lines refer to md/raid1_md126 active with 2 out of 2 mirrors and many lines more [11:03] with fdisk -l it shows /dev/sda, /dev/sdb and /dev/md126 [11:05] ducasse: Depends on your setup. [11:05] antaresgades: And you don't see those in the server installer? [11:05] ducasse: Are you using qcow based files or lvm volumes or something for your vms? [11:06] lordievader: qcow [11:08] lordievader: That's the issue. I'm offered the options USE an ENTIRE DISK in "guided storage configuration" and no RAID is present. And I I choose "Custom storage layout" , the two physical devices are present but no RAID. [11:08] ducasse: In that case you want to transfer the qcow file and the xml definition of the VM. Import the xml definition on the other end. Adjust the config to reflect the new path to the qcow file. [11:08] lordievader: by the way, the installer version is 21.01.2 [11:09] antaresgades: What I remember from my last Ubuntu server install (mind you years back) was that there was no support for md-raid/lvm in the 'normal' image, but there was in the alternate server image. [11:09] lordievader: where are the xml files stored by default? [11:10] It could be that there, still, is no support for md/lvm in the normal image. (Don't ask why not, beats me) [11:10] I will try then. But maybe the right question here is: Would I take any advantage from BIOS RAID over software RAID? Do you have any experience on this? Maybe it is not worth the pain [11:12] ducasse: `/var/lib/libvirt` probably, but you rather want to use the `virsh dumpxml` command. [11:12] antaresgades: Hardware raid is faster (but has downsides). Software raid is more flexible (especially if you use LVM). [11:12] k, thanks [11:13] do i use it to export the qcow too? [11:14] No, that is just to export the definition/config of the VM. Not the disk itself. [11:18] right, got it [11:21] lordievader: do i import the xml with virsh too? [11:24] Yes [11:25] lordievader: Taking into account that I'm in a hurry with this... I'll dive into software RAID and see what happens;)  However, I've read that a recommended setup is having a software RAID and LVM on top. Is it possible to achieve with two diffffrente ccapacity (250 vs 500 gb) disks? [11:26] Wait a minute, you said md drives right? That sounds like software raid already [11:42] antaresgades: uses mdadm to create raids and then put lvm on top and then filesystems on lv's. mixing disks with different sizes is a bit trickyer, since a raidset can only consist of similar disk sizes. but if you must, you can partition the larger drives and use those partitions with the smaller drives and then add another raid with the leftover partitions. then use lvm on top to merge it all [11:43] together. it's a bit messy, but it works [11:45] lordievader: for what I've reading, it looks like BIOS RAID are more or less like a software at the end. Maybe tht's why is seen tht way by the installer [11:46] RoyK: Yes it looks like a little mess. However, I've found here a guide for creating RAID with the installer with 20.04. At least I'm able to begin to the installation, see what happens [11:46] https://askubuntu.com/questions/1234949/install-ubuntu-20-04-focal-fossa-with-raid-1-on-two-devices [11:47] But is a mess... all this happens when you must assembly a frankenstein savenging old computers from one day to the next :DD [11:52] antaresgades: I'd just use lvm, also for the raids. LVM is using md-raid for raids anyways. [11:52] LVM allows you to specify per logical volume if you want it in raid, and what kind of raid. [11:53] I'll give a try then [13:21] oh - he left [16:47] cpaelzer: i'm trying to figure out how to set Ubuntu circle of friend in https://uefi.org/specs/ACPI/6.4/05_ACPI_Software_Programming_Model/ACPI_Software_Programming_Model.html#boot-graphics-resource-table-bgrt [16:47] so far i don't see anything in qemu [16:47] and i think it is possible in EDK2 build. But I don't see a nice way of doing it, apart from like replacing the tianocore stock image. [16:49] any ideas on how to make edk2 build to use Ubuntu logo by default? === misuto2 is now known as misuto [18:46] question, I just frozzed my self out of my server [18:46] is there a way to get into it? [18:49] terminal ? [18:49] you cant ssh in is what you mean ? === ijohnson is now known as ijohnson|lunch [18:49] no I can't [18:50] So...terminal it is. Is this a VM ? [18:50] No [18:50] I am going to go and restart it [18:50] Gluck [18:53] How, if you dont have access ? [18:54] I have the physical server [18:54] but I can't even loggin via keyboard === guillaumedsde01 is now known as guillaumedsde0 === Guest19629 is now known as MIF === lifeless_ is now known as lifeless === ijohnson|lunch is now known as ijohnson [20:29] hello folks, i'm trying to get cifs multiuser working today - so far everything works correctly if i SSH into the host as a user, then add the password manually using cifscreds - i'm following this: https://serverfault.com/questions/392619/how-to-map-windows-acl-to-linux-ones-on-a-cifs-share [20:30] things aren't working once i reached step 7 however, which was tying this into PAM to have it automatically add the password to the keyring at login, logs show this - "request-key[40885]: : No matching action" [20:38] MIF, what do you mean you cant log in via keyboard, what happens when you try ? [20:46] /etc/request-key.d/ contains 2 cifs related files provided by the package cifs-utils ; understanding why this doesn't work out of the box is beyond me :( [20:52] daftykins: did you try the note "Before the second line, the existence of a permanent session keyring should be ensured ..." ? [20:54] TJ-: both /etc/pam.d/login and /etc/pam.d/sshd contain this line so i assumed it'd be ok "session optional pam_keyinit.so force revoke" [20:55] daftykins: is it failing for ssh and console logins? [20:56] TJ-: as it's a remote server, the SSH case is the only one relevant to me really - i do see the error i posted twice immediately, but on a user logging in i do see a positive looking line in logs: sshd[40778]: pam_cifscreds(sshd:session): credential key for \\192.168.10.3\username added [21:00] daftykins: that's what I meant - if one works and one doesn't that points to a problem in the failing access (SSH) rather than a failure in your overall configuration [21:00] daftykins: try forcing SSH to use 'required' "session required pam_keyinit.so" [21:02] ok testing [21:03] TJ-: nah, identical output [21:04] daftykins: see "man 8 pam_keyinit" -- try adding the 'debug' option maybe? [21:04] yeah debug is on in order to get the "No matching action" output [21:05] either that or i'm checking for logs in the wrong way, right now i'm just reading the end of "journalctl -xe" [21:05] has the system any other non-default PAM settings added? [21:05] nah, vanilla system otherwise [21:06] I'm wondering if there's another PAM module interferring due to ordering [21:06] unless R-Studio has done anything in order to tie its' logins to it [21:38] TJ-: for fun i created a debian 10 VM and that behaves identically [21:39] fails for ssh but not for console? [21:40] TJ-: no, fails on both [21:44] hmmm, would something like this (with correct UID) give clues? " journalctl -u user@1000.service " [21:45] i sub'd that to be my username and left it as 1000 since that's my UID, do i need to change .service to something else as well? i just got no output at all [21:49] oh my deary me i solved it [21:50] let me test again to confirm [21:53] ok it works on my debian VM logging in at a TTY, but not over SSH [21:56] that's really weird [22:01] daftykins: right, so it's the unique path PAM takes for SSH vs login (console) - compare the options and figure out what ssh is missing! [22:02] btw my mistake before was that i was specifying domain= in the pam.d files but my .smbpass credential file didn't declare the domain, i added that param "domain=IP" and it began working [22:03] TJ-: i've no idea how to do that part :D [22:06] weeeeird now both work on my debian VM