10:34:18 hello everyone, I can't update my omnios installation 10:44:51 lem_urist - I'm sure we can help with that. What's happening and what version are you trying to upgrade from and to? 10:45:58 The system seems to fail to create a new boot environment, I think it has to do with a boot archive corruption, but I'm not really knowledgeable about SunOS to be sure 10:46:09 let me send you a privatebin 10:46:34 Ok. I have to step away for 5 minutes then I'll be back. 10:48:16 https://bin.bloat.cat/?24308556f7f850da#HUYVKKRDcHWWggSMAL8zniWiqUD5d87pYCJKy4FxxTnr 10:48:18 No probs 10:51:35 I'm running r151054i btw 10:51:53 trying to update to 54v 10:57:19 I'm back 10:57:21 Could you try: BE_PRINT_ERR=true beadm create backup-09102025 10:58:21 https://bin.bloat.cat/?09c5cddd76a477e8#Ci7WaarWme5fdJUMt9nG7G4Ugo5VXYr4BhdPr7wEjvBP 10:59:53 Well that's really strange. How are you for disk space? Could I have `df -h` and `beadm list -s`? 11:00:11 sure 11:01:04 https://bin.bloat.cat/?5555f577fb89ad0a#AS4MXjPgfmrSamQ8gCK4LHqXC7p8i4gGm1Xm1MDZfxZA 11:03:31 Nothing out of the ordinary there. There are a few orphaned snapshots that we could clean up but that's all. 11:04:05 How about the output of this (will be quite long): truss -flea beadm create backup-09102025 11:04:43 geez, sure it is 11:04:57 okay let me copy it for you 11:05:07 Thanks - you can add `-o ` to put it in a file too if that helps 11:06:58 oh I just redirected all stderr to a file haha 11:06:59 https://bin.bloat.cat/?ab0d6dd5ce7d8d89#9ZkavKZRUfbdkSBPfemeFrG6hne5YnBz8eAz3d3zLugj 11:17:49 Still working my way through that. Does `zfs mount -a` show any errors? 11:18:15 `cannot mount '/rpool': directory is not empty 11:18:23 `cannot mount '/rpool': directory is not empty` 11:19:50 zfs list -o name,mountpoint 11:20:29 https://bin.bloat.cat/?41a2422d0250d829#J2kwwVz6np54FzF9PRg5LDcTpfGUTQfrdQzNJhtDA2qk 11:22:24 df -h /rpool/* 11:22:36 er, sorry: stat /rpool/* 11:23:13 https://bin.bloat.cat/?b61e34f726397019#HT6op1PWWgPa4o3RNu87817GzwUuhWv52xnvtr2JXu54 11:24:34 truss -t stat,mount zfs mount -a 11:25:11 https://bin.bloat.cat/?0915d77a1eda22fd#J44amqxftfGW1iFTrQaHzkUBpJkhSayFwgNcggnDxvni 11:26:35 Ok, last one I think: zfs get all rpool 11:27:04 https://bin.bloat.cat/?25bb13ee447def8b#2vti3qfp5uFpBoBfcxDAjDTPVHYtNBahw61CiJLss19g 11:27:46 Ok, so the fact that your `rpool` dataset is not mounted is the problem - the "mounted no" in there confirms it, but I'm not sure how that could have happened. 11:29:30 Maybe it was me messing up with the filesystem manually, how should it be mounted and how could I get this done? I tried rebooting the system yesterday but had problems shutting down the system. 11:29:33 The easiest way to fix it is going to be in single user mode if you are ok to switch to that. 11:29:40 I can talk you through i 11:29:43 *it 11:30:32 Okay, but I would need to attach an external monitor and peripherals to this machine, let me see how could I do it 11:31:03 Well we could also probably do it by shutting down services, zones and unmounting things which might be easier. 11:32:31 Can I do it through SSH? 11:32:36 Yes 11:33:10 Let's go then, should I run an init command after shutting down services and zones? 11:33:34 No, just stop all the zones and any services (if any) that use datasets under /rpool 11:33:45 You can stop all zones with `svcadm disable -t zones` if that's easier 11:34:49 Your home directory will be the trickiest one to unmount. Can you ssh in directly as root? 11:35:05 Let me install my pubkey real quick for that 11:35:21 Zones are shutted down 11:35:29 Oh, no, that one is probably ok because it mounts at /home. We will see 11:35:51 So now unmount the filesystems one by one that are mounted under /rpool 11:36:05 df -h | grep ' /rpool' 11:36:18 Then: zfs umount rpool/bastion 11:36:19 etc. 11:36:33 If any don't unmount, then look to see what's using them 11:37:24 OK cool 11:37:34 I count 8 of them 11:37:44 They're all umounted 11:38:04 Ok, great, now what's left in `/rpool`? do something like `ls -lR /rpool` 11:39:26 Only rpool/zones/iso, I think that one didn't get umounted 11:39:47 That's mounted under `/zones/iso/` though 11:39:54 So this might be something old 11:40:03 Yup, it is 11:40:09 Ultimately we need to completely clean out everything in /rpool/ 11:40:19 Okay there's only empty directories right now 11:40:27 Should I remove them all? 11:40:43 Yes because they're actually in the root filesystem 11:40:48 and they stopping `rpool` from mounting on `/rpool` 11:40:57 Huh, got it 11:41:21 When that's empty, try `zfs mount -a` again to mount everything again 11:41:34 Okay, clean, now I should try to mount rpool right? 11:41:36 Okay 11:41:54 No errors 11:41:56 and if you get no errors.. try creating a BE again with beadm 11:42:24 Yeah, created successfully 11:43:14 Ok, you should be ok now. It was something about the way the iso dataset was created or moved or... 11:43:18 And no problems with the update either 11:45:08 Thank you very much for your help!!! I'm still relatively new in illumos and I'm having a great time using it as my NAS server, thought I messed up the boot there, thank you very much for your quick response and help :) 11:45:46 You're welcome.