***: ivan-kanis has quit IRC (Remote host closed the connection)
ivan-kanis has joined #arpnetworks
toddf has quit IRC (Ping timeout: 260 seconds)
toddf has joined #arpnetworks
ChanServ sets mode: +o toddf
nesta: morning
***: YesThatTom has joined #arpnetworks
YesThatTom: Anyone around for a FreeBSD question?
nesta: hi YesThatTom
I can try
YesThatTom: I need help with growfs. arpnetworks increased by disk and now i need to grow it. "growfs -N /dev/ad0s1a" says "not enough new space", which says to me I need to bsdlabel it first. Not sure exactly how to do that.
nesta: have you read the bsdlabel man page?
YesThatTom: yes
the thing is... i swear i did this a long time ago but i didn't take notes :-(
***: jlgaddis is now known as Y-U-MAD-MT
Y-U-MAD-MT is now known as jlgaddis
nesta: ;-(
YesThatTom: ah, i found an old email. arpnetworks did it the last time. i found email saying that they'd be taking the VPN down for 20 minutes to do it.
***: YesThatTom has quit IRC (Remote host closed the connection)
nerdd has joined #arpnetworks
nerdd_ has quit IRC (Ping timeout: 260 seconds)
NeoGeo has joined #arpnetworks
NeoGeo has quit IRC (Remote host closed the connection)
NeoGeo has joined #arpnetworks
NeoGeo has quit IRC (Remote host closed the connection)
ivan-kanis has quit IRC (Remote host closed the connection)
ivan-kanis has joined #arpnetworks
HighJinx has quit IRC (Ping timeout: 276 seconds)
milki has quit IRC (Quit: leaving)
milki has joined #arpnetworks
woodbridge has joined #arpnetworks
ivan-kanis has quit IRC (Read error: Operation timed out)
ivan-kanis has joined #arpnetworks
ivan-kanis has quit IRC (Remote host closed the connection)
nesta has quit IRC (Quit: leaving)
woodbridge has quit IRC (Quit: Lost terminal)
HighJinx has joined #arpnetworks
RandalSchwartz: up_the_irons just posted birthday pictures to facebook. :)
up_the_irons: LOL
yup
RandalSchwartz: ran out of space in my zroot pool this morning upgrading neil's machine from 8.1 to 8.2
lost a bit of mail. oops. :(
had to quickly delete about 30 snapshots
got me 10GB free
up_the_irons: ouch
RandalSchwartz: that's the little 20GB machine... his first
he keeps bugging me to get more space on that.
up_the_irons: it's an easy upgrade :)
RandalSchwartz: will zfs just see a bigger space? there's gotta be a procedure for that, I presume.
some things I've seen say just delete the gpart and recreate it
it won't hurt the data
still seems scary :)
on a related note, elastichosts suggests not creating a swap partition at all.
if you don't have enough memory, apparently paging to their disk is ugly
they just recommend buying enough virtual memory
that smells like a recipe for panic though
pilgrimd: of course they recommend the approach that gives them more revenue.
RandalSchwartz: Yeah, I guess 4GB of ram is always going to be more expensive than 4GB of disk
pilgrimd: And if paging to disk on their VMs is problematic, their VM system is badly broken.
Paging to disk is no different than flushing cache to disk, so that would be problematic as well if there's any truth to the statement at all.
lteo: up_the_irons?
pilgrimd: RandalSchwartz: If it's running ZFS, just have up_the_irons add the additional space as another disk, then add that disk to the zpool. ZFS will automatically add the space and start using it.
(Assuming the VMs support more than one disk)
RandalSchwartz: I'm trying an experiment right now
Took a VMware 8G disk, made it 12G, and used the fixit shell to fix the geometry
had to add a "gpart recover" step
let's see if ZFS recognizes the additional space
woo hoo... it does
so that's trivial
that's the recipe
1 - increase virtual disk
2 - boot DVD
3 - go to fixit shell
4 - "gpart recover da0"
err ad0
pilgrimd: ++gpt ++zfs
RandalSchwartz: 5 - "gpart resize -i NNN ad0" (where NN is the partition of the freebsd-zfs)
6 - reboot
and it Just Works
this presumes your zfs partition is the last one on the disk
now to make the request formally for neil's machine
the "resize" command automatically means "rest of disk"
very cool
can't shrink this way, of course
pilgrimd: ZFS doesn't support pool shrinking (yet) anyway.
RandalSchwartz: right
pilgrimd: It is/was in the works. No idea if Oracle scrubbed it when they bought Sun, though.
RandalSchwartz: up_the_irons - did you see that last exchange there?
***: Yamazaki-kun has quit IRC (Read error: No route to host)