09:41:22 Hi guys, I have a question. I am not able to resize the root (rppol) partion of my Linux KVM OpenIndiana partition. I want to expand the size of the rpool partition to the maximum disk size (I already grown the underlying QEMU QCow iamge) with the "format" utility, but I am not able to do it. The format utility always sees only the old disk size, and won't let me grow the partion size in the partion 09:41:28 menu of "format". I also already looked into gparted, where the new disk size is shown corrctly. If anyone can give adivce, thank you very much! 09:43:07 What I want to do is just: Grpw the rpool / (root) ZFS volume from 50GB to the new disk size of 80GB. 09:43:46 I cannot find any HOWTO on the Internet which tells me a way to do it correctly. 10:03:07 As alternative, can I use this commando: parted /dev/vda resizepart 0 100% under OpenIndiana to grow the partion? I just found this on the internet. But parted -l prints out MSDOS partition, instead of Solaris parition. 10:15:53 No, this does not work. 10:31:46 I found a HOWTO for Solaris how to expand the partition, but OpenIndianas "format" utility is missing the expand commando. 10:32:57 Shall I delete the partion, and re-create it? 10:33:12 I am not sure how to it correctly. 11:46:38 Kernspin what is the partition type on your disk? 12:50:03 tsoome: I already grown the partition by booting from the LIVE CD install media. My current problem, is to update the bootloader. 12:50:56 tsoome: When I issue bootadm install-bootloader -MfvR /mnt it says: Not a BE: ramdisk:a and won't update the bootloader, right from the installation media. 12:51:29 normally it would get updated automatically after pkg update or zpool attach. if you have just grown the disk, there should be no need to update bootloader. 12:52:06 tsoome: It now says: Booting from Hard Disk… and nothing happens, if I try to boot from physical hard disk. 12:52:41 mkay. 12:52:47 do you have rpool imported? 12:53:03 tsoome: On the live media? 12:53:09 yes 12:53:28 zpool import -R /mnt -f rpool Yes 12:54:30 better import with: zpool import -N rpool, then beadm mount /mnt 12:54:45 tsoome: I will do! Just a second. 12:55:47 with -N, nothing from rpool will get mounted and beadm mount can do its job 12:56:52 tsoome: I did that! 12:57:07 tsoome: Shall I now run bootadm again? 12:57:19 tsoome: The command I use is: bootadm install-bootloader -MfvR /mnt 12:59:30 tsoome: Right before that, I issue: beadm mount openindiana-2023:01:17 /mnt 13:04:17 tsoome: Is that correct and shall I proceed? 13:05:05 seems so 13:06:25 tsoome: It says: bootadm: No such BE: /devices/ramdisk:a 13:22:00 tsoome: I did it, I think it worked. I also specified -P rpool. 13:26:30 tsoome: I works! I was able to boot in, and extend the ZFS rpool volume to 80GB. God save, my OI installation is safe. Thank you a lot for your help. 13:46:27 I also want to note that, finally, the reboot process of OI inside my Linux KVM works again. Rebooting the instance works again. Thanks a lot! 14:01:33 I think the solution came with the update I did @ 2023:01:17. 14:26:43 :) 17:10:57 tsoome: I think what makes resizing the root partition hard, is that there is no resize commando in "fdisk" and "format". I have found hints on the Web that the newest Oracle Solaris has a resize option in the partition option in "format". What I did is, I deleted the whole partition inside fdisk, and created a new one. 17:11:35 tsoome: From inside the Live Boot media. 18:29:06 Kernspin better is to use GPT, not MBR+VTOC;) 19:07:27 Yeah if you have a GPT table you can just use the "expand" command in format generally and then "zpool online -e $pool $disk" I believe 19:07:48 You may not even need the expand command if you do the second one I don't remember 19:09:09 And I guess with current bits, automatic expansion should work for rpool now: https://www.illumos.org/issues/14978 19:09:12 → BUG 14978: ZFS autoexpand property should work for root pools (Closed) | https://code.illumos.org/c/illumos-gate/+/2355 19:20:02 tsoome: I tried to install with UEFI and GPT to a Linux KVM virtual machine, but the installation always failed, thus I installed to BIOS again. 19:20:45 BIOS does not exclude GPT, or using GPT does not mean you have to use UEFI. 19:23:59 ah, and since you had to resize solaris2 partition in fdisk, this did break your MBR bootcode and thats why you needed to reinstall boot loader. 19:25:48 tsoome: I did not know how to install to GPT with BIOS. The default install always install to MBR I think. 19:41:26 richlowe: bulk build came back, looks identical to the previous one 21:00:42 Kernspin I believe, the installer is a bit confusing there and probably should reconsider defaults;) 23:57:25 Is that the OpenIndiana installer? 23:57:46 I suspect it could use some tweaking for modern systems