-
Guest363
Hi, is there a way to get native SMB follow symlinks?
-
toasterson
What is a good way to unbusy a dataset that is busy even after a reboot?
-
tsoome
after reboot? that means, you either have it as mountpoint for something or you have smb/nfs share there
-
toasterson
hmmm a snapshot is busy though
-
toasterson
Although the daemon that made the snapshot was still running.
-
toasterson
Let's see if disabling and rebooting now helps
-
toasterson
Hmmmm nope dataset is busy
-
tsoome
lsof/fuser does not tell anything?
-
toasterson
mountpoint is set to none
-
toasterson
can this happen after a zfs receive?
-
tsoome
but receive is not running after reboot?
-
toasterson
no the source dosn't exist since one year now
-
tsoome
mountpoint is set to none?
-
toasterson
yep
-
toasterson
it's a dataset created during a zrepl backup and I saw similar things on linux
-
tsoome
but it is still mounted after reboot?!
-
toasterson
no i'ts not mounted
-
tsoome
ou, you want to destroy it but that fails?
-
toasterson
yes
-
tsoome
if you run truss zfs destroy, what error is reported there?
-
toasterson
ioctl(6, ZFS_IOC_DESTROY_SNAPS, 0x7FFFBFFEAB10) Err#16 EBUSY
-
toasterson
ioctl(3, ZFS_IOC_SNAPSHOT_LIST_NEXT, 0x7FFFBFFE8C10) Err#3 ESRCH
-
toasterson
ioctl(3, ZFS_IOC_DATASET_LIST_NEXT, 0x7FFFBFFE9EB0) Err#12 ENOMEM
-
tsoome
snapshot is busy? is there clone created from that snapshot?
-
toasterson
-
toasterson
tsoome: Not that I am aware of but would need to see if that exists
-
tsoome
zfs get origin
-
toasterson
Always set to - on all datasets created by zrepl
-
tsoome
hm.
-
tsoome
ok, looking on zfs_ioc_destroy_snaps(), it can be either zfs_unmount_snap() or dsl_destroy_snapshots_nvl() returning that error
-
tsoome
so you would need to dtrace those to see which one is returning EBUSY.
-
toasterson
Can you give me a oneliner to do that?
-
tsoome
im not really sure if they return errno code or set errno and return generic error, but something like sudo dtrace -n ':zfs_unmount_snap:return {print arg1; } :dsl_destroy_snapshots_nvl:return {print arg1; } '
-
toasterson
Close I think syntax error near "arg1"
-
tsoome
you probably need print(arg1); :D
-
tsoome
I mostly use printf, so I always forgot how the print was to be used:D
-
toasterson
:D
-
toasterson
now I get returns
-
tsoome
forget*
-
toasterson
dtrace: description ':zfs_unmount_snap:return ' matched 2 probes... (full message at <
libera.ems.host/_matrix/media/v3/do…cc20d49771a28f312b33e729546c279ed22>)
-
toasterson
is there a way to make a user property that cannot be deleted?
-
tsoome
so, 0x10 is 16, right? #define EBUSY 16
-
tsoome
no, properties should not be able to hold it busy
-
toasterson
Yeah so what does the nvl do? Is that the properties list only or some sort of holds?
-
tsoome
busy means its either open (mounted) or there is some task running on that dataset
-
tsoome
ou, they run built in lua code to destroy the snapshots...
-
tsoome
dsl_destroy_snapshots_nvl() is in dsl_destroy.c
-
toasterson
Aha
-
toasterson
it was a zfs hold
-
tsoome
ha, indeed.
-
tsoome
and it was listed in zpool history too?
-
toasterson
I did not know about this history that is good to know
-
tsoome
somehow it does not pop up as a first thing to check...
-
toasterson
it is also gianourmous due to zrepl being zrepl
-
toasterson
And I am not sorry for this oneliner :) for snap in $(zfs list -H -o name -p -t snapshot -r rpool/backups); do for hold in $(zfs holds -H -r $snap | awk '{print $2}'); do zfs release -r $hold $snap;done;done
-
tsoome
:)
-
hms_rorqual
Hi all, this is my first time here, and I'd like to get some basic information about some Illumos Distros, such as OmniOS and Open Indiana.
-
jclulow
hms_rorqual: The websites are pretty good generally; e.g.,
omnios.org
-
hms_rorqual
jclulow, good night.I installed Open Indiana in virtual-machine (QEMU/KVM - virt-manager), but quite disappointed because of missing audio driver for this installation option. So, to study OpenZFSm Dtrace and other Illumos technology, I intend to install OmniOS again.
-
hms_rorqual
I don't use virtual-box or vmware. Is that possible configure completely OmniOS installed in virtual-machine based on libvirt ?
-
hms_rorqual
I've already installed OmniOS before in QEMU/KVM, but update didn't work.
-
jclulow
hms_rorqual: It is possible. Depending on your QEMU version, though, and which firmware type you use in the guest, you might hit
illumos.org/issues/14526
-
fenix
→
BUG 14526: illumos guest hangs on reboot under QEMU 6.0.0 (New)
-
jclulow
I don't know the root cause but it is at minimum a bug on the QEMU side sadly
-
jclulow
Which I imagine we'll have to figure out how to work around. I haven't had time though because I don't use QEMU that much myself.
-
hms_rorqual
Thanks for information fenix.
-
hms_rorqual
jclulow, well, I don't know my qemu version - only know virt-manager framework here is 3.2.0
-
hms_rorqual
I intend to install Open Indiana in real hardware. But first of all, I'd like to test it in vm. Unfortunately, according this situation it will not be possible
-
hms_rorqual
So, if it's not possible using Open Indiana as Desktop environment (it's installed, but without sound), the other option is forget about it and install OmniOS, that doesn't use GUI
-
hms_rorqual
I asked to Open Indiana people on their IRC Channel if I could help on the Project, despite the fact I don't have skills in C programming yet.
-
hms_rorqual
jclulow, do you intend to work on this ? I will start studying C in order to provide future help to OI and Illumos project.
-
hms_rorqual
I installed and tested OpenSXCE about 8 years ago. Does Tribblix work fine in virt-manager ?
-
gitomat
[illumos-gate] 15621 update missing static topo dtd definition -- Robert Mustacchi <rm⊙fo>
-
gitomat
[illumos-gate] 15530 Cleanup libtopo warning gags -- Robert Mustacchi <rm⊙fo>
-
gitomat
[illumos-gate] 15622 topo_mod_dprintf badly needs warnings -- Robert Mustacchi <rm⊙fo>