-
ivy
wavefunction: yeah, i was hoping to avoid wasting 10% of the disk on this :-)
-
demido
so to gpt partition and zpool my external usb drives, i got the commands: gpart create -s GPT <devid0>, gpart add -l mylabel0 -t freebsd-zfs -a 1M <devid0>, gpart create -s GPT <devid1>, gpart add -l mylabel1 -t freebsd-zfs -a 1M <devid1>, zpool create mirror mylabel0 mylabel1 ; i was running that by #zfs and a guy said the labels need to be
-
demido
gpt/mylabel0, not mylabel0. that right? i never put "gpt/" on a label before so im confused
-
demido
he said "fbsd puts gpt labeled devices in /dev/gpt"
-
ivy
demido: the label itself should be "foo", the device node is /dev/gpt/foo, you usually include "gpt/" when using the device (e.g. to create a zpool)
-
ivy
although if it works without "gpt/" then it's fine, zfs doesn't care about the path you used to create the pool when importing it
-
demido
OH! maybe that's what he meant. so: gpart create -s GPT <devid0>, gpart add -l mylabel0 -t freebsd-zfs -a 1M <devid0>, gpart create -s GPT <devid1>, gpart add -l mylabel1 -t freebsd-zfs -a 1M <devid1>, zpool create mirror gpt/mylabel0 gpt/mylabel1 ; right?
-
demido
ah hm
-
ivy
that's how i would do it, yes
-
ivy
(well, i think maybe it saves the /dev/gpt path in the cache, but if the cache is missing it'll scan all disks to find the pool, it's not like you won't be able to import it if the path changes)
-
demido
oh dang i left out part of my zpool create command! gpart create -s GPT <devid0>, gpart add -l mylabel0 -t freebsd-zfs -a 1M <devid0>, gpart create -s GPT <devid1>, gpart add -l mylabel1 -t freebsd-zfs -a 1M <devid1>, zpool create mylabel mirror gpt/mylabel0 gpt/mylabel1 ; zpool import mylabel
-
demido
basic idea is use gpt label with 0+ disk number, then use label without 0+ for the zfs pool name
-
ivy
i mean, if it works, then it's fine
-
demido
is there anything better i can do to it before i test?
-
ivy
zfs uses its own internal ids to identify pools and disks, so you don't need to fret too much about what the OS calls the disks
-
ivy
you might want to make sure ashift is set correctly for 4K sectors, or put that in the zpool create command
-
demido
how do i figure out if i should do that or not?
-
ivy
you should always do it, there's no harm if the disk doesn't actually have 4k sectors, but you can't change it later if you need to replace a disk
-
demido
how do i set it?
-
ivy
in sysctl: vfs.zfs.min_auto_ashift=12
-
demido
ah ya i got 12
-
demido
ty
-
waffles
goog morning
-
Everything
good
-
cybercrypto
gm
-
al1r4d
"fetching metadata signature for 14.3-RELEASE from update1.freebsd.org... failed." how to fix it?
-
ivy
al1r4d: wait ~10 days for 14.3 to be released, i imagine
-
al1r4d
ah okay, thank you!
-
amadaluzia
good day, currently writing a port of tree-sitter-cli and am currently dealing with an issue related to the virtual manifest in the root of the repository. my intention is to try and cd into the cli directory to cargo install from there. any ideas?
-
amadaluzia
give me a bit to get my current makefile
-
amadaluzia
-
amadaluzia
feel free to use the opportunities to provide hints about any mistakes i should treak if i were to ever try and upstream said port (that's what i'm planning to do right now, actually.)
-
ek
amadaluzia: I'd suggest hopping into the #FreeBSD-Ports channel and presenting there. Some pretty darn smart folks in there that can help with just about anything.
-
amadaluzia
ek: thanks for letting me know
-
amadaluzia
i'll join there
-
ek
Sure thing.
-
cpet
amadaluzia: porters handbook cargo/rust section or some post-install: magic
-
mewt
27
-
mewt
ugh
-
Hecate_
irssi fail detected!
-
Hecate
'sup leah2 o/
-
leah2
hello Hecate
-
mason
This is a little funny. FreeBSD 14.2's freebsd-update will suggest that a release is unsupported if there's no network connection.
-
vkarlsen
No supporters can be reached
-
mason
True.
-
mason
I've been going over this with students lately. "Have your error messages say what you actually mean or want."
-
ek
Error messages with useful information sure are nice.
-
amadaluzia
hello, currently trying to get my microphone working but i have come empty handed(realtek alc256, msi katana gf76 12ue iirc, freebsd 14.2 latest)
-
demido
tsoome #zfs guy said i don't need to set -s to ensure partition ends on a clean 4096 boundary because zfs won't use it anyway. opinion?
-
amadaluzia
i thought it was my webcam that needed to be enabled and i guess the webcam worked (
0x0.st/8Y8I.png) but my mic still doesn't work